Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

00000
00001
00002
7-8-3 KEEP - - KEEP(11)
Limitations
Description
Flags
In the second example (Diagram B), IR 10000 will be turned ON when IR 00001
goes ON and will remain ON (even if IR 00001 goes OFF) until IR 00002 goes
ON.
Diagram A
Diagram B
Ladder Symbol
S
R
Any output bit can generally be used in only one instruction that controls its sta-
tus.
KEEP(11) 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(11) 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, regard-
less of whether S stays ON or goes OFF. When R turns ON, the designated 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(11) bit status is
shown below.
S execution condition
R execution condition
Status of B
There are no flags affected by this instruction.
Address Instruction
20000
00000
LD
00001
OUT
SET 20000
Address Instruction
00000
LD
RSET 20000
00001
SET
00002
LD
00003
RSET
Operand Data Areas
KEEP(11)
B
IR, SR, AR, HR, LR
Section
7-8
Operands
00000
20000
Operands
00001
20000
00002
20000
B: Bit

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents