K3: Compensations
4.4 Interpolatory compensation
Extended Functions
242 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
4.4.2.3 Example
The following example shows compensation value inputs for machine axis X1.
&RPSHQVDWLRQ
YDOXH
>˩P@
1XPEHURILQWHUSRODWLRQSRLQWV
0'0$B00B(1&B&203B0$;B32,176ุ
/LQHDULQWHUSRODWLRQ
6WDUWLQJSRVLWLRQ
$$B(1&B&203B0,1
'LVWDQFHEHWZHHQ
LQWHUSRODWLRQSRLQWV
$$B(1&B&203
&RPSHQVDWLRQYDOXHRI
LQWSRLQW
(QGSRVLWLRQ
$$B(1&B&203B0$;
5HIHUHQFHSRLQW
(UURUFXUYH
&RPSHQVDWLRQYDOXHVRIWKHFRPSHQVDWLRQWDEOH
&RPSHQVDWLRQFXUYH
OLQHDULQWHUSRODWLRQEHWZHHQLQWHUSRODWLRQSRLQWV
,QWHUSRODWLRQ
SRLQW
$[LVSRVLWLRQ
Program code Comment
%_N_AX_EEC_INI
CHANDATA(1)
$AA_ENC_COMP[0,0,X1]=0.003 ; 1st compensation value (interpolation point
0): +3μm
$AA_ENC_COMP[0,1,X1]=0.01 ; 2nd compensation value (interpolation point
1): +10μm
$AA_ENC_COMP[0,2,X1]=0.012 ; 3rd compensation value (interpolation point
2): +12μm
...
$AA_ENC_COMP[0,800,X1]=-0.0 ; Last compensation value (interpolation point
800): 0μm
$AA_ENC_COMP_STEP[0,X1]=1.0 ; Distance between interpolation points 1.0 mm
$AA_ENC_COMP_MIN[0,X1]=-200.0 ; Compensation starts at -200.0 mm
$AA_ENC_COMP_MAX[0,X1]=600.0 ; Compensation ends at +600.0 mm
$AA_ENC_COMP_IS_MODULO[0,X1]=0 ; Compensation without modulo function
M17
For this example, the configured number of interpolation points must be ≥ 801:
MD38000 $MA_MM_ENC_COMP_MAX_POINTS ≥ 801
The memory required in the static user memory is 6.4 KB (8 bytes per compensation value).