7 - 2 7 - 2
MELSEC-Q
7 DATA COMMUNICATION USING THE BIDIRECTIONAL PROTOCOL
7.1 Data Reception from the External Device
This section explains the data reception from the external device.
7.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
Q series C24
(When normal)
ENQ Data length
Data area
Sum check code
Arbitrary data
(When abnormal)
Ignored
Error code
NAK
ACK
Programmable
controller CPU
Reception data read request
BIDIN instruction completion device
BIDIN instruction
CH1/CH2
X3/XA
Control Timing
BIDIN
Contents
7
Содержание MELSEC QJ71C24
Страница 1: ......
Страница 2: ......
Страница 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Страница 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Страница 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Страница 441: ......
Страница 442: ......