Hi srd,
I`m back now!
And with more comments on the blocks!
water meter that pulses every 10litres and convert it to an anologue output so i can display the flow rate.
pump1 max.20m³/h = 2000pulses/h LS block scals pulsrate for analog output->
parameter for LS block x1=0; x2=20000(l/h); y1=0; y2=1024 (10bit=0-10V)
ok we change parameters in AR blocks
at first:I take L/h for an exactly result, because easy800 can`t calculate comma.
Note: If number of pulses low, take a higher gate time for better resolution, but now is refresh time longer.
AR1
Input must be counted pulses, read from DB *36000 {3600s(1hour) *10l (1puls=10l!)} ->
AR2
result AR1 / xx sec gate time = Liter/hour
check: 3pulses per 5s gate time = 21600l/h -> take min 15s gate time!
I think, you need for your 5cube pump another flowmeter.
bye Thomas