background image

Chengdu Ebyte Electronic Technology Co., Ltd.

NB114 User Manual

Copyright ©2012–2023

Chengdu Ebyte Electronic Technology Co., Ltd.

Step 3: In the pop-up "Device Network Upgrade Assistant" dialog box, click "Search

Device" (the computer and device should be in the same network segment), and click "Stop

Search" after finding the device;

Step 4: Click "Select Firmware", select the corresponding firmware, and then click

Содержание NB114

Страница 1: ...Chengdu Ebyte Electronic Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Serial Port Ethernet Serial Server NB114 ...

Страница 2: ...4 1 2 Domain name resolution DNS 16 4 1 3 Intranet access port 16 4 2 Network operation mode 17 4 2 1 TCP server mode 17 4 2 2 TCP client mode 17 4 2 3 UDP server mode 18 4 2 4 UDP client mode 18 4 2 5 HTTP client mode 19 4 2 6 MQTT client mode 24 4 3 Serial port parameters 33 4 4 Advanced parameters 33 4 4 1 Disconnection and reconnection function 33 4 4 2 Timeout restart function 34 4 4 3 Short ...

Страница 3: ...opyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 4 6 2 Restore factory settings 50 4 6 3 AT instruction configuration 50 4 6 4 Configuration tool software settings 50 4 6 5 Random native port 51 4 6 6 Remote upgrade 51 Revision History 57 About us 57 ...

Страница 4: ...TCP Server TCP Client UDP Server UDP Client HTTPC MQTTC Support configuration tools web pages and AT commands The server mode supports multiple socket connections Support multiple serial port protocols RS485 RS422 RS232 Support multiple baud rates Support DHCP function DNS domain name resolution is supported and the domain name resolution server can be customized Support multiple Modbus gateways s...

Страница 5: ...nic Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Support access to the Internet and LAN Support hardware restoration to factory settings Support online upgrade function ...

Страница 6: ...oduct class aspx 2 1 Preparation for use Before using the serial server hereinafter referred to as the device it is necessary to prepare the network cable computer USB to serial converter and other relevant auxiliary materials The details are as follows NB114 Network cable computer DC 12V switch power supply USB to RS485 Several cables Note This case uses RS485 interface for demonstration 2 2 Equi...

Страница 7: ...e orange indicator light of the equipment network interface is always on and the green indicator light is flashing 2 Use standard RS485 interface 4 3 81mm Phoenix terminal device 485 A is connected to A of USB to RS485 converter and device 485 B is connected to B of USB to RS485 converter please use standard RS485 twisted pair cable for a long distance otherwise normal communication may not be pos...

Страница 8: ... use RS485 RS422 and RS232 interfaces at the same time which may affect data transmission 2 3 Software settings 2 3 1 Network test environment To avoid server search failure and inability to open web pages and other related problems in the actual application process it is recommended to check the relevant settings of the computer first ...

Страница 9: ...nnected to the serial port server there is no router to assign and the computer cannot obtain the IP address The use of a switch or router needs to ensure that the equipment and the computer are on the same network end for example 192 168 3 xxx 4 The static IP of the computer is 192 168 3 4 the same network segment as the serial port server the subnet mask is 255 255 255 0 and the default gateway ...

Страница 10: ...ation steps are as follows 1 Open the test TCP IP debugging assistant software 2 Select TCP Client mode in the network setting area The remote host address corresponds to default local IP of the device 192 168 3 7 The remote host port corresponds to the factory local port 8887 of the device Click Connect 3 Wait for the computer to connect to the serial server After the connection is completed the ...

Страница 11: ...he serial port assistant serial port end sends the test data and the network debugging assistant network end receives the test data The network debugging assistant network side sends the test data and the serial port assistant serial port side receives the test data Realize duplex communication i e local to network two way data transmission and receiving ...

Страница 12: ...ification Product model product type Socket Number of connections Working mode working voltage Product size mm NS1 Chip module 6 way TCP Server TCP Client UDP Server UDP Client MQTT Client HTTP Client 3 0 5 5V DC 17 19 4 NT1 In line module 6 way 3 0 5 5V DC 35 22 30 NT1 B NA111 DTU 6 way 8 28V DC 110 66 30 NA111 A 85 265V AC NB114 DTU 6 way 8 28V DC 102 84 25 ...

