Mitsubishi Melsec-L Series User Manual page 400

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

Advertisement

App. - 71
(2) Program example
The following shows the program example of receiving data using the
nonprocedural protocol.
[I/O signals of the C24]
Device
CH1 Reception data read
X1003
X1004
[Link special relay (SB), link special register (SW)]
Device
Data link status of host
SB0049
The data received in the C24 is transferred to the master station CPU module
and stored in the following devices.
(In the program example above, the receive data count is stored in D0, and the
receive data corresponding to the receive data count are transferred from W1001
to D1.)
Device
W1000
W1001 to W11FF
In the example above, data are not read out when a reception error is detected.
For the bidirectional protocol, programs for the reception error detection are not
required.
Purpose
request
CH1 Reception error
detection
Purpose
station
Description
Receive data count
Receive data
Device
Purpose
CH1 Reception data read
Y1001
completion
Device
Purpose
Data link status of each
SW00B0.0
station (Station number 1)
APPENDIXES
App. - 71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents