Delta DVP-ES2 User Manual Page 445

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 444
3. Instruction Set
3-329
API Mnemonic Operands Function
148
MEMR P
Reading the data
from the file register
Controllers
ES2/
EX2
SS2
SA2 SX2 SE
Bit Devices Word devices Program Steps Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
m * * *
D *
n * * *
7 steps
The 32-bit instruction and
DVP-SS2 are not
supported.
PULSE 16-bit 32-bit
ES2/
EX2
SS2
SA2 SX2 SE
ES2/
EX2
SS2
SA2 SX2 SE
ES2/
EX2
SS2 SA2 SX2 SE
Operands:
M: File register from which the data is read (The value is between K0 and K4999.) 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,
M1067 and M1068 is ON, and the error code in D1067 is H’0E1A.
4. If no data is written into the file register, the default value which will be read from it is -1.
5. DVP-ES2/EX2/SS2 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.
Program Example:
1. Use MEMR to read the data from the 100 file registers starting from the tenth file register to the
data registers starting from D2000.
2. When X0 is ON, the instruction is executed. When X0 becomes OFF, the instruction is not
executed, and the data which is read previous is unchanged.
X0
MEMR K10 D2000 K100
Page view 444
1 2 ... 440 441 442 443 444 445 446 447 448 449 450 ... 701 702

Comments to this Manuals

No comments