Mitsubishi QD51 Programming Manual page 686

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

APPENDIX
Appendix 7.4.2 Data flow when a receive buffer full error occurs
(BASIC program)
ZOPEN to
ZRECEIVE to
Reception
result
(Error occurrence)
App - 41
The following diagram illustrates the flow of data when 1 to 1024 is specified (receive
buffer available) in the receive buffer specification when the communication channel is
opened and a receive buffer full error occurs due to the data received from an external
device.
C
The 0D
(
) data is specified as the single break character and a maximum of 10
H
R
bytes is requested to be received.
Data received after a receive buffer full error is 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.)
Communication channel open
Result of channel opening
Receive request
Input element
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
"0"
Communication module
(OS)
Receive buffer
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
"0"
"@"
"@"
"@"
"@"
"@"
"@"
"C R"
"A"
"B"
"Y"
"@"
"@"
"@"
"@"
"@"
MELSEC-Q
Data
"1"
"2"
"3"
"9"
"0"
"@"
"@"
"@"
"@"
"@"
"@"
"C R"
"A"
"B"
"C"
"Y"
"Z"
"1"
"@"
"@"
"@"
"@"
"@"
App - 41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents