11.1 Data Reception from the External Device
11
11.1.1 Receiving methods
CPU module
Sequence
program
3)
Read
(BIDIN
instructions)
Contents
Reception data read request
BIDIN instruction completion device
BIDIN instruction
11 - 2
This section explains the data reception from the external device.
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.
C24
Buffer memory
Receive area
2)
Read request
(When normal)
Arbitrary data
(00
to FF
)
H
H
CH1/CH2
X3/XA
11 DATA COMMUNICATION USING THE BIDIRECTIONAL PROTOCOL
Arbitrary data
1)
ENQ Data length
Data area
(When abnormal)
(00
to FF
H
Ignored
Control Timing
BIDIN
External
device
Sum check code
)
H
2)
Error code
NAK
4)
ACK
11 - 2