FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14252 questions

16893 answers

27804 comments

54544 members

0 votes
49 views 2 comments
by
Hello,
I'm measuring battery level of some device by analog input pin in the 955 router. When the battery drops below 24V I need to send the email message. The problem is that if my battery is close to 24V it is oscilating close to this vale and trigger multiple emails. Is there any solution to send only 1 message (for example set some max frequency for emails)?
Regards Konrad

1 Answer

0 votes
by

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 

by

Hello,
as for 24V I have the voltage divider (just not mentioned about it for simplicity) but thank you for your hint.
SMS message is not a proper solution for this application. Capacitor is doable but I would prefer to avoid overcomplicating the hardware.
How exactly works Execution Delay option in Actions? It is just simple delay or there is some double check that the voltage is inside/outside specified thresholds. If it is simple delay set to 100 when my action is triggered in time T, T+1 and T+2 it give me 3 messages at time T+100, T+101,T+102 or only one at T+100?
Regards Konrad

by

Hello,

  

It should send only one message at T+100. The information provided in the tooltip explains it a little better: 

How many seconds will pass before the action is executed after it's triggered. Trigger interval and action's Execution delay values are summed up when calculating total interval between I/O triggers.

Let me know if any additional information is needed!

  

Best regards,
DaumantasG