Omron CP1E-E@@D@-@ Computer Hardware User Manual


 
2-23
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Sequence Output Instructions
2
KEEP
If a holding bit is used for R, the bit status will be retained even during a power interruption.
KEEP(011) can thus be used to program bits that will maintain status after restarting the PLC follow-
ing a power interruption. An example of this that can be used to produce a warning display following
a system shutdown for an emergency situation is shown below.
The status of I/O Area bits can be retained in the event of a power interruption by turning ON the IOM
Hold Bit and setting IOM Hold Bit Hold in the PLC Setup. In this case, I/O Area bits used in
KEEP(011) will maintain status after restarting the PLC following a power interruption, just like hold-
ing bits. Be sure to restart the PLC after changing the PLC Setup; otherwise the new settings will not
be used.
Precautions
If S and R are ON simultaneously, the reset
input takes precedence.
The set input (S) cannot be received while
R is ON.
Never use an input bit in a normally closed
condition on the reset (R) for KEEP(011)
when the input device uses an AC power
supply. The delay in shutting down the
PLC’s DC power supply (relative to the AC
power supply to the input device) can cause
the operand bit of KEEP(011) to be reset.
This situation is shown on the right.
0.02
0.03
0.04
0.05
H0.00
KEEP
H0.00
100.00
Reset input
Indicates
emergency
situation
Activates
warning
display
ON
OFF
ON
OFF
ON
OFF
Set
Reset
Status of C
ON
OFF
ON
OFF
ON
OFF
Set
Reset
Status of C
NEVER
S
R
A
KEEP
A
Input Unit