Siemens SINUMERIK 840D sl Function Manual page 644

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

Advertisement

Measurement (M5)
8.4 Setting zeros, workpiece measuring and tool measuring
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
The following output variables are written for measurement type 20:
Output variable
$AC_MEAS_FRAME
Example
2-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 = 20
$AC_MEAS_ACT_PLANE = 0
_XX=$P_AXN1
_YY=$P_AXN2
_ZZ=$P_AXN3
$AA_MEAS_POINT1[_xx] = $AA_MW[_xx]
644
Description
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
Description
Result frame with rotations and translation
; Activate probe
; Activate all frames and G54
; Set all input values to invalid
; Set measurement type for 2-dimensional
setpoint selection
; Measuring plane is G17
; Define axes according to the plane
; Assign measured values
; Assign measurement value to abscissa
Function Manual, 01/2008, 6FC5397-1BP10-3BA0
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents