678
TO, TOP, DTO, DTOP
DTO
(1) Writes device data of words to (n3
×
2) to the CPU shared memory address specified by n2 of the host CPU module or
later address.
When a constant is specified to , writes the same data (value specified to ) to the area of (n3
×
2) words from the
specified CPU shared memory.
(2) No processing is performed when the number of write points is 0.
(3) The number of data that can be written varies depending on the target CPU module.
Writing data to CPU shared memory can be performed using the intelligent function module device.
For intelligent function module device, refer to the QnUCPU User's Manual (Function Explanation, Program Fundamentals)
or Qn(H)/QnPH/QnPRHCPU User's Manual (Function Explanation, Program Fundamentals).
Operat
i
on
E
rror
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
CPU module
Number of Write Points
Basic model QCPU
1 to 160
Universal model QCPU
1 to 7168
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
2110
No CPU module is installed at the position specified for the head I/O
number of the CPU module.
––
––
––
––
4101
When the number of write points (n3) is outside the specified range of
the setting data.
When the CPU shared memory address (n2) of the write destination
host CPU + the number of write points (n3) exceeds the CPU shared
memory range.
When the head of CPU shared memory address (n2) of the write
destination host CPU is outside the allowable range.
––
––
––
––
4111
When the head of CPU shared memory address (n2) of the write
destination host CPU is an invalid value.
––
––
––
––
4112
When the I/O number specified in (n1) is other than that of the host
CPU (Exclude the case of whe n the multiple CPU high speed
transmisson area of other CPU is used.)
––
––
––
––
S
H
ost
CP
U
De
vi
ce
memory
CP
U
shared
memory
of
host
CP
U
(n1)
Wr
i
tes
the
data
of
(n3
2)
w
ords
n3
2
n2
S
S
S
Constant
CP
U
shared
memory
of
host
CP
U
(n1)
n2
S
5
5
5
5
(n3
2)
w
ords
5
(When
"
5
" i
s
des
i
gnated
for
)
S
Wr
i
tes
the
same
data
to
the
area
of
(n3
2)
w
ords