8: Setup Mode: Channel Configuration
xDirect User Guide 53
Pack Control
The 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.
Pack control settings are enabled in Flush Mode. Set this value to 00 if you do not need specific
functions.
Note: All bit positions in the table that are blank represent “don’t care” bits for that
particular option, which can be set to either a 0 or 1 value.
Table 8-13 Pack Control Options
Packing Interval
Packing Interval defines how long the unit should wait before sending accumulated characters.
This wait period is between successive network segments containing data. For alternate packing,
the default interval is 12 ms.
Trailing Characters
In some applications, CRC, Checksum, or other trailing characters follow the end-of-sequence
character; this option helps to adapt frame transmission to the frame boundary. The default setting
is 00 (none).
Send Characters
If 2-Byte Send Character Sequence is enabled, the unit interprets the sendchars as a 2-byte
sequence; if this option is not enabled, the unit interprets them independently. The default
setting is 0 (disabled).
If Send Immediately After Characters is not set, any characters already in the serial buffer
are included in the transmission after a "transmit" condition is found. If this option is set, the
Option 7 6 5 4 3 2 1 0
Packing Interval
Interval: 12 msec 0 0
Interval: 52 msec 0 1
Interval: 250 msec 1 0
Interval: 5 sec 1 1
Trailing Characters
None 0 0
One 0 1
Two 1 0
2-Byte Send Character Sequence 1
Send Immediately After Send chars 1