EasyManua.ls Logo

Mitsubishi QD51 - Page 68

Mitsubishi QD51
160 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3 - 33 3 - 33
MELSEC-Q
3 SPECIFICATIONS
(1) Reading data in the special register
Data are read from the special register by the following methods.
• Using the special variable W@ of the BASIC program
• Using the FROM command in the sequence program
The method of designating the special register differs in the special variable W@
and the FROM command, as shown below.
(a) Reading of data by the special variable W@ in a BASIC program
With the special variable W@, the special register is designated by ED9000
to ED9127. The designation is in 1-word units.
QD51(-R24)
Special Register
b15 to b0
ED9000
ED9001
ED9002
ED9003
ED9004
ED9125
ED9126
ED9127
W@
(Reading of data)
BASIC
program
Program example
The following shows a program where data are read from the QD51 (-
R24)'s special register ED9000.
100 A=W@ (ED, 9000)
247C
H
247FH
2400
H
2401
H
ED9000
ED9001
ED9002
ED9003
ED9127
ED9126
ED9125
ED9124
2402
H
2403
H
247DH
247E
H
Special Register
Special variable W@
(Reading of data)
BASIC
Program
(1-word units)
QD51(-R24)
to
to

Table of Contents

Other manuals for Mitsubishi QD51

Related product manuals