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 Milling and Machining Centers
5.2 CYCLE971 tool: Measuring milling tools, drills
5.2.4.2

Programming example

Calibrate tool probe automatically, machine-related for G17
Values of the calibration tool T7 D1:
Tool type (DP1):
Length 1 - geometry (DP3).
Radius - geometry (DP6):
Values of tool probe 1 in block GUD6
before calibration:
_TP[0,0] = 50 (minus X axis)
_TP[0,1] = 28 (plus X axis)
_TP[0,2] = 42 (minus Y axis)
_TP[0,3] = 20 (plus Y axis)
_TP[0,4] = 80 (minus Z axis)
_TP[0,6] = 21 (cutting edge diameter on upper edge)
_TP[0,7] = 133 (can be calibrated: minus Z axis, in both X and Y directions)
_TP[0,8] = 101 (cutting edge in X/Y)
_TP[0,9] = 4 (distance to upper edge, depth of calibration)
%_N_AUTO_CALIBRATE_MPF
N10 G17 G0 G90 G94
N20 T7 D1
N30 M6
N40 SUPA X39 Y31 Z100
N20 _MVAR=100000 _FA=6 _TSA=5 _TZL=0.001
_PRNUM=1 _VMS=0 _NMSP=1
N30 CYCLE971
N99 M2
Explanation of example
The tool probe is calibrated from the starting position in the –Z, +X, -X, +Y, -Y and again -Z
axes. The values are entered in the _TP field and _OVR field if the results (values of the
differences) are within the limits:
>_TZL, <_TSA.
5-18
120
L1 = 70.123
R = 5.000
;Preselect calibration tool
;Change calibration tool and
;activate offset
;Take up start position
;Parameters for calibration cycle
;Automatic calibration (complete)
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Measuring cycles

Advertisement

Table of Contents
loading

Table of Contents