Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming Program example 3: 1. This instruction can be used to combine the DIP switches connected to the input terminals without continuous numbers. 2. Move the 2 digits of the right DIP switch (X27~X20) to the 2 digits of D2, and the 1 digit of the DIP switch (X33~X30) to the 1 st digit of D1. 3. Use SMOV instruction to move the 1 st digit of D1 to the 3 rd digit of D2 and combine the values from two DIP switches into one set of value. 10 1 10 0 10 2 6 8 8 8 X33~X30 X27~X20 M1001 PLC M1000 M1168 (X20~X27)BCD, 2 digits D2(BIN) (X30~X33)BCD, 1 digit D1(BIN) 3-64 4 2 BIN K2X20 D2 BIN K1X30 D1 SMOV D1 K1 K1 D2 K3