4.13.14.1 Set Macro Variable Values to Work Coordinate System Offset Values


Format:

G10.54 Qq: Set Macro variable to G54 coordinate offset

G10.55 Qq: Set Macro variable to G55 coordinate offset

G10.56 Qq: Set Macro variable to G56 coordinate offset

G10.57 Qq: Set Macro variable to G57 coordinate offset

G10.58 Qq: Set Macro variable to G58 coordinate offset

G10.59 Qq: Set Macro variable to G59 coordinate offset


For example, set the variable values ​​of 6 consecutive groups from the 10th group of the Macro variable to coordinate offset value of G54 G10.54 Q10.

  • Sets the value of the Macro variable group 10 to the X-axis offset value of the work coordinate system.
  • Sets the value of the Macro variable group 11 to the y-axis offset value of the work coordinate.
  • Sets the value of the Macro variable group 12 to the Z offset value of the work coordinate.
  • Sets the value of Group 13 of the Macro variable to the fourth axis offset value of the work coordinate.
  • Sets the value of the Macro variable group 14 to the fifth axis offset value of the work coordinate.
  • Sets the value of Group 15 Macro variable to the sixth axis offset value of the work coordinate.


Note:

G10.54~G10.59 The Macro Coordinate Offset command is set by the Macro variable to specify only the coordinate offset of a single axis, as described below:


Format:

G10.54 Qx: Write the X, Y, Z and the fourth, fifth, and sixth axis offsets. The offset is the value of the Macro variable x~x+5 group.

G10.54 Qx X/Y/Z/A/B/C: Only the offset value of X/Y/Z/A/B/C axis is written. The offset value is the value of Group x of Macro variable.


For example: G10.54 Q11 X, only write the variable 11 value to the G54 X axis.