Function Manual
01/2017
109
●
Compensation with modulo function
: $AA_ENC_COMP_IS_MODULO[0,AXi] = 1
When compensation with modulo function is activated, the compensation table is repeated cyclically; that is, the
compensation value at position $AA_ENC_COMP_MAX (interpolation point $AA_ENC_COMP[0,
,AXi]) is immediately
followed by the compensation value at position $AA_ENC_COMP_MIN (interpolation point $AA_ENC_COMP[0,
,AXi]).
For the main spindle it is therefore suitable to program 0° ($AA_ENC_COMP_MIN) as the starting position and 360°
($AA_ENC_COMP_MAX) as the end position. In this case both compensation values must be entered directly.
Note
When the compensation values are en
tered, it is important that all interpolation points within the defined range be
assigned a compensation value (i.e.
there should be no gaps). Otherwise, the compensation value that was left over
from previous entries at these positions is used for these i
nterpolation points.
Note
Table parameters that contain position data are interpreted with MD10240
SCALING_SYSTEM_IS_METRIC=0 in inches.
The position data can be automatically re
-calculated by performing a manual switchover.
The compensation table can
only be loaded when MD32700 ENC_COMP_ENABLE=0 has been set. The value "1"
causes the compensation to be activated and write protection to be applied (output alarm 17070).
The following example shows the position value sampling with a laser interferometer as an automatic positioning program
executed on the main spindle.
● Angularity error compensation range: 0° to 360°
● Interval between interpolation points: 30°
; spindle rotary to 0 degree position
; spindle rotary to 355 degree position
; spindle rotary to 0 degree position
; spindle rotary to 30 degree position
; spindle rotary to 60 degree position
; spindle rotary to 90 degree position
; spindle rotary to 120 degree position
; spindle rotary to 150 degree position
; spindle rotary to 180 degree position
; spindle rotary to 210 degree position
; spindle rotary to 240 degree position
; spindle rotary to 270 degree position
; spindle rotary to 300 degree position
; spindle rotary to 330 degree position
; spindle rotary 30 degree
; spindle rotary 5 degree
; spindle rotary -5 degree
; spindle rotary to 330 degree position