Programming Example - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Measuring Cycles for Turning Machines
6.4 CYCLE973 Calibrating workpiece probes
6.4.3.2

Programming example

Calibration of probe 1 on a surface
Workpiece probe 1 with cutting edge position SL=7 is to be calibrated on surface Z=-18 mm
in direction minus Z. The probe is inserted as tool T9, D1.
Probe lengths L1 and L2 always refer to the probe ball center and must be entered in the
tool offset memory before the measuring cycle is called, T9, D1:
Tool type (DP1):
Cutting edge position (DP2):
Length 1 - geometry (DP3):
Length 2 - geometry (DP4):
Radius - geometry (DP6):
Zero offset, with settable ZO G54: NVz
%_N_CALIBRATE_IN_Z_MPF
N10 G54 G90 G0 X66 Z90 T9 D1 DIAMON
N20 _MVAR=0 _SETVAL=-18 _MA=1 _MD=1 _TZL=0
_TSA=1 _PRNUM=1 _VMS=0 _NMSP=1 _FA=3
N30 CYCLE973
N40 G0 Z90
N50 X146
N100 M2
Explanation of example
The surface with position Z=-18 is approached in the Z axis in the minus direction
(_SETVAL=-18, _MA=1, _MD=1).
Actual calibration starts _FA=3 mm in front of the surface. The workpiece probe is then
calibrated and ends up facing the surface again at distance _FA from it. The new trigger
value in minus Z is entered in the data of probe 1 _WP[0,1] and in the result field _OVR[ ].
The original position is approached in block N40, N50.
6-64
580
7
L1 = 40.123
L2 =
100.456
3.000
;Activate ZO, select the tool offset
;of probe
;Position before cycle call
;Set parameters for calibration in
minus
;Z-direction, _SETVAL is negative!
; Cycle call
;Retraction in Z
;Retraction in X
;End of program
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Measuring cycles

Advertisement

Table of Contents
loading

Table of Contents