APPENDIX
Appendix 7.3.2 Flow of received data when a break character is specified
ZOPEN to
ZRECEIVE to
ZOPEN to
ZRECEIVE to
ZRECEIVE to
App - 37
The examples in the following figures illustrate the flow of received data when 0 is
specified in the receive buffer specification (no receive buffer) and when 1 to 1024 is
specified (receive buffer available) when the communication channel is opened. The
C
0D
(
) data is specified as the single break character and a maximum of 10 bytes is
H
R
requested to be received.
(1) When there is no receive buffer
(BASIC program)
Communication channel open
Result of channel opening
Receive request
Input elements
Reception
result
Data prior
to reception
(2) When a receive buffer is available
(BASIC program)
Communication channel open
Result of channel opening
Receive request
Input elements
Reception
result
Receive
request
Reception
result
Data prior
to reception
Communication module
"A"
"B"
"C"
"D"
"E"
"F"
"C R"
The received data after the receive
request is made is returned.
Communication module
Receive buffer
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"1"
"8"
"2"
"9"
"3"
"0"
"4"
"@"
"5"
"@"
"6"
"@"
"7"
"@"
"8"
"@"
"9"
"@"
"0"
"C R"
"@"
"A"
"@"
"B"
"@"
"@"
"@"
"@"
"C R"
MELSEC-Q
(OS)
(OS)
Data
"A"
"B"
"C"
"D"
"E"
"F"
"C R"
Data
Data
"1"
"2"
"3"
"9"
"0"
"@"
"@"
"@"
"@"
"@"
"@"
"C R"
"A"
"B"
"C"
App - 37