How long does an energized Coil stay on after the routine it is in stops being called

Tom Kazakoff

Member
Join Date
May 2004
Location
Boulder Creek, Ca.
Posts
26
I am using a 1769-L33 ERM CompactLogix 5333 Controller.

how long does an energized coil stay on after the routine that the coil is
in stops execution?

In this case the coil is used to stop the JSR to it.

--------[ not error]----------------------JSR A ->called first

------- ------------------------------------JSR B -> called 2nd

many other JSR's are executed here.........

Subroutine A
------[valve did not open]--------------------------( error) -> not latched, it is an OTE

Subroutine B
--------[error ?]-------------------------------------(set system fault)

I know the answer is usually one scan. Is one scan the beginning of the
ladder to the end of the ladder. The JSR occurs first in the sequence of execution, then Subroutine B, then a bunch of other routines. Will the error coil still be energized when Subroutine B is executed?
 
Last edited:
If subroutine A is using an OTE (I'm assuming an Allen Bradley system from your nomenclature) for 'error' and the subroutine is not called again because error is ON then, assuming 'error' is not accessed for writing any other place, 'error' will not turn off at all.
 
The "coil" that you refer to is nothing more than a computer memory location into which a value is saved by a computer instruction. That value will not change until another computer instruction writes a new value to it. So if you execute an OTE instruction on a true rung, a 1 will be saved and it will stay a 1 until another instruction is executed to change it. If no instruction is executed, then it will stay at the last value.
 
Last edited:
I agree with TConnolly and Bernie once you set the coil it would have to be unset by JSR A running with the [valve did not open] bit being cleared which with the program shown above can never happen since once you set your error OTE it locks out the JSR.

So even if you did clear the [valve did not open] bit the Routine would not scan to clear the error OTE.

I think I see your train of thought is if the Routine stops being called the bit will get cleared.
However that is not the case it will retain whatever state it was when the routine halts, in this case a permanent ON state once your [valve did not open] Bit sets it.
 

Similar Topics

Hi guys, I've taken on a new client, rural water district. They have an ancient system, with Scadapacks and NI Lookout. Some of their...
Replies
1
Views
1,770
Hi, I received a backup of an old HMI application from a client. I am unsure as to what graphics package was used to configure this application...
Replies
1
Views
1,734
Hi folks. I am looking at a large PCS project estimate. One thing I am trying to get an idea about it how long it should take to get a PICS...
Replies
3
Views
2,469
I have Allen Bradley plcs, I have had Circuit breakers and other automation equipment in the past. There's no solid buyers local. How much do you...
Replies
2
Views
192
I have a question. I work in a very large plant and this one (of many hundreds of control cabinets) contains one 5580 (1756-L83E), two 1756-L73...
Replies
6
Views
200
Back
Top Bottom