Rslogix 5000 programming question

Randomguy

Member
Join Date
Nov 2011
Location
Pa
Posts
2
Im having an issue right now with just one PB well call it pb1... And 1 output, well call it o1. I need pb1 to invert the output of o1, so if it's off and pressed it needs to turn on and if turned on it needs to turn off, I've tried creating a (L) and (u) circuit with the controling factor, is pb1 pushed in? Is the out put on? Unlatch. is the output off? Latch but when coding it that way, last command always wins... So it doesnt change state... I was wondering if there was a way just to invert the output when the button is pressed?
Thank you in advance,
Random.guy
Plz note typed up on an iPhone while on the move...
 
Last edited:
Search for the terms 'toggle' or 'flip flop' in this forum. There are multiple ways of accomplishing this. Everyone seems to have their favorite.
 
Thank you, searching on the iPhone is a pain but I found a spread sheet with 10 ways for toggles to function... Now back to class to create a lights out program ;)
 

Similar Topics

Hello all, I was trying to do some online programming on a AB control logix PLC v20. I added a new function block routine and added in an SCL...
Replies
3
Views
1,975
hi, i know how to write program in rslogix 500. in youtube video of rslogix 5000 programming i saw that they are just writing character tags (like...
Replies
3
Views
2,022
I have two PB's I want to use with my test bench for fault/fault reset testing (if possible). I can get it to fault but I am not sure how to code...
Replies
14
Views
4,918
I am taking my first attempt at modifying a program on our little bottling machine. We need to automate a sequence to purge the tank on the...
Replies
2
Views
4,816
I am trying to program a controllogix with a 1756-dnb card to operate a powerflex 700 drive with a 20-comm-d card in ladder logic programming. Any...
Replies
11
Views
7,969
Back
Top Bottom