Selecting/deselecting axis compensation in the NC program
Notice
Axis compensations switched off by the COMP command has a global NC program effect, i.e. compensations are not automatically activated at program end. They must be switched back on explicitly using the COMP command in the subsequent NC program.
Syntax: |
<axis_name> [ COMP [ [ ON | OFF [ CROSS PLANE LEAD TEMP FRICT ] ] | OFF_ALL ] [ NO_MOVE ] { \ } ] |
<axis_name> | Name of the axis |
COMP | Identifier to select/deselect axis-specific compensation. Must always be programmed as the first keyword. |
ON | Activates programmed compensation(s) |
OFF | Deactivates programmed compensation(s) |
CROSS | Keyword for cross compensation |
PLANE | Keyword for plane compensation |
LEAD | Keyword for spindle leadscrew error compensation |
TEMP | Keyword for temperature compensation |
FRICT | Keyword for friction compensation [as of Build V2.11.2022.05] |
CROSSTALK | Keyword for crosstalk compensation [as of Build V3.1.3079.32] |
OFF_ALL | Switch off all active compensations. No further compensation keywords may be programmed after the keyword. |
NO_MOVE | By default the position offset occurring when axis compensations are switched on/off is driven out before the NC program processing is continued. The keyword NO_MOVE suppresses this motion. The channel is initialised with the changed axis position. The position offset is only deactivated at the next axis motion programmed in the NC program. |
\ | Separator ("backslash") for clear programming of the command over multiple lines. |
Programing Example
Axis-specific programming
;Deactivate cross and plane compensation in the X axis
N10 X[COMP OFF CROSS PLANE
;Compensation programming of multiple axes in an NC block
N50 X[COMP OFF CROSS] Y[COMP ON LEAD TEMP]
;Deactivate all compensations in the Z axis
N100 Z[COMP OFF_ALL]
;Deactivate all compensations of the Y axis without axis motion
N200 Y[COMP OFF_ALL NO_MOVE]