background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

NT1-B_User_Manual

Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.

21

4.4.6 Cache cleaning function

The device is in the client mode. When the TCP connection is not established, the data received by the serial

port will be placed in the buffer area. The serial port receiving buffer is 1024 bytes, and the data larger than 1024
bytes will cover the earliest received data. After the network connection is successful, you can Select to clear the
serial port cache or send the cache through the network through configuration.

Enable: The device does not save the data received by the serial port before the connection is established.
Disabled: After the connection is established, the network will receive the serial buffered data.

4.4.7 Network disconnection and reconnection

In client mode, after the device is disconnected from the network, it will try to actively connect to the server at

the specified time. If the request times out and the set number of reconnections has not been successfully
reconnected, the device will restart to prevent the device from disconnecting from the network. Unable to restore
connection. Disconnection and reconnection time: The time interval between each attempt of the device to
re-establish the network. Number of reconnections: The number of times the device tries to re-establish the network,
and the cumulative number of requests reaches the preset value. If the connection is not successful, the device will
automatically restart. The actual restart time is the network disconnection reconnection period multiplied by the
number of reconnections. It is recommended to use the factory default parameters without special requirements.

4.4.8 Remote upgrade

In order to facilitate later maintenance and upgrade functions and to replace different firmware, the serial

server (NA11x series, NB114, NS1, NT1, etc.) supports online upgrade, and users can upgrade or replace the
current firmware through the upgrade firmware provided by our company through the host computer.

Network upgrade firmware operation steps:
Step 1: Open the host computer, open the device upgrade assistant in the menu bar, and select the required

firmware (The official website only provides the latest firmware, please refer to "Firmware Instructions" for
details);

Step 2: Click to search for devices, and click to stop searching after finding the device;

Содержание NT1-B

Страница 1: ...Chengdu Ebyte Electronic Technology Co Ltd NT1 B_User_Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 1 NT1 B User Manual Serial Ethernet Serial Server ...

Страница 2: ... basic functions 10 4 2 1 Web page configuration 10 4 2 2 Subnet mask IP address 12 4 2 3 Domain Name Resolution DNS 13 4 2 4 Restore factory settings 13 4 3 Socket function 13 4 3 1 TCP server mode 13 4 3 2 TCP Client Mode 13 4 3 3 UDP Server Mode 13 4 3 4 UDP Client Mode 14 4 3 5 HTTP Client Mode 14 4 3 6 MQTT Client mode 16 4 4 Advanced Features 19 4 4 1 Random native port 19 4 4 2 Heartbeat Pa...

Страница 3: ...2 Chengdu Ebyte Electronic Technology Co Ltd II 4 5 4 Storage Gateway 24 4 5 5 Configurable Gateway 24 4 5 6 Automatic upload 25 5 Configuration Mode 27 5 1 Web Settings 27 5 2 Configuration tool software settings 27 5 3 AT command configuration 27 Revision history 28 About us 28 ...

Страница 4: ... is given including but not limited with respect to the accuracy correctness reliability and fitness for a particular purpose of the information This document may be revised by EBYTE at any time For most recent documents visit www ebyte com Note The contents of this manual are subject to change due to product version upgrades or other reasons Chengdu Ebyte Electronic Technology Co Ltd reserves the...

Страница 5: ...s Support multiple baud rates Support multiple check None Odd Even Mark Space Support multiple serial flow control configurations NONE CTS RTS DSR DTR XON XOFF Support DHCP function Support DNS domain name resolution and custom domain name resolution server Support multiple Modbus gateways simple protocol conversion multi host mode storage gateway configurable gateway etc Supports quick access to ...

Страница 6: ... as device you need to prepare network cables computers USB to serial converters and other related accessories details as follows NT1 B Cable Computer USB to TLL E15 USB T2 Dupont Line 2 2 Device wiring Step 1 Connect the USB to serial port to provide power for the device and serial port data conversion the TXD of the conversion tool is connected to the RXD of the device the RXD of the conversion ...

