DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming API 149 ES2/ EX2 Operands: m : File register into which the data is written (The value is between K0 and K4999.) For the following S : Initial source device (The data register is between D2000 and D9999.) series ES2/EX2: V3.46 or later, ES2-E: V1.08 or later, the value is between K0 and K7999. n : Number of data (The number of data is between K1 and K100.) 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, M1067 and M1068 is ON, and the error code in D1067 is H’0E1A. 4. Owing to the fact that the file registers take flash ROM as the memories, 100 words at most can be written into the file registers, and only when the conditional contact turns from OFF to ON can the data be written into the file registers once. Note: The data only can be written into the file registers 100,000 times. Please use them with care. 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. 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 MEMW to write the data from the 100 data registers starting from D2000 to the file registers 2. When X0 turns from OFF to ON, the instruction is executed once. starting from the tenth file register. X0 X0 3-362 Mnemonic Operands Function Controllers MEMW P Writing the data into 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.
S * m * * * n * * * 16-bit 32-bit / SS2 SE E S2/ SS2 SE ES2/ EX2 SS2 SA2 SX2 SE SA2 SX2 SA2 SX2 EX2 MEMW D2000 K10 K100