Chapter 16 PLC Function ApplicationsMH300
Connect / release a common series contact
Operand N0–N7
MC is the main control initiation command, and any command between MC and MCR
is executed normally. When the MC command is OFF
, any command between MC and
MCR acts as follows:
Determination of commands
Ordinary timer
The timing value reverts to 0, the coil loses power,
and the contact does not operate.
Counter
The coil loses power, and the count value and
contact stay in their current state.
Coil driven by OUT command
Elements driven by SET, RST
commands
They remain in their current state.
MCR is the main control stop command, and is placed at the end of the main control
program. There may not be any contact command prior to the MCR command.
The MC-
MCR main control program commands support a nested program structure
with a maximum of only eight levels; use in the order N0–N7. R
efer to the following
program example:
Ladder diagram:
X0
MC
N0
X1
Y0
X2
MC
N1
X3
Y1
MCR
N1
MCR
N0
X10
MC
N0
X11
Y10
MCR
N0
MC N0
Connection of N0 common
series contact
MC N1
Connection of N1 common
series contact
MCR N1
Release N1 common series
contact
MCR N0
Release N0 common series
contact
MC N0
Connection of N0 common
series contact
MCR N0
Release N0 common series
contact