Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Advantech » AdamTCP_Function02

AdamTCP_Function02


Function code 02. Read discrete input's ON/OFF status.

Name Type Range Description
inDeviceIP String* The Advantech Adam device IP address.
inStationAddress Integer 0 -
inStartAddress Integer The address of the first input.
inNumberOfCoils Integer 1 - Requested number of bits.
outValues IntegerArray Received values as integers.
outStatuses BoolArray Received statuses as bits.

Remarks

You need to specify the IP address of your Adam device in the inDeviceIP port only in the first filter which is using the device. In the consecutive filters you can leave inDeviceIP set to Auto, these filters will connect to the device with the IP address specified in the first filter.

For a more detailed description of the function from this article and other Adam functions available in Adaptive Vision, please refer to the Advantech documentation for your device.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

Complexity Level

This filter is available on Basic Complexity Level.

Disabled in Lite Edition

This filter is disabled in Lite Edition. It is available only in full, Adaptive Vision Studio Professional version.

See Also