App - 40 App - 40
MELSEC-Q
APPENDIX
2) When data greater than the number of characters requested to be received is
stored in the receive buffer
Data received after the transmission error is not stored in the receive buffer.
(Ignored)
Reception data stored in the reception buffer for the amount of characters
requested to be received from the BASIC program, is returned to the BASIC
program.
When the processing of the reception request from the BASIC program has
been completed, the following processing is performed.
1) All of the remaining data in the receive buffer is deleted.
2) After processing 1) is completed, data received afterward is again stored in
the receive buffer.(This reception data can be accessed by the BASIC
program.)
(BASIC program)
Communication channel open
Result of channel opening
Receive request
Receive buffer
Communication module
Data
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
(OS)
"1"
"2"
"@"
Ig
no
re
d
"9"
"0"
"@"
"@"
"@"
"@"
Input element
Reception
result
(Error occurrence)
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
"0"
A transmission
error occurs.
"3"
"9"
"0"
"@"
"@"
"@"
"@"
"A"
"B"
"@"
"@"
"@"
"@"
"@"
"C"
"@"
"@"
"@"
"@"
"@"
ZOPEN to
ZRECEIVE to
"CR"
Ig
no
re
d