Current Help System: PC-DMIS NC (View Core Help)

WORKOFFSET – This command updates a work offset for the currently attached machine. The format is:

WORKOFFSET GCode ProgName FileName dx dy dz da db dc;

- GCode is the name of the work offset that is being set. The format of this depends on the type of machine attached.

- ProgName is the name of the macro that will update the work offset. Some interfaces do not require a macro name, in which case ProgName can be “”.

- FileName is the name of the file that contains the macro program. Some interfaces communicate directly with the CNC controller. These interfaces do not use FileName, which can be set to “”. Interfaces that do not communicate directly will create the command necessary to implement the offset update in this file. The user must upload this program to the controller and execute it in this case.

- dx, dy and dz are the changes that will be applied to the X, Y and Z components of the work offset. Note that these are delta changes to the current work offset. dx, dy and dz are required.

- da, db and dz are the change that will be applied to the A, B and Z components of the work offset. Note that these are delta changes to the current work offset.

an example:

WORKOFFSET G54 O8888 C:\UPDATE.WRK [DX] [DY] [DZ];.