11 - 10 11 - 10
11 DATA COMMUNICATION USING THE BIDIRECTIONAL PROTOCOL
11.1.3 Sequence program for data reception
This section explains the sequence program for data reception.
For details on the BIDIN instruction for data reception, refer to Chapter 10.
X3 Read request
Create control data from D0
G.BIDIN
Un
D0
D10
M0
M0
M1
(CH1)
Processing for normal completion
(stores receive data, etc.)
1)
2)
3)
4)
Reception data read
request (X3)
BIDIN instruction
BIDIN instruction complete device
BIDIN instruction complete 1
(Normal completion)
Receive data count (address: 600
H
)
Receive data(address: 601
H
to 7FF
H
)
Receive data
One scan
Response transmission
Data reception
C24 ready (X1E)
BIDIN
(OFF)
m
n
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.
Summary of Contents for MELSEC LJ71C24
Page 1: ......
Page 2: ......
Page 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Page 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Page 23: ...A 21 A 21 MEMO...
Page 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Page 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Page 425: ......
Page 426: ......
Page 427: ......