Attention – Atop Technology SW550X User manual User Manual

Page 43

Advertising
background image

Atop Industrial Wireless Serial Device Server Series
SW550X
User Manual V 1.1

37

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.

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: SW550X will transmit the serial data in its buffer when the specified

length has reached. Enable this option if you would like SW550X to queue the data

until it reaches a specific length. This option is disabled by default.

Character: SW550X 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, SW550X 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 to 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 second, SW550X would split the data in the queue and only transmit

one character (byte) every two second. This option is disabled by default.

Response Interval Timeout: This option only affects the Request & Response Mode

and has no effect on the Transparent Mode. When TCP data is received (request) and

passed to Serial side, the device will wait for the set time before transferring another TCP

Advertising