unlatch command in allen bradley

Join Date
Dec 2008
Location
indiana
Posts
24
can you use a unlatch command in a program without using
the latch command?
looking at some programs at work it seems that it was
common with who ever created the programs to use a unlatch
command in the end of the rung with the ote.
----:1:-----------------------{}-----ote
{}unlatch1
trying to hook up a plc for experiments and I could not
see the data file change back to a 0.
so does that mean it doesnt work?
Thanks Mike
 
The unlatch command will work with OTE's.
But remember that if the OTE isn't in a seal condition with the bit in the seal it will stay high during the next scan and you probably won't see it go low. Just keep that in mind during your ladder execution.
 
example
lets say N:7/1 turns on 2:/1 and the unlatch command is on the same
rung is N:7/1 in parallel with the ote 2:/1.
just didnt know if this really unlatched when I saw this written in
a program like this.
I thought that was the purpose of latch and unlatch working together.
so its ok to use one without the other?
Thankksssss
 
I use an unlatch in the PLC program for bits from an HMI. Momentary buttons from an HMI depend on two communication events, a turn on and a turn off. I use just a 'turn on' type button. In the PLC program I perform the indicated task then unlatch the bit.
 
To make a long story short: OTU writes a 0 to the address when the rung is true, so anytime you want to program IF CONDTION=TRUE THEN BIT := 0 then OTU is one way to do it.
 
I dont always say what I want or explain things the way I should so I guess thats why I am not a very good teacher myself.Thanks for all the responses.I never did get a straight yes or no if you could use the unlatch command without ever using the latch command?
The intergal xio turns on a ote and the same intergal in the same rung is turned off with the ote command in parallel.
Mike
 
Straight answer: Yes you can use OTU without OTL - they are not devices, they are computer instructions and a computer takes what it is instructed to do quite literally and carries it out.
 
Showing my Age Again

The use of an Unlatch in a program actually resembles a function you used to see on the TI PLC's.

The TI PLC's had an inverted output. What this ment was an Output was turned off whenrever the rung conditions became true. The unlatch comand in AB PLC's doses the same thing.

Most common use I remeber for it was to daisey chain drum timers together. This alllowed you to "jump" from one drum timer to the next and deactivate the previous drum timer while limiting the amount of code you used.

Another common use for the unlatch from my memeory was to act as a strobe for a parallel input text display. The strobing of the bit would allow you to setup your bits then send them to the screen.

Anyway that is the pratical uses I know of.
 
To expand on Alaric's reply:

OTE - IF condition is TRUE THEN output equals TRUE ELSE output equals FALSE

OTL - IF condition is TRUE THEN output equals TRUE


OTE - IF condition is TRUE THEN output equals FALSE
 
The OTL/OTU will fool you with an AB. When the bit is "on" you will see both the OTL and OTU bits "green". It looks like the OTU is on, but it isn't. You have to look at the rung logic to see what you have for an output. Usually "green" = output, when the bit is off, no green.
 

Similar Topics

Hello All, Can someone see what I did wrong here. My "PA" bit never seems to get energized despite hitting "SOFTKEY7" many times
Replies
5
Views
706
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,534
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,539
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
1,998
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,185
Back
Top Bottom