Programming Example - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

See also
Variable measuring velocity: _VMS (Page 2-14)
Probe type, probe number: _PRNUM (Page 2-17)
Multiple measurement at the same location: _NMSP (Page 2-19)
5.8.2.2

Programming example

Determination of the coordinates of an external corner of a workpiece
The coordinates of the external corner of a workpiece with unknown geometry are to be
determined.
Zero offset G55 is to be corrected in such a way that this corner is workpiece zero for G55.
The reference edge lies approximately at _STA1=-35 and the 2nd edge approximately at
_INCA= 80 degrees in addition. The distance to measuring points 2 and 4 is 100 mm.
The corner is to be passed over from P1 to P3 at distance _ID= 30 mm above measuring
height.
The starting point opposite the corner that is to be set up is reached before the measuring
cycle is called.
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):
Length 1 - geometry (DP3):
Radius - geometry (DP6):
Length 1 (L1) must refer to the center of the probe ball (_CBIT[14]=0), as for calibration.
Careful when positioning! Radius R in length (L1) is ignored.
%_N_CORNER_SETUP_MPF
N10 G500 G17 G90 T9 D1
N20 _PRNUM=1 _VMS=0 _NMSP=1
N21 _MVAR=108 _FA=20 _KNUM=2 _STA1=-35
_INCA=80 _ID=30 _SETV[0]=100
_SETV[1]=100
N30 CYCLE961
N40 G55
N100 M2
Measuring cycles
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Measuring Cycles for Milling and Machining Centers
5.8 CYCLE961 workpiece: Setup inside and outside corner
710
L1 = 50.000
R = 3.000
;Select probe, offset active
;The probe is in the start position,
;set parameters, e.g. by moving in JOG
;CYCLE961
;Call corrected ZO G55
5-119

Advertisement

Table of Contents
loading

Table of Contents