background image

Chengdu Ebyte Electronic Technology Co.,Ltd

NB124E_User Manual

Copyright ©2012–2023

Chengdu Ebyte Electronic Technology Co.,Ltd

registration package (OLCSTM) is sent.

3. After the connection between the network and the device is established, each packet of data

sent by the device to the network will be preceded by a MAC address (EMBMAC).

4. After the connection between the network and the device is established, each packet of data

sent by the device to the network will be preceded by custom registration packet data
(EMBCSTM).

Customize the content of the registration package (support up to 40 bytes (ASCII) data, 20 bytes

(HEX) data)

Note

It is recommended not to use special characters (such as "," "\" "/") when configuring

the registration package. If you want to use it, it is recommended to use hexadecimal configuration.

5.2 Short connection

In client mode, short network connections are supported (this function is disabled by default).

TCP short connections are mainly used to save server resource overhead, and are generally used in
multi-point (multi-client) to one-point (server) scenarios.

The TCP short connection function is applied in the TCP Client mode. After the short

connection function is turned on, it only requests to connect with the server when sending
information. After the connection is successful, if the serial port does not receive data or the network
port has no data to send and receive within the set time, the device will automatically disconnect.

When the short link hold time is set to 0, the short link function is disabled. When the setting

range is (2-255) seconds, the short connection function is enabled, and the default hold time is 0
seconds (short connection is turned off).

5.3 Serial buffer cleaning

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 512 bytes. After the network connection is
successful, you can choose to clear the serial port buffer or send the buffer through the network.

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 data buffered by the

serial port.

Summary of Contents for NB124E

Page 1: ...Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd NB124 Dual serial port server User Manual NB124E Dual Serial Port Server User Manual...

Page 2: ...ndicator light description 10 3 4 Size 12 Chapter 4 Basic functions 13 4 1 Correspondence between channel and serial port 13 4 2 Local network parameters 13 4 2 1 Local IP 13 4 2 2 DNS domain name res...

Page 3: ...Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 5 4 3 Storage gateway 27 5 4 4 Configurable Gateway 28 5 4 5 Automatically upload 30 5 5 Firmware upgrade 31 5 5 1 UDP upgrade 31...

Page 4: ...ent configuration of four channels does not affect each other Support DNS domain name resolution domain name resolution server can be configured Support DHCP to dynamically obtain IP subnet mask defau...

Page 5: ...du Ebyte Electronic Technology Co Ltd NB124E_User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd The isolation version supports independent hardware isolation of 2 RS485 serial...

Page 6: ...tch A network cable One USB to RS485 serial cable As is shown in the following figure Laptop Network Cable NB124E DC 12V1A USB to RS485 converter wires Note Only use one RS485 interface for demonstrat...

Page 7: ...Between Channels and Serial Ports 2 3 1 Hardware connection 1 Connect the serial port server network port and the computer network port with a network cable 2 Use a USB to RS485 serial cable to connec...

Page 8: ...nnel 1 working mode TCP_SERVER Channel 1 local port 8001 Serial port baud rate 115200 Serial port parameters NONE 8 1 NONE Make sure that the computer IP and serial server IP are in the same network s...

Page 9: ...te Electronic Technology Co Ltd 2 3 4 Open serial port assist Choose correct COM number configure correct serial port parameters 115200 8N1 open the serial port as shown in the below 2 3 5 Open Net as...

Page 10: ...pyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 2 3 6 TX RX data Test Click the send botton on the Net assist and Serial port asssit respectively it can do transparent transmission betwee...

Page 11: ...Working Mode TCP Server default TCP Client UDP Server UDP Client HTTP Client MQTT Client Network Protocol TCP IP UDP MQTT HTTP IPv4 ICMP APR DHCP DNS IP acquisition method DHCP State IP default DNS s...

Page 12: ...5 95 RH no condensation 3 2 Interface description 1 RS232 2 Serial port 2 RS232 Standard DB9 female head 2 TXD 3 RXD 5 GND 2 RS232 1 Serial port 1 RS232 Standard DB9 female head 2 TXD 3 RXD 5 GND 3 R...

Page 13: ...e DC 8 28 V 5 08mm Phoenix terminal 14 DC 8 28 V Positive pole DC 8 28 V 5 08mm Phoenix terminal 15 DC IN DC power input DC 8 28 V OD 5 5mm ID 2 0mm straight plug in round hole 16 Ethernet Ethernet in...

Page 14: ...annel 2 data indicator Data sending and receiving flashes when the network or serial port sends and receives data Note Status of some special working mode indicator lights 1 Restore the factory NET is...

Page 15: ...Chengdu Ebyte Electronic Technology Co Ltd NB124E_User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 3 4 Size...

Page 16: ...domain name resolution server DNS server DHCP dynamic IP acquisition The device logs in to the server to automatically obtain the IP address subnet mask gateway address and DNS server address 4 2 2 D...

Page 17: ...5s until the NET indicator stops flashing keep the NET indicator on for 5s and the device is restored to factory 4 4 Device working mode 4 4 1 TCP Server In the TCP Server mode the device listens to...

Page 18: ...in scenarios where multiple network devices communicate with this device and the frequency is high and the TCP Server cannot meet the conditions Using UDP Server requires the remote UDP device to sen...

Page 19: ...e function and provides two methods of GET and POST Customers can configure URL Header and other parameters by themselves and the device will send the package to realize fast communication between ser...

Page 20: ...correct configurations that cause device IP exceptions network segment errors IP conflicts etc and then configure the channel using the HTTP function support 2 channels to configure HTTP client mode a...

Page 21: ...to send other header data needs to be manually configured and support up to 128 bytes data configuration 4 5 6 MQTT client Support quick access to standard MQTT3 1 1 protocol servers OneNET Baidu Clo...

Page 22: ...me User Password PrductKey Ali Cloud parameters can be left blank Publish topic MQTT publish topic address dynamically generated by OneNET Subscribe Topic MQTT Subscribe Topic Address dynamically gene...

Page 23: ...he corresponding product click Custom Topic under the Topic class list for details please refer to the Alibaba Cloud documentation click Define Topic Class configure the name as 1234 and grant publish...

Page 24: ...uickly re establish the connection when the device is accidentally disconnected from the server preventing the server from rejecting the connection due to four waved incomplete It is recommended to us...

Page 25: ...at packet sending mode 1 The default is to turn off the heartbeat packet mode 2 Serial mode The device sends heartbeat content to the serial bus according to the set heartbeat time interval 3 Network...

Page 26: ...used in multi point multi client to one point server scenarios The TCP short connection function is applied in the TCP Client mode After the short connection function is turned on it only requests to...

Page 27: ...data and realize the mutual conversion between 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...

Page 28: ...124E_User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Software register reading and emulation configuration Poll menu selection Setup Read Write Definition Slave menu selecti...

Page 29: ...of bus conflicts currently in single server mode up to 9 Modbus TCP host connections are supported and multiple Attention should be paid to the matching of the request interval and the timeout time ot...

Page 30: ...ter configuration and open multiple Modbus Poll software at the same time 3 channels as an example and a single server model can support up to 9 channels 5 4 3 Storage gateway The storage gateway not...

Page 31: ...ading 10 holding registers as an example about 67 instructions and returning results can be stored 2 The RTU response timeout automatically clears the cache to ensure the real time and authenticity of...

Page 32: ...not be sent directly to the server and will only be returned after the request of the Modbus host which is similar to the use method of simple protocol conversion If you need to automatically upload...

Page 33: ...poll the instructions stored in the instruction table and upload them to the server You can choose the feedback format Modbus RTU format or Modbus TCP format according to your needs and command polli...

Page 34: ...de the firmware of the device through the 5 5 1 UDP upgrade Step 1 Open the and select Device Upgrade Assistant under the Menu option Step 2 Select the firmware to be used which needs to be obtained f...

Page 35: ...Chengdu Ebyte Electronic Technology Co Ltd Step 3 Click Search Device the device list will display the currently found device click Stop Search After selecting the device to be upgraded click Start t...

Page 36: ...1 Make sure the device is powered off and connect to serial port 1 correctly Step 2 Open the select Serial Port Upgrade Assistant under the Menu option select the corresponding serial port and click O...

Page 37: ...Chengdu Ebyte Electronic Technology Co Ltd NB124E_User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd upgrade...

Page 38: ...Version Revision date Revision instruction Maintainer 1 0 2022 11 14 Initial version LYL About Us Technical support support cdebyte com Documents and RF Setting download link https www cdebyte com Th...

Reviews: