Mitsubishi Electric L26CPU-BT User Manual page 211

Melsec-l cc-link system master/local module
Hide thumbs Also See for L26CPU-BT:
Table of Contents

Advertisement

(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 turns ON, 11-word data in the buffer memory address 400
No.63 (AJ65BT-R2N), which is connected to the master module installed in the position of I/O No. X/Y00 to
X/Y1F, are read out to the area starting from D40.
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 SW0000.
M10 is the G(P).RIRCV instruction executing flag.
CHAPTER 9 DEDICATED INSTRUCTIONS AND PROGRAMMING
Description of operation error
H
Performs processing for normal completion.
Performs processing for abnormal completion.
and later of the intelligent device station
Control data setting
Interlock signal storage
device setting
Dedicated instruction execution
Sets G(P).RIRCV instruction
executing flag to ON.
Processing upon normal
completion of dedicated instruction
Processing upon failure of
dedicated instruction
Sets read request to OFF.
Sets G(P).RIRCV instruction
executing flag to OFF.
9
209

Advertisement

Table of Contents
loading

This manual is also suitable for:

L26cpu-pbtLj61bt11

Table of Contents