Download Print this page

Advantech ADAM-6000 series User Manual page 103

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

Advertisement

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]:
wIDAddr[in]:
wChIndex[in]:
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]:
wIDAddr[in]:
wChIndex[in]:
Return:
Please refer to Chapter 6-2-3 "Return Codes" for more detail information.
the IP Address of the target ADAM-6000 module to be connected.
the Modbus device ID for an ADAM-6000 module. (Always 1)
the specific DI channel need to start or stop counting.
the IP Address of the target ADAM-6000 module to be connected.
the Modbus device ID for an ADAM-6000 module. (Always 1)
the specific DI channel need to start or stop counting.

Advertisement

loading