Siemens SINUMERIK 840D sl Function Manual page 280

Extended functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

K3: Compensations
5.4 Interpolatory compensation
Compensation parameters
● Starting position: -400.0
● End position: 400.0
● Distance between interpolation points: 8.0
Number of interpolation points
MD18342 $MN_MM_CEC_MAX_POINTS[ 0 ] = (400.0 - (-400.0)) / 8.0 + 1 = 101
The memory required in the static user memory is at least 808 bytes (8 bytes per compensation
value).
Program code
%_N_NC_CEC_INI
CHANDATA(1)
$AN_CEC[0,0]=0
$AN_CEC[0,1]=0.01
$AN_CEC[0,2]=0.012
...
$AN_CEC[0,100]=0
$AN_CEC_INPUT_AXIS[0]=AX2
$AN_CEC_OUTPUT_AXIS[0]=AX3
$AN_CEC_STEP[0]=8.0
$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
280
Comment
; Writing the compensation data
; Compensation table 1, index 0
;
1. Compensation value =
;
2. Compensation value = 10µm
;
3. Compensation value = 12µm
; 101. Compensation value =
; Basic axis Y1
machine axis name AX2
; Compensation axis Z1
; distance between interpolation points 8.0 mm
; Starting position: Y1 = -400mm
; End position:
Y1 = +400mm
; Compensate in both traversing directions of Y1
; No table multiplication
; No modulo function
;
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
0µm
0µm
machine axis name AX3
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents