11 - 2 11 - 2
11 DATA COMMUNICATION USING THE BIDIRECTIONAL PROTOCOL
11.1 Data Reception from the External Device
This section explains the data reception from the external device.
11.1.1 Receiving methods
The following shows how to receive data sent from the external device using the
bidirectional protocol. Since the size of each message received is recognized using the
"data length" information contained in the message, messages of any size can be sent
from the external device.
Sequence
program
3)
Read
(BIDIN
instructions)
External
device
1)
Arbitrary data
(00
H
to FF
H
)
4)
2)
2)
Read request
(00
H
to FF
H
)
Buffer memory
Receive area
C24
(When normal)
ENQ Data length
Data area
Sum check code
Arbitrary data
(When abnormal)
Ignored
Error code
NAK
ACK
CPU module
Reception data read request
BIDIN instruction completion device
BIDIN instruction
CH1/CH2
X3/XA
Control Timing
BIDIN
Contents
11
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: ......