Hello,
It should be kept in mind, that the analog input pin only supports voltages up to 24VDC, so a voltage divider needs to be used. For example, if the maximum voltage of 30V can be achieved, then two 1.5kΩ resistors can be used to lower the voltage to 15V max.
Now regarding the voltage oscillations, the best way would be to use a capacitor or something similar to stabilize the voltage before it gets passed down to the RUT955. However, if this is not possible, one solution could be to use Modbus Slave + Mobus Alarm to avoid duplicate messages:
- Navigate to Services → Modbus → Modbus TCP Slave;
- Enable the service;
- Press Save & Apply;
- Navigate to Services → Modbus → Modbus TCP Master;
- Create a new instance;
- Enable the instance;
- Create a name;
- IP address: 127.0.0.1;
- Period: 10;
- Scroll down to the bottom to Alarms Configuration;
- Create a new instance;
- Enable the instance;
- Function Code: Read Holding Registers (3);
- Compared condition data type: 32bit INT, Byte order 1,2,3,4;
- First register number: 142;
- Values: the voltage value which will trigger the action;
- Condition: Less than;
- Action frequency: First trigger;
- Redundancy protection: specify how much time should pass before the next message can be sent;
- Action: SMS;
Unfortunately, this service only supports sending SMS messages, and not emails, so if this is an issue, a solution like a capacitor to stabilize the voltage needs to be used.
Let me know if there are any further questions!
Best regards,
DaumantasG