03-08-2011 03:29 PM
I want to accumulate rain for the day, month and year; What formula or expression can I use.
I am using a Rain Wise product that converts pulses to an analog value. The Rain Wise device can be
set to measure up to 1", 5", or 10". I will be setting the unit to 10 inches in increments of 0.01 inches.
What I would like to do is everytime the signal increments I would like to count it as 0.01 then after reaching
a period of time whether it be a day or a month reset back to zero.
Need some advise on this problem.
Solved! Go to Solution.
03-11-2011 12:52 AM
What kind of signal does the lookout get?
If it's a pulse, you can use the Accumulator object. Its input is 0.01, Sample equals that pulse, and use a TimeofDay, TimeofWeek or TimeOfMonth object to reset the Accumulator.
03-21-2011 01:38 PM
Hello Ryan,
Lookout gets a Modbus over Ethernet signal which originates as a 4-20mA input to a Moxa Ethernet I/O Module (E1240) in the field. In Lookout I created a ModbusEthernet Driver and a tag which scales 0 - 65534 RAW to 0-10 Eng. [0 - 10 is inches of rain] Also, another piece of information is that after the rain gauge maxes out at 10 inches it will zero out and start over.
I though the accumulator was time based and took a sample over a specific time period, for instance, one sample every 30 seconds then accumulate. If this is so then if I have 5 inches of rain and then it stopped raining, then 30 seconds latter it would sample, it would see 5 inches and add that to be 10 inches when actually it had only rained 5 inches.
I really need some help with this process,
David Lopez
City of Corpus Christi
03-21-2011 08:29 PM
How about using a Counter to count the number of times that the signal is below than 0.01?
For example,
Counter.Count = signal <= 0.01
The total number of rain is
Counter * 10 + signal
Use TimeOfDay or TimeOfWeek to reset the counter.