Mitsubishi — 3.2 Explanations on Basic Instructions

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

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

DVP-PLC Application Manual 3-4 LDI X0 Loading in contact B of X0 Mnemonic Function Program steps Controllers AND Series connection- A contact 1 ES EX SS SA SX SC EH 2 SV EH 3 SV 2 X0 ~ X377 Y0 ~ Y377 M0 ~ M4095 S0 ~ S1023 T0 ~ T255 C0 ~ C255 D0 ~ D9999 Operand       - X1 X0 Y1 AND X0 Connecting to contact A of X0 in series Mnemonic Function Program steps Controllers ANI Series connection- B contact 1 ES EX SS SA SX SC EH 2 SV EH 3 SV 2 X0 ~ X377 Y0 ~ Y377 M0 ~ M4095 S0 ~ S1023 T0 ~ T255 C0 ~ C255 D0 ~ D9999 Operand       -