11 - 423 11 - 423
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Reading causes of reception errors
Control table format definition
Element position
Item
Description
%(0)
Processing code
Specify the processing code.
Processing Code 64
%(1)
Error causes
Read the causes of reception errors into the
lower byte.
• It is possible to read the causes of errors (parity, overrun, or framing errors) that
have occurred in an open communication channel using this code.
• Specify 64 for the processing code.
• The reception error causes are expressed in the following manner using the
lower 8 bits of %(1).
1
2
3
0
Parity error
4
5
6
7
(Bits marked with X are ignored.)
Framing error
Overrun error
1: Error
0: No error
Lower byte
%(1)
Can be read by the instruction
RDSET(3, %(1)).
It is convenient to use the RDSET instruction to read the bits since only
the 3rd, 4th, and 5th bits of %(1) are used for the status of each signal.
Can be read by the instruction
RDSET(4, %(1)).
Can be read by the instruction
RDSET(5, %(1)).