Keep - Keep(12) - Omron SYSMAC mini SP10 Operation Manual

Table of Contents

Advertisement

Instruction Set
3-7-9

KEEP - KEEP(12)

Ladder Symbol
Limitations
Description
0002
0003
0100
0002
0003
Flags
Precautions
78
S
KEEP(12)
B
R
Any output bit can generally be used in only one instruction that controls its
status. Refer to 3-2-2 I/O Bits for details.
KEEP(12) is used to maintain the status of the designated bit based on two
execution conditions. These execution conditions are labeled S and R. S is
the set input; R, the reset input. KEEP(12) operates like a latching relay that
is set by S and reset by R.
When S turns ON, the designated bit will go ON and stay ON until reset, re-
gardless of whether S stays ON or goes OFF. When R turns ON, the desig-
nated bit will go OFF and stay OFF until reset, regardless of whether R stays
ON or goes OFF. The relationship between execution conditions and
KEEP(12) bit status is shown below.
S execution condition
R execution condition
Status of B
KEEP(12) operates like the self-maintaining bit described in 3-6-5 Self-main-
taining Bits (Seal). The following two diagrams would function identically,
though the one using KEEP(12) requires one less instruction to program and
would maintain status even in an interlocked program section.
There are no flags affected by this instruction.
Never use an input bit in a normally closed condition on the reset (R) for
KEEP(12) when the input device uses an AC power supply. The delay in
shutting down the PC's DC power supply (relative to the AC power supply to
the input device) can cause the designated bit of KEEP(12) to be reset. This
situation is shown below.
Operand Data Areas
B: Bit
Output bits, work bits, DR, LR
Address Instruction
0100
000
001
002
003
Address Instruction
S
000
KEEP(12)
001
0100
002
R
Section 3-7
Operands
LD
0002
OR
0100
AND NOT
0003
OUT
0100
Operands
LD
0002
LD
0003
KEEP(12)
0100

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC mini SP10 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sysmac mini sp16Sysmac mini sp20

Table of Contents