Mitsubishi LJ61BT11 User Manual page 207

Melsec l series cc-link system master/local module
Table of Contents

Advertisement

(2) Operation error
(3) Program example
9 - 24
In the following cases, 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.
Or, when the storage data or constants of the device specified with the instruction
4101
exceeds the allowable range.
When M6 is turned ON, 1-word data are written from the area starting D0 into the
buffer memory address 111
R2N), which is connected to the master module installed in the position of I/O No.
X/Y00 to X/Y1F.
The settings of the interlock signal storage device are as follows: request device
RY4, completion device RX4, error code storage device RWr1, and completion
mode 1.
Also, set the link special register (SW) refresh device to SW0000.
M11 is the G(P).RISEND instruction executing flag.
9. DEDICATED INSTRUCTIONS AND PROGRAMMING
Description of operation error
of the intelligent device station No.63 (AJ65BT-
H
Performs processing for normal completion.
Performs processing for abnormal completion.
Control data setting
Interlock signal storage
device setting
Sets data to be written to
intelligent device station
Dedicated instruction execution
Sets G(P).RISEND instruction
executing flag to ON.
Processing upon normal
completion of dedicated instruction
Processing upon failure of
dedicated instruction
Sets write request to OFF.
Sets G(P).RISEND instruction
executing flag to OFF.
9 - 24

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

L26cpu-bt

Table of Contents