3 sequence program for data transmission, Melsec-q – MITSUBISHI ELECTRIC QJ71C24N User Manual

Page 170

Advertising
background image

7 - 19 7 - 19

MELSEC-Q

7 DATA COMMUNICATIONS USING BIDIRECTIONAL PROTOCOL

7.2.3 Sequence program for data transmission

A sequence program for data transmission is explained below.

For details on the BIDOUT instruction for data transmission, see Chapter 9.

G.BIDOUT

Un

D0

D11

M0

M0

M1

M1

Transmission
instruction

Create transmission data from D11

(In case of the CH1 side)

Create control data from D0

Processing for normal completion

Processing for abnormal completion

(retransmission, etc.)

Q series C24 ready signal

Transmission instruction

BIDOUT instruction

BIDOUT instruction complete device

BIDOUT instruction complete device + 1
(Normal completion/abnormal completion)

Transmission data count designation area
(buffer memory address: 400

H

)

Transmission data storage area
(buffer memory address: 401

H

to)

BIDOUT

(X1E)

1 scan

0

n

Transmission data

Data transmission

1)

2)

3)

4)

ON when transmission
abnormal completion

Receiving response

Advertising
This manual is related to the following products: