Installation manual

Chapter 8 PA Library
8-12
pa_rsm_arm
Function
Releases arm temporary stop.
Syntax
long pa_rsm_arm(ARM armno, long func)
armno Arm number (No.)
func Designation whether to wait or not until motion is completed.
Explanation
If the arm designated by “armno” is in temporary stop, it is released resuming
prior motion.
This function creates motion by “func” as follows:
・Designates WM_WAIT :does not return unless temporarily, motion stops
completely.
・Designates WM_NOWAIT:returns without confirming temporary-stop-release.
However, “pa_rsm_arm” is executed instantly.
Return value
ERR_OK Normal termination
Others: Anomalous termination (Refer to error table)
Reference
pa_sus_arm