Retained (latched) bit in an unscanned rung ??

timbo_uk

Member
Join Date
Nov 2005
Location
Bradford, UK
Posts
336
Hi,

I am not sure here about a simple problem on an ML1100 I am working on.

I am calling a program file only during a certain part. This ladder has some fault detection that latches a bit should it detect flow failure of a pump. This program file will then not be scanned again.

If a bit is "latched" with an XIC of itself, if that part of the ladder is not scanned; then does the bit stay latched?

Hope that make sense!
 
When the subroutine is not scanned, the output addresses are not changed by the subroutine, even if they are OTE instructions.

I think that is what you are asking...

Paul
 
LOL, I knew I would word it wrong!!!

Main program calls another ladder (Lad 8)
Ladder 8 runs and turns on B3:10/2
B3:10/2 is retained by XIC B3:10/2
Program returns to main ladder
Ladder 8 is not scanned again

If I check B3:10/2 in the main program, will it still be made?

The rung is below:

BST XIC B3:12/2 XIC T4:22/DN NXB XIC B3:10/2 BND OTE B3:10/2
 
Greetings timbo_uk ...

I think you've already realized that some of the confusion is the result of your terminology ...

the rung that you described is often called a "seal-in" type rung ... in contrast, the term "latched" is often reserved for a rung which makes use of an OTL instruction ...

a LOT of people (and some books) sort of blur the distinctions between the two ... there's a little bit of discussion in the following video that might be helpful ...

http://www.youtube.com/watch?v=KraWAA_i9GM

based on the way asked your question, I'd bet that the part about "prescan" is likely to be very interesting to you ...
 
In the UK the term should be “retained” not “latched”.

well, I certainly won't argue - but some people get confused with THAT terminology too ... consider that Allen-Bradley officially describes the OTL (LATCH) instruction as being “retentive” – as in it can “RETAIN” its ON status even after a power cycle ...

let’s face it – there are plenty of “mistakes and misconceptions” about this stuff – no matter how hard we try to nail down the specifics ... the best possible policy is to understand WHAT happens – and WHY it happens – and then do the best that we can to describe the facts in non-ambiguous ways ...

six eye-witnesses to a robbery ... six totally different descriptions of what the robber looked like ... that’s just human nature ...
 
Last edited:
Nice discusion building here :cool:

I cannot get onto utube here at work, not being cheeky, but does the video answer my original question? Or could somebody?

(PeterW, I just noticed I used "latched" in my first post and "retained" in my second one!)

Cheers
 
The rung you posted, if true during the last scan of the subroutine, would remain true when the subroutine is not being scanned.

Paul

Cheers Paul.

(You answered while I lashed up my mobile phone via a bluetooth dongle to an old PC in the workshop to get a look at Rons EXCELLENT u-tube video)
 
quite a few people have reported that they can't access YouTube at work ... try going through the Sample Lessons page on my website ... I've embedded all eleven videos there - which seems to make them more accessable to people with YouTube restrictions ... please let me know if you're still having problems ...
 
quite a few people have reported that they can't access YouTube at work ... try going through the Sample Lessons page on my website ... I've embedded all eleven videos there - which seems to make them more accessable to people with YouTube restrictions ... please let me know if you're still having problems ...

Thanks Ron, but the actual videos are blocked. Our company uses a (actually very good from a company point of view) security proxy server from Websense :mad: this strips the access to the file.

How big are the actual files? What about getting people to email you if they cannot access them, then give them a link to a directory on your server that has a "robots.txt" file to stop it being searched? Not sure how this could affect your server bandwidth charges.

I did manage to see the OTE vs OTL video (via my lash-up) and was very impressed with the clarity and content; very proffesional!
 

Similar Topics

In a data block, if the tag is ticked in the "Retain" column", is it meant to be retained after cycling the power to the PLC? I'm finding that...
Replies
2
Views
723
Hi, I have a s7-1200 at home that went into "CPU error: Serious firmware exception". After a power cycle it was OK again, but all retained data...
Replies
2
Views
832
Let's say... A_DINT = 100 In some subroutine: rung 1 : A_DINT = A_DINT + 1 rung 2 : A_DINT = A_DINT + 2 rung 3 : A_DINT = A_DINT + 3 After a...
Replies
2
Views
1,425
sorry about this very basic question. I did a thread search but was unsuccessful. So, my question. If I toggle a bit during a Run, and power...
Replies
9
Views
3,499
Beginner level in Siemens programming. S7-1500 PLC and TIA portal V14 SP1 Long story short…. I installed a horn to come on to remindoperators to...
Replies
9
Views
2,368
Back
Top Bottom