How Do I use Variables in G Code?
ContentBody{} FormattedBody{value='
It is often desirable to be able to run a G code program that uses variables in its motion parameters. Â For instance, it may be necessary to run a complex motion program that allows the operator to set some of the parameters before execution of the program begins. Â It also allows programmers the flexibility to develop applications that use G code in unconventional ways to get the functionality they need.
Â
The zip file below contains a PAM project archive, an embedded Xpress LRP file and a sample G code file. Â The G code file should be placed in the PAC's root directory for this demo. Â Actual implementations should read G code from a USB stick so that runtime file-handling operations do not risk corrupting the SD card. Select the project that matches your version of Parker Automation Manager:
Â
PAM1.4:Â Variables_In_GCode_PAM1.4
PAM1.2:Â Variables_In_Gcode_PAM1.2
Â
Related FAQs:
Developing a CNC Machine with the PAC
DC 25MAR2016
30OCT18 JD
', representation=storage}