Страница 13: ...tatic IP default DHCP DNS domain name resolution support Domain name resolution server 114 114 114 114 customizable collocation method Web page parameter configuration tool AT command IP address 192 168 3 7 customizable user name Admin customizable password Admin customizable Local Port 8887 customizable Subnet mask 255 255 255 0 customizable gateway 192 168 3 1 customizable Serial port cache 1024...

Страница 14: ...num ber name function explain 1 RS232 RS232 interface Standard DB9 RS 232 bus head wire sequence 2 485 A T RS485 RS422 interface A of RS 485 interface T sent by RS 422 3 485 B T RS485 RS422 interface B of RS 485 interface T sent by RS 422 4 R RS422 interface R R received by RS 422 5 R RS422 interface R RS 422 received R 6 PWR Power indicator Power on the red light is on Power off the light is off ...

Страница 15: ...No connection the light is off UDP mode is always on 9 DC IN DC bus power input DC 8 28V input do not input with Phoenix terminal at the same time 10 VCC DC power input 3 81mm Phoenix terminal DC 8 28V positive pole do not input DC head at the same time 11 GND DC power output 3 81mm Phoenix terminal DC 8 28V negative pole do not input DC head at the same time 12 Reload Restore factory key Press an...

Страница 16: ...Chengdu Ebyte Electronic Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 3 4 Mechanical dimensions ...

Страница 17: ...Chengdu Ebyte Electronic Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 3 5 Installation method The equipment is installed by locating holes ...

Страница 18: ...net segments in different LANs lead to the failure of normal TCP UDP communication 2 Dynamic DHCP DHCP is mainly used to dynamically obtain IP address gateway address DNS server address and other information from the gateway host thus eliminating the tedious steps of setting IP address It is applicable to scenarios where there is no requirement for IP and no requirement for one to one corresponden...

Страница 19: ...n It can achieve domain name resolution through the customized domain name resolution server in case of domain name server exception The device will report the resolution request to the customized domain name resolution DNS server during domain name resolution and return the device connection parameters generally IP address after the resolution is completed In DHCP mode the domain name resolution ...

Страница 20: ...s gateway function is turned off the device will send the data received by the serial port to all the client devices that have established a connection with the device At most it can connect 6 clients After the Modbus gateway function is enabled the non Modbus data will be cleared and will not be forwarded 4 2 2 TCP client mode TCP Client is the TCP client When the device works it will actively se...

Страница 21: ...ode the data sent by the network to the device should be less than 512Bit per packet otherwise it will cause data loss 4 2 4 UDP client mode UDP Client is a connectionless transport protocol that provides simple and unreliable transaction oriented information transmission services There is no connection establishment and disconnection You only need to configure the destination IP and destination p...

Страница 22: ...ameters such as URL Header and send packets by the device serial port server to realize the fast communication between the serial port device and the HTTP server The HTTP client mode is recommended to use the random port and open a short connection to save the HTTP server resources 1 GET Use the HTTP mode of OneNET multi protocol access to test the HTTP GET request of the device as shown in the fo...

Страница 23: ...Chengdu Ebyte Electronic Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 2 Return data configuration without header Data return test ...

Страница 24: ... User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 2 POST Use the HTTP mode of OneNET multi protocol access to test the HTTP POST request of the device as shown in the following figure 1 Return data configuration with header ...

Страница 25: ...Chengdu Ebyte Electronic Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Data return test ...

Страница 26: ...Chengdu Ebyte Electronic Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 2 Return data configuration without header ...

Страница 27: ...access standard MQTT3 1 protocol server OneNET Baidu Cloud Huawei Cloud user built and other server types and Alibaba Cloud server supports the quality of service level configuration Qos 0 Qos 1 supports the ultra long text configuration and facilitates better access to network service operators server address three elements subscription and publishing address support the configuration of up to 12...

Страница 28: ... Ltd characters 1 Standard MQTT3 1 1 Here the standard MQTT3 1 1 connection takes Tencent s standard MQTT3 1 1 server as an example The three elements described in the standard can be obtained from Tencent server as shown in the following figure Parameter configuration upper computer and web page is described as follows ...

