Frames
6.8 Frame calculation from three measuring points in space (MEAFRAME)
Job planning
6-22 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
6.8 6.8 Frame calculation from three measuring points in space (MEAFRAME)
Function
MEAFRAME is an extension of the 840D language used for supporting measuring cycles.
The function MEAFRAME calculates the frame from three ideal and the corresponding
measured points.
When a workpiece is positioned for machining, its position relative to the Cartesian machine
coordinate system is generally both shifted and rotated referring to its ideal position. For
exact machining or measuring either a costly physical adjustment of the part is required or
the motions defined in the parts program must be changed.
A frame can be defined by sampling three points in space whose ideal positions are known.
A touch-trigger probe or optical sensor is used for sampling that touches special holes
precisely fixed on the supporting plate or probe balls.
Programming
MEAFRAME IDEAL_POINT,MEAS_POINT,FIT_QUALITY)
Parameters
MEAFRAME Frame calculation of three measured points in space
IDEAL_POINT Array of real data containing the three coordinates of the ideal
points
MEAS_POINT Array of real data containing the three coordinates of the measured
points
FIT_QUALITY REAL variable,
-1:
-2:
-4:
Positive
value:
returning the following information:
The ideal points are almost on a straight line:
The frame could not be calculated. The returned frame
variable contains a neutral frame.
The measuring points are almost on a straight line:
The frame could not be calculated. The returned frame
variable contains a neutral frame.
The calculation of the rotation matrix failed for a
different reason.
Sum of distortions (distances between the points),
that are required to transform the measured triangle
into a triangle that is congruent to the ideal
triangle.