ModbusClientPresetCoils

This component contains one or more preset coil values (ModbusClientPresetCoil components). In this container, you specify a Starting Address for the first (topmost) child preset coil value. The driver sequentially addresses any additional child preset coil values relative to this slot. The driver always uses the Absolute Addressfor actual addressing, which is typically the same as the Starting Address, unless coils in the parent Modbus device are augmented with a base address.
Figure 17.   ModbusClientPresetCoils properties
Image

In this preset container you also specify whether individual child preset coil values are written to the Modbus slave upon any change, or only collectively when the Write action of the ModbusClientPresetCoils container is invoked.

You access these properties by expanding the Presets folder in the Nav tree and double-clicking the ModbusClientPresetCoils.

Property Value Description
Starting Address additional properties

Specifies the address of the first holding register to write (prior to any offset address change as a result of using device-level Base Address), as a combination of:

  • Address Format— either Hex (default), Decimal, or Modbus
  • Address — numerical address, expressed in the selected format.
Absolute Starting Address read-only Differs from Data Address only if using the device Base Addresses. It is the sum of the Data Address value and the associated Base Address value (as configured in the parent Modbus device). This is the actual address that uses when writing the first register’s preset value.
Status read-only Displays the status of the container slot—can be fault if a previous write to a child preset register failed for some reason.
Write On Input Change true or false (default) Configures when to write a value to the register.

true writes a value when data coming in changes.

false ignores value changes.

Actions

Two right-click actions on a Modbus Client Preset Coils container are as follows:

  • Write

    To write all the preset coil values currently in child ModbusClientPresetCoil components.

  • Add Preset Coil Value

    To add an additional child ModbusClientPresetCoil component, specifying its Boolean value in the popup window. The component is added to the end of the existing slot order.