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.3 CYCLE976 calibrate workpiece probe
5.3.5.2

Programming example

Calibration of a workpiece probe in the Z axis on the workpiece with length calculation
Workpiece probe 1 is to be calibrated in the Z axis on the surface at position
Z= 20,000 mm of a clamped workpiece: Determine trigger value in minus direction _WP[0,5]
and length 1 (L1).
Clamping for workpiece:
Zero offset, with settable ZO G54: NVx, NVy, ...
The workpiece probe is inserted as tool T9 with offset D1.
The radius of the probe ball and length 1
must be entered in the tool offset memory
under T9 D1, before the cycle is called.
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.
Careful when positioning! Radius R in
length (L1) is ignored. But the desired
calibration height can be entered directly
when calibrating in the abscissa or ordinate
(_MA=1, =2).
Arrays for workpiece
probe 1:
%_N_CALIBRATE_Z_L_MPF
N10 G54 G90 G17 T9 D1
N20 M6
; ...
N50 _CBIT[14]=0
N60 _TSA=25 _TZL=0 _PRNUM=1 _VMS=0
_NMSP=1 _FA=12
N61 _MVAR=10000 _SETVAL=20 _MA=3 _MD=1
N70 CYCLE976
N100 M2
5-46
710
L1 = ?
R = 3.000
_WP[0, ...]
;ZO selection, select probe as tool and
;operating plane
;Insert probe and activate tool offset
;
;The probe is prepositioned in front of the
calibration surface
;within a distance of 2 × _FA
;.
;Length 1 relative to probe ball center
;Define parameter for calibration cycle,
;calibrate probe 1 in minus Z axis
;with determination of length 1
;Measuring cycle call
;determine calibration in minus Z and L1
;End of program
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Measuring cycles

Advertisement

Table of Contents
loading

Table of Contents