M5: Measurement
7.5 Setting zeros, workpiece measuring and tool measuring
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
473
Program code Comment
if $AC_MEAS_CORNER_ANGLE <> 90 ; Query known setpoint angle of
intersection ϕ
setal(61000 + $AC_MEAS_CORNER_ANGLE)
endif
$P_SETFRAME = $AC_MEAS_FRAME
$P_SETFR = $P_SETFRAME ; Describe system frame in data management
g1 x0 y0 ; Approach the corner
g1 x10 ; Approach the rectangle
y10
x0
y0
m30
7.5.3.3 Measurement of a hole (measurement type 8)
Measuring points for determining a hole ($AC_MEAS_TYPE = 8)
Three measuring points are needed to determine the center point and diameter. The three
points must all be different. When four points are specified, the circle is adjusted in
accordance with the least square method. The circle is determined so that the sum of the
distance squares of the points to the circle is minimal. The quality of the adjustment can be
read.
*
'
\
]
*
'
]
[
*
'
[
\
Figure 7-6 Hole