The ModbusAsyncNumericWritable component is responsible for sending and reading numeric values from the device. The component has to be placed under the ModbusAsyncDevice component.
The ModbusAsyncNumericWritable component has the following slots:
Status: shows the point’s status;
Fault Cause: shows the fault cause description;
Fault Status: informas about the point error status (true: point read/write error);
Enable: enables or disables the point (true: point enabled, false: point disabled);
Address Format: allows to set the register address format (Modbus, decimal);
Address: allows to set the register address;
Data Type: allows to set the read/write register data type (Int: 16-bits, Long: 32-bits, Float: 32-bits float-point, SInt: 16-bits with the sign, Slong: 32-bits with the sign);
Poll Frequency: allows to set the reading poll frequency (fast, normal, slow);
Write Type: allows to set the writing mode (COV: only on input change, COV_PollFequrency: on input change and periodically, PollFequrency: only periodically, COV_LinkSet: only on input change using the "reverse following the link" function);
Trigger: allows to trigger the remote enforcement of sending (on rising edge);
Out: the output slot, shows the current value of device register;
In: the input slot.
The ModbusAsyncNumericWritable component offers the following actions, available in the context menu:
- Set: writes the value to the In slot and sends it to the device;
- Write: sends the value from the In slot to the device;
- Read: reads the value from the device and sends it to the Out slot;
- Send Value: sends the user value from the pop-up window, without changing the In slot.