Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Modbus TCP » ModbusTCP_ReadDiscreteInputs

ModbusTCP_ReadDiscreteInputs


Function Code 02. Read contiguous status of discrete inputs in a remote device

Name Type Range Description
inSocket SocketId Connected socket ID on port 502.
inTimeout Integer* 10 - Timeout in milliseconds, block if not specified.
inUnitID Integer 0 - 255 Default is 1.
inStartingAddress Integer 0 - 65535 The address of the first input.
inBitCount Integer 1 - 2000 Requested number of bits.
outBits BoolArray Response.

Remarks

User manual

For more informations about using this filters please follow the link: Communication with Modbus TCP devices.

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.

Filter Group

This filter is member of ModbusTCP_Read filter group.