Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 196

Table of Contents

Advertisement

3. Instructions
KEEP
Instruction
KEEP
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
B
Bit
Operand Specifications
Word addresses
Area
CIO
WR
HR
B
OK
OK
OK
*1 CJ2 CPU Units only.
Flags
No flags are affected by KEEP(011).
Function
When S turns ON, the designated bit will go
ON and stay ON until reset, regardless of
whether S stays ON or goes OFF. When R
turns ON, the designated bit will go OFF. The
relationship between execution conditions and
KEEP(011) bit status is shown below on the
right.
158
Mnemonic
Variations
KEEP
!KEEP
Block program areas
Step program areas
Not allowed
OK
Description
AR
T
C
DM
EM
1
1
OK
---
---
OK*
OK*
Function
code
011
Operates like a latching relay.
KEEP
S(SET)
KEEP(011)
R(RESET)
B
Subroutines
OK
Data type
BOOL
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
---
---
Set
Reset
S execution condition
R execution condition
Status of C
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
---
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
ON
OFF
ON
OFF
ON
OFF
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents