Specifications
52/201
BscGetStatus
FUNCTION: Reads the status information.
FORMAT: _declspec( dllexport ) short APIENTRY BscGetStatus(short nCid,short
*d1,short *d2)
ARGUMENTS: IN(Transfer)
nCid Communication handler ID number
*d1 Data 1 storage pointer
*d2 Data 2 storage pointer
OUT(Return)
*d1 Data 1 storage pointer
*d2 Data 2 storage pointer
Return Value
-1:Fetch failed
Others:Normal completion
REMARKS: Data 1
Data 1 are represented by bit data in decimals.
D7 D6 D5 D4 D3 D2 D1 D0
D0:Step D4:Operation at safe speed
D1:1-cycle D5:Teach *
D2:Auto operation D6:Play *
D3:Operating D7:Command remote *
*: Effective only for NX100, XRC and MRC.
Data 2
Data 2 are represented by bit data in decimals.
D7 D6 D5 D4 D3 D2 D1 D0
D0:Hold (NX100/XRC/MRC: Playback box hold, ERC:Panel hold)
D1:Hold (NX100/XRC/MRC: Programming pendant hold, ERC: T-BOX hold)
D2:Hold (External hold)
D3:Hold(Command hold)
D4:Alarm occurred
D5:Error occurred
D6:Servo ON