RSLogix 500... What's your take on this rung?

AutomationTechBrian

Lifetime Supporting Member
Join Date
Jul 2013
Location
St. Cloud, MN
Posts
669
The thing about troubleshooting with the ladder logic... you get to see other techniques. I ran across this yesterday and I'm thinking about the purpose. The ladder was uploaded from the plc, so there are no comments.

I start explaining rung 40... my first thought is insurance on the "one shot", but then the B19:1/4 used as both contacts and coil screw me up.

Rung40.png
 
It's a toggle routine.
B20:1/9 goes high sending B3:0/3 high and if B19:1/4 is low it goes high. If it is high it goes low.
 
On low to high of first contact, creates a one shot, this then sets the output on rung 2, on the next transition of low to high on rung 1 it de-latches the output so this is basically a flip flop could be used for a start/stop circuit from one push button
I.e. First push puts output on, on second push turns output off
 
I see this used when a single button on an HMI is used as the ON/OFF button.

Each time you press the button it changes state. It can be handy when you have limited screen space on the HMI.

You can change the button color to show the current state.
 
I have used similar logic with the done bit on a self-resetting timer. Delete rung 39 and use the done bit for B3:0/3. With a 0.5 sec timer, the bit changes state each half second, then you can use this to flash warning lights and such.
 
I see this used when a single button on an HMI is used as the ON/OFF button....

I have used this with physical, illuminated pushbuttons on panels with limited space, or only one opening left in an operator pendant.

EDIT: Generally good to add a debounce timer on physical switches triggering a PLC OneShot.
 

Similar Topics

Hi to everybody. I need to remove memories and rungs comment from a SLC500 program because was used as a base program a wrong file project and...
Replies
8
Views
2,398
I had an idea to improve some of my standard programs, and make them easier to modify/expand in the future. Is there a way to address the current...
Replies
9
Views
3,673
Hi I have a question. I'm connected to SLC 5/05 CPU with RsLogix 500. I need to make some changes in a few rungs. What I do: 1. right click on...
Replies
28
Views
25,484
Hi all Anyone have any idea how to import rung descriptions. I've tried using the "Export ASCII" to .ERP and edit in notepad. It imports with no...
Replies
7
Views
4,921
Hi Everyone, I am not proficient in RSLogix 500 so I have a question regarding the evaluation of N7:0 data as an input. So as I understand in...
Replies
1
Views
84
Back
Top Bottom