Ebyte NB144E User Manual

Ebyte NB144E User Manual

Four serial ports serial server

Advertisement

Quick Links

NB144E
Four Serial Ports
Serial Server
User manual
Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
1

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte NB144E

  • Page 1 NB144E Four Serial Ports Serial Server User manual Copyright ©2012,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 ..............................26 5.3 Serial buffer cleaning ............................26 5.4 Modbus gateway ..............................27 5.4.1 Simple Protocol Conversion ........................27 5.4.2 multi-host mode ............................29 Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 3 5.4.3 storage gateway ............................30 5.4.4 Configurable Gateway ..........................31 5.4.5 automatic upload ............................. 32 5.5 Firmware upgrade ...............................33 5.5.1 UDP upgrade ............................34 5.5.2 Serial upgrade ............................35 6 Revision history .................................37 Contact us ................................. 37 Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 4: Disclaimer And Copyright Notice

    Technology Co., Ltd. reserves the right to modify the contents of this manual without any notice or prompt. This manual is only used as a guide . Chengdu Ebyte Electronic Technology Co., Ltd. does its best to provide accurate information in this manual. However, Chengdu Ebyte Electronic Technology Co., Ltd. does not ensure that the contents of the manual are completely error-free.
  • Page 5: Introduction

    Chengdu Ebyte Electronic Technology Co., Ltd. NB144E User Manual 1 Introduction NB144E is a 4-way serial port server that supports POE power supply. It integrates the TCP/IP protocol stack inside, which can realize the two-way transparent transmission of data from the 4-way serial port to the Ethernet port. The device has the function of ModBus gateway, supports Modbus TCP to RTU, and supports automatic polling.
  • Page 6: Quick Start

    6.The specific preparation of hardware equipment is shown in the following: Ethernet cable NB144E DC 12V1A USB to RS45 wires [Note] This chapter only uses one RS485 interface for demonstration, and the other interfaces can use the corresponding USB converter. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 7: Software

    , and refer to " indicator light description "; 4. After confirming that there is no problem with the status, proceed to the next step of configuration; Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 8: Device Parameter Configuration

    1 15200 Serial parameters NONE/8/1/NONE Make sure that the computer IP and serial server IP are in the same network segment and cannot conflict. The inspection method is shown in the figure below. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 9: Turn Off The Computer Firewall

    If the communication is unsuccessful, the user can try to turn off the firewall on the computer and try again. 2.3.4 Open the "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 figure below: Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 10: Open Network Assistant

    Click the [Send] button on the " Network Debug Assistant " and " Serial Port Debug Assistant " respectively to realize the transparent transmission of network and serial port data, as shown in the figure below. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 11: Parameters

    1 98 x 108x26.5mm ( LxWxH ) _ _ product weight 5 30 g ± 5 g Working temperature -40 ~ +85℃, 5% ~ 95%RH (no condensation) and humidity storage temperature -40 ~ +105℃, 5% ~ 95%RH (no condensation) and humidity Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 12: Interface Description

    Standard DB9 female, 2 -TXD , 3 -RXD , 5- R S232-1 interface Serial port 1-RS422 RS422-1-R+ 3.81mm Phoenix terminal interface-R+ Serial port 1-RS422 RS422-1-R- 3.81mm Phoenix terminal interface-R- Serial port 1 ground 3.81mm Phoenix terminal Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 13 A Serial port 3-RS422 twenty interface-T- RS422-3-T-/B 3.81mm Phoenix terminal Serial port 3-RS485 interface B twenty Serial port 3 ground 3.81mm Phoenix terminal terminal twenty RS422-4-R+ Serial port 4-RS422 3.81mm Phoenix terminal Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 14 Connect to the power supply, light up; Not connected to the network cable: 1 00 ms on, 9 00 ms off, N ET Running lights flashing periodically; Connecting the network cable: 1s is a cycle of flashing; Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 15 3.During the firmware burning operation, all the indicators except the power indicator will flash at a cycle of 500 ms until the upgrade is completed; Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 16: Dimensions

    Chengdu Ebyte Electronic Technology Co., Ltd. NB144E User Manual 3.4 Dimensions Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 17: Functions

    . In this mode, the device automatically follows the domain name resolution server configured by the routing device, and the user only needs to modify the DNS server of the routing device without configuring the device. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 18: Network Disconnection Reconnection Cycle

    -channel server mode, each The server can access 4 client devices, or if the device opens 1 server, the server can connect to 13 client devices. If the number of client devices exceeds the access number, the device will refuse to connect. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 19: Tcp Client

    In UDP Client mode, the device will only communicate with the configured (target IP and target port) remote UDP device . In this mode, the destination address is set to 255.255.255.255, and the sending data will be Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 20: Http Client

    The HTTP request data should be smaller than the packet length (5 to 12 bytes), otherwise the device will divide the request data into multiple packets for request, resulting in abnormal request. supports configuring whether to return the HTTP protocol header, and the returned data is shown in the figure below: Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 21 Host : www.baidu.com , target domain name : www .baidu.com , target port: 8 0 , it is recommended to use a random port for the local port), the specific configuration is shown in the figure below: Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 22 (for example: Content-length: 2729 ), the device will automatically calculate the data length and group the packet to send, other header data needs to be manually configured, at most Support 1 28 bytes data configuration. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 23: Mqtt Client

    NET ) MQTT subscription topic address ( dynamically generated by subscribe topic One NET ) 【Note】  Dynamically generating topic addresses can use the same parameters to achieve the effect of data return, Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 24 Configure the device connection parameters, as shown in the figure below (the left picture is the upper computer, and the right picture is the webpage configuration ) : "ProductKey": "a1GlhuTU1yN", "DeviceName": "DEV04", "DeviceSecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 25: Channel Port

    Device fixed port (factory default: 8 001-800 4 ), TCP server mode device listens to the configuration port, accepts the connection request from the client and establishes a connection for data communication, and TCP client mode device fixed port initiates a connection request. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 26: Advanced Features

    In the client mode, the user can choose to send the registration package and customize the registration package time. The registration package supports the following modes: 1. The MAC address (OLMAC) is sent when the network establishes a connection with the device. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 27: Short Connection

    Enable: The device does not save the data received by the serial port before the connection is established. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 28: Modbus Gateway

    This gateway mode does not support multi-host operation. If you need multiple hosts, please use "storage gateway" and "multi-host mode". Simple protocol conversion configuration: Modbus Poll and Modbus Slave software debugging: Software connection settings: Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 29 Chengdu Ebyte Electronic Technology Co., Ltd. NB144E User Manual Software register reading and emulation configuration: Poll menu selection Set up Read/Write Definition S slave menu select Set up Slave Definition Newsletter Demo: Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 30: Multi-Host Mode

    As the number of hosts increases, the Modbus timeout should be increased accordingly. If multiple hosts need continuous high-speed requests, it is recommended to use "storage gateway", and it is recommended to configure "simple protocol conversion" when there are no multiple hosts. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 31: Storage Gateway

    Users can customize the polling interval of the storage area instructions and the instruction storage time according to their Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 32: Configurable Gateway

    "simple protocol conversion". If you need to automatically upload the data to the server, please select "automatic upload". Due to the above characteristics, the serial port side of the configurable gateway can only be connected to the Modbus slave station. Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 33: Automatic Upload

    You can choose the feedback format (Modbus RTU format or Modbus TCP format) according to your needs. ) and command polling interval (0-65535ms). Instruction pre-storage refers to "Configurable Gateway - Instructions for Instruction Storage", and Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 34: Firmware Upgrade

    TCP client demo (Modbus RTU format): TCP client demo (Modbus TCP format): 5.5 Firmware upgrade Users can upgrade the firmware of the device through the "Ebyte Network Configuration Tool" . Copyright ©2012,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 35: Udp Upgrade

    Chengdu Ebyte Electronic Technology Co., Ltd. NB144E User Manual 5.5.1 UDP upgrade Step 1: Open the "Ebyte Network Configuration Tool", and select "Device Upgrade Assistant" under the "Menu" option; Step 2: Select the firmware to be used, which needs to be obtained from the "Related Downloads"...
  • Page 36: Serial Upgrade

    Step 1: Make sure the device is powered off and connect to 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 37 Chengdu Ebyte Electronic Technology Co., Ltd. NB144E User Manual Downloads" of the corresponding product details on the official website ( www.ebyte.com) . The demo firmware is not provided on the official website; Step 4: Click "Start Upgrading", press and hold Re load on N B1 44 , then turn on the power of the device, wait for the firmware upgrade to complete, and click "Cancel"...
  • Page 38: Revision History

    Contact us Technical support: support@cdebyte.com Documents and RF Setting download link: https://www.fr-ebyte.com Thank you for using Ebyte products! Please contact us with any questions or suggestions: info@cdebyte.com ------------------------------------------------------------------------------------------------------------ Fax: 028-64146160 Web: https://www.fr-ebyte.com Address: B5 Mould Industrial Park, 199# Xiqu Ave, High tech Zone, Chengdu, Sichuan, China...

Table of Contents