Chapter 16 PLC Function Applications│CP200016-4216-6 Introduction to the Command Window16-6-1 Overview of basic commandsOrdinary commandsCommandcode Function OPERAND Executionspeed (us)LD Load contact a X、Y、M、T、C 0.8LDI Load contact b X、Y、M、T、C 0.8AND Connect contact a in series X、Y、M、T、C 0.8ANI Connect contact b in series X、Y、M、T、C 0.8OR Connect contact a in parallel X、Y、M、T、C 0.8ORI Connect contact b in parallel X、Y、M、T、C 0.8ANB Series circuit block N/A 0.3ORB Parallel circuit block N/A 0.3MPS Save to stack N/A 0.3MRD Stack read (pointer does not change) N/A 0.3MPP Read stack N/A 0.3Output commandCommandcode Function OPERAND Executionspeed (us)OUT Drive coil Y、M 1SET Action continues (ON) Y、M 1RST Clear contact or register Y、M、T、C、D 1.2Timer, counterCommandcode Function OPERAND Executionspeed (us)TMR 16-bit timer T-K or T-D commands 1.1CNT 16-bit counter C-K or C-D (16-bit) 0.5Main control commandCommandcode Function OPERAND Executionspeed (us)MC Common series contact connection N0~N7 0.4MCR Common series contact release N0~N7 0.4Contact rising edge/falling edge detection commandCommandcode Function OPERAND Executionspeed (us)LDP Start of forward edge detection action X、Y、M、T、C 1.1LDF Start of reverse edge detection action X、Y、M、T、C 1.1ANDP Forward edge detection series connection X、Y、M、T、C 1.1ANDF Reverse edge detection series connection X、Y、M、T、C 1.1ORP Forward edge detection parallel connection X、Y、M、T、C 1.1ORF Reverse edge detection parallel connection X、Y、M、T、C 1.1