Racheting relay

thanks Ron.. I shall not reset my counter in the future.. lol one line of code un-needed :)

Caution! You might want to reset it. When you have a power failure (or go to run from program) the counter will pick up right where it left off. If Counter.ACC/0 was on when power went off, it will be on when power returns - which might be a bad thing in some applications. If it is then you want to reset the counter using the first scan bit. You need to determine for yourself its suitability to the application.

Likewise, a flip flop like the one Eric linked to, will always come back on in the off state when power returns, and there might just be an application where that is not what you want, where what you really want is to return to the last state.
 
Last edited:

Similar Topics

Hi, I am using AB 5069-L306ERS2 CPU. My system should achieve SIL-2. I have safety door switches connected to AB 5069-IB8S module, and I want to...
Replies
1
Views
111
Hello, I need assistance in making a Relay operation that follows the given parameters: -if S1 is switched and S2 is at off, the Lamp 1 will be...
Replies
3
Views
113
Question to anyone with ideas about my thoughts on upgrading a very vintage timer, which is being used to switch between 2 5hp domestic water...
Replies
14
Views
441
I have an application where I want to use a safety relay in combination with a flame detector as the sensing element. The flame detector has relay...
Replies
23
Views
1,089
Back
Top Bottom