Страница 7: ...related problems in the actual application process Check the computer settings first 1 Turn off the firewall and anti virus software of the computer 2 Configure the network card connected to the device 3 In this case the PC is directly connected to the computer and the static IP of the computer needs to be configured The static IP of the computer refer to the PC direct connection configuration or ...

Страница 8: ...the device and perform the following operations to realize the transparent transmission test of data The operation steps are as follows 1 Open the test TCP IP debugging assistant software 2 Select the TCP client mode TCP Client in the Network Setting Area corresponding to the remote host address the default local IP of the device 192 168 3 7 The remote host port corresponds to the factory port 888...

Страница 9: ...the serial port assistant serial port side sends the test data and the network debugging assistant network side receives the test data The network debugging assistant network side sends test data and the serial port assistant serial port receives test data Realize duplex communication that is two way data sending and receiving from local to network ...

Страница 10: ...14 114 Configuration method Web pages configuration tools AT commands IP address Customizable default 192 168 3 7 local port Customizable default 8887 subnet mask Customizable default 255 255 255 0 gateway Customizable default 192 168 3 1 target IP Customizable default 192 168 3 3 destination port Customizable default 8888 Serial port cache 1024Byte Packaging mechanism 512 Byte Serial port baud ra...

Страница 11: ...l 9 TX_LED Serial output feedback Serial send indicator output default output high low output when data output continuous data output cycle 80ms low 20ms square wave signal 10 IO_RST Factory setting pins Recover factory pin need external reset button low level effective 11 LED1 Running feedback Run the LED and after the module is initialized the foot outputs a 5hz square wave 12 LED2 Link status f...

Страница 12: ...ds data and low output by default 17 RXD Serial signal input serial data entry data communication serial port Available for firmware upgrades 18 TXD Serial signal output serial data output data communication serial port can be used for firmware upgrades 19 RTS Flow control pin MODEM output signal requested to be sent 20 RUN Running lights Periodically flashes when the running indicator is working ...

Страница 13: ...heck modes None Odd Even Mark Space Flow Control NONE CTS RTS DSR DTR XON XOFF 4 2 Introduction to basic functions 4 2 1 Web page configuration The device has a built in web server which is convenient for users to set and query parameters through web pages The port of the web server can be customized 2 65535 default 80 Operation method Microsoft Edge version 94 0 992 50 is an example it is recomme...

Страница 14: ...ant parameters Step 3 Click Submit to save the configuration parameters after entering the correct key The factory default key is 123456 Step 4 The progress bar indicates the configuration progress Do not refresh the web page again after the configuration is completed refresh the web page to enter the configuration mode again you can restart the device or submit it again to enter the communication...

Страница 15: ...ement Disadvantages Different network segments in different LANs resulting in normal TCP UDP communication 2 Dynamic DHCP The main function of DHCP is to dynamically obtain the IP address gateway address DNS server address and other information from the gateway host thereby eliminating the tedious steps of setting the IP address It is suitable for scenarios where there is no requirement for IP and...

Страница 16: ...ket 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 connectin...

Страница 17: ...IP and destination port It is usually used in data transmission scenarios where there is no requirement for the packet loss rate the data packets are small and the transmission frequency is fast and the data is to be transmitted to the specified IP In UDP Client mode the device will only communicate with the configured target IP and target port remote UDP devices In this mode the target address is...

Страница 18: ...local network parameters and the HTTP server address and port You are advised to enable DHCP and random ports As shown in the figure below Above is the upper computer below is the web page Return standard HTTP frame data left image and only valid data right image Parameter configuration description as shown in the figure GET on POST is under ...

Страница 19: ...standard MQTT3 1 1 protocol servers OneNET Baidu Cloud Huawei Cloud user built and other server types and Alibaba Cloud servers supports service quality level configuration QoS 0 QoS 1 and supports super long text Configuration convenient and better access to network service operators server address three elements subscription and publishing addresses support up to 128 characters of configuration ...

