|
Machine Control
MACHINE_CONTROL ( <qualifier> <num1> <num2> <string> )
This action invokes the new GPP2 "MACHINE CONTROL" block. It is intended for operations that do not involve tool motion, such as turning the coolant on or off or defining a work plane in a 5X machine.
It uses the following arguments:
Argument |
Allowed values |
Effect |
<qualifier> |
Any string constant (For example, "cool-off" or "RTCP-ON") |
This argument becomes the qualifier used by GPP2 when invoking the MACHINE CONTROL block. This block supports user-defined qualifiers for better program organization. |
<num1> |
Any numeric constant |
The value of this argument is copied to the CONTROL_NUM_1 variable, to be used by the EX2 program in the MACHINE CONTROL block. |
<num2> |
Any numeric constant |
The value of this argument is copied to the CONTROL_NUM_2 variable, to be used by the EX2 program in the MACHINE CONTROL block. |
<string> |
Any string constant |
The value of this argument is copied to the CONTROL_STRING variable, to be used by the EX2 program in the MACHINE CONTROL block. |
|