Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
7-164
TO(P),DTO(P)
DTO
Writes the data stored in n3 2 points starting from the device designated by into the area
starting from buffer memory address designated by n2 of the intelligent function module
designated by n1.
When a constant is designated to , writes the same data (value designated to ) to the area
of n3 2 points starting from the specified buffer memory. ( can be designated in the following
range: -2147483648 to 2147483647 or 0
H to FFFFFFFFH.)
Data write to intelligent function modules is also possible with the use of an
intelligent function module device.
For the 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).
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
There has been no exchange of signals with an intelligent function module at the
execution of the instruction. (Error code: 1412)
An error has been detected in an intelligent function module at the execution of the
instruction. (Error code: 1402)
The I/O number designated by n1 is not for the intelligent function module.
(Error code: 2110)
The n3 points (2 n3 points for DTO) of the device designated by exceed the
designated device range. (Error code: 4101)
The address designated by n2 is outside the buffer memory range.
(Error code: 4101)
The address designated by n2 is an odd numbered address. (AJ71QC24(N))
(Error code: 4100)
S
Device designated
by
S
CPU module
(n3 x 2)
points
0
n2
(n3 x 2)
words
n2
+1
Intelligent function module
buffer memory
S S
S
CPU module
0
n2
(n3 x 2) words
n2+1
(When 70000 is designated to )
S
S
70000
70000
70000
70000
Intelligent function module
buffer memory
(The same data is written)
S