Страница 20: ...te Electronic Technology Co Ltd 17 To use MQTT function advanced Settings such as short links should be turned off as shown in the figure below upper computer and webpage configuration as shown below 1 standard MQTT3 1 1 and Baidu Cloud and Huawei Cloud and OneNET Left software right web page ...

Страница 21: ...a topic for communication testing Select the corresponding product go to Custom Topic under the Topic class list for details please refer to the Alibaba Cloud documentation click Define Topic Class set the name to 1234 and grant publish and subscribe permissions for data return pass Configure the device connection parameters as shown in the following figure ProductKey a1GlhuTU1yN DeviceName DEV04 ...

Страница 22: ...when configuring the TCP client HTTP client and MQTT client modes 4 4 2 Heartbeat Packet Function In client mode users can choose to send heartbeat packets and set the time of heartbeat packets by themselves The heartbeat packet can be selected in two modes network heartbeat packet and serial port heartbeat packet It supports hexadecimal and ASCII transmission This heartbeat packet is not MQTT hea...

Страница 23: ...vice to the network is prepended with custom registration packet data EMBCSTM Custom registration package content maximum support 40 bytes ASCII data 20 bytes HEX data 4 4 4 Short connection function In client mode short network connection is supported this function is disabled by default TCP short connection is mainly used to save server resource overhead and is generally used in multi point mult...

Страница 24: ...the device from disconnecting from the network Unable to restore connection Disconnection and reconnection time The time interval between each attempt of the device to re establish the network Number of reconnections The number of times the device tries to re establish the network and the cumulative number of requests reaches the preset value If the connection is not successful the device will aut...

Страница 25: ...o be upgraded Step 4 Click to start the upgrade the device indicator flashes and wait for the upgrade to complete Note When the device is just powered on click Search Device in the upgrade assistant the device will enter the firmware burning state and it will return to normal mode after power off and restart 4 5 Modbus Gateway 4 5 1 Modbus RTU and Modbus TCP protocol conversion ...

Страница 26: ...t is working in there can only be one Modbus master station Simple protocol conversion configuration TCP server mode as an example the upper computer on the left web page on the right 4 5 3 Multi host mode There is only one Modbus master station for relatively simple protocol conversion while the multi master mode can handle up to 6 Modbus TCP masters One request is processed at a time while the m...

Страница 27: ...ts 2 The RTU response time out automatically clears the cache to ensure the real time and authenticity of the data 3 The polling interval can be customized 0 65535ms 4 The gateway will poll the RTU device according to the storage time of the instruction used for configuration If the MODBUS host does not query the instruction again during the storage time the gateway will automatically delete the s...

Страница 28: ...configuration Left picture software right picture web page 4 5 6 Automatic upload In client mode TCP client UDP client etc the gateway will automatically poll the instructions in the stored instruction table and upload it to the server and the feedback format Modbus RTU format or Modbus TCP format can be selected according to the requirements and the command polling interval 0 65535ms For instruct...

Страница 29: ...ngdu Ebyte Electronic Technology Co Ltd NT1 B_User_Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 26 TCP client demo Modbus RTU format on the left and Modbus TCP format on the right ...

Страница 30: ...mpatibility mode QQ browser compatibility mode and other browsers using IE core are not supported to use web page configuration 5 2 Configuration tool software settings Open the configuration tool software search for devices double click the identified device and the parameter query configuration interface will pop up You can customize and modify relevant parameters according to your needs then sa...

Страница 31: ...13 Content revision LZX 1 2 2022 02 12 Adapt to 9013 2 xx firmware LC 1 3 2022 07 29 Change manual illustration LC About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Phone 86 028 61399028 Web www ebyte com Address B5 Mould Park 199 Xiqu Ave High t...

Отзывы: