UserFriendly
Member
Hi all,
I'm working with an application with small chemical pumps drawing from a tank sitting on a weight scale with transmitter (measured in lbs).
I need to:
A). measure the consumption of the chemicals
B). measure the refill amount following a refill
The time to refill would probably be between 3 and 15 minutes depending on the size of the tank.
The time to consume the whole tank would be over 2-3 days.
For A.)
I found a thread on here describing oil consumption, to sum up:
Move analog value X to a memory location every Y seconds/minutes, set a bit.
Move analog value Z to different memory location over same period.
Subtract X-Z and average.
Totalize average consumption.
Is there a simpler way of doing this?
B.) It seems I should be doing the same but the opposite here. I feel the timing may really be important.
Unfortunately both of these will be difficult to test with an active system, so any help or previous experience would be most appreciated.
I'm using a Micrologix 1400 with RSLogix500 8.40.
Thanks!
UserFriendly
I'm working with an application with small chemical pumps drawing from a tank sitting on a weight scale with transmitter (measured in lbs).
I need to:
A). measure the consumption of the chemicals
B). measure the refill amount following a refill
The time to refill would probably be between 3 and 15 minutes depending on the size of the tank.
The time to consume the whole tank would be over 2-3 days.
For A.)
I found a thread on here describing oil consumption, to sum up:
Move analog value X to a memory location every Y seconds/minutes, set a bit.
Move analog value Z to different memory location over same period.
Subtract X-Z and average.
Totalize average consumption.
Is there a simpler way of doing this?
B.) It seems I should be doing the same but the opposite here. I feel the timing may really be important.
Unfortunately both of these will be difficult to test with an active system, so any help or previous experience would be most appreciated.
I'm using a Micrologix 1400 with RSLogix500 8.40.
Thanks!
UserFriendly