Delta DVP-ES2 User Manual Page 316

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 315
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-200
API Mnemonic Operands Function
78
D FROM P
Read CR data
from Special
Modules
Controllers
ES2/EX2 SS2 SA2
SE
SX2
Bit Devices Word devices Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
m
1
* * *
m
2
* * *
D *
n * * *
FROM, FROMP: 9 steps
DFROM, DFROMP: 17
steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
m
1
: No. of special module m
2
: CR# in special module to be read D: Device for storing read
data n: Number of data to be read at a time
Explanations:
1. PLC uses this instruction to read CR (Control register) data from special modules.
2. Range of m
1
: ES2/EX2/SS2: 0 ~ 7; SA2/SE/SX2: 0~107.
3. Range of m
2
: ES2/EX2: 0 ~ 255; SS2: 0~48; SA2/SE/SX2: 0~499.
4. Range of n:.
Range of n
ES2/EX2 SS2 SA2/SE/SX2
16-bit instruction 1~4
1~(49 - m
2
) 1~(499 - m
2
)
32-bit instruction 1~2
1~(49 - m
2
)/2 1~(499 - m
2
)/2
Program Example:
1. Read out the data in CR#29 of special module N0.0 to register D0 in PLC, and CR#30 of
special module No.0 to register D1 in PLC. 2 consecutive 16-bit data are read at one time (n =
2).
2. When X0 = ON, the instruction executes; when X0 = OFF, the previous content in D0 and D1
won’t be changed.
X0
FROM K0 K29 D0 K2
Page view 315
1 2 ... 311 312 313 314 315 316 317 318 319 320 321 ... 701 702

Comments to this Manuals

No comments