Mitsubishi Melsec-L Series User Manual page 233

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

Advertisement

Program example
12 - 18
The following example shows a program that sends any data stored in D11 to D15
using the nonprocedural protocol.
When input/output signals of the C24 are from X/Y00 to X/Y1F:
1)
Transmission command is converted into pulse.
2)
Transmission data is stored.
3)
Specify the number of the interface (CH ) that sends the data.
4)
Clear the transmission result storage device to 0.
5)
Specify the transmission data count in word units. (Specify K10 when the unit
is bytes.)
6)
The transmission data stored in the specified device is sent.
7)
After the OUTPUT instruction is executed, the transmission complete signal
(M0) specified by user turns ON for one scan.
8)
The error code of the transmission result storage device is saved to D101.
9)
The completion flag is reset by an external command.
12 DEDICATED INSTRUCTIONS
1)
2)
3)
4)
5)
6)
7)
8)
9)
12 - 18

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents