Mitsubishi — 3.2 Explanations on Basic Instructions

3 Basic Instructions Program Example: Ladder diagram: Instruction code: Operation: X0 X1 Y1 LD X1 Loading in contact A of X1 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. ANI X0E1. Explanations: The OR instruction is used in the parallel connection of A contact. The functions are to read out the status of present designated parallel connection contacts and perform the “OR” operation with the logical operation result obtained. The final result will be store in the accumulative register. Program Example: Ladder diagram: Instruction code:

Operation: LD X0 Loading in contact A of X0 X1 Y1 X0 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. OR X1E1. Explanations: The OR instruction is used in the parallel connection of B contact. The functions are to read out the status of present designated parallel connection contacts and perform the “OR” operation with the logical operation result obtained. The final result will be store in the accumulative register.

DVP-PLC Application Manual 3-5 ANI X0 Connecting to contact B of X0 in series Mnemonic Function Program steps Controllers OR Parallel connection- A contact 1 ES EX SS SA S X SC EH2 SV EH3 SV2 X0 ~ X377 Y0 ~ Y377 M0 ~ M4095 S0 ~ S1023 T0 ~ T255 C0 ~ C255 D0 ~ D9999 Operand       - OR X1 Connecting to contact A of X1 in parallel Mnemonic Function Program steps Controllers ES EX SS SA SX SC EH2 SV EH3 SV2 ORI Parallel connection- B contact 1 X0 ~ X377 Y0 ~ Y377 M0 ~ M4095 S0 ~ S1023 T0 ~ T255 C0 ~ C255 D0 ~ D9999 Operand       - ES EX SS SA SX SC EH 2 SV EH 3 SV