Latch an Unlatch circuit

This is weird...

I simplify the logic...to see if I can even energize one bit...and it seems like

"flag 1" doesnt get energize...

I replaced "softkey 7 toggle" with "flag 1" to see if there is any difference.


a search only shows one OTE on that rung

this is perplexing.


This is a PLC5-40E by the way. I've haven't encounter this behaviour before. There is no other instruction , block read acting on those bits

Screenshot 2023-07-19 144708.png Screenshot 2023-07-19 144634.jpg
 
Last edited:
What software are you using?

It looks like RSLogix 500 or RSLogix 5, if it is either:

Is something writing to the whole word that contains that target address?

Is the ladder file in question being called by a JSR instruction?
 
^ This.

Also:

1) Click the yellow Downloads link above.
2) Click the [Allen-Bradley] link on that page.
3) Search for [ALTERNATING METHODS.pdf] on that Allen-Bradley page.
4) Downlink and read that PDF.


Wow treasure trove. Thank you!

also There is a JSR to the ladder in question.

The field PLC works as expected. I just download the same code the another test PLC5 and disable all BTR and BTW blocks so I can toggle stuff without being over written. I must did something extra..

Screenshot 2023-07-19 154609.jpg
 
There is a JSR to the ladder in question.


Is there a JSR calling the ladder program file with the JSR that calls file #90?

Also, in the first post, why are the XIC N46:39/8 OTL N46:39/11 instructions on separate rung ...21, and not on a third branch on rung ...20?
 

Similar Topics

I've used the simple momentary switch toggle logic for a few decades now. Now I need to find logic that allows the toggling to latch/unlatch a...
Replies
26
Views
9,839
Hi guys, I have a question regarding studio 5000 with processor 1769-L33ER V33.011 and Factorytalk View SE V12. I have an home-made pop-up...
Replies
3
Views
1,567
I'm troubleshooting a machine for a customer right now, and the output that is not working needs this bit to go high to activate the coil. But the...
Replies
36
Views
13,598
I am trying to convert an old PLC5 program. I have several instances in the unlatch instruction where they give a B file on top of the unlatch...
Replies
9
Views
2,027
Hi everyone. First time poster here. I am very new to PLC programming (my programming background is more in computers). I have a question with...
Replies
12
Views
3,278
Back
Top Bottom