Activation (#VOLCOMP ON/OFF)

When these preconditions are met, Volumetric Compensation can be activated. This takes place either

This behaviour is configured by the parameter P-VOLC-00017 (manual_activation) in the compensation list.

Programing Example

prg_example

Configure activation in the compensation list

# Compensation is either

# - activated automatically as soon as all participating axes allow # it (error-free, referenced, etc.) or

# -manually by the NC command #VOLCOMP ON/OFF

manual_activation        0

# Compensation is exclusively activated/deactivated by the NC command

# #VOLCOMP ON/OFF

manual_activation        1

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

 

 

Programing Example

prg_example

Activate/deactivate compensation in the NC program

; Activate compensation with ID0

N10 #VOLCOMP ON [ID0]

:

; Deactivate compensation with ID0

N90 #VOLCOMP OFF [ID0]

Attention

attention

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).

If UPDATE is specified, the parameters are read from the configured files again. However, the related compensation must first be deactivated.

An update also includes the configuration from the compensation lists (participating axes, kinematic chain etc.) in addition to the error parameters.

Before an update, the compensation is implicitly deactivated, as required.

Programing Example

prg_example

Reload parameters to the NC program

; Deactivate compensation

; …

N090 #VOLCOMP OFF [ID0]

; Update compensation parameters

N100 #VOLCOMP [ID0 UPDATE]

; Reactivate compensation

N110 #VOLCOMP ON [ID0]