User's Manual
NPort W2150A/W2250A Series Web Console: Serial Port Settings
8-8
TCP port
Default 4001
Options
Description This field specifies the TCP port number that the serial port will use to listen to
connections, and that other devices must use to contact the serial port.
Packet length
Default 0
Options 0 to 1024
Description This field specifies the maximum amount of data that is allowed to accumulate in the serial
port buffer before sending.
0: Packet length is disregarded and data in the buffer will be sent as specified by the
delimiter settings or when the buffer is full.
1 to 1024: Data in the buffer will be sent as soon it reaches the specified length.
Delimiter 1 and 2
Default Disabled
Options Disabled, Enabled, 00 to FF
Description These fields are used to define special delimiter character(s) for data packing. Enable
Delimiter 1 to control data packing with a single character; enable both Delimiter 1 and 2
to control data packing with two characters received in sequence.
When these fields are enabled, serial data will accumulate in the serial port’s buffer until
the buffer is full or until the specified delimiter character(s) are received. 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 will be packed according to Delimiter process.
Delimiters must be incorporated into the data stream at the software or device level.
Delimiter process
Default Do Nothing
Options Do Nothing, Delimiter + 1, Delimiter + 2, Strip Delimiter
Description This field specifies how data is packed when delimiter characters are received. This field
has no effect if Delimiter 1 is not enabled.
Do nothing: Data accumulated in the serial port’s buffer will be packed, including
delimiters.
Delimiter + 1: One additional character must be received before the data in the serial
port’s buffer is packed.
Delimiter + 2: Two additional characters must be received before the data in the serial
port’s buffer is packed.
Strip Delimiter: Data accumulated in the serial port’s buffer will be packed, but the
delimiter character(s) will be stripped from the data.