
3 - 29 3 - 29
MELSEC-Q
3 SPECIFICATIONS
(c) Writing/Reading data by the FROM/TO command in a sequence program
With the FROM/TO command, designate the expansion register by the
address. The designation address is 1C00
H
to 1FFF
H
, in 1-word units.
QD51(-R24)
ED0
ED1
ED2
1C00
H
1C01
H
1C02
H
1C03
H
1C04
H
1FFD
H
1FFE
H
1FFF
H
Expansion Register
b15 to b0
to
to
Sequence
Program
TO
(Writing of data)
FROM
(Reading of data)
ED3
ED4
ED1022
ED1023
ED1021
Program example
The following shows a program where "123" is written into the
expansion register address 1C00
H
when the multitask execution start
signal (X0B) is ON.
To write data from the programmable controller CPU to the expansion
register or to read data from the expansion register, use the multitask
execution start signal (X0B) as an interlock.
Write
Command X0B
T0 H0 H1C00 K123 K1
Interlock that enables or disables FROM/TO execution.
ED0
ED1
ED2
ED1023
ED1021
ED1020
ED3
ED1022
1FFE
H
1FFF
H
1C00
H
1C01
H
1C02
H
1C03
H
1FFD
H
1FFC
H
TO
(Writing of data)
Sequence
Program
(1-word units)
QD51(-R24)
Expansion Register
to
to
Содержание QD51
Страница 1: ......
Страница 2: ......
Страница 154: ...App 7 App 7 MELSEC Q APPENDIX MEMO ...
Страница 159: ......
Страница 160: ......