Siemens SINUMERIK 828D Programming Manual page 299

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Note
Quality of the measurement
In order to map the measured coordinates onto the ideal coordinates using a rotation and a
translation, the triangle formed by the measured points must be congruent to the ideal
triangle. This is achieved by means of a compensation algorithm that minimizes the sum of
squared deviations needed to reshape the measured triangle into the ideal triangle.
Since the effective distortion can be used to judge the quality of the measurement,
returns it as an additional variable.
Note
The frame created by
frame in the frame chain as from SW 6.3.
Example: Chaining of frames "concatenation with ADDFRAME".
Further information for the parameters for
/FB1/ Function Manual Basic Functions; Axes, Coordinate Systems, Frames (K2), "FRAME
Chaining".
Example
Program code
DEF FRAME CORR_FRAME
Setting measuring points
Programming
DEF REAL IDEAL_POINT[3,3] = SET(10.0,0.0,0.0, 0.0,10.0,0.0,
0.0,0.0,10.0)
DEF REAL MEAS_POINT[3,3] = SET
(10.1,0.2,-0.2, -0.2,10.2,0.1, -0.2,0.2,9.8)
DEF REAL FIT_QUALITY = 0
DEF REAL ROT_FRAME_LIMIT = 5
DEF REAL FIT_QUALITY_LIMIT = 3
DEF REAL SHOW_MCS_POS1[3]
DEF REAL SHOW_MCS_POS2[3]
DEF REAL SHOW_MCS_POS3[3]
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
5.6 Frame calculation from three measuring points in space (MEAFRAME)
can be transformed by the
MEAFRAME
Coordinate transformation (FRAMES)
ADDFRAME
,
ADDFRAME(FRAME
STRING
Comments
;
Part program 1
Comments
; for test
; Permits max. 5 degrees rotation of
the part position
; Permits max. 3 mm offset between
the ideal and the measured
triangle
MEAFRAME
function into another
) see
299

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents