Programming Example - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

6.5.4.2

Programming example

1-point measurement at outside diameter, measuring with reversal
An outside diameter with tool T7, D1 has been machined on a workpiece. The set diameter
has the dimension shown in the figure.
This outside diameter is to be measured with reversal. The spindle is SPOS-capable.
If the absolute value of the difference determined is >0.002, the length (in measuring axis
_MA) of the tool is to be automatically offset in the wear.
The maximum permissible deviation is taken as max. 1 mm. Max. 0.4 mm is permissible.
To obtain a minimum measuring path of 1 mm, the measuring path is programmed as
_FA=1+1=2 mm (max. total measuring path = 4 mm).
The offset is not to consider an empirical value and no mean value is calculated or used.
Clamping for workpiece:
Zero offset, with settable ZO G54: NVz
Workpiece probe 1, used as tool T9, D1, is to be used.
The probe is already calibrated. Arrays for workpiece probe 1: _WP[0, ...]
The following is entered under T9, D1 in the tool offset memory:
Tool type (DP1):
Cutting edge position (DP2):
Length 1 - geometry (DP3):
Length 2 - geometry (DP4):
Radius - geometry (DP6):
%_N_REVERSALMEAS_MPF
N10 G54 G90 G18 T9 D1 DIAMON
N20 G0 Z30 X90
N30 _MVAR=1000 _SETVAL=45 _TUL=0 _TLL=-0.01
_MA=2 _STA1=0 _KNUM=1 _TNUM=7 _EVNUM=0
_TZL=0.002 _TDIF=0.4 _TSA=1 _PRNUM=1 _VMS=0
_NMSP=1 _FA=2
N40 CYCLE974
N50 G0 Z110
N60 X90
N100 M2
Measuring cycles
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Measuring Cycles for Turning Machines
6.5 CYCLE974 workpiece: 1-point measurement
580
7
L1 = 40.123
L2 =
100.456
3.000
;Call ZO, tool = probe
;Preposition probe
;Parameters for cycle call
;Measuring cycle call
;Retraction in Z
;Retraction in X
;End of program
6-77

Advertisement

Table of Contents
loading

Table of Contents