Np301 User Manual
Np301 User Manual
Np301 User Manual
User Manual
Document Version: 04
Issue Date: 10/30/2020
Trademark statement
Notes
Purchased product, service or features should be constrained by 3ondedata commercial contracts and
clauses. The whole or part product, service or features described in this document may beyond
purchasing or using range. 3onedata won't make any statement or warranty for this document content
unless any other appointment exists.
Due to product version upgrading or other reason, this document content will be upgraded periodically.
Unless other appointment exists, this document only for usage guide, all statement, information and
suggestion in this document won't constitute any warranty.
3onedata Co., Ltd.
3/B, Zone 1, Baiwangxin High Technology Industrial park, Nanshan
Headquarter address:
District, Shenzhen, 518108 China
Technology support: [email protected]
Service hotline: +86-400-880-4496
E-mail: [email protected]
Fax: +86-0755-26703485
Website: http://www.3onedata.com http://www.3onedata.com
NP Series Serial Server User Manual
Preface
The screenshot reference model for this manual is NP302T-2D(RS-485). Other types of
products in addition t/o the supported serial type (RS-232, RS-422, RS-485), and the
number of network ports and the number of serial ports are different, the interface functions
and operation are the same.
Audience
This manual mainly suits for engineers as follows:
Network administrator responsible for network configuration and maintenance
On-site technical support and maintenance staff
Hardware engineer
Format Description
sections of this chapter, as well as links to the Principles
Operations Section of this chapter.
Symbols
Format Description
Remind the announcements in the operation, improper
operation may result in data loss or equipment damage.
Pay attention to the notes on the mark, improper operation
may cause personal injury.
Make a necessary supplementary instruction for operation
description.
Configuration, operation, or tips for device usage.
Revision Record
Version No. Revision Date Revision Description
01 2017-06-09 Manual development
02 2017-10-10 Add Password Verification
Function
03 2018-08-28 Change screenshots
04 2020-10-30 Upgrade
Content
PREFACE....................................................................................................................................... 1
CONTENT ....................................................................................................................................... I
THE FIRST PART: OPERATION .................................................................................................... 1
1 LOG IN THE WEB INTERFACE .................................................................................................. 1
WEB BROWSING SYSTEM REQUIREMENTS ....................................................................... 1
SET THE IP ADDRESS OF THE COMPUTER ......................................................................... 1
LOG IN THE WEB CONFIGURATION INTERFACE ................................................................... 3
WEB OVERTIME PROCESSING .......................................................................................... 3
2 EQUIPMENT INFORMATION...................................................................................................... 5
3 NETWORK SETTING .................................................................................................................. 7
4 SERIAL SERVER ...................................................................................................................... 10
COM SETTINGS ............................................................................................................. 10
SERIAL PORT INFORMATION ............................................................................................ 13
MODE SETTING............................................................................................................... 14
4.3.1 RealCom Mode............................................................................................................ 15
4.3.2 TCP Server Mode ........................................................................................................ 18
4.3.3 TCP Client Mode ......................................................................................................... 22
4.3.4 UDP Server Mode ....................................................................................................... 26
4.3.5 UDP Client Mode ......................................................................................................... 29
4.3.6 Pair Slave & Master Mode ........................................................................................... 31
4.3.7 UDP Rang Mode ......................................................................................................... 33
4.3.8 UDP Multicast Mode .................................................................................................... 35
CAN MODE INFORMATION .............................................................................................. 37
REBOOT PORT ............................................................................................................... 38
5 STATE MONITOR ...................................................................................................................... 40
NETWORK CONNECTION STATE ....................................................................................... 40
COM STATE ................................................................................................................... 41
Before remote configuration, please make sure the route between computer and
switch is reachable.
Before making a local configuration, make sure that the IP address of the
computer and the serial server are on the same subnet.
Notes:
When the serial server is first configured. If it is configured locally, make sure the current
computer network segment is 1.
Eg: Assume that the IP address of the current PC is 192.168.5.60, change the
network segment "5" of the IP address to "1".
Operation Steps
Operation Steps
Note:
The default username and password for the serial server are "admin", which is strictly
case-sensitive when typing.
Default user account has the administrator privileges.
Webserver will provide 3 times opportunities to enter username and password. If user
enters the error information for 3 times, the browser will display "Access denied" to
reject access message. Refresh the page and try again.
Step 5 Click “OK”
Step 6 End.
After login in successfully, user can configure relative parameters and information
according to demands.
Note:
After logging in to the device, you can modify the IP address of the serial server for ease of use.
When the user does not operate for more than 300 seconds in the Web interface, the
system will do the timeout processing:
Reserve the configuration this login conduct;
Cancel this login.
Notes:
After the system overtime, please login in again if post operation needs to be conducted
on the Web interface.
2 Equipment Information
Function Description
Check the device name, model, description, serial NO., hardware ver, firmware ver
and other information on the "Overview" page.
Operation Path
Interface Description
3 Network Setting
Function Description
Operation Path
Interface Description
The dual-port device displays the "Lan1" and "Lan2" columns. The single-port device
displays only the "Lan1" column.
4 Serial Server
COM Settings
Function Description
On the “COM settings” page, you can configure basic parameters such as baud rate,
data bit, stop bit and parity bit corresponding to the serial port number. You can also
configure whether the corresponding serial number is enabled for FIFO function, RTS
control, DTR control and Packing length and other advanced parameter information.
Operation Path
Interface Description
"Work mode" is corresponding to the model, there are RS232, RS485, RS422 options.
If there are no matching characters, the data will be sent when the serial data cache is
full of 1460 bytes.
Function Description
On the "COM Information" page, user can view parameter information such as serial
number, alias, baud rate, data bit, stop bit, parity bit and flow control.
Operation Path
Interface Description
Mode setting
Function Description
On the “COM Mode Settings” page, you can configure the operating mode of the
device's serial port number.
The serial server supports the working modes such as: RealCom mode, TCP server
mode, TCP client mode, UDP server mode, UDP client mode, Pair mode, UDP rang
mode, and UDP multicast mode.
Operation Path
In RealCom mode, the serial port server and Windows / Linux operating system with
the RealCOM drive work cooperatively. RealCom COM / TTY driver establishes a
transparent network transmission connection between the host and the serial device
in the operating system. Map the serial port of the serial port server to the local
COM/TTY device of the host according to the user configured serial server IP
address and serial port number and other parameters. The original serial device
software or communication module without modification can be used directly without
modification.
The RealCom driver gets the data be sent to the local COM / TTY device of the host,
then sends it over Ethernet in the form of TCP / IP packet. At the other end of the
transparent transmission, the serial server will receive the TCP / IP packet and
analyse the packet, and after unpacking send the original data to the serial device
through the corresponding serial port, and vice versa.
Interface Description
When the maximum number of connections is greater than 1, set the parameters to be
consistent when multiple hosts are connected to the same serial port, otherwise it will
cause communication error.
The communication parameters of the real serial port will automatically change
according to the communication parameters of the virtual serial port. You can view the
real-time communication parameters of the serial port through "COM parameter" option
In the TCP server mode, the serial device server is assigned an IP port number,
passive waiting for the host connection. When the host initiates a connection request
and establishes a connection with the serial device server, the host can realize
bidirectional transparent data transmission through the network connection and the
serial port. The TCP server mode supports up to four session connections
simultaneously, allowing multiple hosts to simultaneously read or send Ethernet data
to a serial device.
Interface Description
In the TCP client mode, the serial device server can automatically establish a
network connection with the host specified by the user when the serial data arrives.
When the data transmission is completed, the serial server will automatically shut
down the network connection according to the parameters such as TCP alive time
and TCP idle timeout time. Similarly, TCP client mode can support up to four session
connections at the same time, so that multiple hosts can simultaneously read or send
Ethernet data to a serial device.
Interface Description
The TCP timeout takes effect only when "Disconnect control" is set to "idle".
In UDP server mode, the serial server through the UDP protocol and user-specified
host for serial data transmission. UDP mode serial device server can transfer data
from the serial device to one or more hosts, and the serial device server can also
receive data from one or more hosts. Compared with TCP mode, UDP protocol is
faster and more efficient.
Interface Description
The TCP timeout takes effect only when "Disconnect control" is set to "idle".
In UDP server mode, the serial server through the UDP protocol and user-specified
host for serial data transmission. UDP mode serial device server can transfer data
from the serial device to one or more hosts, and the serial device server can also
receive data from one or more hosts. Compared with TCP mode, UDP protocol is
faster and more efficient.
Interface Description
Pair mode requires two serial server devices to work together to break the serial data
transmission distance limit. The two serial servers in this mode establish a network
connection with each other via Ethernet and transparently transmit data from the
respective serial port to each other.
In the pair mode, two serial servers need to be used in pairs. One of the serial
servers for the slave mode, for the passive connection, listen to a designated port,
passively waiting for the connection. Another serial server is the master mode, and
the destination address is the IP address of the slave mode serial server, the
destination port is the listening port of the slave mode serial server.
Interface Description
When the routers and switches and other devices do not support multicast, but also
need to achieve the multicast function, you can make the serial server in UDP rang
mode. In this mode, the serial server through the UDP protocol with the user
specified the same network segment of the host advance serial data transmission, to
achieve point to multipoint data communication. UDP port mode serial device can
also receive data from one or more hosts.
Interface Description
Rang address only supports B class and C class IP address. The start addresses value and
end address value of the Rang address need to be the same network segment.
The start value of Rang address must be less than or equal to the end address value.
If you want to ensure the normal communication, because each IP consumption of 20ms,
address range to be as small as possible, the length of the package must not be 0, send
the data packet length and packet assemble length consistent, packet transmission
frequency can not be too fast.
In UDP multicast mode, the serial server can send unicast or multicast data of the
serial device to one or more hosts specified by the user through the UDP protocol,
and can also receive unicast or multicast data from one or more devices, enabling
multipoint-to-multipoint communication.
Interface Description
Function Description
On the "COM Mode Information" page, you can view the operating modes for each
serial port number.
Operation Path
Interface Description
Reboot Port
Function Description
On the “Reboot Port” page, you can reboot the corresponding serial port of the
device as needed.
Operation Path
Interface Description
The port restart will disconnect the corresponding serial port and Ethernet connection,
serial communication will also be interrupted, the transmission of communication data may
be lost.
5 State Monitor
Function Description
On the “Connect State” page, you can view the working mode and connection state
of the device's corresponding serial port number.
Operation Path
Interface Description
COM State
Function Description
On the "COM State" page, you can view the data transceiver state and pin state of
the corresponding serial port of the device.
Operation Path
Interface Description
Function Description
On the "Serial Port Error" page, user can check the error data count for the
corresponding serial port of the device.
Operation Path
Interface Description
Function Description
On the “COM Parameter” page, you can view information about the port number,
baud rate, data bits, stop bits, parity bits, and flow control parameters for the device.
Operation Path
Interface Description
6 Access Control
Device Security
Function Description
User can enable or disable Web interface configuration, Telnet remote control,
network management software search device and update the software and hardware
function via Web interface or command line.
Operation Path
Interface Description
IP Address Filtering
Function Description
User can limit the ongoing access or connected host IP address and subnet mask via
setting access rules on the "IP Filter" page.
Operation Path
Interface Description
Function Description
On the "MAC Filter" page, user can restrict the host MAC address to access or
connect by setting access rules.
Operation Path
Interface Description
User Management
Function Description
On the "User Manage" page, user can configure the username, password and other
parameter information to login in the WEB configuration interface.
The serial server provides hierarchical management: Observer permissions and
administrator privileges. Observers only have the rights to view the status of the
serial server, and only the system administrator can configure the parameters of the
serial server.
Operation Path
Interface Description
Please keep in mind the revised user name and password, once forgetting, please conduct
restore default settings through the WEB interface, the default login WEB configuration
interface user name and password are "admin".
7 System Management
System information;
Function Description
On the “System Information” page, you can configure the device module, name,
description, serial number, and contact information.
Operation Path
Interface Description
File Management
Function Description
On the “System File” page, user can restore the factory settings, upload and
download the configuration file, and make a firmware upgrade.
Operation Path
Interface Description
In the process of configuration file upload or firmware upgrade, don't click or configure
other WEB page of serial server, or restart serial server; otherwise configuration file
uploading or firmware upgrading will fail, which will cause serial server system
breakdown and other scenes.
Load factory default will cause all device status to be the factory status, default IP
address is "192.168.1.254".
System restart
Function Description
On the “Logout & Reboot” page, you can log off and reboot the serial server system.
Operation Path
Interface Description
RealCom Mode
Background introduction
Assume that the IP address of the serial server is: 192.168.1.250; COM1 is a real
serial port, need to establish a connection with the virtual serial port COM2 in the
management software VSP Manager.
The serial port information is as follows:
Baud rate: 115200
Parity bit: None
Data bit: 8
Stop bit: 1
Operation Steps
Step 4 Run "VSP Manager" software, configure the virtual serial port COM2.
After the completion of the above configuration, between the real serial port COM1
and virtual COM2 connection can be successfully established to send data to each
other.
Step 5 Run the "ComTest3One" software, test the real serial port COM1 and virtual COM2
communicate with each other.
Background introduction
Assuming that the serial port "COM1" of the serial server is operating in the "TCP
server mode", passively waiting for one host PC to connect, and the host can read or
send Ethernet data to a serial device.
The parameters of the serial server (TCP server) are as follows:
IP Address: 192.168.1.250
Local Port: 30000
Baud rate: 115200
Parity bit: None
Data bit: 8
Stop bit: 1
Host PC (TCP client mode) parameter information as follow:
IP address: 192.168.1.61
Operation Steps
Step 4 Run "3onedata Debugging Assistant" software to create TCP client for the host.
Step 5 Synchronize the operation of the "ComTest3One" and "DebugTool" software, test the
serial server (TCP server) and the host PC (TCP client) to communicate with each
other.
Background introduction
Assuming that the serial port "COM1" of the serial server is working in "TCP client
mode", it initiates a connection with a host PC, and the host can read or send
Ethernet data to a serial device.
When the data transfer is completed, the serial server will automatically shut down
the network connection after 30 seconds.
The parameters of the serial server (TCP client) are as follows:
IP Address: 192.168.1.250
Local Port: 30000
Baud rate: 115200
Parity bit: None
Data bit: 8
Stop bit: 1
Host PC (TCP server mode) parameter information as follow:
IP address: 192.168.1.61
Local Port:31000
Operation Steps
Step 4 Run the "DebugTool" software, for the host to create TCP server.
Step 5 Simultaneous operation of the "DebugTool" and "ComTest3One" software, test the
serial server (TCP client) and the host PC (TCP server) to communicate with each
other.
Background introduction
Assuming that the serial port "COM1" of the serial server is operating under "UDP
server mode", passively waiting for one host PC to connect, and the host can read or
send Ethernet data to a serial device. Compared with TCP mode, UDP protocol is
faster and more efficient.
The parameters of the serial server (UDP server) are as follows:
IP Address: 192.168.1.250
Local Port: 30000
Baud rate: 115200
Parity bit: None
Data bit: 8
Stop bit: 1
Host PC (UDP client mode) parameter information as follow:
IP address: 192.168.1.61
Local Port:31000
Operation Steps
Step 4 Run "3onedata Debugging Assistant" software to create Udp client for the host.
UDP (User Datagram Protocol), it's a connectionless protocol. Therefore, after successfully
creating UdpClient connection, user doesn't need to click "Start".
Step 5 Simultaneous operation of the "DebugTool" and "ComTest3One" software, test the
serial server (UDP server) and the host PC (UDP client) to communicate with each
other.
Background introduction
Assuming that the serial port "COM1" of the serial server works in the "UDP client
mode", it initiates a connection with a host PC, and the host can read or send
Ethernet data to a serial device. Compared with TCP mode, UDP protocol is faster
and more efficient.
The parameters of the serial server (UDP client) are as follows:
IP Address: 192.168.1.250
Local Port: 30000
Baud rate: 115200
Parity bit: None
Data bit: 8
Stop bit: 1
Host PC (UDP server mode) parameter information as follow:
IP address: 192.168.1.61
Local Port:31000
Operation Steps
Step 4 Run "3onedata Debugging Assistant" software to create UDP server for the host.
Background introduction
Pair mode requires two serial server devices to work together to break the serial data
transmission distance limit. The two serial servers in this mode establish a network
connection with each other via Ethernet and transparently transmit data from the
respective serial port to each other.
Assume that serial device server A uses pair slave mode to passively wait for a
connection.
The serial device server B uses the pair master mode to actively connect the serial
device server A.
The serial port that serial server A and serial port B connect with the computer is
“COM1”.
The "dest address" of the serial server B is the IP address "192.168.1.254" of the
serial server A. The “dest port” of the serial server B is the listening port "30000" of
the serial server A.
Step 2 Log in to the Web configuration interface and select "Serial Server> COM Mode
Settings".
Step 3 Select “COM1” from the serial port number drop-down list box.
Step 4 Enter "30000" in the "Listen port" text box.
Step 5 Other parameters remain the default, click “Submit”.
Step 1 Log in to the Web configuration interface and select "Serial Server> COM Mode
Settings".
Step 2 Select “COM1” from the serial port number drop-down list box.
Step 3 Click the “Work Mode” drop-down list box and select “Pair Master Mode”.
Step 4 Enter the IP address "192.168.1.254" of the serial device server A in the "Dest
Address" text box.
Step 5 Enter the listen port "30000" of the serial device server A in the "Dest Port" text box.
Step 6 Other parameters maintain the default, click "Submit".
After the completion of the above configuration, serial server A and serial server B
establish connection successfully, and they can send and receive serial data from
each other.
Background introduction
When the router, switch and other devices do not support multicast function, the
serial device server can work in the UDP Rang mode to achieve multicast function.
Assuming that the serial port COM1 of the serial device server is connected to the
host computer, it needs to transmit the serial data to two hosts that specify the same
network segment "192.168.1.61" to "192.168.1.62" through the UDP protocol at the
same time.
The parameters of the serial server (UDP server) are as follows:
IP Address: 192.168.1.250
Local Port: 30000
Operation Steps
Step 4 Run "3onedata Debugging Assistant" software on the host A to create Udp client A.
Step 5 Run "3onedata Debugging Assistant" software on the host B to create Udp client B.
Step 6 Simultaneous operation of the "DebugTool" and "ComTest3One" software, test the
serial server, host A and host A to communicate with each other.
Background introduction
It's assumed that serial server IP address is "192.168.1.250", user needs to add the
serial server to the multicast address "239.0.0.0". So that the serial server through
the UDP protocol can make the serial device data through unicast or multicast sent to
one or more hosts, but also can receive from one or more host unicast or multicast
data, complete multipoint-to-multipoint communication.
The parameters of the serial server are as follows:
IP Address: 192.168.1.250
Local Port: 30000
Baud rate: 115200
Parity bit: None
Data bit: 8
Stop bit: 1
Host PC parameter information as follow:
IP address: 192.168.1.61
Local Port:31000
Operation Steps
Step 4 Run "3onedata Debugging Assistant" software to create UDP multicast for the host.
Step 5 Simultaneous operation of the "DebugTool" and "ComTest3One" software, test the
serial server and the host PC to communicate with each other.
9 FAQ
Sign in Problems
Configuration Problem
1. Use TCP Socket to connect the serial port server to the access control
machine to debug communication, and found that the normal
communication unavailable?
Fault detection:
- The IP address and port number may not be configured correctly.
- The serial port parameters may not be configured correctly.
- RS-485 wiring may be abnormal.
Problem solving: found that the parity bit error, none parity modified to mark
parity, communication is normal.
2. The serial port server could not communicate normally. It found that there
was a command, but the data from the serial port server was wrong?
Fault detection:
Older version of VSP Manager's Realcom function to receive code algorithm
exception, resulting in the serial server to open the WEB function and VSP
Manager open Realcom function, the serial port to send and receive data are
wrong.
Problem Solving: After upgrading the VSP management software, the
communication is normal.
3. PC with straight-through cable directly connected to the serial server, Ping
test packet loss?
Check whether the Ethernet port of the serial server is damaged, if it has been
damaged, it will cause Ping test packet loss.
4. Serial server and computer use network cable connection, the local
connection will appear "!" exclamation mark (that is, local connection is
limited)?
Fault detection:
- MAC address aging.
- The computer and the serial server are not on the same network segment.
Problem Solving: After a period of time to see whether the local connection "!"
Exclamation mark or the computer and serial server can be changed to the
same network segment.
5. Serial server link LED does not light?
Fault detection:
- The serial server is not powered on.
number of the remote virtual serial device and the serial server are
consistent.
8. Test the serial server with test software found garbled?
Fault detection: serial port parameters do not match, for no reason to open
Realcom function.
Problem Solving:
- Confirm the communication environment (whether there is a strong
magnetic field around), check whether the communication line is in good
contact, and whether the quality of the communication line is OK.
- Verify that the serial parameters of the test software, serial server, and
serial device are matched.
- When creating a virtual serial port, select "RealCom Mode" for the working
mode in the WEB configuration interface of the serial server.
9. Why is the serial server disconnected after a period of connection?
- Equipment supply voltage instability. Troubleshooting: Check the power
supply wiring and supply voltage.
- Network status is unstable. Troubleshooting: Ping the IP address of the
serial server to view the network.
- TCP connection channel is occupied. Troubleshooting: Modify the serial
server's IP address and local port number.
- VSP driver software is modified. Troubleshooting: Install the high version
of the VSP driver software.
- The firewall caused the device to fail to connect. Troubleshooting: Turn off
the firewall and anti-virus software.
- Hardware problems. Troubleshooting: Replace the computer, network
cable, serial server.
- Upper software caused. Troubleshooting: restart the upper software, re-
establish the connection.
10. Modify the MAC address of the serial server to affect the communication?
If the MAC address is not a broadcast or multicast address, it will not affect the
communication. In the WEB configuration interface of the serial server, MAC
address modification is not supported. It is recommended that you do not modify
the MAC address.
11. Can a serial server support multiple computer communication?
18. How many RS-485 terminal nodes can the RS-485 port of the serial server
support?
The conventional serial server supports 32 devices and can also customize
64,128 nodes.
19. After configuring the serial server parameters, found that these parameters
can not be saved?
- Display problem of browser. Troubleshooting: Replace the browser to view
or replace the host.
- System software problems. Troubleshooting: Restore factory settings.
- Product chip problems. Troubleshooting: Depot Repair.
20. Can the serial server be used in pairs?
Yes, one device works as TCP Server, and the other one works as TCP Client.
They are connected by network cable.
21. Serial server RS-485 interface connecting attendance machines and
vending machines, only one IP address will have an impact on the data?
The data will not be affected, because the RS485 device address code and
machine number are not the same.
22. When the serial server is creating a virtual serial port, causing the
computer blue screen crash?
Usually the driver causes the computer blue screen crash, troubleshooting
method:
- Replace to the higher version of the driver.
- Turn off the firewall, exit antivirus software.
23. Can the baud rate of the serial server support 921.6k?
No; serial port server support baud rate: 300 ~ 115200bps, but can be achieved
through customization.
24. Just bought the serial to Ethernet converter (serial server), how should I
debug the device used?
The live environment is as follows: Do not cross the gateway (the device is under
the same gateway as the monitoring host).
RS-232/485/422
- Will be connected to the same serial port with the host LAN (with the
network segment, with the Vlan, with the broadcast domain), use the
management software to search the device, view the device IP address.
- In the management software, modify the device IP and host IP to the same
network segment. Refer to the CD-ROM documentation and configure the
parameters at both ends of the communication (virtual serial port / serial
port server).
- Access terminal serial equipment (attendance, access control, etc.), the
use of data acquisition and management software to test whether the
normal communication connection.