Siemens SINUMERIK 840D sl Programming Manual page 50

Sinumerik run myrobot /direct control
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Examples
6.2 Program example - measuring cycles
N21 G0 Z20 ; starting point in Z for measuring cycle 978
N22 CYCLE978(100,10001,,1,0,30,100,3,2,1,"",,0,1.01,1.01,-1.01,0.34,1,0,,1,1)
; determination of the zero in Z
N23 G0 Z50 ; safety clearance for repositioning
N24 G0 A0 B0 C0
; alignment of the orientation axes orthogonally to the X,Y,Z axes of the work offset
activated in G54
N25 G0 X20 Y20 ; starting point in X,Y (pole) for measuring cycle 961
N26 G0 Z-10 ; starting point in Z for measuring cycle 961
N27 CYCLE961(30106,10001,1,134,28,-28,10,20,20,,,0,0,-52.131723,,1,10,100,1,,1,)
; determination of the zero in X,Y and the rotation of the workpiece around the Z axis
N28 G0 Z50 ; safety clearance for repositioning
; home ;defined start position
N29 G0 RA1=0 RA2=-90 RA3=110 RA4=0 RA5=-20 RA6=0
N30 M30; end of program
Notes relating to the program example
● Block number N4 – N13: These are used to measure the workpiece the first time. You can
omit these, if the workpiece position is known.
● Block number N17: You must use measuring cycle 998 "Align plane" in order to avoid
measurement inaccuracies. With this cycle, the probe measuring ball is aligned
orthogonally to the workpiece. You can only correctly measure the zeros in the X, Y, Z axes
of the workpiece once the plane has been aligned.
See also
Measuring cycles (Page 45)
50
SINUMERIK Run MyRobot /Direct Control
Programming Manual, 12/2018, A5E45237742B AB

Advertisement

Table of Contents
loading

Table of Contents