Installation manual
Chapter 8 PA Library
8-15
pa_exe_esc
Function
Controls each axis to “escape” position.
Syntax
long pa_exe_esc(ARM armno, long func)
armno Arm number (No.)
func Designation whether to wait or not until motion is completed.
Explanation
Moves to the “escape” position setting in parameter.
Escape position default angles are:
S2 : 45[deg]
E1 : 90[deg]
W1 : 45[deg]
Others: 0[deg]
Escape position default angle correction method can be referred to parameter
setting or “pa_set_esc.”
This function creates motion by “func” as follows:
・Designates WM_WAIT :does not return unless motion is completed.
・Designates WM_NOWAIT:returns without confirming motion completion.
Return value
ERR_OK Normal termination
Others: Anomalous termination (Refer to error table)
Reference
pa_set_esc Alters escape position.
pa_def_esc Replaces escape position with current value.
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e