4MELFA-BASIC IV
Detailed explanation of Robot Status Variable
4-302
P_Base/P_NBase
[Function]
Returns information related to the base conversion data.
P_Base : Returns the base conversion data that is currently being set.
P_NBase : Returns the initial value (0, 0, 0, 0, 0, 0) (0, 0).
[Format]
[Terminology]
<Position Variables>
Specifies the position variable to assign.
<Mechanism Number>
Enter the mechanism number. 1 to 3, If the argument is omitted, 1 is set as the
default value.
[Reference Program]
1 P1=P_Base
' P1 will contain the base conversion data that is currently being set.
2 Base P_NBase
' Resets the base conversion data to the initial value.
[Explanation]
(1) P_NBase will contain (0, 0, 0, 0, 0, 0) (0, 0).
(2) Be careful when using base conversion since it may affect the teaching data.
(3) Use the Base instruction when changing the base position.
(4) This variable only reads the data.
Example)<Position Variables>=P_Base [(<Mechanism Number>)]
Example)<Position Variables>=P_NBase