Download Print this page

Advantech ADAM-6000 series User Manual page 96

Ethernet-based data acquisition and control modules
Hide thumbs Also See for ADAM-6000 series:

Advertisement

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

Advertisement

loading