4MELFA-BASIC V
Detailed explanation of Robot Status Variable 4-385
P_CordR
[Function]
Returns the base coordinates of the own robot looking from the common coordinates.
This function is only available for certain models. For details, refer to Page 523, "5.24 Interference avoid-
ance function".
[Format]
[Terminology]
<Position Variable> Specifies a position variable to be assigned.
<Mechanism No.> Enter the mechanism number, 1 to 3. If the argument is omitted, 1 is set.
[Reference Program]
Refer to Page 543, "5.24.10 Sample programs".
[Explanation]
(1) The base coordinates of the robot looking from the common coordinates are read. (The setting value of
parameter: RBCORD)
(2) All coordinates are read as 0 when the parameter: RBCORD is set to the initial value (0,0,0,0,0,0).
(3) This is read only.
(4) The value "0" is always returned for the user mechanisms.
Example) <Position Variable> = P_CordR [(<Mechanism No>)]