Lantronix xDirect xDirect - User Guide - Page 30

Pack Control, Flush Input Buffer (Serial to Network), Flush Output Buffer (Network to Serial)

Page 30 highlights

5: Configuration Using Web Manager Baud Rate Data Bits Parity Stop Bits The unit and attached serial device, such as a modem, must agree on a speed or baud rate to use for the serial connection. Valid baud rates are 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, and 230400 baud. Additionally, 921600 and 460800 baud rates are available when CPU is set to High. The default setting is 9600. Indicates the number of bits in a transmitted data package. The default setting is 8. Checks for the parity bit. The default setting is None. The stop bit follows the data and parity bits in serial communication. It indicates the end of transmission. The default setting is 1. Pack Control Enable Packing Idle Gap Time Match 2 Byte Sequence Match Bytes Send Frame Immediate Send Trailing Bytes Select to enable packing on the xDirect. Two firmware-selectable packing algorithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in which the unit is used in a local environment, allowing for very small delays for single characters, while keeping the packet count low. The alternate packing algorithm minimizes the packet count on the network and is especially useful in applications in a routed Wide Area Network (WAN). Adjusting parameters in this mode can economize the network data stream. Disabled by default. Select the maximum time for inactivity. The default time is 12 milliseconds. Use to indicate the end of a series of data to be sent as one group. The sequence must occur sequentially to indicate end of the data collection to the xDirect. The default setting is No. Use to indicate the end of a series of data to be sent as one group. Set this value to 00 if specific functions are not needed. After the detection of the byte sequence, indicates whether to send the data frame or the entire buffer. Select Yes to send only the data frame. The default setting is No. Select the number of bytes to send after the end-of-sequence characters. The default setting is None. Flush Input Buffer (Serial to Network) With Active Connect With Passive Connect At Time of Disconnect Select Yes to clear the input buffer with a connection that is initiated from the device to the network. The default setting is No. Select Yes to clear the input buffer with a connection initiated from the network to the device. The default setting is No. Select Yes to clear the input buffer when the network connection to or from the device is disconnected. The default setting is No. Flush Output Buffer (Network to Serial) With Active Connect With Passive Connect Select Yes to clear the output buffer with a connection that is initiated from the device to the network. The default setting is No. Select Yes to clear the output buffer with a connection initiated from the network to the device. The default setting is No. xDirect User Guide 30

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82

5: Configuration Using Web Manager
xDirect User Guide
30
Pack Control
Flush Input Buffer (Serial to Network)
Flush Output Buffer (Network to Serial)
Baud Rate
The unit and attached serial device, such as a modem, must agree on a
speed or baud rate to use for the serial connection. Valid baud rates are
300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, and
230400 baud. Additionally, 921600 and 460800 baud rates are available
when CPU is set to High.
The default setting is
9600
.
Data Bits
Indicates the number of bits in a transmitted data package. The default
setting is
8
.
Parity
Checks for the parity bit. The default setting is
None
.
Stop Bits
The stop bit follows the data and parity bits in serial communication. It
indicates the end of transmission. The default setting is
1
.
Enable Packing
Select to enable packing on the xDirect.
Two firmware-selectable packing algorithms define how and when packets are
sent to the network.
The standard algorithm is optimized for applications in which the unit is used in
a local environment, allowing for very small delays for single characters, while
keeping the packet count low.
The alternate packing algorithm minimizes the packet count on the network
and is especially useful in applications in a routed Wide Area Network (WAN).
Adjusting parameters in this mode can economize the network data stream.
Disabled by default.
Idle Gap Time
Select the maximum time for inactivity. The default time is
12
milliseconds.
Match 2 Byte Sequence
Use to indicate the end of a series of data to be sent as one group. The
sequence must occur sequentially to indicate end of the data collection to the
xDirect. The default setting is
No
.
Match Bytes
Use to indicate the end of a series of data to be sent as one group. Set this
value to
00
if specific functions are not needed.
Send Frame Immediate
After the detection of the byte sequence, indicates whether to send the data
frame or the entire buffer. Select
Yes
to send only the data frame. The default
setting is
No
.
Send Trailing Bytes
Select the number of bytes to send after the end-of-sequence characters. The
default setting is
None
.
With Active Connect
Select
Yes
to clear the input buffer with a connection that is initiated from
the device to the network. The default setting is
No
.
With Passive Connect
Select
Yes
to clear the input buffer with a connection initiated from the
network to the device. The default setting is
No
.
At Time of Disconnect
Select
Yes
to clear the input buffer when the network connection to or
from the device is disconnected. The default setting is
No
.
With Active Connect
Select
Yes
to clear the output buffer with a connection that is initiated from
the device to the network. The default setting is
No
.
With Passive Connect
Select
Yes
to clear the output buffer with a connection initiated from the
network to the device. The default setting is
No
.