Siemens SINUMERIK 840D sl Function Manual page 530

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

Advertisement

M5: Measurement
8.5 Setting zeros, workpiece measuring and tool measuring
The values of the following variables are evaluated for measurement type 8:
Input variable
$AC_MEAS_VALID
$AA_MEAS_POINT1[axis]
$AA_MEAS_POINT2[axis]
$AA_MEAS_POINT3[axis]
$AA_MEAS_POINT4[axis]
$AA_MEAS_SETPOINT[axis]
$AC_MEAS_ACT_PLANE
$AC_MEAS_FINE_TRANS
$AC_MEAS_FRAME_SELECT
$AC_MEAS_T_NUMBER
$AC_MEAS_D_NUMBER
$AC_MEAS_TYPE
* optional
The following output variables are written for measurement type 8:
Output variable
$AC_MEAS_FRAME
$AC_MEAS_DIAMETER
$AC_MEAS_RESULTS[0]
$AC_MEAS_RESULTS[1]
$AC_MEAS_RESULTS[2]
$AC_MEAS_RESULTS[3]
Example
Measuring a hole
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
530
Meaning
Validity bits for input variables
Measuring point 1
Measuring point 2
Measuring point 3
When specified, the center is determined from four
points *
Setpoint position of hole center *
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)
*
8
Meaning
Result frame with translation
Diameter of hole
Abscissa of the calculated center point
Ordinate of the calculated center point
Applicate of the calculated center point
Quality of the circle adjustment: Sum of the distance
squares
Comment
; Type
; 0
; (z) length compensation vector
; (y)
; (x)
; Radius
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents