M5: Measurement
7.5 Setting zeros, workpiece measuring and tool measuring
Extended Functions
486 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
The values of the following variables are evaluated for measurement type 17:
Input variable Meaning
$AC_MEAS_VALID Validity bits for input variables
$AA_MEAS_POINT1[axis] Measuring point 1
$AA_MEAS_POINT2[axis] Measuring point 2
$AA_MEAS_POINT3[axis] Measuring point 3
$AA_MEAS_SETANGLE[axis] Setpoint rotations around abscissa and ordinate *
$AC_MEAS_ACT_PLANE Calculated as active plane unless otherwise specified *
$AC_MEAS_FRAME_SELECT Calculated as additive frame unless otherwise specified *
$AC_MEAS_T_NUMBER Calculated as active T unless otherwise specified (T0) *
$AC_MEAS_D_NUMBER Calculated as active D unless otherwise specified (D0) *
$AC_MEAS_INPUT[0] Unless otherwise specified,
the points are not projected in a plane *
0: Points are not projected on a plane
1: Points are projected in the active plane or in the selected
plane
$AC_MEAS_TYPE 17
* optional
The following output variables are written for measurement type 17:
Output variable Meaning
$AC_MEAS_FRAME Result frame
$AC_MEAS_RESULTS[0] Angles around abscissa from which three measuring points are
calculated
$AC_MEAS_RESULTS[1] Angles around ordinate from which three measuring points are
calculated
$AC_MEAS_RESULTS[2] Angles around applicate from which three measuring points are
calculated
$AC_MEAS_RESULTS[3] Angle around abscissa which is entered in the result frame
$AC_MEAS_RESULTS[4] Angle around ordinate which is entered in the result frame
$AC_MEAS_RESULTS[5] Angle around applicate which is entered in the result frame
Example
Measure angle of a plane.
Program code Comment
DEF INT RETVAL
DEF AXIS _XX, _YY, _ZZ
T1 D1 ; Activate probe
G54 ; Activate all frames and G54
$AC_MEAS_VALID = 0 ; Set all input values to invalid