683
FROM, FROMP, DFRO, DFROP
9
2
3
4
4
6
7
8
9.2
R
eading fr
om the CPU Shar
ed Memor
y of
another C
P
U
9.2.1
F
ROM, F
R
OMP,
DFRO, DF
ROP
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.
Program
E
xamp
l
e
(1) The following program stores 10 points of data from address C0
H
of the CPU shared memory of CPU No. 2 into the area
starting from D0 when X0 is turned ON.
[Ladder Mode]
[List Mode]
(2) The following program stores 20 points of data from address 10000 of the CPU shared memory of CPU No. 4 into the
area starting from D0 when X0 is turned ON.
[Ladder Mode]
[List Mode]
Remark
(1) The value of n1 is specified by the first 3 digits of the hexadecimal 4digits which represent the head I/O number of the
slot mounted to the CPU module.
(2) The QCPU provides automatic interlocks for the FROM and TO instructions.
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
The head of the CPU shared memory address (n2) which performs
reading is outside the CPU shared memory range.
The address of the CPU shared memory (n2) which performs r
the number of read points (n3) is outside the CPU shared memory
range.
The read data storage device number plus the number of read points
(n3) is outside the specified device range.
When the head of the CPU shared memory address (n2) which
performs reading is an invalid value. (4097 to 9999)
––
––
––
––
CPU Slot
Slot 0
Slot 1
Slot 2
Head I/O number
3E00
3E10
3E20
3E30
n1
3E0
3E1
3E2
3E3
D
I
nstruct
i
on
De
vi
ce
Step
Step
Instruction
Device