K3: Compensations4.4 Interpolatory compensationExtended Functions242 Function Manual, 03/2013, 6FC5397-1BP40-3BA14.4.2.3 ExampleThe following example shows compensation value inputs for machine axis X1.&RPSHQVDWLRQYDOXH>˩P@1XPEHURILQWHUSRODWLRQSRLQWV0'0$B00B(1&B&203B0$;B32,176ุ/LQHDULQWHUSRODWLRQ6WDUWLQJSRVLWLRQ$$B(1&B&203B0,1'LVWDQFHEHWZHHQLQWHUSRODWLRQSRLQWV$$B(1&B&203&RPSHQVDWLRQYDOXHRILQWSRLQW(QGSRVLWLRQ$$B(1&B&203B0$;5HIHUHQFHSRLQW(UURUFXUYH&RPSHQVDWLRQYDOXHVRIWKHFRPSHQVDWLRQWDEOH&RPSHQVDWLRQFXUYHOLQHDULQWHUSRODWLRQEHWZHHQLQWHUSRODWLRQSRLQWV,QWHUSRODWLRQSRLQW$[LVSRVLWLRQ Program code Comment%_N_AX_EEC_INICHANDATA(1)$AA_ENC_COMP[0,0,X1]=0.003 ; 1st compensation value (interpolation point0): +3μm$AA_ENC_COMP[0,1,X1]=0.01 ; 2nd compensation value (interpolation point1): +10μm$AA_ENC_COMP[0,2,X1]=0.012 ; 3rd compensation value (interpolation point2): +12μm...$AA_ENC_COMP[0,800,X1]=-0.0 ; Last compensation value (interpolation point800): 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 functionM17For this example, the configured number of interpolation points must be ≥ 801:MD38000 $MA_MM_ENC_COMP_MAX_POINTS ≥ 801The memory required in the static user memory is 6.4 KB (8 bytes per compensation value).