3 - 34 3 - 34
MELSEC-Q
3 SPECIFICATIONS
(b) Reading of data by the FROM command in a sequence program
The special register is designated using the FROM command by the
address.
The designated address is 2400
H to 247FH, in 1-word units.
QD51(-R24)
ED9000
ED9001
ED9002
ED9126
ED9127
2400
H
2401
H
2402
H
2403
H
2404H
247F
H
247D
H
247E
H
Special Register
b15 to b0
to to
Sequence
program
FROM
(Reading of data)
ED9003
ED9004
ED9125
Program example
The following shows a program where a value in the special register
address 2400
H
is read into D0 when the multitask execution start
signal (X0B) is ON.
To read data from the special register to the programmable controller
CPU, use the multitask execution start signal (X0B) as an interlock.
Read
Command
X0B
FROM H0 H2400 D0 K1
Interlock t hat enables or disables FROM execut ion.
247C
H
247F
H
2400H
2401
H
ED9000
ED9001
ED9002
ED9003
ED9127
ED9126
ED9125
ED9124
2402
H
2403
H
247DH
247E
H
FROM
(Reading of data)
Sequence
Program
(1-word units)
QD51(-R24)
Expansion Register
to
to