Sign in to follow this  
Followers 0
Deke2006

Latching Bit?

7 posts in this topic

Hi, Is there a latching bit, that when set it stays set even if loss of power? Thanks, Deke

Share this post


Link to post
Share on other sites
HR bits will retain status through a power failure. You should use the KEEP (11) instruction with the HR bit. Hope this will help.

Share this post


Link to post
Share on other sites
Thanks!

Share this post


Link to post
Share on other sites
Not at all. HR maintains its status regardless of the way it was set.

Share this post


Link to post
Share on other sites
What gtsupport probably meant, was to use an instruction that will not be reset when power is re-applied, by using a conditional output. If a set/reset, or keep is used, and the reset conditions are not enabled when power is applied after a power failure, then the status of the bit should be retained.

Share this post


Link to post
Share on other sites
I will agree with your statement. My concern is if the initial logic after power is restored does not maintain the "on" status, the bit will reset. ____ scott posted while I was replying. That is exactly my point, but much better wording. Edited by gtsuport

Share this post


Link to post
Share on other sites
The following logic will also work without the use of the SET RESET / KEEP The HR bits if true before power down will be true for the first scan of the program at power up.. hence a set / keep function will maintain their state but so to will the self latch logic...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0