Specifications

154/201
BscWriteIO
FUNCTION: Writes specified count of coil status. Up to 256 coil numbers can be
specified. Address numbers to be written are only of Nos. 9000s.
FORMAT: _declspec( dllexport ) short APIENTRY BscWriteIO(short nCid,short
add,short num,short *stat);
ARGUMENTS: IN(Transfer)
nCid Communication handler ID number
add Read starting address number
num Number of read signals (up to 256)
*stat Coil status
OUT(Return)
*stat Coil status
Return Value
-1: Header number error
0:Normal completion
Others:Error code
REMARKS: Unnecessary Signals
All unnecessary data exist in the last data unless the number of the written data items is a multiple
of 8.