Delta — 4.8.3.10 G37: Status Judgment Instruction

4. Motion Control Instructions After execution of the instruction of number N00 is finished, the program will be delayed for 10 seconds and afterwards, the instruction of number N02 will continue to be executed. 4.8.3.9 G36: Set/Reset Instruction  Function: The instruction is used to make M device set or reset.  Format: N_G36 M_ K1 or N_G36 M_ K0  Parameter explanation: N_: The row number of G code in NC program M_ K1: Make the specified M device set M_ K0: Make the specified M device reset  Instruction example 1 G36 M0 K1 Set the bit device M0 to ON  Instruction example 2 G36 M100 K0 Set the bit device M100 to OFF. 4.8.3.10 G37: Status Judgment Instruction  Function:

The instruction is used to judge the state of M device. When the state is same as the setting, the following G codes will be executed. Otherwise, the waiting state will last.  Format: N_G37 M_ K1 或 N_G37 M_ K0  Parameter explanation: N_: The row number of G code in NC program M_ K1: If the specified M device is ON, execute the next CNC code; if the specified M device is OFF, keep waiting here. M_ K0: If the specified M device is OFF, execute the next CNC code; if the specified M device is ON, keep waiting here.  Instruction example N00 G0 X0 Y0 N01 G37 M0 K1 N02 G1 X10000 Y34598 When the program is executed till N01, the system will judge the state of M0 device.

If M0 is ON, continue to execute the instruction of number N02; if M0 is OFF, the system will keep waiting. 4-208 DVP-MC operating manual