Chengdu Ebyte Electronic Technology Co.,Ltd.
NT1-B_User_Manual
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
13
4.2.3 Domain Name Resolution (DNS)
Domain name resolution translates domain names into network-recognized IP addresses through Domain
Name Resolution (DNS) servers. The domain name resolution (DNS) server address of the serial port server
supports user definition, and can realize domain name resolution through a custom domain name resolution server
in the event of an abnormal domain name server. The device will report the resolution to the custom domain name
resolution (DNS) server during domain name resolution. Request, return the device connection parameters (usually
the IP address) after the parsing is completed.
In DHCP mode, the domain name resolution (DNS) server address is automatically obtained (synchronized
with the router's domain name resolution address) and cannot be modified.
In static IP mode, the factory default address of the Domain Name Resolution (DNS) server is
114.114.114.114.
4.2.4 Restore factory settings
Press and hold the Reload pin of the device until the LED indicator lights up to release the key.
4.3 Socket function
4.3.1 TCP server mode
TCP Server is the TCP server. In TCP Server mode, the device listens to the local port, accepts the client's
connection request and establishes a connection for data communication. When the Modbus gateway function is
turned off, the device sends the data received by the serial port to all client devices that establish connections with
the device, and supports connecting up to 6 clients. After the Modbus gateway function is enabled, the non-Modbus
data will be cleared and not forwarded.
Typically used for communication with TCP clients within a local area network.
4.3.2 TCP Client Mode
TCP Client is the TCP client. When the device is working, it will actively initiate a connection request to the
server and establish a connection to realize the interaction between serial port data and server data.
To use the client, you need to configure the target IP address/domain name and target port accurately.
4.3.3 UDP Server Mode
UDP Server means that the device does not verify the IP address of the data source when communicating with
the UDP protocol. After receiving a UDP data packet, it saves the source IP address and source port of the data
packet, and sets it as the destination IP and port, so The data sent by the device only sends data packets to the
source IP address and port where the device received data last time .