Siemens SINUMERIK 840D sl Function Manual page 372

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

Advertisement

Compensations (K3)
5.4 Interpolatory compensation
;Compensation starts at Y1=0
$AN_CEC_MIN[4]
$AN_CEC_MIN[5]
$AN_CEC_MIN[6]
$AN_CEC_MIN[7]
;Compensation ends at Y1=900
$AN_CEC_MAX[4]
$AN_CEC_MAX[5]
$AN_CEC_MAX[6]
$AN_CEC_MAX[7]
$MA_CEC_ENABLE[Z1]
NEWCONF
;Carry out a program test to check whether the
;compensation is effective
G01 F1000 X0 X0 Z0 G90
R1=0 R2=0
LOOP_Y:
LOOP_X:
STOPRE
X=R1 Y=R2
M0
R1=R1+500
IF R1 <=2000 GOTOB LOOP_X
R1=0
R2=R2+300
IF R2<=900 GOTOB LOOP_Y
Note
You can read the compensation value under variable "Sag + temperature compensation" on
the operator interface. To do so, select softkey "Diagnosis" followed by softkey "Service
axis". The currently effective compensation value is displayed next to the "Sag + temperature
compensation" variable.
;The power ON machine data are set to prepare the table configuration
;
;cec.md:
;Set option data for commissioning
;Define the number of interpolation points in the compensation tables
;Machine data is memory-configuring
$MN_MM_CEC_MAX_POINTS[0]=5
372
=0.0
=0.0
=0.0
=0.0
=900.0
=900.0
=900.0
=900.0
= TRUE
;Activate compensation again
; Wait to check the CEC value
Function Manual, 01/2008, 6FC5397-1BP10-3BA0
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents