Specifications
160/201
BscCommand
FUNCTION: Sends a transmission command.
FORMAT: _declspec( dllexport ) short APIENTRY BscCommand(short nCid,char
*h_buf,char *d_buf,short fforever);
ARGUMENTS: IN(Transfer)
nCid Communication handler ID number
*h_buf Header character string pointer
*d_buf Data character string pointer
fforever Robot response; 0:No wait; 1:Wait
OUT(Return)
None
Return Value
-1:Failed to send
Others:Normal completion
REMARKS: Header Character String
The header character string is represented by the header number and sub code number, in
that order.
Data Character String
The data character string is represented by the data queue plus \r (carriage return) at the end.
<Example>
When sending the “SERVO ON” command
If Header number 01
Sub code number 000,
then Header character string 01,000
Data character string SVON 1\r