Chapter 16 PLC Function ApplicationsC2000 Plus 
 
16-48
Command Function 
MC/MCR 
Connect/release a common series contact   
Operand   N0–N7 
 
MC is the main control initiation command, and any commands between MC and MCR 
will be executed normally. When the MC command is Off, any commands between MC 
and MCR will act as follows:   
Determination of commands  Description 
Ordinary timer   
The timing value will revert to 0, the coil will lose 
power, and the contact will not operate 
Counter 
The coil will lose power, and the count value and 
contact will stay in their current state 
Coil driven by OUT command  None receive power   
Elements driven by SET, RST 
commands 
Will remain in their current state 
Applications commands    None are actuated 
MCR is the main control stop command, and is placed at the end of the main control program. 
There may not be any contact commands before the MCR command.   
The MC-MCR main control program commands support a nested program structure with a 
maximum only 8 levels; use in the order N0–N7, please refer to the following program:
 
 
Ladder diagram:   
X0
MC
N0
X1
Y0
X2
MC
N1
X3
Y1
MCR
N1
MCR
N0
X10
MC
N0
X11
Y10
MCR
N0
 
Command 
code:  
Description: 
LD  X0  Load Contact a of X0   
MC  N0 
Connection of N0 common series 
contact  
LD  X1  Load Contact a of X1   
OUT  Y0 Drive Y0 coil  
: 
 
LD  X2  Load Contact a of X2   
MC  N1 
Connection of N1 common series 
contact  
LD  X3  Load Contact a of X3   
OUT Y1 Drive Y1 coil  
:   
MCR  N1 
Release N1 common series contact   
:   
MCR  N0 
Release N0 common series contact   
:   
LD  X10  Load Contact a of X10   
MC 
N0 
Connection of N0 common series 
contact  
LD  X11  Load Contact a of X11   
OUT Y10 Drive Y10 coil  
:   
MCR  N0 
Release N0 common series contact   
 
Command Function 
LDF 
Start of reverse edge detection action   
Operand  
X0–X17 Y0–Y17 M0–M799 T0–159 C0–C79 D0–D399 
         
- 
 
The LDF command has the same usage as LD, but its action is different; its function is to save 
current content while also saving the detected state of the falling edge of the contact to the 
cumulative register. 
 
 
Ladder diagram:   
X1
Y1
X0
 
Command code:    Description: 
LDF  X0 
Start of X0 reverse 
edge detection action   
AND 
X1 
Create series 
connection to contact a 
of X1   
OUT Y1 Drive Y1 coil