ModbusSlaveDevice

This component configures a Modbus slave device. You can specify many ranges of Modbus data items (coils, inputs, input registers, holding registers) in any or all ModbusSlaveDevice components.
Figure 20.   ModbusSlaveDevice properties
Image

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

In addition to the standard properties (Status, Enabled, Fault Cause, Health and Alarm Source Info), these properties support the Modbus async 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.
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.

Modbus Config

Property Value Description
Override Network true or false (default) Determines which values to use for these properties: Float Byte Order, Long Byte Order and Use Force Multiple Coil.

false selects the network-level values as configured by the ModbusAsyncNetwork component.

true selects the values defined by the Modbus Config container slot.

Float Byte Order drop-down list Specifies the byte-order used to assemble or receive floating-point (32-bit) values in messages. Choices reflect two alternate methods, where numerals 0, 1, 2, and 3 represent the least significant byte to most significant byte:
  • Order3210 – Most significant byte first, or big-endian, it is the default.
  • Order1032 – Bytes transmitted in a 1,0,3,2 order, or little–endian.
Long Byte Order drop-down list

Specifies the byte-order used to assemble or receive long integer (32-bit) values in messages. Choices reflect two alternate methods, where numerals 0, 1, 2, and 3 represent the least significant byte to most significant byte:

  • Order3210 - Most significant byte first, or big-endian, it is the default.
  • Order1032 - Bytes transmitted in a 1,0,3,2 order, or little-endian.

 NOTE: Float or long values received in incorrect byte order may appear abnormally big, or not at all.