Mc: master control mcr: master controlreset – KEYENCE Visual KV Series User Manual
Page 113

2.4 Instruction Details
1
2
3-89
Chapter 2 Instructions
MC:
Master Control
MCR: Master Control
Reset
Selects ON/OFF status of relay coils, timers,
or counters set before MCR instruction.
Used in pairs with MC instruction to end the
execution of MC instruction.
LDB
4
ANB
5
ANL
2
ANL
2
MCR
MC
FUN
FUN
0000
MC
MCR
0001
0500
0501
Example
Coding
Description
•
When 0000 is OFF, both 0500 and 0501 do not turn ON, even if 0001 is turned
ON.
•
When 0000 is ON, 0500 turns ON and 0501 turns OFF as soon as 0001 is turned
ON.
•
Regard the function of MC-MCR instructions as "power switch" or "main switch".
•
When the input relay for MC is OFF, the instructions entered between MC and
MCR instructions function as follows:
Note: MC-MCR instructions cannot be used in the following configuration.
1. Nesting
2. Improper combination with STP-STE
instructions
➮ "STP, STE instructions" (p. 3-114)
Operands
Key operation
Line No.
Instruction
Operand
0000
LD
0000
0001
MC
0002
LD
0001
0003
OUT
0500
0004
OUB
0501
0005
MCR
MC
MC
MCR
MCR
STP
x x x x
MC
STE
MCR
FUN
FUN
LDB
4
ANB
5
ANL
2
ANL
2
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
:
:
MC / MCR
Instructions
Function
OUT and OUB
Corresponding relay is OFF
TMR, TMH, and TMS
Timer is reset
C, SFT, KEEP, SET, RES, and CTH
Previous status is retained
Other instructions such as TMIN
Instruction is not executed.
KVNKA Chap 02_4aP.p65
08.3.11, 11:58 AM
89