G10 – Set Work Offset Values

The G10 command is used to set or modify work offset values to different offset locations.

 


Syntax & Parameters

 


Standard Work Offsets (G54 to G59)

 

  • L2 Value
    Writes the machine coordinate value specified in this command to the F4 Work Offset table, as defined by the P value.

  • L2.1 Value
    Writes the current work offset position into the F4 Work Offset table, offset by the axis values specified in this command.

  • P Value (Required)
    Defines which work offset is modified:

    • P0 – Current / active work offset

    • P1 – G54

    • P2 – G55

    • P3 – G56

    • P4 – G57

    • P5 – G58

    • P6 – G59

  • X, Y, Z, A, B Value
    Specifies the axis to offset and the offset amount.
    Values use the current machine units.

 


Extended work offsets are available only on MASSO G3 and MASSO Touch running v5.100b or higher.

 

These offsets can be viewed by using the slider on the right-hand side of the Work Offset list on the F4 screen.

  • L20 Value
    Writes the machine coordinate value specified in this command to the F4 Work Offset table, as defined by the P value.

  • L20.1 Value
    Writes the current work offset position into the F4 Work Offset table, offset by the axis values specified in this command.

  • P Value (Required)
    Defines which extended work offset is modified:

    • P0 – Current / active work offset

    • P1 to P100 – G54.1 P1 to G54.1 P100

  • X, Y, Z, A, B Value
    Specifies the axis to offset and the offset amount.
    Values use the current machine units.

 


Example Program – Standard Work Offsets

 

N10 G10 L2 P1 X10 Y10 

Sets the G54 X and Y work offsets to 10 units.

 

N10 G10 L2.1 P2 X10 Y20 

Sets the G55 X and Y work offsets to the current work offset position, then applies:

  • X offset of 10

  • Y offset of 20

 


Example Program – Extended Work Offsets

 

N10 G10 L20 P1 X10 Y10 

Sets the G54.1 P1 X and Y work offsets to 10 units.

 

N10 G10 L20.1 P56 X10 Y20 

Sets the G54.1 P56 X and Y work offsets to the current work offset position, then applies:

  • X offset of 10

  • Y offset of 20

     

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

 

 

INFORMATION: Units are defined as inches or millimetres, depending on the machine setup or whether G20 or G21 is active.

 


WARNING: This command does not overwrite work offset values (G54–G59 and G54.1 P1–G54.1 P100) saved to backup memory via the F4 screen, even though the F4 screen will display the updated values. When restarting a job, always check the F4 Work Offset table to ensure the offsets are correct for your job.