Siemens SINUMERIK Series Function Manual page 478

Extended functions
Hide thumbs Also See for SINUMERIK Series:
Table of Contents

Advertisement

M5: Measurement
7.5 Setting zeros, workpiece measuring and tool measuring
The values of the following variables are evaluated for measurement type 12:
Input variable
$AC_MEAS_VALID
$AA_MEAS_POINT1[axis]
$AA_MEAS_POINT2[axis]
$AA_MEAS_SETPOINT[axis]
$AC_MEAS_DIR_APPROACH
$AC_MEAS_ACT_PLANE
$AC_MEAS_FINE_TRANS
$AC_MEAS_FRAME_SELECT
$AC_MEAS_T_NUMBER
$AC_MEAS_D_NUMBER
$AC_MEAS_INPUT[0]
$AC_MEAS_TYPE
* optional
The following output variables are written for measurement type 12:
Output variable
$AC_MEAS_FRAME
$AC_MEAS_RESULTS[0]
$AC_MEAS_RESULTS[1]
Example
Groove measurement with approach direction in x
Program code
DEF INT RETVAL
DEF FRAME TMP
$TC_DP1[1,1]=120
$TC_DP2[1,1]=20
$TC_DP3[1,1]=10
$TC_DP4[1,1]=0
$TC_DP5[1,1]=0
$TC_DP6[1,1]=2
T1 D1
g0 x0 y0 z0 f10000
G54
478
Meaning
Validity bits for input variables
Measuring point 1
Measuring point 2
Setpoint position of groove center *
0: +x, 1: -x, 2: +y, 3: -y, 4: +z, 5: -z
Calculated as active plane unless otherwise specified *
0: Coarse offset, 1: Fine offset *
Calculated as additive frame unless otherwise specified *
Calculated as active T unless otherwise specified (T0) *
Calculated as active D unless otherwise specified (D0) *
Approach direction for 2nd measuring point for a recess
measurement. Must have the same coordinate as the
approach direction of the 1st point. *
0: +x, 1: -x, 2: +y, 3: -y, 4: +z, 5: -z
12
Meaning
Result frame with translation
Position of calculated groove center (x0, y0 or z0)
Groove width in approach direction
Comment
; Type
; 0
; (z) length compensation vector
; (y)
; (x)
; Radius
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents