G10 – Set Work Offset Values

This command is used to set work offsets values to different offset locations.


Syntax & Parameters


  • L2 Value - Write the machine coordinate value specified in this command to the F4work offset table defines by the P value
  • L2.1 Value - Write the Current work offset position into F4 work offset table offset by the amount specified in the axis value of this command
  • P Value - The P value is required with G10 and it defines the work offset number to change between G54 and G59.
  • P0 is used to set the current / active work offset.
  • P1 is used to set G54 work offset
  • P2 is used to set G55 work offset.
  • P3 is used to set G56 work offset.
  • P4 is used to set G57 work offset.
  • P5 is used to set G58 work offset.
  • P6 is used to set G59 work offset.
  • X, Y, Z, A, B Value - specifies the axis you wish to offset following the distance value. The distance value will be the current machine units in use.



  • L20 Value - Write the machine coordinate value specified in this command to the F4work offset table defines by the P value
  • L20.1 Value - Write the Current work offset position into F4 work offset table offset by the amount specified in the axis value of this command
  • P Value - The P value is required with G10 and it defines the work offset number to change between G54.1 P1 and G54.1 P100.
  • P0 is used to set the current / active work offset.
  • P1 to P100 Work offsets G54.1P1 to G54.1 P100
  • X, Y, Z, A, B Value - specifies the axis you wish to offset following the distance value. The distance value will be the current machine units in use.




Example program


N10 G10 L2 P1 X10 Y10 

The above program line will set the X and Y axis G54 offset to 10.


N10 G10 L2.1 P2 X10 Y20 

This will set the X and Y axis G55 offset to the current work offset position offset by the value specified in this command.

In this example the X axis is offset by 10 and the Y axis is offset by 20.



Example program


N10 G10 L20 P1 X10 Y10 

The above program line will set the X and Y axis G54.1 P1 offset to 10.


N10 G10 L20.1 P56 X10 Y20 

This will set the X and Y axis G54.1 P56 offset to the current work offset position offset by the value specified in this command.

In this example the X axis is offset by 10 and the Y axis is offset by 20.




INFORMATION: Units are defined as either inches or mm depending on your machines setup or G20 or G21 command in use.


WARNING: This function does not overwrite G54 - G59 G54.1 P1 to G54.1 P100 offset values saved to backup memory through the F4 screen, although the F4 screen will display the updated offset values. When restarting a job check the F4 table to ensure the work offsets are correct for your job.