Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
3-27
1
2
3
4
2
6
7
8
3
.6 Cautions on Progr
amming
 (Operation Err
ors)
 
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 only)
When file register is set but a memory card is not installed or when file register is 
not set, writing/reading to/from file register is as follows:
(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
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) CPUs other than Universal model QCPU
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 K100 D12287
This designates D12287 and D12288 as the 
target devices for executing the DMOV instruction. 
However, since D12288 does not exist, 
d
ata in another device is corrupted.