8.5.1.2
Serial link diagnostics and monitoring
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
Monitoring/Communication/COMn
(n= 1,2,…).
Depending on the communication protocol, the serial driver software receives
single characters or complete protocol frames, based on the frame start/stop
characters or on timing.
Monitoring data for a COM channel can be divided into basic and detailed
diagnostic counters.
Table 21:
Monitoring data for a COM channel
Parameter
Range
Type
Description
Characters
received
0…2147483646
Basic
Number of separate characters received.
Frames received
0…2147483646
Basic
Number of successfully received complete
frames.
Frames discarded
0…2147483646
Basic
Number of frames discarded.
Frames
transmitted
0…2147483646
Basic
Number of frames transmitted.
CD Lost
0…2147483646
Detailed
Number of carrier-detect signal lost during
receive.
Collision
0…2147483646
Detailed
Number of collisions detected.
CTS Timeout
0…2147483646
Detailed
Number of clear-to-send signal timeout
errors.
Transmission
timeout
0…2147483646
Detailed
Number of transmission timeout errors.
Parity errors
0…2147483646
Detailed
Number of character parity errors detected.
Overrun errors
0…2147483646
Detailed
Number of character overrun errors
detected.
Framing errors
0…2147483646
Detailed
Number of character overrun errors
detected.
Link status
1
1 = Reset counters (by entering 1 the
diagnostic counters are reset)
Whether all diagnostic counters are relevant depends on the communication
hardware and communication protocol.
Section 8
1MRS756708 C
Commissioning
106
615 series
Operation Manual