(0)| 1/23/2023 9:47 PM | |
|
Posts: 1 Rating:
|
Hi I need to display counter value every 4 seconds and then reset it over and over again. I am wondering about whether reading value from counter by mathematic instruction (with set option last value when EN=0) and resetting the counter with the same impulse is safe. I attached simple project where it works but I'm afraid of getting zeros because reset counter will perform faster than reading value. AttachmentCircuit Diagram2.zip (779 Downloads) |
| 1/24/2023 9:39 AM | |
|
Joined: 2/22/2008 Last visit: 4/25/2025 Posts: 2698 Rating:
|
You also can use attached version, created from your version with some changes. Flag M1 is a one cycle delay for the counter reset, the pulse generator ist changed by an on-delay timer. Regards, Scorp AttachmentCircuit Diagram3.zip (915 Downloads) |
Follow us on