
3 - 27 3 - 27
MELSEC-Q
3 SPECIFICATIONS
(a) Writing/Reading of data by the special variable W@ in a BASIC program
With the special variable W@, the expansion register is designated by ED0
to ED1023. The designation is in 1-word units.
QD51(-R24)
b15 to b0
ED0
ED1
ED2
ED3
ED4
ED1021
ED1022
ED1023
Expansion Register
BASIC
program
W@
(Reading of data)
W@
(Writing of data)
Program example
The following shows a program where "123" is written into the QD51 (-
R24)'s expansion register ED0.
150 W@ (ED, 0) =123
ED0
ED1
ED2
ED1023
ED1021
ED1020
ED3
ED1022
1FFE
H
1FFF
H
1C00
H
1C01
H
1C02
H
1C03
H
1FFD
H
1FFC
H
Expansion Register
Special variable W@
(Writing of data)
BASIC
Program
(1-word units)
QD51(-R24)
to
to
Содержание QD51
Страница 1: ......
Страница 2: ......
Страница 154: ...App 7 App 7 MELSEC Q APPENDIX MEMO ...
Страница 159: ......
Страница 160: ......