Hello,
Could you clarify what you are using the digital output for?
Generally, I would recommend configuring Modbus Alarms here. This way, the device would read its Modbus registers continuously every x amount of seconds, and if the values match the specified condition (voltage low), it can:
- Perform a Modbus write request to the RUT955 or any other Slave device;
- Send an MQTT message;
- Trigger any I/O output;
- Send an SMS;
The main advantage of doing it this way is that the Modbus Alarms also include options for Action frequency and Redundancy protection. Action frequency specifies whether the action needs to be executed every time the condition is satisfied, or only the first time. Redundancy protection will help alleviate any undesirable duplicate messages for a specified amount of time (e.g. don't send the message for the first 200 seconds).
To configure it, you'll first need to enable the Modbus TCP Slave by navigating to Services → Modbus → Modbus TCP Slave. Once it's enabled, open the Modbus TCP Master settings. Add a new slave device. Once the advanced configuration window opens up, enable the instance, enter a name, IP address (127.0.0.1), and the period of how often the voltage should be checked.
Once that is done, scroll down to the bottom to the alarms configuration and create a new instance
- Enable the instance;
- Select the function as Read Holding Registers (3);
- Compared condition data type as 32bit UINT, Byte order 1,2,3,4;
- First register number as 142 (full list of Modbus registers of RUT955 can be found here);
- In the Values field, specify 12 or 13 (voltage)(this field does not allow floating numbers);
- Select the condition as Less than (if the voltage is lower than 12);
- Action frequency should be set to First trigger;
- Enable the redundancy protection and specify the time in seconds to delay the action;
- Select the action you'd like to perform when the condition is specified;
Multiple alarms can be configured with the same condition if needed (e.g. set the I/O pin and send an SMS). Once configured, everything should function as expected.
Let me know if any additional information is needed!
Best regards,
DaumantasG