Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

3. Instruction Set API 148 ES2/ EX2 Operands: M : File register from which the data is read (The value is between K0 and K4999.) For the following series ES2/EX2: V3.46 or later, ES2-E: V1.08 or later, the value is between K0 and K7999. D : Initial data register where the data is stored (The data register is between D2000 and D9999.) N : Number of data (The number of data is between K1 and K5000.) Explanations: 1. There are 5,000 16-bit file registers. The register numbers range from K0 to K4999. 2. The 32-bit instruction is not supported. 3. If m , D , or n is not within the range, an operation error occurs, the instruction is not executed, 4.

If no data is written into the file register, the default value which will be read from it is -1. M1067 and M1068 is ON, and the error code in D1067 is H’0E1A. 5. DVP-ES2/EX2 version 2.80 and above, DVP-SA2/SX2 version 2.40 and above are supported. The instruction is not applicable to DVP-ES2-C. 6. The file registers do not support M1101. If users want to read the data from the file register when the PLC runs, they can use LD M1002 and MEMR to read the data. 7. For the following series ES2/EX2: V3.46 or later, ES2-E: V1.08 or later, 16-bit 8000 file registers are supported and the number can be used is from K0 to K7999. Program Example: 1.

Use MEMR to read the data from the 100 file registers starting from the tenth file register to the 2. When X0 is ON, the instruction is executed. When X0 becomes OFF, the instruction is not data registers starting from D2000. executed, and the data which is read previous is unchanged. X0 3-361 Mnemonic Operands Function Controllers MEMR P Reading the data from the file register ES2/ SS2 SA2 SX2 SE EX2 Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F 7 steps The 32-bit instruction and DVP-SS2 are not supported. m * * * D * n * * * 16-bit 32-bit / SS2 SE E S2/ SS2 SE ES2/ EX2 SS2 SA2 SX2 SE SA2 SX2 SA2 SX2 EX2 MEMR K10 D2000 K100