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.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle
5.6.4.2

Programming example

Measuring a groove and determining the ZO with CYCLE979
The groove width on a workpiece is to be measured in plane G17 and measuring height
Z=40 mm. The groove lies at an angle of 70° in its width from the X axis (_STA1).
The resulting center of the slot in the measured path should lie in the corrected workpiece
coordinate system at X = 150 mm, Y = 130 mm (_CPA, _CPO).
Any deviation from the selected ZO must be compensated for automatically in G55 by
means of additive ZO.
Measurement is also performed with G55.
The maximum conceivable deviation of the
groove center is taken as 1 mm. The
measuring path is therefore specified as
_FA= 2 mm (max. measuring path = 4 mm)
and ensures that there is still a minimum
measuring path of 1 mm up to the edge of
the groove.
A deviation of < 0.8 mm of the center is
permitted. This should be monitored with
_TSA.
Clamping for workpiece:
Zero offset, with settable ZO G55: NVx,
NVy, ... (values before the correction [offset])
%_N_OFFSET_GROOVE_MPF
N10 G55 G17 G90 T9 D1
N20 M6
N30 G0 X150 Y130
N40 Z40
N60 _TSA=0.8 _PRNUM=1 _VMS=0 _NMSP=1
_FA=2
N61 _MVAR=103 _SETVAL=130 _CPA=150
_CPO=130 _STA1=70 _KNUM=2
N70 CYCLE979
N80 G0 Z160
N90 G55
N100 M2
5-94
;ZO, select tool as probe ...
;Insert probe,
;activate tool offset
;Position probe in X/Y plane
;in setpoint center
;Position probe at measuring height
;Set parameters for measuring cycle call
;Call measuring cycle for ZO
;determination in X/Y plane
;Traverse up Z axis
;Repeat call of zero offset G55
;The changes thereby take effect!
;End of program
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Measuring cycles

Advertisement

Table of Contents
loading

Table of Contents