Installation manual

Chapter 8 PA Library
8-20
__for Visual BASIC,__
Function
RMRC mechanical interface coordinate orientation deviation control
Syntax
long pa_mov_ypr(ARM armno, float y, float p, float r, long func)
armno Arm number (No.).
y Mechanical interface coordinate rotation on X axis position deviation
[rad]
p Mechanical interface coordinate rotation on Y axis position deviation
[rad]
r Mechanical interface coordinate rotation on Z axis position deviation
[rad]
func Designation whether to wait or not until motion is completed.
Explanation
The tip orientation moves with RMRC control at the distance created from
orientation deviation designated at y, p and r in the mechanical interface
coordinate.
This function creates motion by “func” as follows:
・Designates WM_WAIT :does not return unless motion is completed.
Designates WM_NOWAITreturns without confirming motion completion.
PA-10 RMRC control: method to interpolate arm tip trajectory and orientation
setting position and orientation as the target value.
In PA-10 RMRC control, uncontrollable areas exist.
This is defined as a singularity. It is the point where E1 axis becomes 0 [deg]
(930 [mm] length from S2 rotation origin to W1 rotation origin).
For more, refer to programming manual in chapter 3.
No warning occurs even if the tip target orientation calculated by the designated
deviation exceeds arm motion range.
If arm motion continues and exceeds motion range, the operation is automatically
switched to temporary-stop status. Immediately, the servo-lock performs.
When LENGTH value is beyond 925 [mm] before being in motion, this motion is
not performed as the motion range exceeds.
Two motion range types: LENGTH 925 [mm] available for RMRC control and axis
angle limit. If exceeding either limit, arm motion is not performed.
Return value
ERR_OK Normal termination
Others: Anomalous termination (Refer to error table)
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
Remark