Specifications
84/201
BscJobWait
FUNCTION: Waits for job completion until the robot stops or specified time expires.
FORMAT: _declspec( dllexport ) short APIENTRY BscJobWait(short nCid,short time);
ARGUMENTS: IN(Transfer)
nCid Communication handler ID number
time Wait time(-1:Unlimited; 0 to 32767seconds)
OUT(Return)
None
Return Value
-2:Abnormal completion
-1:Operation incomplete
0:Operation completed
Others:Error codes
REMARKS: Cause of Incomplete Operation
These causes are considered for imcomplete operation.
*The robot was stopped via teach pendant or by external hold.
*The robot was stopped by alarm.
*The robot was stopped by emergency stop.
*Time expired