Ebyte NB1A1 User Manual
Ebyte NB1A1 User Manual

Ebyte NB1A1 User Manual

16 serial server

Advertisement

Quick Links

NB1A1
16 Serial Server User Manual
Copyright ©2012–2023,成都亿佰特电子科技有限公司

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte NB1A1

  • Page 1 NB1A1 16 Serial Server User Manual Copyright ©2012–2023,成都亿佰特电子科技有限公司...
  • Page 2: Table Of Contents

    5.1.2 registration packet ......................23 5.2 Short connection ........................24 5.3 Serial cache clearing ........................24 5.4 Modbus Gateway ........................25 5.4.1 Protocal conversion ......................25 5.4.2 Simple Protocol Conversion ................... 25 5.4.3 Multi-Host Mode ......................27 Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 3 Chengdu Ebyte Electronic Technology Co., Ltd. NB1A1User Manual 5.4.4 Storage Gateway ......................28 5.4.5 Configurable gateway ..................... 29 5.4.6 Upload Automatically ..................... 30 5.5 Firmware upgrade ........................31 Revise History ............................33 About Us .............................. 33 Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 4: Chapter1 Introduction

    NB1A1User Manual Chapter1 Introduction NB1A1 is a series of serial port server products independently developed by EBAite, which can realize bi-directional transparent transmission of data from 16 serial ports to Ethernet ports. Support Modbus protocol conversion, multi-host gateway, storage gateway and other data conversion functions.
  • Page 5: Chapter 2 Quick Start

    Note: The Quick Start shows only one RS485 port. 2.2 Sotware preparation Serial Debugging Assistant (XCOM), Network Debugging Assistant (NetAssist), EBAite network configuration tool (configure the host computer), official website address:www.ebyte.com,Product details provides a download interface. Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 6: Device Test Procedure

    4. Confirm that the status is correct and proceed to the next configuration; Note: The power-on and power-on process is expected to take about 50 seconds. Wait for the NET indicator to blink quickly, indicating that the device is powered on. Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 7: Device Parameters Settings

    Ensure that the PC IP address and serial port server IP address are in the same network segment, and the IP address must be different. The method is shown in the following figure. Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 8: Open The Serial Debugging Assistant

    Start the XCOM V2.6 software, select the correct serial port number, set the current serial port parameters of the device (the default value is 115200-8N1), and open the serial port, as shown in the following figure: Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 9: Opening The Network Assistant

    Open the Network assistant software, select the "TCP Client" mode, set the remote IP address to "192.168.3.7" and the remote port to "8001", and click the Connect button, as shown in the following figure: Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 10: Sending And Receiving Data Test

    Serial port channel 16 isolation TCP Server、 TCP Client、 UDP Server、 UDP Client、 HTTP Client、 Working mode MQTT Client(Default TCP Server) Internet IP、TCP/UDP、IPv4、ICMP、APR、DHCP、DNS、HTTP、 protocal MQTT IP acquisition DHCP, Static IP (default static IP) Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 11 226mm * 130mm * 28.5mm (L*W*H) Product weight 720g ± 5g Operating temperature -20 ~ +65℃, 5% ~ 95%RH (no condensation) and humidity Storage temperature -30 ~ +75℃, 5% ~ 95%RH (no condensation) and humidity Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 12: Interface Description

    Straight insert round hole, outer diameter 5.5mm, inner DC-IN Dc power input diameter2.0mm; Do not supply power to terminals at the same time; Standard RJ45 Ethernet interface, Ethernet 1 10/100M adaptive, switch function, Enthernet Interface cascading Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 13 3.81mmPhoenix terminal RS485-7-B Channel7-RS485interfaceB 3.81mmPhoenix terminal RS485-7-G Channel7-RS485interfaceG 3.81mmPhoenix terminal RS485-6-A Channel6-RS485interfaceA 3.81mmPhoenix terminal RS485-6-B Channel6-RS485interfaceB 3.81mmPhoenix terminal RS485-6-G Channel6-RS485interfaceG 3.81mmPhoenix terminal RS485-5-A Channel5-RS485interfaceA 3.81mmPhoenix terminal RS485-5-B Channel5-RS485interfaceB 3.81mmPhoenix terminal RS485-5-G Channel5-RS485interfaceG 3.81mmPhoenix terminal Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 14: Indicator Description

    Channel1 Status PORT1 sending or receiving data. Indicator light is on: indicator (1) The link is successfully connected (2) UDP server mode and after receiving the client Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 15 (3) UDP client mode If the indicator is off, the link is down Channel7 Status Blinking: The indicator blinks when the network or PORT7 indicator serial port is sending or receiving data. Indicator light is on: Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 16 Channel12 Status Indicator light is on: PORT12 indicator (1) The link is successfully connected (2) UDP server mode and after receiving the client message (3) UDP client mode Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 17 (3) UDP client mode [Note] Some special working mode indicator status: Restore the factory, except for NET, the remaining LED is on for 1s, and then the other indicators except the power supply are turned off; Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 18: Size

    Chengdu Ebyte Electronic Technology Co., Ltd. NB1A1User Manual 3.4 Size Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 19: Chapter 4 Basic Function

    Channel15 COM15 PORT15 RS485 TCPS、8015 Channel16 COM16 PORT16 RS485 TCPS、8016 4.2 Local network parameter 4.2.1 Local IP address STATIC: You can define the configuration IP address, subnet mask, default gateway, and DNS server; Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 20: Dns(Domain Name Resolution)

    The Reload pin of the device will be continuously pressed for 5-10s and released. All the leds except NET will light up and the device will restart. After the restart, the device will be restored to factory. Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 21: Device Working Mode

    After receiving any packet of data, the PORT indicator lights up。 Note: In UDP mode, the data sent by the network to the device must be smaller than 1472 bits per packet; otherwise, data loss may occur. Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 22: Udp Client

    HTTP. This section uses GET to request the Baidu web page as an example. (URL: empty, HEADER: Host:www.baidu.com, target domain name :www.baidu.com, target port: 80, random port is recommended for the local port.) The configuration is as shown in the following figure: Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 23: Mqtt Client

    128 characters configuration, Alibaba Cloud product key 64 characters). When using MQTT function, short links should be turned off, otherwise the device will repeatedly connect to the server, it is recommended to use random ports, as shown in the following Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 24 The MQTT platform (Baidu Cloud, Huawei Cloud, and OneNET) cannot be connected due to adjustments. After parameters are set, the platform rules prevail. Take standard MQTT3.1.1 parameter filling as an example, as shown in the following figure: Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 25: Port Mapping

    Device fixed port (factory default: 8001-8016), TCP server mode device listens to the configuration port, receives the connection request from the client and establishes the connection for data communication, TCP client mode device fixed port initiates the connection request. Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 26: Chapter 5 Advanced Functions

    4. 2. Send the data of the customized registration package (OLCSTM) when the network is connected to the device. 5. 3. After the network is connected to the device, each packet sent by the device to the network is preceded by an EMBMAC address. Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 27: Short Connection

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

    MQTT client), the gateway mode does not support multi-host operation, need multi-host please use "storage gateway" and "multi-host mode"。 Simple protocol translation configuration: Modbus Poll and Modbus Slave software debugging: Software connection setup: Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 29 Chengdu Ebyte Electronic Technology Co., Ltd. NB1A1User Manual Software register reading and simulation configuration: Poll menu select SetupRead/Write Definition Slave Menu selection SetupSlave Definition Communication demonstration: Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 30: Multi-Host Mode

    For software configuration and register configuration, refer to "Simple Protocol Conversion" and enable multiple Modbus Poll software at the same time (3 channels are used as an example, a maximum of 8 channels can be supported in the server model).。 Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 31: Storage Gateway

    (6) (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 within the storage time, the gateway will automatically delete the stored instruction and release the Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 32: Configurable Gateway

    Modbus slave station can be connected to the serial port side of the configurable gateway. Instruction storage instructions (added, instruction errors and formatting errors cannot be added, no need to add CRC check bits): Instruction store description (delete): Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 33: Upload Automatically

    Instruction prestorage Refer to "Configurable Gateway - Instruction Storage Instructions". If Modbus TCP is used, you need to enable RTU = TCP conversion. TCP Client Demo (Modbus RTU format): TCP Client Demo (Modbus TCP format): Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 34: Firmware Upgrade

    Chengdu Ebyte Electronic Technology Co., Ltd. NB1A1User Manual 5.5 Firmware upgrade Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 35 Users can upgrade the firmware of the device through network cables. For details about how to upgrade the firmware, see the upgrade package. (If the new firmware is available, you can download it from the official website.) Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 36: Revise History

    Chengdu Ebyte Electronic Technology Co., Ltd. NB1A1User Manual The final interpretation right belongs to Chengdu Ebyte Electronic Technology Co., LTD。 Revise History Version Revise date Revise description maintainer 2023-9-18 Initial version About Us Sales hotline: 4000-330-990 Company Tel: 028-61399028 Technical support: support@cdebyte.com Official website: www.ebyte.com...

Table of Contents