Updating the Volumetric Compensation
Volumetric Compensation is updated by the NC command #VOLCOMP[UPDATE] or by CNC objects.
By entering the keyword UPDATE in the NC command, the parameters are reloaded from the configured files. 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.
Programming Example
Reload parameters to the NC program
Updating by CNC objects
Alternatively, Volumetric Compensation can be updated by CNC objects.
To achieve this, the configuration file and the associated compensation lists must be accessible on the file system Virtual file systems in controller configurations (e.g. tc_virtual_*\*) are not accessible.
Example
Configuration file on file system, C:\vc\volcomp1.lis
Example
Compensation file on file system, C:\vc\volcomp1.csv
The process is then as follows:
- The ID is first written to cnc_interpr_vol_comp_index_w, for example ID=0
cnc_interpr_vol_comp_index_w = 0 - Then the path of the configuration file is written to cnc_interpr_vol_comp_file_w, for example:
cnc_interpr_vol_comp_file_w = C:\vc\volcomp1.lis
The second write operation triggers the update. After updating, the compensation can be re-enabled.
Updating does not change the CNC configuration, i.e. at the next controller start-up, the previous original data is again active.