7. APPLICATION INSTRUCTIONS
7
−
66
MELSEC-A
DFRO
Reads the data of "n3
×
2" words, which start at the address specified at "n2" of buffer
memory inside the special function module specified at "n1", and stores the data into
devices which begin with the device specified at (D).
REMARK
•
Specify n1 with the upper two digits when the head I/O number of the slot in which a special
function module is inserted is expressed in 3 hexadecimal digits.
Example
Execution Conditions
Operation Errors
In the following cases, operation error occurs and the error flag turns on.
•
Access cannot be made to the special function module.
•
The I/O number specified at "n1" is not a special function module.
•
"n3" points, which begin with the device specified at (D), exceeds the specified
device
range.
Program Examples FROM
Program which reads the data of one word from the address 10 of buffer memory of
A68AD, loaded in I/O numbers 040 to 05F to D0.
Head I/O number to be read, K4 or H4
P
o
w
e
r s
uppl
y
m
odul
e
CP
U m
odul
e
A
X
10
A
X
10
A
X
10
A
X
10
A
68A
D
A
D
71
A
Y
10
A
Y
10
OFF
ON
Executed
per scan
Executed
per scan
Executed
only once
Executed
only once
P
Read command
X000
0
H
K
K
FROM 0004 10
D0 1
•
Coding
0 LD
X000
1 FROM H0004 K10
D0
K1
10
END
CPU module
n2
Device specified at (D)
Special function module
buffer memory
(n3 2)
words
(n3 2) points
n2+1
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......