6 - 18 6 - 18
MELSEC-Q
6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL
6.1.5 How to detect reception errors
This section explains how to detect errors that may occur when receiving data from the
external device.
The following items are considered as the primary causes of errors that may occur
during data reception.
Cause of reception error
Reference section
A transmission error occurred due to noise.
—
A timeout for the no-reception monitoring (timer 0) occurred.
Received data that could not be converted using the ASCII-BIN conversion.
User's Manual (Application)
Received data larger than the size that could be stored in the OS area of the Q series C24.
Section 6.1.2
(1) Confirmation using the sequence program
(a) Detecting the occurrence of a reception error
1) The following device and input signals turn ON.
• INPUT instruction complete 1
• Reception abnormal detection (X4/XB)
• ERR. occurrence (XE/XF)
2) The reception error code can be checked using the INPUT instruction
control data ((S1) + 1).
Or, it can be checked by reading the data reception result (address:
258
H
/268
H
).
For details on how to check the error code contents and take corrective
actions, see Chapter 11.
(b) How to turn off the ERR LED and clear the error code (see Section 11.1.2.)
1) To turn off only the ERR LED, write "1" to the Communication error clear
request and to turn LED off (addresses: 0
H
/1
H
).
2) To turn off the ERR LED and clear the error code, turn ON the ERR.
clear request (YE/YF).
(Example) To perform the ERR LED OFF and the error code clear on the
CH1 side
INPUT instruction
Completion 1
Содержание 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: ......