Download Print this page

Advantech ADAM-6000 series User Manual page 101

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

Advertisement

ADAMTCP_Write6KSignalWidth
Description:
To set the minimal high/low signal width of each DI channel in a specific ADAM-6000 module.
Syntax:
int ADAMTCP_Write6KSignalWidth(char szIP[], WORD wModule, WORD wIDAddr, unsigned long
ulLoWidth[], unsigned long ulHiWidth[])
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)
ulLoWidth[out]:
an unsigned 32-bit array that stored the minimal low signal width of each DI
channel. The unit is 0.1 msec.
ulHiWidth[out]:
an unsigned 32-bit array that stored the minimal high signal width of each DI
channel. The unit is 0.1 msec.
Return:
Please refer to Chapter 6-2-3 "Return Codes" for more detail information.

Advertisement

loading