Serial communication diagnostics and monitoring is divided between the serial link driver and the serial communication protocol. The lower level physical and protocol-independent aspects of the UART-based serial communication are monitored in the serial link driver. Diagnostic counters and monitoring values are found via the LHMI in
.
Parameter |
Description |
---|---|
Serial mode |
Used for galvanic RS-485 mode, 2-wire |
Baudrate |
Communication speed used |
Parameter or counter |
Description |
---|---|
LNKxLIV |
TRUE whenever characters are received on the serial interface |
CHxLIV |
TRUE while complete link frames are received |
Characters received |
Counts all incoming non-erroneous characters. This counter operates regardless of whether the serial driver is set to detect a whole protocol link frame or just separate characters. |
Parity errors |
Counts the number of parity errors detected in characters received |
Overrun errors |
Counts the number of overrun errors detected in characters received |
Framing errors |
Counts the number of framing errors detected in characters received |
Reset counter |
Resets all counters to zero |