104
3.6
Cautions on Programming (Operation Errors)
Operation errors are returned in the following cases when executing basic instructions and application instructions with CPU
module:
• An error listed on the explanatory page for the individual instruction occurred.
• When an intelligent function module device is used, no intelligent function module is installed at the specified I/O number
position.
• When an intelligent function module device is used, the specified buffer memory address does not exist.
• The relevant network does not exist when using a link device.
• When a link device is used, no network module is installed at the specified I/O number position.
• When a multiple CPU shared device is used, a CPU module is not installed at the head I/O number position of the specified
CPU module.
• When a multiple CPU shared device is used, the specified shared memory address does not exist.
• The setting of the device number crosses over the boundary between the internal user device and the extended data
register (D) or extended link register (W).
(Universal model QCPU (excluding Q00UJCPU) and LCPU)
If data is read from or written to a file register when no file register file is set in parameter or the file register file set in
parameter is not found, the following occurs.
(1) For the High Performance model QCPU, Process CPU, and Redundant CPU
An error does not occur even when writing/reading to/from file register is performed. However, “0
H
” is stored when
reading from file register is performed.
(2) For the Universal model QCPU and LCPU
The OPERATION ERROR (error code:4101) occurs when writing/reading to/from file register is performed.
(1) Device range check
Device range checks for the devices used by basic instructions and application instructions in CPU module are as
indicated below:
(a) Instructions for specified each device, including MOV and DMOV
1) For the Basic Model QCPU, High Performance model QCPU, Process CPU, and Redundant CPU
The device range is not checked. In cases where the corresponding device range is exceeded, data is written to
other devices. *
1
For example, in a case where the data register has been allocated 12k points, there will be no error even if it
exceeds D12287.
Device range checks are not conducted also in cases where indexing is being performed.
In cases where the corresponding device range is exceeded as the result of performing indexing, data is written
to other devices.*
1
*1:
For the assignment order of internal user devices, refer to this Section (c) Character string data.
DMO
V
K
100 D122
87
This
d
esi
g
nates
D122
87 an
d
D122
88 as the
tar
g
et
d
e
v
ices f
o
r executin
g
the
DMO
V instructi
o
n.
H
o
we
v
er
,
since
D122
88
do
es n
o
t exist
,
d
ata in an
o
ther
d
e
v
ice is c
o
rrupte
d
.