Program code
$AN_CEC[0,100]=0
$AN_CEC_INPUT_AXIS[0]=(AX2)
$AN_CEC_OUTPUT_AXIS[0]=(AX3)
$AN_CEC_STEP[0]=8
$AN_CEC_MIN[0]=-400.0
$AN_CEC_MAX[0]=400.0
$AN_CEC_DIRECTION[0]=0
$AN_CEC_MULT_BY_TABLE[0]=0
$AN_CEC_IS_MODULO[0]=0
M17
For this example, the configured number of interpolation points must be ≥ 101:
MD18342 $MN_MM_CEC_MAX_POINTS [0] ≥ 101
The memory required in the static user memory is at least 808 bytes (8 bytes per
compensation value).
Application for table multiplication
The following example for the compensation of machine foundation sagging illustrates an
application of table multiplication.
Figure 5-7
Extended Functions
Function Manual, 09/2009, 6FC5397-1BP20-0BA0
Comment
; Last compensation value (interpolation point 101)
; for Z1: ±0µm
; Basic axis Y1
; Compensation axis Z1
; Distance between interpolation points 8.0mm
; Compensation starts at Y1=-400mm
; Compensation ends at Y1=+400mm
; Table applies for both directions of travel of Y1.
; Compensation without modulo function
;
Compensation of sag in a foundation
K3: Compensation
5.4 Interpolatory compensation
373