(2)| 8/26/2023 12:41 AM | |
|
Joined: 12/18/2019 Last visit: 11/17/2025 Posts: 22 Rating:
|
I downloaded this and am trying to figure out how to use your code for my scenario. I have a input coming into a 4-20ma channel. It is scaled to 0-40gpm. I need to count gallons and store the 24hr total and reset once a day at lets say midnight. Could you help with this please? ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 09/20/2023 13:17:36New subject after splitting Last edited by: Jen_Moderator at: 09/20/2023 13:18:43Quote inserted. |
|
| 8/26/2023 12:59 PM | |
|
Joined: 12/18/2014 Last visit: 1/14/2026 Posts: 36446 Rating:
|
See attachment. Only full gallons are displayed and stored. AttachmentGallon_Totalizer_0BA8.Standard.zip (812 Downloads) |
This contribution was helpful to
|
|
| 8/28/2023 5:46 PM | |
|
Joined: 12/18/2014 Last visit: 1/14/2026 Posts: 36446 Rating:
|
I think that you only tested the program in the simulation and not in a real LOGO!. That's why I gave you a screen video of the online test with a real LOGO! created. The same applies to storing the total value at midnight. This also only works in a real LOGO!. AttachmentOnline Test.zip (734 Downloads) |
Follow us on