Delta Electronics — 6.13.2 Explanation of Data Processing Instructions

Chapter 6 Applied Instructions 2. After the ENCO instruction is executed and X0.0 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 X0.0 switches from OFF to ON, the ENCO instruction encodes the values of b0 – b7 in D10 as the values of 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 X0.0 switches OFF, the data in D is unchanged. 6_ b15 b0 D10 b0 The values of b15~b3 in D20 become 0. Additional remarks 1.

If there is no bit whose value is one in the source device specified by S , the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 6-345 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