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

Скачать
Страница из 630
App
 
-
 
52
Appendix 3.4.3 Range check processing for index-modified devices
(1) Device range check
Error check processing at index modification of devices has been enhanced for the Universal model QCPU.
Each index-modified device range is checked, and if the check target device is outside the device range before 
index modification, the CPU module detects "OPERATION ERROR" (error code: 4101).
In Example 1), when the contact (M0) is on and the value, -1 or less, is specified in Z1, the device D0Z1 is 
included in the C device range, exceeding the D device range, as shown in Figure App.26.
As a result, "OPERATION ERROR" (error code: 4101) will be detected.
When an error is detected, check the index modification value (value of Z1 in the above example) and remove the 
error cause.
Examples of the cases where an error is detected and not detected are shown below.
Example 1) Detecting "OPERATION ERROR" (error code: 4101) by error check processing at
index modification of devices
Figure App.26 Device D0Z1 when the value of Z1 is -1
C0
C device area
D device area
W device area
D0
W0
When the value of Z1 is -1, 
the device is included in the 
C device range, resulting in an error.