8/26/2023 12:41 AM | |
Joined: 12/18/2019 Last visit: 10/2/2024 Posts: 18 Rating: (0) |
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: 11/13/2024 Posts: 34208 Rating: (4261)
|
See attachment. Only full gallons are displayed and stored. AttachmentGallon_Totalizer_0BA8.Standard.zip (670 Downloads) |
This contribution was helpful to1 thankful Users |
8/28/2023 5:46 PM | |
Joined: 12/18/2014 Last visit: 11/13/2024 Posts: 34208 Rating: (4261)
|
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 (600 Downloads) |
Follow us on