7-161
FROM(P),DFRO(P)
1
2
3
4
6
6
7
8
7.8 Buffer memory access instruction
7.8.1 Reading 1-/2-word data from the intelligent function module (FROM(P),DFRO(P))
DFRO
(1) Reads the data in (n3 2) words from the buffer memory address designated by n2 of the
the intelligent function module designated by n1, and stores the data into the area starting
from the device designated by .
Data read from 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 range of n3 points (2 n3 points for DFRO) from the device designated by
exceeds the designated device range. (Error code: 4101)
• The address designated by n2 is outside the buffer memory range.
(Error code: 4101)
D
D
CPU module
(n3 2) words
n2
n2+1
Device designated
by
(n3 2) points
Intelligent function module
buffer memory
D