3 - 24 3 - 24
MELSEC-Q
3 SPECIFICATIONS
(b) In a sequence program, data are read from or written to common memory
using the FROM/TO command.
Program example
The following shows a program where values in D0 to D9 are written
into the common memory area addressed 0C00
H
to 0C09
H
when the
multitask execution start signal (X0B) is ON.
To write data from the programmable controller CPU to the common
memory or to read data from the common memory, use the multitask
execution start signal (X0B) as an interlock.
Write
Command
X0B
T0 H0 H0C00 D0 K10
Interlock that enables or disables FROM/TO execution.
1800H
1801
H
1802H
1813
H
1811
H
1810H
1803
H
1812
H
C00H
C01H
C09
H
C08
H
QD51(-R24)
to
to
TO
(Writing of data)
Sequence
Program
(1-word units)
Common Memory
(2) Common Memory Capacity
In the QD51 (-R24), the size of common memory is 8 k bytes
(3) Common Memory Configuration
One address in common memory has a 1-byte (8 bits) configuration. The entire
area can be used as desired by the user.