Delta DVP-ES3 — 6.13.2 Explanation of Data Processing Instructions

Chapter 6 Applied Instructions Example 1 1. When M50 switches from OFF to ON, the ENCO instruction encodes the values of the 8 bits in M0 – M7 as the values of the lower 3 bits in D0, and sets the values of b15 – b3 in D0 to 0. 2. After the ENCO instruction is executed and M50 switches to OFF, the data in D is unchanged. M7 M6 M5 M4 M3 M2 M1 M0 The values of b15~b3 in D0 become 0. b0 Example 2 1. When M0 switches from OFF to ON, the ENCO instruction encodes the values of b0 – b7 in D10 as the values of 6_ b2 – b0 in D20, and sets the values of b15 – b3 in D20 to zero. The values of b8 – b18 in D10 are invalid data. 2.

After the ENCO instruction is executed and M0 switches OFF, the data in D is unchanged. b15 b0 D10 b0 The values of b15~b3 in D20 become 0. 6-351 0 0 0 0 1 0 0 0 7 6 5 4 3 2 1 0 b15 D0 4 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 1 0 0 0 7 6 5 4 3 2 1 0 of b8~b18 in D10 are invalid data. b15 D20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1