Activation (#VOLCOMP ON/OFF)
When these preconditions are met, Volumetric Compensation can be activated. This takes place either
- automatically (default) or
- manually by an NC command.
This behaviour is configured by the parameter P-VOLC-00017 (manual_activation) in the compensation list.
Programming Example
Configure activation in the compensation list
Manual activation/deactivation
Volumetric Compensation can be activated in the NC program by the #VOLCOMP command.
#VOLCOMP ON | OFF [ ID=.. [ NO_MOVE ] { \ } ] | modal |
Or only in combination with ON | |
#VOLCOMP ON [ ID=.. [NO_MOVE] [CFACT_X,Y,Z=.. ] { \ } ] | modal |
or | |
#VOLCOMP [ ID=.. UPDATE { \ } ] | modal |
ON | Activate Volumetric Compensation |
OFF | Deactivate Volumetric Compensation |
ID=.. | Identifier of the compensation to be programmed (0 – 4) |
NO_MOVE | If the keyword NO_MOVE is specified, the axes do not move when compensation is activated/deactivated. Therefore, correction values are not increased, only the position controller setpoints are corrected. |
CFACT_X, CFACT_Y, CFACT_Z | Correction factor to weight the volumetric compensation value of an axis accordingly. All factor are always initialised with 1. A programmed factor value is non-modal. If you require it to act with a subsequent selection, you must reprogram the factor value. Permitted values with a interval of [0.0;1.0] |
UPDATE | Update a specific compensation. The affected compensation must be deactivated beforehand. |
\ | Separator ("backslash") for clear programming of the command over multiple lines. |
The NC command below activates and deactivates all Volumetric Compensations in a single step:
#VOLCOMP ON ALL | modal |
or | |
#VOLCOMP OFF ALL | modal |
|
|
Programming Example
Activate/deactivate compensation in the NC program
Notice | |
The machine stops when a #VOLCOMP commands is used. Therefore, it is advisable to plan the use of #VOLCOMP commands only for times when the machine is supposed to be in standstill anyway. |
If NO_MOVE is not specified, the NC command #VOLCOMP ON/OFF causes the immediate activation/deactivation of compensation values, i.e. the participating axes move. Correction values are then filtered by a filter whose size and duration are set in the parameter P-VOLC-00018 (filter_steps).
Activation by CNC objects
Alternatively, the Volumetric Compensation can be enabled and disabled by CNC objects. This is achieved by writing the ID of the compensation in one of the two CNC objects below.
- cnc_vol_comp_enable_index_w to enable the compensation
- cnc_vol_comp_disable_index_w to disable the compensation