Siemens SINUMERIK 840D sl Function Manual page 656

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

Advertisement

M5: Measuring
8.4 Setting zeros, workpiece measuring and tool measuring
Input variable
$AA_MEAS_POINT1[axis]
$AA_MEAS_SETPOINT[axis]
$AC_MEAS_ACT_PLANE
$AC_MEAS_FRAME_SELECT
$AC_MEAS_FINE_TRANS
$AC_MEAS_TYPE
* optional
The following output variables are written for measurement type 19:
Output variable
$AC_MEAS_FRAME
Example
1-dimensional setpoint selection
DEF INT RETVAL
DEF REAL _CORMW_XX,
_CORMW_YY,
_CORMW_ZZ
DEF AXIS _XX, _YY, _ZZ
T1 D1
G54
$AC_MEAS_VALID = 0
$AC_MEAS_TYPE = 19
$AC_MEAS_ACT_PLANE = 0
_XX=$P_AXN1
_YY=$P_AXN2
_ZZ=$P_AXN3
$AA_MEAS_POINT1[_xx] = $AA_MW[_xx]
$AA_MEAS_POINT1[_yy] = $AA_MW[_yy]
$AA_MEAS_POINT1[_zz] = $AA_MW[_zz]
$AA_MEAS_SETPOINT[_xx] = 10
$AC_MEAS_FRAME_SELECT = 102
RETVAL = MEASURE()
if RETVAL <> 0
setal(61000 + RETVAL)
endif
$P_UIFR[2] = $AC_MEAS_FRAME
G55 G0 AX[_xx]=10 AX[_yy]=10
m30
656
Description
Measuring point 1 for the applicate
Setpoint position of abscissa or ordinate or applicate
Calculated as active plane unless otherwise specified *
Calculated as additive frame unless otherwise specified *
Unless otherwise specified, frame is written to coarse translation
*
19
Description
Result frame with rotations and translation
; Activate probe
; Activate all frames and G54
; Set all input values to invalid
; Set measurement type for 1-dimensional
setpoint selection
; Measuring plane is G17
; Define axes according to the plane
; Assign measured values
; Assign measurement value to abscissa
; Assign measurement value to ordinate
; Assign measurement value to applicate
; Define setpoint for abscissa
; Select target frame - G55
; Start measurement calculation
; Write measurement frame in data management
(G55)
; Activate frame and traverse
Function Manual, 09/2009, 6FC5397-1BP20-0BA0
Extended Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents