Sequence Program For Data Reception - Mitsubishi QJ71C24N User Manual

Melsec-q series
Hide thumbs Also See for QJ71C24N:
Table of Contents

Advertisement

7 DATA COMMUNICATION USING THE BIDIRECTIONAL PROTOCOL

7.1.3 Sequence program for data reception

X3 Read request
M0
Q series 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
7 - 10
This section explains the sequence program for data reception.
For details on the BIDIN instruction for data reception, see Chapter 10.
M1
1)
(OFF)
)
m
H
to 7FF
)
H
H
1) Start the local station programmable controller.
The values specified with GX Developer are stored in the Q series C24.
2) When data is received from the external device, the 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.
Create control data from D0
G.BIDIN
Un
Processing for normal completion
(stores receive data, etc.)
2)
3)
BIDIN
Receive data
Data reception
Response transmission
MELSEC-Q
D0
D10
M0
4)
One scan
n
(CH1)
7 - 10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2

Table of Contents