Sequence Program For Data Reception - Mitsubishi Melsec-L Series User Manual

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

Advertisement

11.1.3 Sequence program for data reception

X3 Read request
M0
C24 ready (X1E)
Reception data read
request (X3)
BIDIN instruction
BIDIN instruction complete device
BIDIN instruction complete device +1
(Normal completion)
Receive data count (address: 600
Receive data(address: 601
11 - 10
This section explains the sequence program for data reception.
For details on the BIDIN instruction for data reception, refer to Chapter 10.
M1
1)
(OFF)
)
m
H
to 7FF
)
H
H
1) Start the host station programmable controller.
The values specified with GX Works2 are stored in the C24.
2) When data is received from the external device, Reception data read request (X3)
turns ON.
3) After the control data for the BIDIN instruction is stored in the device, the sequence
program executes the BIDIN instruction and reads the receive data.
4) When the reading of receive data is completed, a response message (ACK
message when the operation was completed normally) is sent and the device that
has completed the BIDIN instruction turns ON.
11 DATA COMMUNICATION USING THE BIDIRECTIONAL PROTOCOL
Create control data from D0
G.BIDIN
Un
Processing for normal completion
(stores receive data, etc.)
2)
3)
Receive data
Data reception
Response transmission
D0
D10
M0
BIDIN
4)
One scan
n
(CH1)
11 - 10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents