Installation manual
Chapter 8 PA Library
8-63
pa_get_pmd
Function
Teach mode acquisition
Syntax
long pa_get_pmd(ARM armno, long* mod);
armno Arm number (No.).
mod 0:Teach mode released
1:Low
2:Medium
3:High
Explanation
Acquires teach mode.
Macro definitions employed in “mod” are as follows:
Macro definition:
TEACH_OFF Teach mode released
TEACH_LOW Teach mode:Low
TEACH_MID Teach mode:Medium
TEACH_HIGH Teach mode:High
Return value
ERR_OK Normal termination
Others: Anomalous termination (Refer to error table)
Reference
pa_ply_mod Teach mode setting