7.8 Buffer Memory Access Instructions
7.8.1 Reading 1-/2-word data from intelligent function module
7-127
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
F
R
OM, DF
RO
FROM, DFRO
Program Example
(1) In the following program, the CH1 digital value of the A68AD mounted with I/O numbers 040
to 05F is read to Var_D0 when X0 turned ON. (Reads 1 word of data from address 10 of the
buffer memory.)
[Structured ladder]
[ST]
FROMP(X0,H4,10,1,Var_D0);
(2) In the following program, the X-axis current value of the AD71 mounted at the I/O
numbers 040 to 05F is read to Var_D0, when X0 turns ON. (Reads data in 2 words from the
address 602 and 603 of the buffer memory.)
[Structured ladder]
[ST]
DFROP(X0,H4,602,1,Var_D0);
Remark
1. The value of n1 is specified by the upper 3 digits of hexadecimal 4-digit
representation of the start I/O number of the slot in which the intelligent
function module is mounted.
2. QCPU sets the automatic interlock for the FROM(P) or DFRO(P) instruction.
Q
X
10
S
tart
I/O
num
b
er
of
the
rea
di
ng
K4
or
H4
Q
X
10
Q
X
10
Q
X
10
Q
68
A
D
V
Q
Y
41
P
Q
Y
10
Q
Y
10
X
0000
X
000 F
X
0010
X
001F
X
0020
X
002F
X
0030
X
003F
0040
004F
Y0050
Y006F
Y0070 Y0080
Y008F
Y007F
Po
w
er
supp
ly
mo
d
u
l
e
C
PU
mo
d
u
l
e
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......