EasyManua.ls Logo

Advantech ADAM-6000 series - Page 103

Advantech ADAM-6000 series
156 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ADAMTCP_Start6KCounter
Description:
Start counting when a DI channel configured as 'Counter' mode.
Syntax:
int ADAMTCP_Start6KCounter(char szIP[], WORD wAddress, WORD wChIndex)
Parameter:
szIP[in]: the IP Address of the target ADAM-6000 module to be connected.
wIDAddr[in]: the Modbus device ID for an ADAM-6000 module. (Always 1)
wChIndex[in]: the specific DI channel need to start or stop counting.
Return:
Please refer to Chapter 6-2-3 "Return Codes" for more detail information.
ADAMTCP_Stop6KCounter
Description:
Stop counting when a DI channel configured as 'Counter' mode.
Syntax:
int ADAMTCP_Stop6KCounter(char szIP[], WORD wAddress, WORD wChIndex)
Parameter:
szIP[in]: the IP Address of the target ADAM-6000 module to be connected.
wIDAddr[in]: the Modbus device ID for an ADAM-6000 module. (Always 1)
wChIndex[in]: the specific DI channel need to start or stop counting.
Return:
Please refer to Chapter 6-2-3 "Return Codes" for more detail information.

Related product manuals