Siemens SINUMERIK 840D sl Programming Manual page 167

Measuring cycles hmi sl
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

%_N_ZO_DETERMINING_1_MPF
N10 G54 G17 G90 T9 D1
N20 M6
N30 G0 G90 X-20 Y25
N40 Z10
N60_TSA=6 _PRNUM=1 _VMS=0 _NMSP=1
_FA=4
N61 _MVAR=100 _SETVAL=0 _MA=1 _KNUM=1
_EVNUM=10
N70 CYCLE978
N80 G0 X-20
N90 Y-20
N100 X22
N110 _EVNUM=11 _MA=2
N120 CYCLE978
N130 G54
N140 G0 Y-20
N150 Z50
N160 X-40 Y80
N200 M2
Explanation of example
Automatic compensation is performed in G54 – translation of axes X and Y by the calculated
difference between actual value and setpoint.
The setpoints and actual values as well as the differences are entered in result array OVR[ ].
At the end of the program the values for the Y axis (ordinate) are in the result array as these
were the last to be measured.
The zero offset (ZO) for G54 is entered in the data management ($P_UIFR[1]) and is
activated by programming G54 again in block N130.
Measuring cycles
Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0
Measuring Cycles for Milling and Machining Centers
5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis
;ZO, select tool as probe ...
;Insert probe,
;activate tool offset
;Position probe in X/Y plane in front of
;measuring surface
;Position probe at measuring height
;Set parameters for measuring cycle call
;Measuring cycle for ZO determination in
axis
;Retract in X axis
;Position in Y axis
;Position in X axis
;Set parameters for measuring cycle call
;ZO determination in Y axis
;Repeat call of ZO G54
;This activates the changes!
;Retract in Y axis
;Retract in Z axis
;Retract in X/Y
;End of program
X
167

Advertisement

Table of Contents
loading

Table of Contents