User`s manual

NPort 6000 Series User’s Manual Configuring Serial Port Operation Modes
7-10
Secure (default=No): If you select Ye s , data sent through the Ethernet will be encrypted with SSL.
TCP port (default=4001): This is the TCP port number assignment for the serial port on the NPort
6000. It is the port number that the serial port uses to listen to connections, and that other devices
must use to contact the serial port. To avoid conflicts with well known TCP ports, the default is set
to 4001.
Command port (default=966): The Command port is the TCP port for listening to SSDK
commands from the host. In order to prevent a TCP port conflict with other applications, the user
can set the Command port to another port if needed.
Connection goes down (default=always high): You can configure what happens to the RTS and
DTR signals when the Ethernet connection goes down. For some applications, serial devices need
to know the Ethernet link status through RTS or DTR signals sent through the serial port. Use goes
low if you want the RTS and DTR signal to change their state to low when the Ethernet connection
goes down. Use always high if you do not want the Ethernet connection status to affect the RTS or
DTR signals.
Response timeout (default=0 ms): This field specifies how long the NPort 6000 will wait for
response data through the serial port before sending the next command. The NPort 6000 sends the
next command if there is no response through the serial port for the time specified by the Response
timeout. If this field is set to 0, the Response timeout is essentially infinite, and the NPort 6000
will wait until the pre-command request is received to send the next command.
Non-requested serial data (default=discard):
Specifies how the NPort will handle data that is received from a serial device that is not in
response to a command. The NPort can either discard such data, forward the data to the network
host that sent the most recent request, or forward the data to all open host connections.
y Discard: Discard the data
y Forward to last requester: Forward non-requested serial data to last requester connection
y Forward to all open connections: Forward non-requested serial data to all open connections
Packet length (default=0): The Packet length setting refers to the maximum amount of data that is
allowed to accumulate in the serial port buffer before sending. At the default of 0 for packet length,
no maximum amount is specified and data in the buffer will be sent as specified by the delimiter
settings or when the buffer is full. When a packet length between 1 and 1024 bytes is specified,
data in the buffer will be sent as soon it reaches the specified length.
Delimiter 1 and Delimiter 2 (default=None): When Delimiter 1 is enabled, the serial port will
clear the buffer and send the data to the Ethernet port when a specific character, entered in hex
format, is received. A second delimiter character may be enabled and specified in the Delimiter 2
field, so that both characters act as the delimiter to indicate when data should be sent.
ATTENTION
In order to enable a delimiter, packet length must be set to 0. Delimiter 2 should only be enabled
in conjunction with Delimiter 1 and never on its own; otherwise there may be data errors. Even
when a delimiter is enabled, the NPort 6000 will still pack and send the data when the amount of
data exceeds 1 KB.