ASPLC
Member
Hi all,
I've been reading up on latches vs seals. I am working with SLC500's. From what I understand, the only thing to be aware of regarding latches in AB SLC500's is that the latched bit will remain on even after a power failure, and a sealed in bit won't. At least that's what I gleaned from reading Ron's big latching post (I think it was Ron, my apologies if I'm wrong).
I have a few questions about latching vs using seals in different situations:
1)Fault handling
It seems to me the easiest way to do this is by latching a bit. Using a seal is more difficult as a fault bit is usually used in at least 2 different ladder files (the fault file and the file where the fault originated). Is there any reason not to use a latch for fault bits?
2)Real world outputs
Depending on whether or not you want the output to remain on after a power failure(assuming it was on before power was lost). If you want it to remain on (ie: retentive) after power failure, use a latch, otherwise use a seal
3)Sequencing
Again I've always heard not to use latches for sequencing, instead I've been told to use sealing. If the only difference is whether or not you want the sequence bits to retain their state in a power loss situation, this seems somewhat trivial, or at least not a good enough reason to never use latches in sequencing (I mean, a simple unlatch of all the sequence bits using the first scan bit will do the same thing right?). I've been told that using sealing is better because when using latches in sequencing bits, somehow the program has more of a tendency to get "stuck" or that by using sealing for the sequencing bits it's more "flexible" or I've even been told that the program can go "backwards"(which was said in a positive manner. I think the intention was to mean that if the sequence went one step too far for some reason, you were able to move back to the previous step without going online with the plc or something to that effect)
Maybe someone could clear this up for me. Particularly the sequencing part.
Thanks a million.
I've been reading up on latches vs seals. I am working with SLC500's. From what I understand, the only thing to be aware of regarding latches in AB SLC500's is that the latched bit will remain on even after a power failure, and a sealed in bit won't. At least that's what I gleaned from reading Ron's big latching post (I think it was Ron, my apologies if I'm wrong).
I have a few questions about latching vs using seals in different situations:
1)Fault handling
It seems to me the easiest way to do this is by latching a bit. Using a seal is more difficult as a fault bit is usually used in at least 2 different ladder files (the fault file and the file where the fault originated). Is there any reason not to use a latch for fault bits?
2)Real world outputs
Depending on whether or not you want the output to remain on after a power failure(assuming it was on before power was lost). If you want it to remain on (ie: retentive) after power failure, use a latch, otherwise use a seal
3)Sequencing
Again I've always heard not to use latches for sequencing, instead I've been told to use sealing. If the only difference is whether or not you want the sequence bits to retain their state in a power loss situation, this seems somewhat trivial, or at least not a good enough reason to never use latches in sequencing (I mean, a simple unlatch of all the sequence bits using the first scan bit will do the same thing right?). I've been told that using sealing is better because when using latches in sequencing bits, somehow the program has more of a tendency to get "stuck" or that by using sealing for the sequencing bits it's more "flexible" or I've even been told that the program can go "backwards"(which was said in a positive manner. I think the intention was to mean that if the sequence went one step too far for some reason, you were able to move back to the previous step without going online with the plc or something to that effect)
Maybe someone could clear this up for me. Particularly the sequencing part.
Thanks a million.
Last edited: