Attention – Atop Technology SE5416A User manual User Manual
Page 38

Atop Industrial Serial Device Server
SE5408A/SE5416A Series
User Manual V 1.0
38
transmit the serial data in its buffer over the network.
Interval timeout, SE5416A Series will transmit the serial data in its buffer when the
specified time interval has reached and no more serial data comes in. The default
value is calculated automatically based on the baud rate. If the automatic value
results in chopped data, the timeout could be increased manually by switching to
“Manual setting” and specifying a larger value. If the bytes do not reach certain
length condition, the bytes could be discard to avoid devices connect on the TCP
side running into issues. To do this, enable “Discard Byte”, then select the
condition (>, <, =, !=) you want and the length desired.
Attention
Interval Timeout Manual Calculation
The optimal “Interval timeout” depends on the application, but it must be at least larger
than one character interval within the specified baud rate. For example, assuming that
the serial port is set to 1200 bps, 8 data bits, 1 stop bit, and no parity. In this case, the
total number of bits needed to send a character is 10 bits, and the time required to
transfer one character is (10 (bits)/1200 (bits/s))*1000 (ms/s) = 8.3 ms.
Therefore, you should set the “Interval timeout” to be larger than 8.3 ms. Rounding 8.3
ms to the next integer would get you 9 ms.
Max Byte, SE5416A Series will transmit the serial data in its buffer when the
specified length has reached. Enable this option if you would like SE5416A Series
to queue the data until it reaches a specific length. This option is disabled by
default.
Character, SE5416A Series will transmit the serial data in its buffer when it sees
the incoming data include the specified character (in HEX format). This field allows
one or two characters. If character delimiter is set to 0x0d, SE5416A Series will
push out its serial buffer when it sees 0x0d (carriage return) in the serial data. This
option is disabled by default.
Network to Serial Packet Delimiter, Same as the delimiters above, but controls data
flow in the opposite direction. It will store data from the network interface in the queue
and send it over to the serial interface until one of the delimiter conditions is met.
Character Send Interval, This option specifies the time gap between each character.
When set to two seconds, SE5416A Series will split the data in the queue and only
transmit one character (byte) every two seconds; this option is disabled by default.
Response Interval Timeout, This option only affects the Request & Response Mode