Siemens SINUMERIK Series Function Manual page 493

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

Advertisement

Program code
$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
2-dimensional setpoint value ($AC_MEAS_TYPE = 20)
Setpoints for two dimensions can be defined using this measuring method. Any combination
of 2 out of 3 axes is permissible. If three setpoints are specified, only the values for the
abscissa and the ordinate are accepted. The tool is not taken into account.
This is a purely actual value memory preset.
The values of the following variables are evaluated for measurement type 20:
Input variable
$AC_MEAS_VALID
$AA_MEAS_POINT1[axis]
$AA_MEAS_POINT1[axis]
$AA_MEAS_POINT1[axis]
$AA_MEAS_SETPOINT[axis]
$AA_MEAS_SETPOINT[axis]
$AC_MEAS_ACT_PLANE
$AC_MEAS_FRAME_SELECT
$AC_MEAS_FINE_TRANS
$AC_MEAS_TYPE
* optional
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
7.5 Setting zeros, workpiece measuring and tool measuring
Comment
; 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
Meaning
Validity bits for input variables
Measuring point 1 for the abscissa
Measuring point 1 for the ordinate
Measuring point 1 for the applicate
Setpoint position for the 1st dimension
Setpoint position for the 2nd dimension
Calculated as active plane unless otherwise specified *
Calculated as additive frame unless otherwise specified *
Unless otherwise specified, frame is written to coarse translation
*
20
M5: Measurement
493

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents