EasyManua.ls Logo

Mitsubishi Electric MELFA CR800-D Series - Page 85

Mitsubishi Electric MELFA CR800-D Series
148 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4 Calibration assistance function
Robot Programming Language 4-75
[Reference Program]
1 'P1 : Position data A, P2 : Position data B
2 MErr = PCalObtP(P1,P2,Pres) 'Calculate the intersection point of P1 and P2
3 If MErr <> 0 Then 'When the intersection point does not exist
4 Error 9100
5 EndIf
[Explanation]
(1) Calculate the intersection point of the straight line extended in + Z direction of the two position data and
output it.
(2) Only the XYZ component is assigned to the position variable specified in <Calculated position>. 0 is
assigned to the ABC component.
If two position and orientation data are the same, or if no intersection is obtained, all components 0 will be
substituted.

Table of Contents

Other manuals for Mitsubishi Electric MELFA CR800-D Series

Related product manuals