Delta DVP-ES3 — 6.13.2 Explanation of Data Processing Instructions

DVP-ES3 Series Programming Manual Symbol D : Device where the encoded values are S : Source device n : Number of bits whose values are stored encoded Explanation _6 1. When S is a word device, this instruction encodes the values of the lower 2 n bits in the source device specified by S as the values of the lower n bits in D . 2. When S is a bit device, the instruction processes the higher bit with the value S +( n -1) from the lower 2 n bits and stores the result in D . 3. When the source device specified by S is a timer or counter, the instruction treats the device as a word device. 4. When S is a bit device, n is between 1 – 8.

When n is 8, the instruction encodes the values of the 256 bits as the values of the eight bits. 5. When S is a word device, n is between 1 – 4. When n is 4, the instruction encodes the values of the 16 bits as the values of the four bits. 6. In general, the ENCOP pulse instruction is used. 6-350 API Instruction code Operand Function 1203 ENCO P S, D, n Encoding bits Device X Y M S T C HC D FR SM SR E K 16# “$” F S            D      n         BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S     D    n    Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 -