Specifications

150/201
BscReadIO
FUNCTION: Reads specified count of coil status. Up to 256 coil numbers can be
specified.
FORMAT: _declspec( dllexport ) short APIENTRY BscReadIO(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 signals are set to 0 unless the number of the read data items is a multiple of
8.