Страница 29: ...hnology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Configure the corresponding subscription publishing address and use the platform online debugging to send data for communication test ...

Страница 30: ...n the three elements required to connect to Alibaba Cloud as shown in the figure Configure Topic for communication test Select the corresponding product select Custom Topic under the topic class list see Alibaba Cloud documentation for details click Define Topic Class configure the name as 1234 and grant publish and subscribe permissions for data retrieval Configure the device connection parameter...

Страница 31: ...ctronic Technology Co Ltd ProductKey a1GlhuTU1yN DeviceName DEV04 DeviceSecret xxxxxxxxxxxxxxxxxxxxxxxxxx Alibaba Cloud server address ProductKey iot as mqtt cn shanghai aliyuncs com 1883 Topic of subscription and publication a1GlhuTU1yN DEV04 user 1234 Alibaba Cloud MQTT platform communication test ...

Страница 32: ...byte Electronic Technology Co Ltd 3 Baidu Cloud Support the use of Baidu Cloud s three elements to directly connect to the server and obtain the three elements needed to connect to Baidu Cloud as shown in the figure Configure the device connection parameters as shown in the following figure ...

Страница 33: ...u Ebyte Electronic Technology Co Ltd Subscription and publishing require the establishment of a rule engine to achieve data retrieval First a message template needs to be established as shown in the following figure Create a rule engine for data retrieval as shown in the following figure ...

Страница 34: ...ule engine restart the device re subscribe and publish and the communication test is as follows 4 OneNET Support the use of OneNET three elements to directly connect to the server and obtain the three elements required to connect to OneNET as shown in the figure Configure the device connection parameters as shown in the following figure ...

Страница 35: ...ill in the device ID of OneNET User name fill in the product ID of OneNET Password fill in the device name MQTTS and the user defined key MQTT for multi protocol access OneNET supports automatic generation of topics with subscription and publication attributes Only the same address of subscription and publication is needed to realize data transmission Communication test ...

Страница 36: ...ing the serial port parameters keeping the serial port parameters consistent with the serial port parameters of the equipment connected to the serial port the normal operation of the communication can be guaranteed Stop bit range 1 and 2 can be set Flow control only NS1 and NT1 can be used 4 4 Advanced parameters 4 4 1 Disconnection and reconnection function In the client mode after the device is ...

Страница 37: ... the timeout restart function is turned on the timeout restart time setting parameter range is 60 65535 seconds 4 4 3 Short connection function In the client mode the network short connection is supported the function is turned off by default TCP short connection is mainly used to save server resource costs and is generally used in multi point multi client to one point server scenarios The TCP sho...

Страница 38: ...ess than 60s For example 120s is recommended in Alibaba Cloud manual Heartbeat packet sending mode 1 The default is to turn off heartbeat packet mode 2 Serial heartbeat packet The device sends heartbeat content to the serial bus according to the set heartbeat interval 3 Network interface heartbeat packet The device sends heartbeat content to the network interface bus according to the set heartbeat...

Страница 39: ...by the device to the network is preceded by the user defined registration packet data 4 5 Modbus gateway 4 5 1 Simple protocol conversion mode On the Modbus RTU protocol and Modbus TCP protocol are converted to each other and non Modbus data RTU TCP is discarded without conversion Off Modbus data is verified without protocol conversion and non Modbus data RTU TCP is discarded Simple protocol conve...

Страница 40: ...Chengdu Ebyte Electronic Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Modbus Poll and Modbus Slave software debugging Software connection settings ...

Страница 41: ...o Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Software register reading and simulation configuration Poll menu select Set up Read Write Definition Select Set up Slave Definition from the Slave menu ...

Страница 42: ... Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Communication demonstration 4 5 2 Multi host mode The multi host mode can handle up to 6 Modbus TCP hosts When multiple Modbus ...

Страница 43: ...at a time while the multi host mode will sort and process according to the TCP request sequence and other links will wait so as to solve the bus conflict problem currently only supports 6 host connection and only supports working in the TCP server mode The slave can only be on the serial port otherwise it cannot work normally It is recommended to configure it as simple protocol conversion when the...

