Data Packing Parameters - Moxa Technologies NPort 5000 Series User Manual

Hide thumbs Also See for NPort 5000 Series:
Table of Contents

Advertisement

Data Packing Parameters

ATTENTION
When the device port buffer is full, the data will be packed for network transmission, regardless of the
settings for Delimiter 1, Delimiter 2, and Force transmit.
NPort 5000 Series User Manual
Packing length
Setting Options: 0 to 1024
Default: 0
Description: Controls data packing by the amount of data received.
Serial data accumulates in the device port's buffer until it reaches
the specified length. When the specified amount of data has
accumulated in the buffer, the data is packed for network
transmission. A setting of 0 means that data will not be packed until
the buffer is full. 0 is the recommended setting, unless your
application has a specific need to limit packet sizes or improve
response times.
Delimiter 1 and 2
Setting Options: Enable, 0 to FF
Default: Disable
Description: Controls data packing using special delimiter
character(s).
Serial data accumulates in the device port's buffer until the delimiter
character(s) are received, after which the data is packed for
network transmission. If only one delimiter character is needed, be
sure to enable Delimiter 1 only. If both Delimiter 1 and 2 are
enabled, both characters must be received in sequence for data
packing to occur. For example, the carriage return character could
be used as a delimiter in order to transmit each sentence or
paragraph in a separate packet. Data is packed according to the
Delimiter process parameter.
Delimiters must be incorporated into the data stream at the
software or device level.
Delimiter process
Setting Options: Do Nothing, Delimiter + 1, Delimiter + 2, Strip
Delimiter
Default: Do Nothing
Description: Controls how data is packed when delimiter characters
are received. Note that this field has no effect if delimiters are not
enabled (see Delimiters 1 and 2).
"Do nothing" will pack the accumulated data including delimiters.
"Delimiter + 1" will wait for an additional character before packing
the accumulated data.
"Delimiter + 2" will wait for two additional characters before packing
the accumulated data.
"Strip Delimiter" will pack the accumulated data but will not include
the delimiter characters in the packet.
73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents