|
|
This example will use system variables to update the coordinates of new fixtures in
How It Works When Cycle Start is pressed the machine rapids to the X0, Y0 of the old fixture, and the "Z" axis point set in line N1. The #3006=1(INDICATE) halts the program and displays the prompt "INDICATE" on the CRT screen. It does not matter what current screen is displayed. The screen will change to the "OPERATOR MESSAGE" screen (System 10, 11, 15, 16-18 only). You then mount your indicator and manually indicate the new fixture. The Z axis position that is dialed becomes the new "Z0". The X and Y axis can be moved any amount necessary. Then instead of getting the new location and manually entering it into the proper coordinate system, you simply go back into "memory" and press Cycle Start. The current machine position is loaded into the proper coordinates, the head rapids to the initial point and moves to the next coordinate system. The head then rapids to .3" above the point set manually at G54. It feeds the final .3" to protect the indicator. After the last fixture is indicated, the #3006=1(REMOVE INDICATOR) causes the screen to change to the "OPERATOR MESSAGE" screen and display the message. The first time you use this program is scary, but it saves time after you are familiar with it. This program could be easily modified to use an edge finder instead of an indicator. You can see that the standard CNC programming language doesn't have this type of power. The following figure shows a typical setup with six parts on a pallet. The fixture macro would be used to indicate all six fixtures without having to manually enter the new locations for X0 and Y0. This is the next best thing to buying a Renishaw probe!
|
Send mail to webmaster@programmingunlimited.com with questions or comments about this web site. |