Delta DVP-ES3 — 6.20.2 Explanation of Other Instructions

Chapter 6 Applied Instructions Symbol D : Device from which the value is read Explanation 1. This instruction reads the values in the devices specified by D into E0–E9, and decrements the value in D by one. The valid value for D is between 1–100. The instruction does not execute values that exceed the range. 2. The instruction involves sixteen devices, and the last six devices are for system use. If you execute the instruction and the number of times the data is stored is n (the value in D) , the instruction stores the data in E0–E9 in 6_ D +16*(n-1)+1– D +16*(n-1)+10, and decrements the value in D to n-1. 3.

This instruction uses a pulse instruction to interact with the stack, taking the TOP VALUE from the stack and assigning it to the specified variable; therefore, you must reset the contact before the next operation. 4. The value that the instruction stores last in the device specified by D is read first, following the LIFO (last in first out) principle. D The num ber oftim es . the data i s stored D D + 2 + 1 E0 E1 ...... ...... ...... ...... D + 10 E9 D +16 F or system u se +17 D E0 + 18 D E1 D + 19 E2 ......

6-621 API Instruction code Operand Function 1905 EPOP P D Reading the data into the index registers Device X Y M S T C HC D FR SM SR E K 16# “$” F D  BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type D    Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 ─