M5: Measurement
7.5 Setting zeros, workpiece measuring and tool measuring
Extended Functions
464 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
7.5.2.5 Units of measurement and measurement variables for the calculation
INCH or METRIC unit of measurement
The following input and output variables are evaluated with inch or metric units of
measurement:
$AA_MEAS_POINT1[axis] Input variable for 1st measuring point
$AA_MEAS_POINT2[axis] Input variable for 2nd measuring point
$AA_MEAS_POINT3[axis] Input variable for 3rd measuring point
$AA_MEAS_POINT4[axis] Input variable for 4th measuring point
$AA_MEAS_SETPOINT[axis] Input variable for setpoint position
$AC_MEAS_DIAMETER Output variable for calculated diameter
$AC_MEAS_TOOL_LENGTH Output variable for calculated tool length
$AC_MEAS_RESULTS[n] Output variable for calculation results
The system of units in which the input and output values can be read or written can be set
via the input variable.
INT $AC_MEAS_SCALEUNIT Unit of measurement for input and output
variable
0: Unit of measurement with reference to active G codes G70/G700 in INCH
active G codes G71/G701 in METRIC
1: Unit of measurement corresponds to
the configuration; the measurement system can
be set via OPI (standard setting)
The value 1 is always treated as the standard setting if the variable is not written.
Example:
The basic system is metric:
Program code Comment
G70
$AC_MEAS_POINT1[x] = $AA_IW[x] ; $AA_IW[x] supplies the basic system
$AC_MEAS_POINT1[x] = 10 ; 10 mm
G71
$AC_MEAS_POINT1[x] = $AA_IW[x] ; $AA_IW[x] supplies the basic system
$AC_MEAS_POINT1[x] = 10 ; 10 mm
G700
$AC_MEAS_POINT1[x] = $AA_IW[x] ; $AA_IW[x] supplies inch value
$AC_MEAS_POINT1[x] = 10 ; 10 inch
G710
$AC_MEAS_POINT1[x] = $AA_IW[x] ; $AA_IW[x] supplies metric value
$AC_MEAS_POINT1[x] = 10 ; 10 mm