
2.4 Instruction Details
3-80
2
Chapter 2 Instructions
ANL
2
ANL
2
FUN
Operand
(Relay No.)
ENT
R-SRCH
ENT
R-SRCH
Example
Coding
Description
• When SET input relay No. 0001 is ON and RESET input relay No. 0002 is OFF,
0500 turns ON.
• When RES input (0002) is ON, output relay 0500 turns OFF.
• When both 0001 and 0002 are OFF, the previous status is retained.
Note 1: When 0500 used for KEEP instruction in the above example is changed to
OUT instruction ( ), it forms a double coil. In such a case, priority is given to the
instruction that is entered last
➮
"Double coil" (p. 3-65)
Note 2: When both 0001 and 0002 are ON, RESET (0002) has priority over SET
(0001), causing 0500 to turn OFF.
Tips
Internal utility relay latching function
The ON/OFF status of an internal utility relay immediately before power-off can be
stored by setting the memory switch (MEMSW).
➮
"MEMSW instruction" (p. 3-92)
If this stored utility relay is used for a latching instruction (SET or KEEP), the relay
settings can be stored while the power is off.
Coding
Operands
Key operation
Line No. Instruction Operand
0000 LD 0000
0001 DIFU 1000
0002 DIFD 1001
KEEP: Keep
Turns ON specified relay when SET input
relay turns ON and enables this relay to
remain ON. And, turns OFF specified relay
when RESET input relay turns ON.
OR
9
ORL
3
FUN
KEEP
SET
RES
nnnn
0001
0002
KEEP
SET
0500
RESRES
RESET input
SET input
0001
0002
1000
KEEP
MEMSW
SET
1000
$0004
RESRES
0500
Stores the status of
internal utility relays
1000 through 1915.
Line No. Instruction Operand
0000 MEMSW $0004
0001 LD 0001
0002 LD 0002
0003 KEEP 1000
0004 LD 1000
0005 OUT 0500
:
KEEP
0500
Visual KV KV-300 KV-10/16 KV-24/40/80
0500 to 1915 0500 to 1915 0500 to 1915 0500 to 1915
2009 2009 2009 2009
2100 to 17915 2100 to 17915 2100 to 2915 2100 to 6915
KVNKA Chap 02_4aP.p65 08.3.11, 11:58 AM80
Comentários a estes Manuais