Example - Siemens SINUMERIK Series Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK Series:
Table of Contents

Advertisement

K3: Compensations
4.4 Interpolatory compensation
4.4.2.3

Example

The following example shows compensation value inputs for machine axis X1.
Program code
%_N_AX_EEC_INI
CHANDATA(1)
$AA_ENC_COMP[0,0,X1]=0.003
$AA_ENC_COMP[0,1,X1]=0.01
$AA_ENC_COMP[0,2,X1]=0.012
...
$AA_ENC_COMP[0,800,X1]=-0.0
$AA_ENC_COMP_STEP[0,X1]=1.0
$AA_ENC_COMP_MIN[0,X1]=-200.0
$AA_ENC_COMP_MAX[0,X1]=600.0
$AA_ENC_COMP_IS_MODULO[0,X1]=0
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).
242
Comment
; 1st compensation value (interpolation point
0): +3μm
; 2nd compensation value (interpolation point
1): +10μm
; 3rd compensation value (interpolation point
2): +12μm
; Last compensation value (interpolation point
800): 0μm
; Distance between interpolation points 1.0 mm
; Compensation starts at -200.0 mm
; Compensation ends at +600.0 mm
; Compensation without modulo function
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents