5 Basic Instruction
5.12 MC, MCR
96
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Function and operation explanation
When MC instruction is executed, the bus line is moved to a position after MC contact.
Drive instructions connected to the bus line after MC contact execute each operation only when MC
instruction is executed, and do not execute the operation when MC instruction is not executed (the same
operation with the contact OFF).
In the program example below, the instructions from MC to MCR are executed as they are while the input
X000 is ON.
However, while the input X000 is OFF, each driven device offers the following operation.
Timers (except retentive type timers) and devices driven by OUT instruction: Turn OFF
Retentive type timers, counters and devices driven by SET/RST instruction : Hold the current status.
The expressions of circuit programs used to explain operations are circuits (for reading or monitoring) of GX
Works2.
Caution
Some restrictions to applicable devices
S1: Excluding special auxiliary relays (M)
MC(X000,0,M100);
Y000:= X001;
Y001:= X002;
MCR(TRUE,0);
[Structured ladder]
[ ST ]
X000
X001
X002
Write MCR instruction.
MC
EN ENO
d
n
MCR
EN ENO
n
0 M100
Y000
Y001
0
N 0 M100