Mitsubishi Electric MELSEC-Q/L Programming Manual page 849

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

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.
CPU No. 1
CPU
Device
Data
shared
memory
write
memory
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.
CPU No. 2
CPU
Device
shared
memory
memory
Writes data
[ TO H3E0 n2
n3 ]
S
Designation of CPU shared memory in CPU No. 1
[ TO H0 n2
n3 ]
S
Designation of intelligent function module
Intelligent
function module
Buffer
memory
9 MULTIPLE CPU DEDICATED INSTRUCTIONS
9.1 Writing to the CPU Shared Memory of Host CPU
9
847

Advertisement

Table of Contents
loading

Table of Contents