ModbusTcpSlaveDevice

The ModbusTcpSlaveDevice represents a virtual Modbus device to serve data to a Modbus master over a TCP connection, where station data appears as Modbus data items. It has 4 frozen range containers (ModbusRegisterRangeTables), which specify what Modbus addresses are available as coils, inputs, holding registers, and input registers.

Its Points extension (ModbusServerPointDeviceExt) contains Modbus proxy points with server proxy extensions (ModbusServerBooleanProxyExt, ModbusServerNumericProxyExt, ModbusServerRegisterBitProxyExt), used to read and write data to the defined data items. The device can also contain one or more ModbusServerStringRecord components.

Figure 31.   ModbusTcpSlaveDevice property sheet
Image

You can access these properties by expanding Driver > ModbusSlaveNetwork and double-clicking the ModbusSlaveDevice.

Property Value Description
Status read-only Indicates the condition of the network, device or component at the last check.

{ok} indicates that the component is licensed and polling successfully.

{down} indicates that the last check was unsuccessful, perhaps because of an incorrect property, or possibly loss of network connection.

{disabled} indicates that the Enable property is set to false.

{fault} indicates another problem. Refer to Fault Cause for more information.

Enabled true or false (defaults to true) Activates (true) and deactivates (false) the object (network, device, point, component, table, schedule, descriptor, etc.).
Fault Cause read-only Indicates the reason why a system object (network, device, component, extension, etc.) is not working properly (in fault). This property is empty unless a fault exists.
Health text Health contains historical properties about the relative health of the network in the station, including historical timestamps.
Alarm Source Info additional properties Contains a set of properties for configuring and routing alarms when this component is the alarm source.
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.
Valid Coils Range additional properties Refer to ValidCoilsRange.
Valid Status Range additional properties Refer to ValidCoilsRange for properties.
Valid Holding Registers Range additional properties Refer to ValidCoilsRange for properties.
Valid Input Registers Range additional properties Refer to ValidCoilsRange for properties.
Points additional properties Provides a container for proxy points.