5/10/2024 11:52 PM | |
Joined: 7/1/2023 Last visit: 5/15/2024 Posts: 67 Rating:
|
Hello folks I can't figure out how to zero or reset output values via an input. In my example, you will see that each time I5 is pressed, a value of 10 is added throughout the chain. How would I use an input to reset the values to zero? I can't figure it out. Please note, the program I have submitted is just a copy paste from a larger program. I only added this section as it demonstrates what I am trying to solve. As always, any help is always appreciated AttachmentInput to zero values.zip (108 Downloads) |
5/11/2024 2:07 AM | |
Joined: 12/18/2014 Last visit: 8/23/2024 Posts: 33614 Rating:
|
The circuit is an analog counter. What's your problem? |
5/12/2024 4:28 PM | |
Joined: 7/1/2023 Last visit: 5/15/2024 Posts: 67 Rating:
|
Well, first of all, thanks for your help. I really do appreciate it and I know that as a hobbiest I have ALOT to learn. I suspect my problem is mostly that I am still learning :) I am still trying to understand the And(edge) but I will get it over time. Please see another cut and paste from my program. You will see that I2 adds 10 and I1 resets the counter to zero as per your previous reply. But if you look at NI17, 18, 20, 22 you will see that they add to the sequence while NI21 subtracts 5 and NI19 inhibits the analog output but does not reset the chain to zero. i used the solution you provided to add an input to B104 to reset that sequence to zero but I can't see how to apply that same solution to the NI sequences. Any thoughts? AttachmentMay 12 Reset Push Button Sequential Adds.zip (134 Downloads) |
5/13/2024 2:22 PM | |
Joined: 12/18/2014 Last visit: 8/23/2024 Posts: 33614 Rating:
|
I have tested the program in simulation mode and it works. |
5/13/2024 5:57 PM | |
Joined: 12/18/2014 Last visit: 8/23/2024 Posts: 33614 Rating:
|
In attachment a screen video of a Online Test with a real LOGO! 8.4.
AttachmentOnline Test.zip (125 Downloads) |
Follow us on