ModbusTcpDevice

This component represents a Modbus TCP device under a ModbusTcpNetwork, for client access by the station (acting as Modbus master).
Figure 27.   ModbusTcpDevice property sheet
Image

Each client Modbus device object (ModbusAsyncDevice, ModbusTCPDevice, and ModbusTCPGatewayDevice) has an associated Modbus Config container slot to override these network-wide defaults. These properties adjust the settings for message transactions to (and from) only that device.

You access these properties by expanding Drivers > ModbusTcpNetwork and double-clicking the ModbusTcpDevice in the Nav tree.

In addition to the standard properties (Status Enabled, Fault Cause, Health and Alarm Source Info), these properties support the Modbus TCP device:

Property Value Description
Device Address number from 1 to 247 Defines the unique number that identifies the current device object on the network.
Modbus Config additional properties Refer to Modbus Config.
Ping Address, Address Format Hex (default), Decimal, or Modbus Selects the format of an address used to automatically configure unique register addresses for the device’s points. The driver merges this address with the point address.
Ping Address, Address number Defines the base address to use.
Ping Address Data Type drop-down list Defines the type of numeric data.
Ping Address Reg Type drop-down list Defines the type of register.
Poll Frequency drop-down list Configures how frequently the system polls proxy points.
Input Register Base Address, Address Format Hex (default), Decimal, or Modbus Selects the format of an address used to automatically configure unique register addresses for the device’s points. The driver merges this address with the point address.
Input Register Base Address, Address number Defines the base address to use.
Holding Register Base Address, Address Format Hex (default), Decimal, or Modbus Selects the format of an address used to automatically configure unique register addresses for the device’s points. The driver merges this address with the point address.
Holding Register Base Address, Address number Defines the base address to use.
Coil Status Base Address, Address Format Hex (default), Decimal, or Modbus Selects the format of an address used to automatically configure unique register addresses for the device’s points. The driver merges this address with the point address.
Coil Status Base Address, Address text Defines the base address to use.
Input Status Base Address Format Hex (default), Decimal, or Modbus Selects the format of an address used to automatically configure unique register addresses for the device’s points. The driver merges this address with the point address.
Input Status Base Address number Defines the base address to use.
Device Poll Config additional properties Refer to Device Poll Config.
Points additional properties Provides a container for proxy points.
Ip Address IP address Identifies a device, which is connected to a network that uses the Internet Protocol for communication.
Port number (defaults to 502) Specifies the TCP port used by Modbus message transactions. Leave at the default (502) unless the TCP/Ethernet-side of the Modbus TCP/serial gateway uses another TCP port.
Socket Status read-only Reports the current condition of the TCP/IP socket.
Disable Transaction Id Check true or false (default) Disables (true) and enables (false) use of the Transaction Id when synchronizing client/server messages.

The most important bytes in a TCP frame are the Unit Identifier, Function Code and Data bytes. If your network does not need Transaction ID, use this property to disable it.

Max Transaction Id number Defines the largest number to assign as the Transaction ID.