App - 39 App - 39
MELSEC-Q
APPENDIX
(2) When a receive buffer is available
1) When data for the number of characters requested to be received is not stored
in the receive buffer
The reception data stored in the receive buffer up to the time the transmission
error occurred is returned to the BASIC program.
Data received normally after the transmission error is stored in the receive
buffer again, so it can be accessed by the BASIC program.
(BASIC program)
Communication channel open
Result of channel opening
Receive request
Input element
Reception
result
(Error
occurrence)
Receive buffer
Communication module
Data
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"0"
"A"
"B"
"C"
"D"
"E"
"F"
(OS)
"1"
"2"
"8"
"A"
"B"
"C"
"D"
"E"
"F"
Data prior
to reception
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
Transmission
error occurrence
"0"
Ignor
e
d
ZOPEN to
ZRECEIVE to