Mitsubishi MELFA CR1D Instruction Manual page 319

Table of Contents

Advertisement

P_Tool/P_NTool
[Function]
Returns tool conversion data.
P_Tool: Returns the tool conversion data that is currently being set.
P_NTool: Returns the initial value (0,0,0,0,0,0,0,0)(0,0).
[Format]
Example)<Position Variables>=P_Tool [(<Mechanism Number>)]
Example)<Position Variables>=P_NTool
[Terminology]
<Position Variables>
<Mechanism Number>
[Reference Program]
1 P1=P_Tool
[Explanation]
(1) P_Tool returns the tool conversion data set by the Tool instruction or the MEXTL parameter.
(2) Use the Tool instruction when changing tool data.
(3) This variable only reads the data.
P_Zero
[Function]
Always returns (0,0,0,0,0,0,0,0)(0,0).
[Format]
Example)<Position Variables>=P_Zero
[Terminology]
<Position Variables>
[Reference Program]
1 P1=P_Zero
[Explanation]
(1) This can be used to initialize the P variable to zeros.
(2) This variable only reads the data.
Specifies the position variable to assign.
Enter the mechanism number. 1 to 3, If the argument is omitted, 1 is set as the
default value.
' P1 will contain the tool conversion data.
Specifies the position variable to assign.
'(0,0,0,0,0,0,0,0)(0,0) is assigned to P1.
Detailed explanation of Robot Status Variable 4-306
4MELFA-BASIC IV

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents