Mitsubishi Melsec-L Series User Manual page 244

Communication module
Hide thumbs Also See for Melsec-L Series:
Table of Contents

Advertisement

Error
Program example
12 - 29
(3) Whether a BIDIN instruction was completed normally can be checked by the
completion device ((D2)) or status display device at completion ((D2)+1).
(a) Completion device: Turns on at the END processing of the scan where the
(b) Status display device at completion: Does not change when left off.
[Operation during execution of a BIDIN instruction]
Sequence
program
BIDIN
instruction
Completion device
Status display device
at completion
(1) In case of operation errors, Error flag (SM0) turns on and the error code is stored
in SD0.
Refer to the following according to the error code, and check and correct the error.
<Error code>
4FFF
or less: MELSEC-L CPU Module User's Manual (Hardware Design,
H
Maintenance and Inspection)
7000
or later: Section 15.2
H
The following example shows a program that receives any data using the bidirectional
protocol and stores that data in D10 or later.
The input/output signals of the C24 are from X/Y00 to X/Y1F:
BIDIN instruction is completed normally, and turns off at
the next END processing.
END
END
processing
processing
Execution of BIDIN instruction
OFF
OFF
12 DEDICATED INSTRUCTIONS
END
END
processing
processing
Completion of reception by
BIDIN instruction
ON
One scan
12 - 29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents