76343/4/5 | English, Revision 05 | Date: 23.02.2022
74
Chapter 8 – Serial Interface
Most variants (see section 2.1 on page 10) of the HG G
76343/4/5 have a serial in
-
terface that can be controlled via (W)LAN.
8.1 Parameters of the Serial Interface
Serial Interface
Altered settings, e.g. for the baudrate, need to match the settings of the devices
that are connected to the serial port.
Table 50
Serial Interface: Serial Port Parameters
Parameter
Default
Function
Port active
off
De-/activation of the serial interface
Device
/dev/ttymxc0
Port address
Baudrate and format 9600,8,n,1
Setting the baud rate, data bits, stop bits and parity handling
Network
configuration
TCP-Server,
8888
Sets the mode in which the serial interface can be controlled via
the network. Further explanations are given in the section 8.2 on
page 75
Keep alive
parameter
Parameters for the TCP server or TCP client mode to monitor
the TCP connection. See section 8.3 on page 75
Send trigger
configuration
In order to avoid sending each individual serial-received character in a separate
network pack, 3 criteria for collecting and sending the characters are defined.
Handshake mode
Selection for the control of the handshake lines of the serial interface. See section
8.4 on page 75
8
Table 51
Criteria for sending of characters
Parameter
Default Function
Byte trigger
On : 16 Maximum number of characters to be collected.
Character timeout On : 100 Definition of a maximum pause between 2 char
-
acters in milliseconds. If this time is exceeded, all
characters collected up to then are sent.
Frame end trigger Off : 0D Definition of a character (as HEX value) which
leads to the sending of the characters collected
up to then.