Siemens SINUMERIK 840D sl Function Manual page 672

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

Advertisement

Measurement (M5)
Setting zeros, workpiece measuring and tool measuring
The following output variables are written for measurement type 24:
Output variable
$AC_MEAS_POINT2[axis]
Example
WCS coordinate transformation of a measured position
DEF INT RETVAL
DEF INT LAUF
DEF REAL_CORMW_xx, _CORMW_yy, _CORMW_zz
DEF AXIS _XX, _YY, _ZZ
$TC_DP1[1,1]=120
$TC_DP2[1,1]=20
$TC_DP3[1,1]=0
$TC_DP4[1,1]=0
$TC_DP5[1,1]=0
$TC_DP6[1,1]=2
T1 D1
G17
_xx=$P_AXN1 _yy=$P_AXN2 _zz=$P_AXN3
$P_CHBFR[0]=CTRANS(_zz,5,A,6) : CROT(_zz,45)
$P_UIFR[1]=CTRANS( )
$P_UIFR[1,_xx,TR]=-SIN(45)
$P_UIFR[1,_yy,TR]=-SIN(45)
$P_UIFR[2]=CTRANS( )
$P_PFRAME=CROT(_zz,-45)
$P_CYCFR=CTRANS(_xx,10,B,7)
G54
G0 X0 Y0 Z0 A0 B0 F1000
$AC_MEAS_VALID = 0
$AC_MEAS_TYPE = 24
672
Description
Converted axis positions
; Tool type end mill
; (z) length compensation vector
; (y) length compensation vector
; (x) length compensation vector
; Radius
; Activate probe
; Oblique plane G17
; Define axes according to the plane
; Entire frame results in
CTRANS(_xx,10,_yy,-1,_zz,5,A,6,B,7)
; Activate all frames and G54
; Set all input values to invalid
; Set measurement type for coordinate
transformation
Function Manual, 03/2009, 6FC5397-1BP10-4BA0
Extended Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents