Set/reset or toggle function

Another unconventional method is to have your button increment a counter (or just +1 an integer). Bit 0 of the counter will toggle on/off each increment.
 
Thanks everyone for the recent responses. I attached my favorite.
I did forget to mention that I was working in AB/Rockwell RS Logix 500

That is my favorite too, and a very similar form is in that alternator PDF.

Note that it is essentially a form of the Start/Stop Circuit pattern; it can also be seen as a combination of the Start/Stop and State Coil/Fault Coil patterns (cf. here).
 
Thanks everyone for the recent responses. I attached my favorite.
I did forget to mention that I was working in AB/Rockwell RS Logix 500





One thing about this compared to your first post is this output is not retentive.



This style is good for turning on a motor, as if the PLC cycled off the output would be turned off when it started again.


The latching style of your first post I use a similar method to set modes and features, that stay on during a power up and don't have to be re-engaged every time. Also, on the latching style you would have to plan for every condition possible, plus a variety of operator-induced conditions, and unlatch it when needed. I have seen programs with one latch and 30 unlatches, where adding a few XIC's or XIO's before the OTE would make he rung false.



It's a bad idea to latch outputs that would come on immediately unless it's something that needs to run constantly like a rooftop air scrubber.
 

Similar Topics

I have a graphic that has 2 buttons for Automatic and Manual, each with pushbutton animations associated with them to toggle a bit in the PLC, one...
Replies
8
Views
2,517
i am using logixpro I/O Simulation, i am currently using push buttons with TOF timers i would like to use TON timers instead so what i was want to...
Replies
9
Views
216
Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
304
I was loading a program onto an XE1e2 PLC and it got stuck on these two windows and won't progress. It won't let me connect from the PC to reload...
Replies
0
Views
74
Hi all, i have recieved some 4RF Aprisa SR+ ethernet radios from a customer to configure. Issue is that they are used and have non-default...
Replies
0
Views
81
Back
Top Bottom