ADAMTCP_Write6KDO
Description:
Set D/O status to an specific ADAM-6000 module.
Syntax:
int CALLBACK ADAMTCP_Write6KDO(char szIP[], WORD wModule, WORD wIDAddr, WORD
wStartDO, WORD wCount, BYTE byDO[])
Parameter:
szIP[in]: the IP Address of the target ADAM-6000 module to be connected.
wModule[in]: the module name of the ADAM-6000 module to be connected.
(For example, 6050, 6051, or 6060)
wIDAddr[in]: the Modbus device ID for an ADAM-6000 module. (Always 1)
wStartDO[in]: the starting channel to be written.
wCount[in]: the total channels to be written.
byDO[out]: an 8-bit array that stored the DO status of the specific ADAM-6000.
Return:
Please refer to Chapter 6-2-3 "Return Codes" for more detail information.