Страница 44: ...gdu Ebyte Electronic Technology Co Ltd Modbus Poll and Modbus Slave software debugging Refer to Simple Protocol Conversion for software configuration and register configuration Start multiple Modbus Poll software at the same time for example 3 channels can be supported up to 6 channels ...

Страница 45: ...n different hosts request the same data the gateway does not need to query the register status of RTU device many times but directly returns the cached data in the storage area which greatly improves the multi host request processing capability of the gateway and also reduces the time consumed by the entire request process Users can customize the instruction polling interval and instruction storag...

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

Страница 47: ...igured MODBUS instruction only supports the configuration of MODBUS read instruction and the instruction in the non storage table will directly operate the RTU device The frequently read instructions can be stored in the gateway in advance to shorten the response time query the configured instructions Because of the above characteristics the serial port side of the configurable gateway can only co...

Страница 48: ... Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Instruction storage description add instruction error and format error cannot be added Instruction storage description delete ...

Страница 49: ...ient HTTP client the gateway will automatically poll the instructions in the storage instruction table and upload them to the server The feedback format Modbus RTU format or Modbus TCP format and the instruction polling interval 0 65535ms can be selected according to the demand Refer to Configurable Gateway Instruction Storage Description for instruction pre storage and automatically upload the up...

Страница 50: ...Chengdu Ebyte Electronic Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd TCP client presentation Modbus RTU format ...

Страница 51: ...resentation Modbus TCP format 4 6 Introduction to basic functions 4 6 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 Web server port can be customized 2 65535 default 80 Operation mode Microsoft Edge version 94 0 992 50 as an example Google Kernel ...

Страница 52: ...he local IP address can be queried through the AT command and configuration software Click Login the default account is admin and the default password is admin entered you can click Login directly The main interface pops up on the web page where you can query and set relevant parameters Click Submit to save the configuration parameters The progress bar prompts the configuration progress Do not ref...

Страница 53: ...arch for the device double click the identified device and the parameter query configuration interface will pop up Relevant parameters can be customized and modified as required and then the configuration can be saved and the equipment can be restarted to complete the parameter modification Note Do not use multiple upper computers in the same LAN environment The industrial control computer with mu...

Страница 54: ... to four incomplete waves It is recommended to use random port in client mode The device will automatically enable random ports when configuring TCP client HTTP client and MQTT client modes 4 6 6 Remote upgrade In order to facilitate later maintenance and upgrade functions and replace different firmware serial servers NA11x series NB114 NS1 NT1 etc support online upgrade Users can upgrade or repla...

Страница 55: ...ectronic Technology Co Ltd Step 3 In the pop up Device Network Upgrade Assistant dialog box click Search Device the computer and device should be in the same network segment and click Stop Search after finding the device Step 4 Click Select Firmware select the corresponding firmware and then click ...

Страница 56: ...hnology Co Ltd Open Step 5 Select the equipment to be upgraded click Upgrade the progress bar will start to change and wait for the upgrade to complete Operating steps for serial port firmware upgrade Step 1 download the upper computer and product firmware at the corresponding location on the official website ...

Страница 57: ... 2 Open the upper computer click Menu and select Serial port upgrade assistant Step 3 First connect the USB port of the computer select the corresponding port number in the pop up Serial Port Upgrade Assistant dialog box and click Open Serial Port Step 4 Click Select Firmware select the corresponding firmware and then click Open ...

Страница 58: ...y Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Step 5 Click Start upgrading the progress bar will start to change and wait for the upgrade to complete Note Power on again to trigger the upgrade ...

Страница 59: ...Chengdu Ebyte Electronic Technology Co Ltd NB114 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd ...

Страница 60: ... description Maintainer 1 0 2021 06 28 Initial version LC 1 3 2021 10 22 Product upgrade and content revision LC 1 4 2022 01 06 Adapt 9013 2 xx firmware LC 1 6 2022 12 26 Match 9013 2 13 firmware LL About us Sales hotline 4000 330 990 Company Phone 028 61399028 technical support support cdebyte com Official website www cdebyte com Company address Building B5 No 199 Xiqu Avenue West High tech Zone ...

Отзывы: