9-3
9
7
7
7
7
7
7
7
9.1 Writing to the CPU Shared Memory of Host CPU
(2) Operation of the TO instruction
The TO instruction can write device memory data to the following memories.
• CPU shared memory of host CPU module
• Buffer memory of intelligent function module
The following figure shows the processing performed when the TO instruction is executed in
CPU No. 1.
Both of the S.TO and TO instructions can be used for the Basic model QCPU
(Q00CPU or Q01CPU) and Universal model QCPU to write data to the CPU
shared memory. However, use of the TO instruction is recommended, since use of
S.TO instruction reduces the number of steps and processing time.
Remark
Refer to Section 7.8.2 when writing to the buffer memory of the intelligent function
module by the TO instruction.
Designation of CPU shared memory in CPU No. 1
[ TO H3E0 n2 n3 ]
Designation of intelligent function module
[ TO H0 n2 n3 ]
Writes data
S
S
Device
memory
CPU
shared
memory
Device
memory
Buffer
memory
CPU
shared
memory
CPU No. 1
CPU No. 2
Intelligent
function module
Data
write