Chapter 16 PLC Function ApplicationsC2000 Plus 
 
16-41
16-6  Introduction to the Command Window 
16-6-1  Overview of basic commands 
Ordinary commands   
Command  
code  
Function  OPERAND 
Execution  
speed (us) 
LD  Load contact a    X, Y, M, T, C  0.8 
LDI  Load contact b    X, Y, M, T, C  0.8 
AND  Connect contact a in series    X, Y, M, T, C  0.8 
ANI  Connect contact b in series    X, Y, M, T, C  0.8 
OR  Connect contact a in parallel    X, Y, M, T, C  0.8 
ORI  Connect contact b in parallel    X, Y, M, T, C  0.8 
ANB  Series circuit block  N/A  0.3 
ORB  Parallel circuit block  N/A  0.3 
MPS  Save to stack  N/A  0.3 
MRD  Stack read (pointer does not change)  N/A  0.3 
MPP Read stack  N/A  0.3 
Output command 
Command  
code  
Function  OPERAND 
Execution  
speed (us) 
OUT  Drive coil    Y, M  1 
SET  Action continues (ON)  Y, M  1 
RST  Clear contact or register  Y, M, T, C, D  1.2 
Timer, counter 
Command  
code  
Function  OPERAND 
Execution  
speed (us) 
TMR  16-bit timer    T-K or T-D commands  1.1 
CNT  16-bit counter  C-K or C-D (16-bit)    0.5 
Main control command   
Command  
code  
Function  OPERAND 
Execution  
speed (us) 
MC  Common series contact connection 
N0–N7 
0.4 
MCR  Common series contact release 
N0–N7 
0.4 
Contact rising edge / falling edge detection command   
Command  
code  
Function  OPERAND 
Execution  
speed (us) 
LDP  Start of forward edge detection action    X, Y, M, T, C  1.1 
LDF  Start of reverse edge detection action    X, Y, M, T, C  1.1 
ANDP  Forward edge detection series connection    X, Y, M, T, C  1.1 
ANDF  Reverse edge detection series connection    X, Y, M, T, C  1.1 
ORP  Forward edge detection parallel connection    X, Y, M, T, C  1.1 
ORF  Reverse edge detection parallel connection    X, Y, M, T, C  1.1 
Upper / lower differential output commands   
Command  
code  
Function  OPERAND 
Execution  
speed (us) 
PLS  Upper differential output    Y, M  1.2 
PLF  Lower differential output    Y, M  1.2