Mitsubishi — 3.2 Explanations on Basic Instructions

3 Basic Instructions Program Example: Ladder diagram: Instruction code: Operation: X0 LD X0 Loading in contact A of X0 X1 Y1 OUT Y1 Driving Y1 coil Note: DVP-EH3 series PLCs whose version is 1.40 and DVP-SV2 series PLCs whose version is 1.20 support the operands X, Y, M, and S. These operands can be qualified by E or F, e.g. ORI X1E1. Explanations: To perform the “AND” operation of the preserved logic results and content in the accumulative register. Program Example: Ladder diagram: Instruction code: Operation:

LD X0 Loading in contact A of X0 ORI X2 Connecting to contact B of X2 in parallel LDI X1 Loading in contact B of X1 Block A Block B OR X3 Connecting to contact A of X3 in parallel OUT Y1 Driving Y1 coil Explanations: To perform the “OR” operation of the preserved logic results and content in the accumulative register. Program Example: Ladder diagram: Instruction code: Operation:

X0 Y1 X1 Block A LD X0 Loading in contact A of X0 ANI X1 Connecting to contact B of X1 in series ORB LDI X2 Loading in contact B of X2 Block B AND X3 Connecting to contact A of X3 in series OUT Y1 Driving Y1 coil DVP-PLC Application Manual 3-6 ORI X1 Connecting to contact B of X1 in parallel Mnemonic Function Program steps Controllers ES EX SS SA SX SC EH2 SV EH3 SV2 ANB Series connection- loop blocks 1 N/A Operand Controllers ES EX SS SA SX SC EH2 SV EH3 SV 2 ANB Y1 X2 X3 ANB Connecting circuit block in series Mnemonic Function Program steps Controllers ES EX SS SA SX SC EH2 SV EH3 SV2 ORB Parallel connection- loop blocks 1 N/A Operand Controllers ES EX SS SA SX SC EH 2 SV EH 3 SV 2 X2 X3 ORB Connecting circuit block in parallel