Siemens SINUMERIK 840D sl Programming Manual page 159

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

Advertisement

%_N_ZO_RECTANGLE_MPF
N10 G54 G17 G90 T9 D1
N20 M6
N30 G0 X150 Y170
N40 Z120
N60 _KNUM=1 _TSA=1.8 _PRNUM=1 _VMS=0
_NMSP=1 _FA=6
N61 _MVAR=106 _SETV[0]=100
_SETV[1]=200 _ID=-30
N70 CYCLE977
N80 G54
N90 G0 Z160
N100 M2
Explanation of example
Automatic compensation is performed in G54 – translation in axes X and Y by the calculated
difference between actual value and setpoint of the rectangle center point, if it is less than
1.8 mm (_TSA=1.8) in both axes. Otherwise, alarm "Safe area violated" is output and
program execution cannot be continued.
If the values are inside the tolerance, the setpoint and actual values for center point and
length of rectangle in the abscissa and ordinate as well as the differences are entered in
result array OVR[]. The zero offset (ZO) for G54 is entered in the data management
($P_UIFR[1]) and is activated by programming G54 again in block N80.
Measuring cycles
Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0
5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes
Measuring Cycles for Milling and Machining Centers
;ZO, select tool as probe ...
;Insert probe,
;activate tool offset
;Position probe in X/Y plane to
;rectangle center (setpoint position)
;Position Z axis above rectangle
;Set parameters for measuring cycle call,
;Measuring height lowered by 30 mm in Z
;Call measuring cycle
;Repeat call of ZO G54
;The changed ZO correction is therefore
;effective!
;Traverse up Z axis
;End of program
159

Advertisement

Table of Contents
loading

Table of Contents