Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 210

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(N)
(d)
• In safety programs executed by the Safety CPU, only the following safety devices and constants can be used.
Operand
Bit
SA\X, SA\Y, SA\M, SA\SM, SA\B
(N)
(d)
Processing details
These instructions are used to create an efficient ladder switching program by opening and closing the common rails of the
ladder.
The following is the program example using the master control instructions.
(Left: Display on the engineering tool, Right: Actual operation)
X0
MC
N1
M0
X3
X1
M7
M5
X6
X4
X0F
(1) Executed only when X0 is on.
■MC
• If the execution command of the MC instruction is on when a master control starts, the operation result between the MC
and MCR instructions will be the one as programmed. If the execution command is off, the operation result between the MC
and MCR instructions will be as follows.
Device
High-speed timer
Low-speed timer
High-speed retentive timer
Low-speed retentive timer
Counter
Device used by the OUT instruction
Device used by the SET and RST instructions
Device used by the SFT(P) instruction
Device used by basic instructions and application
instructions
• Even if the MC instruction is off, the instructions between the MC and MCR instructions are executed and therefore the
scan time is not shortened.
5 SEQUENCE INSTRUCTIONS
208
5.5 Master Control Instructions
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
Word
SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD
N1
M0
Y47
Y4F
MCR
N1
Y40
Status
The count value is set to 0, and both the coil and contact are turned off.
The coil is turned off, but both the count value and contact maintain the current status.
Forcibly turned off.
Maintains the current status.
Double word
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
X0
MC
N1
M0
X3
X1
M7
M5
X6
X4
X0F
Indirect
Constant
specification
LZ
K, H
Indirect
specification
N1
M0
Y47
(1)
Y4F
MCR
N1
Y40
Others
E
$
N
DY
Constant Others
K, H
N

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents