9 MULTIPLE CPU DEDICATED INSTRUCTIONS
9.1 Writing to the CPU Shared Memory of Host CPU
847
9
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 and Universal model QCPU to
write data to the CPU shared memory. However, use of the TO instruction is recommended to write data to the
CPU shared memory of the host CPU module, since use of S.TO instruction reduces the number of steps and
processing time.
Refer to Page 509 Writing 1-word data to the intelligent function module, writing 2-word data to the intelligent
function module 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