APPENDIX
App - 17
(2) Operation error
In the following cases, an operation error occurs; the error flag (SM0) turns ON
and the error code is stored in SD0.
Error code
When the module specified by Un is not an intelligent function module.
2112
When the module specified by Un is not a special function module.
4002
When an attempt was made to execute an unsupported instruction.
4003
When the number of devices in the instruction is incorrect.
4004
When the instruction specifies a device that cannot be used.
4100
When the instruction contains the data that cannot be used.
When the number of data set to be used exceeds the allowable range.
4101
Or, when the storage data or constants of the device specified with the instruction
exceeds the allowable range.
(3) Program example
When M1 is turned ON, this program reads 11-word data to D40 and succeeding
addresses from buffer memory address 400
number 63, which is connected to the master module installed at I/O numbers
from X/Y00 to X/Y1F.
The settings of the interlock signal storage device are as follows: request device
RY2, completion device RX2, error code storage device RWr2, and completion
mode 1.
Also, set the link special register (SW) refresh device to SW0.
Description of operation error
of the intelligent device station
H
Performs normal completion processing
Performs abnormal completion processing
MELSEC-Q
App - 17