11/10/2018 4:47 AM | |
Joined: 3/18/2014 Last visit: 11/17/2023 Posts: 8 Rating:
|
Hello, good evening, my name is Pedro Estrada, ------------------------------------------------------------------------------------------ AttachmentFlowtest.zip (248 Downloads) |
Last edited by: AutoGen_481179 at: 11/10/2018 4:49:00 AMLast edited by: Jen_Moderator at: 11/12/2018 6:43:53 AMNew subject after splitting |
|
11/10/2018 4:55 PM | |
Joined: 2/22/2008 Last visit: 8/6/2024 Posts: 2698 Rating:
|
See Attachement Additions with last values are made with the arithmetic block, but only with edges on the enable input. The new value is added with the last output value of the arithmetic block via an additional block to avoid recursions. Storage ist made also with the arithmetic block with checkbox last value on, see parameter of block. Regards, Scorp AttachmentFlowtest1.zip (268 Downloads) |
Last edited by: Scorp at: 11/10/2018 5:01:28 PMLast edited by: Scorp at: 11/10/2018 5:02:10 PM |
|
This contribution was helpful to
1 thankful Users |
11/12/2018 6:47 PM | |
Joined: 3/18/2014 Last visit: 11/17/2023 Posts: 8 Rating:
|
Taking advantage of the issue, there is a way to send the analog value of the B007 gallon Totalizer, to a counter, to store the total gallons, the value of B007 in case there is an electrical disconnection in the PLC LOGO!
AttachmentFlowtest1.zip (230 Downloads) |
11/17/2018 7:46 AM | |
Joined: 2/22/2008 Last visit: 8/6/2024 Posts: 2698 Rating:
|
Hi Pedro, see appended program for your totalizer with a pulse sensor. As i described you need a sensor with max. 1500 pulses per gallon for max. 200 gallons per minute. Maybe it is a good idea to take a sensor with 1000 pulses per gallon if available. You need to connect the sensor to a high speed input (I3...I6). The input has to be connected directly to "CNT" of the first counter and also to "Fre" of the threshold trigger for correct function. Check your Logo for high speed inputs, see technical data. Of course you can use sensors with other values for pulses per gallon. I have added a setup sensor entry to adjust the right value. If this value is not an integer, then write a post with a link to your sensor. If the sensor only have e.g. 100 or less pulses per gallon or is not an integer, then the mathematical operations have to be changed generally. Try out the program in a simulation to see the relations between the blocks. Regards, Scorp AttachmentGallons1.zip (252 Downloads) |
This contribution was helpful to
2 thankful Users |
Follow us on