Set/reset or toggle function

Toggle Function

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

PLC Toggle Circuit jpg.jpg
 
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...
8
Replies
3,753
Views
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...
9
Replies
1,037
Views
On my SmartLine 360 Factory I/O simulation, clearing a gripper fault with the panel reset also reset shift OEE and availability to zero. The KPI...
1
Replies
144
Views
Reaching out to the extended cerebellum.... I have replaced a PowerFlex40E with PF525. Same ratings. I have set up what I believe to be the...
13
Replies
506
Views
Hi guys, Can someone give me some help understanding this image from PLCopen? I can't understand it. For safety function reset I'm using this...
3
Replies
346
Views
Top