Omron KEEP (HR xx) instruction

Join Date
Mar 2004
Location
Kita-ku, Nagoya, Japan
Posts
9
Hello All,

Omron PLC KEEP instruction using an HR (holding Relay) memory address will hold information even when power to the PLC was off.

This is very useful for batch processing operation, for example, when no. of cycle and processing time is critical and can restart (of course not auto restart) the operation from where it stop due to power failure.

I am just sharing my experience.

Best regards,

Vic Jasareno
 
Data Memories (registers) also hold their value, unless you write "0s" into them.

Most PLCs have these functions available. For example, in Mitsubishi you set up the register memory retentive area you wish to use. The remainder of the register area is then not memory retentive. Very usefull.

beerchug
 
It's not necessary to use the set/reset KEEP(11) function to use the retentive (HR) bits. The HR area is retentive, period. It will 'remember' its state even if a simple latch is used.

| WHATEVER HR0100
|-----] [------+------------( OUT )
| |
| HR0100 |
|-----] [------+


Correct me if I'm wrong, Bob. It's been a LOOOONG time since I've used an Omron... :D

beerchug

-Eric
 
You eventually might want to unlatch HR0100 though...

heh heh heh ! :D


WHATEVER WHEN EVER HR0100
----[ ]--------+---[/]--------( )
|
HR0100 |
----[ ]--------+

 
Look out!!! The Wombat woke up momentarily. No doubt gone back to
:oops:

16.gif
 
Badly worded Pierre, should have read unless you write another value into them, such as "0s" into channels that contain numbers other than "0s". Old age catching up, that's my excuse.

16.gif
 
Eric,

Correct me if I'm wrong, I think HR0100 below (assuming it's current state is 1) will reset to state 0 during first scan. This is one reason for using the KEEP instruction.


WHATEVER WHEN EVER HR0100
-------[ ]---------+--------[/]------------( )
|
HR0100 |
-------[ ]---------+

Best regards,

Vic Jasareno
 
Last edited:
The HR area retains its last known state ...therefore in the diagram HR100.00 will imediatley latch it self ON assuming that the WHENEVER is OFF upon power up.

If this config used a standard IO for example internal relay 200.00 in lieu of HR100.00, then indeed it would be reset upon power up.

Bobb.....
Old age catching up, that's my excuse.
It passed you a while ago .... :p
 
Vic,

As long as the n/o contact (when ever) do not have a transition HR0100 remains its state 1 in the first scan.

By the way, keep or set/reset instruction is to maintain the last state during a power disruption of the PLC.
 
A holding relay (HR) bit or channel will not reset itself on the first scan unless the ladder logic tells it to. You would have to use the first scan flag to reset it on the first scan.

If, however, the ladder logic tells it to reset, it will reset on the second scan.

Oh, lookout, Sleepy has woken up again, temporarily.

16.gif
 

Similar Topics

Hi, I am just starting with CX Programmer. I normally use RS Logix, Proworx, Directsoft-5, Click, etc. In looking at the available instructions I...
Replies
4
Views
4,707
on the TXD command how would I use this command to have a CIO input send ASCII text to comm port 2 to a Pelco camera system to pull up a camera...
Replies
11
Views
5,081
Whats the difference in using the "KEEP" instruction or the "SET and RSET" one? I was just wondering. Why would both be available. Is there...
Replies
2
Views
4,779
Im programing a sequence with 3 pneumatic sylinders at school, can i just use the KEEP function and link it to 1.00 or something instead of doing...
Replies
1
Views
7,762
Hi There, I have couple of Omron PLCs connected on my kepserverex and my intouch reads data from kepserverex. I have been observing that roughly...
Replies
3
Views
64
Back
Top Bottom