4.5.3 G31/G31.1: Conditional Linear Interpolation


Format:

  • G31 X_Y_Z_A_F_ (M84 Specifies the program Position)

M86 Six axis any four axis, for example:

     G31 X_Y_Z_A_F_ or G31 X_Z_A_B_F_

  • G31 X_Y_Z_A_B_C_F_ (M86R Specifies the program position)
  • G31.1 X_Y_Z_A_F_ (M84 Specify the mechanical position)

M86 Six axis any four axis, for example:

     G31.1 X_Z_A_B_F_ or G31.1 X_Y_A_B_F_

  • G31.1 X_Y_Z_A_B_C_F_ (M86R Specify the mechanical position)


G31 command is the same as G01 linear interpolation command, linear interpolation feed to the set destination with the cutting speed set by F_. The speed can be adjusted by the feedrate override adjustment percentage. Specified as the program position in G31 and the mechanical position in G31.1.


When there is a signal input from one of the external input points specified by the PLC (ie when the input select ignore signal is changed from 0 to 1), the instruction ignores all remaining strokes and stops immediately.


For example: G31 X100. Y100. Z100. A100. F100.Move the machine with 100 mm/mm to (100.,100.,100.,100.), if the machine is moved to (X80.,Y80.,Z80.,A80.), the command will terminate at (X80., Y80., Z80., A80.), when a signal input is detected by the PLC-specified external input.


Note:

The software limit will not be checked in advance in G31/G31.1 move mode.