Ebyte NB183 User Manual
Ebyte NB183 User Manual

Ebyte NB183 User Manual

Eight serial port server

Advertisement

Quick Links

Chengdu Ebyte Electronic Technology Co.,Ltd.
NB183S&NB183_User Manual
NB183
Eight Serial Port Server User Manual
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
1

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte NB183

  • Page 1 Chengdu Ebyte Electronic Technology Co.,Ltd. NB183S&NB183_User Manual NB183 Eight Serial Port Server User Manual Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 2: Table Of Contents

    5.1 Heartbeat package and registration package ..........................25 5.1.1 Heartbeat Packet ..................................25 5.1.2 Registration Package .................................. 25 5.2 Short connection ....................................25 5.3 Serial port cache cleaning ................................. 26 5.4 Modbus Gateway ....................................26 5.4.1 Protocol Conversion ................................... 26 Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 3 5.4.4 Storage Gateway ..................................29 5.4.5 Configurable Gateway ................................30 5.4.6 Automatic upload ..................................31 5.5 Firmware Upgrade ....................................32 5.5.1 UDP upgrade ....................................32 5.5.2 Serial port upgrade ..................................33 Revision history ............................................35 About us ................................................. 35 Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 4: Disclaimer

    NB183S&NB183_User Manual Disclaimer EBYTE reserves all rights to this document and the information contained herein. Products, names, logos and designs described herein may in whole or in part be subject to intellectual property rights. Reproduction, use, modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited.
  • Page 5: Overview

    NB183S&NB183_User Manual 1. Overview The serial server series products independently developed by Ebyte integrate the TCP/IP protocol stack, which can realize two-way transparent transmission of data from serial port to Ethernet port, Modbus protocol conversion, serial port device cloud and other functions. The industrial design ensures the stability of the equipment in the harsh working environment, and the rich indicator light effects are used to feedback the different working states of the equipment.
  • Page 6: Quick Start

    Support firmware upgrade or firmware replacement by the host computer through UDP or serial port;  The isolated version supports 8-channel serial port independent hardware isolation(Supported only on NB183)  2. Quick Start 2.1 Hardware Preparation One notebook with RJ45 network port;...
  • Page 7: Software Preparation

    In order to enable users to quickly have a simple understanding of the serial port server, we use the default parameters of the serial port server to conduct data transparent transmission test. The default parameters of the NB183 serial server device are shown in the table below.
  • Page 8: Turn Off The Computer Firewall

    The inspection method is shown in the figure below. 2.3.3 Turn off the computer firewall If the communication is unsuccessful, the user can try to turn off the firewall of the computer and try again. Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 9: Open "Serial Debug Assistant

    Select the correct serial port number, configure the correct serial port parameters (115200-8N1), and open the serial port, as shown in the following figure: 2.3.5 Open Network Assistant Select "TCP Client" mode, configure the remote IP as "192.168.3.7", and configure the remote port as "8001" as shown in the following figure: Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 10: Send And Receive Data Test

    3. Product Overview 3.1 Technical parameters project interface explanation DC 8~28 V, can not input power at the same time; Power crimp terminal Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 11 198mm * 109mm * 26.5mm (length*width*height) Product Size product weight 518g ± 5g Working temperature and -40 to +85℃, 5% to 95%RH (non-condensing) humidity Storage temperature and -40 ~ +105℃, 5% ~ 95%RH (non-condensing) humidity Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 12: Interface Description

    3.81mm Phoenix Terminal RS485-1-B InterfaceB channel1-RS485 3.81mm Phoenix Terminal RS485-1-G InterfaceG channel2-RS485 3.81mm Phoenix Terminal RS485-2-A InterfaceA channel2-RS485 3.81mm Phoenix Terminal RS485-2-B InterfaceB channel2-RS485 3.81mm Phoenix Terminal RS485-2-G InterfaceG RS485-3-A channel3-RS485 3.81mm Phoenix Terminal Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 13 DC 8-28 V, 2*5.08mm phoenix terminal input; Positive pole of DC 8-28 V Do not supply power at the same time as the socket; DC 8-28 V; DC-IN DC power input In-line round hole, outer diameter 5.5mm, inner Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 14: Indicator Light Description

    Data sending and receiving indication: flashes when network or serial port sends and receives data; The link is not connected: the indicator light is off; Channel 3 Status PORT3 The link connection is successful: the indicator light is always Indicator on; Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 15 3. During the firmware burning operation, the other indicators except the power indicator flash in a cycle of 500ms until the upgrade is completed; Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 16: Dimensions

    Chengdu Ebyte Electronic Technology Co.,Ltd. NB183S&NB183_User Manual 3.4 Dimensions Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 17: Basic Functions

    4. Basic Functions 4.1 Correspondence between channel and serial port Baud rate: 2400, 4800, 9600, 14400, 19200, 38400, 57600, 76800, 115200bps; Data bits: only 8 bits are supported; Check digit: support no check (NONE), odd check (ODD), even check (EVEN); Hardware flow control: not supported Channel Serial Port...
  • Page 18: Hardware Reset To Factory

    IP. In UDP Client mode, the device will only communicate with the configured (target IP and target port) remote UDP Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 19: Http Client

    The HTTP request data should be less than the packet length (512 bytes), otherwise the device will divide the request data into multiple packets for request, resulting in abnormal request. Supports configuring whether to return HTTP protocol headers. The returned data is shown in the following figure: Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 20 Port: 80, the local port is recommended to use a random port), the specific configuration is shown in the following figure: The request data is "/", use the serial port assistant to get the webpage: Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 21: Mqtt Client

    Alibaba Cloud servers, supports QoS level configuration (QoS 0, QoS 1), 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, and Alibaba Cloud product key is 64 characters). Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 22 Due to the adjustment of the MQTT platform (Baidu Cloud, Huawei Cloud, OneNET), the connection cannot be made after filling in the parameters, and the platform rules shall prevail; Take the standard MQTT3.1.1 parameter filling as an example, as shown below: Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 23 Configure the device connection parameters, as shown in the following figure (the picture on the left is the host computer, and the picture on the right is the web page configuration): "ProductKey": "a1GlhuTU1yN", "DeviceName": "DEV04", "DeviceSecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxx" Alibaba Cloud server address: ProductKey.iot-as-mqtt.cn-shanghai.aliyuncs.com:1883 Topic for subscription and publication: /a1GlhuTU1yN/DEV04/user/1234 Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 24: Channel Ports

    Device fixed port (factory default use: 8001-8008), TCP server mode device listens to the configured port, accepts client connection request and establishes a connection for data communication, TCP client mode device fixed port initiates connection request. Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 25: Advanced Functions

    (this function is disabled by default). TCP short connection is mainly used to save server resource overhead, and is generally used in multi-point (multi-client)-to-point (server) scenarios. Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 26: Serial Port Cache Cleaning

    Ethernet Modbus data and serial port Modbus data. Simple protocol conversion can work in any mode (TCP client, TCP server, UDP client, UDP server, MQTT client). Host Mode". Simple protocol conversion configuration: Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 27 Chengdu Ebyte Electronic Technology Co.,Ltd. NB183S&NB183_User Manual Modbus Poll and Modbus Slave software debugging: Software connection settings: Software register read and emulation configuration: Poll menu select SetupRead/Write Definition Slave menu select Setup Slave Definition Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 28: Multi-Host Mode

    With the increase of the number of hosts, the Modbus timeout time should be increased accordingly. If multiple hosts are required to make continuous high-speed requests, it is recommended to use a "storage gateway", and it is recommended to configure "simple protocol conversion" when no multiple hosts are used. Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 29: Storage Gateway

    To a certain extent, the multi-host request processing capability of the gateway is improved, and the time consumed by the entire request process is also shortened. Users can customize the storage area command polling interval and command storage time according to their needs. Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 30: Configurable Gateway

    "Auto Upload". Due to the above features, the serial port side of the configurable gateway can only be connected to Modbus slaves. Instruction storage description (increase, instruction error and format error cannot be added): Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 31: Automatic Upload

    ) and the command polling interval (0-65535ms). For instruction pre-storage, refer to "Configurable Gateway - Instruction Storage Instructions", and automatically upload the upper computer/web page configuration: TCP client demo (Modbus RTU format): Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 32: Firmware Upgrade

    Step 2: Select the firmware to be used, which needs to be obtained from the "Related Downloads" of the corresponding product details on the official website (www.ebyte.com). The demo firmware is not provided on the official website. Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 33: Serial Port Upgrade

    Step 1: Make sure the device is powered off and connect serial port 1 correctly; Step 2: Open "Ebyte Network Configuration Tool", select "Serial Port Upgrade Assistant" under the "Menu" option, select the corresponding serial port and click "Open Serial Port";...
  • Page 34 (www.ebyte.com). The demo firmware is not provided on the official website; Step 4: Click "Start Upgrade", press and hold Reload of NB183 and then power on the device, wait for the firmware upgrade to complete, click "Cancel" to end the serial port upgrade;...
  • Page 35: Revision History

    About us Technical support: support@cdebyte.com Documents and RF Setting download link::https://www.cdebyte.com Thank you for using Ebyte products! Please contact us with any questions or suggestions: info@cdebyte.com ------------------------------------------------------------------------------------------------- Official hotline: 028-61399028 ext. 821 Web:https://www.cdebyte.com Address: B5 Mould Park, 199# Xiqu Ave, High-tech District, Sichuan, China...

Table of Contents