ModbusClientPresetRegister

ModbusClientPresetRegister is a child component of ModbusClientPresetRegisters, used to specify a preset numeric value to write to a holding register in a client Modbus device.

You can add any number of these register components under the ModbusClientPresetRegisters parent, where each specifies a numeric value to write. Data type can be integer, float, long, or signed integer, as specified by the configuration of the parent ModbusClientPresetRegisters container.

Figure 16.   ModbusClientPresetRegister properties
Image

You access these properties by expanding ModbusClientPresetRegisters component in the Nav tree and double-clicking the ModbusClientPresetRegister.

Property Value Description
Value number Specifies a numeric value to write.
Last Successful Write read-only date and time Reports the last successful write.
Last Failed Write read-only date and time Reports the last failed write.
Write Status read-only, writable or ok Reports if the object is read-only or can be written to.

Read only indicates the proxy extension cannot be written to.

Writable or ok indicates that the object can be written to. For writable objects, this property indicates either that the last write occurred within the effective period or, if a write operation failed, it provides descriptive text.

Error Code read-only number Reports the number associated with a read or write error.
Error Description text Reports a short text description of the read or write error.