5. CONFIGURATION
Data type Options Description
PARITY_SPACE
SERIAL_PORT COM 1
List all available serial ports (COM
10, COM 11, COM 12, COM 13,
COM 14, COM 15, COM 16, COM
17, COM 18 and COM 19 – expan-
sion modules).
COM 2
Defines a character in the RX queue in extended mode.
RX_CHAR Data byte.
SERIAL_RX_CHAR_ EX-
TENDED
RX_ERROR Error code.
RX_TIMESTAMP
Silence due to the previous charac-
ter or due to another event which
has happen before this character
(serial port configuration, transmis-
sion ending).
It has some fields which deliver information regarding RX queue
status/error, used when the normal format is utilized (no error
and timestamp information):
RX_FRAMING_ERRORS
Frame errors counter: character in-
correct formation – no stop bit, in-
correct baud rate, among other –
since the serial port configuration.
Returns to zero when it reaches the
maximum value (65535).
RX_PARITY_ERRORS
Parity errors counter, since the se-
rial port configuration. Returns to
zero when it reaches the maximum
value (65535).
RX_BREAK_ERRORS
Interruption errors counter, since
the serial port configuration, in
other words, active line higher than
the character time. Returns to zero
when it reaches the maximum value
(65535).
SERIAL_RX_QUEUE_
STATUS
RX_FIFO_OVERRUN_
ERRORS
FIFO RX overrun errors counter,
since the serial port configuration,
in other words, error in the FIFO
RX configured threshold. Returns
to zero when it reaches the maxi-
mum value (65535).
RX_QUEUE_OVERRUN_
ERRORS
RX queue overrun errors counter, in
other words, the maximum charac-
ters number (1024) was overflowed
and the data are being overwritten.
Returns to zero when it reaches the
maximum value (65535).
RX_ANY_ERRORS
Sum the last 5 error counters
(frame, parity, interruption, RX
FIFO overrun, RX queue overrun).
RX_REMAINING
Number of characters in the RX
queue.
233