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