I cant seem to figure this one out. I want to monitor two DI no matter where i am at in my program to which then resets two different registers. I have tried a monitoring COND but it works as a one shot ( resets my registers but then if i try it again it wont reset them over again until it hits that point in the program where i have the MONITOR COND). So i want it to constantly loop in the background and reset the registers every time the robot receives either of those DI. Thanks in advance.
BG logic
-
Kyle0588 -
July 13, 2017 at 10:28 PM -
Thread is marked as Resolved.
-
-
It should be something as simple as this:
This would constantly reset it as long as the signal was on. If you wanted to do something like a one shot on the rising edge of the signal, you would have to get fancier. Those are covered in the sticky at the top of the forum.
-
Instead of using the instruction MONITOR / MONITOR END, you can use the SYSTEM Monitor, which basically run the COND program in background but it does not depend on the instruction MONITOR in a program.