Mitsubishi Electric L26CPU-BT User Manual page 242

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

Advertisement

(c) There are two types of interlock signals for the G(P).RDMSG instruction: Completion
device (D2) and Status display device at completion (D2)+1.
• Completion device
Turns on in the END process of the scan where the G(P).RDMSG instruction is completed, and turns off
in the next END process.
• Status display device at completion
Turns on and off depending on the completion status of the G(P).RDMSG instruction.
Normal completion: Remains off and does not change.
Abnormal end: Turns on in the END process of the scan where the G(P).RDMSG instruction is
completed, and turns off in the next END process.
Sequence program
G(P).RDMSG instruction
Completion device
Status display device
at completion
(d) The basic number of steps of the G(P).RDMSG instruction is ten.
(4) 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
2112
4002
4003
4004
4100
4101
(5) Program example
For the RDMSG instruction, some or all remote registers which are executing the cyclic transmission between the
master station and target station are used in the system. For program examples, refer to the manual for the
remote device station that supports the message transmission function.
In addition, add the Remote register use prohibited status (SW0160 to SW0163) to the program as an interlock.
240
End
End
process
process
ON
OFF
OFF
OFF
When the module specified by Un is not an intelligent function module
When the module specified by Un is not a special function module
When an attempt was made to execute an unsupported instruction
When the number of devices in the instruction is incorrect
When the instruction specifies a device that cannot be used
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 exceeds the
allowable range.
Execution completion of
the G(P).RDMSG instruction
Description of operation error
End
End
process
process
ON
Abnormal end
Normal completion
1 scan

Advertisement

Table of Contents
loading

This manual is also suitable for:

L26cpu-pbtLj61bt11

Table of Contents