background image

Chengdu Ebyte Electronic Technology Co.,Ltd

NB124S_User Manual

Copyright ©2012–2023

Chengdu Ebyte Electronic Technology Co.,Ltd

1

)、

To select the standard MQTT3.1.1, Baidu Cloud, OneNET, and Huawei Cloud configurations, you

can refer to the following table to fill in the parameters:

Parameters

Standard

MQTT3.3.1

Baidu Cloud

OneNET

Device name

Client ID

Client ID

DeviceKey

Device ID

User Name

Device name

User Name

IoTCoreId/DeviceKe

y

Product ID

Password

Device secret

Password

DeviceSecret

Device name/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 generated by

OneNET)

Note

Dynamic generation of topic address can use the same parameters to achieve the effect of data return, for

example: OneNET publishes and subscribes to the same topic address: 123456, and data return can be achieved;

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 in the figure below:

Содержание NB124S

Страница 1: ...Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd NB124 Dual serial port server User Manual NB124S Dual Serial Port Server User Manual...

Страница 2: ...Indicator light description 9 3 4 Size 11 Chapter 4 Basic functions 12 4 1 Correspondence between channel and serial port 12 4 2 Local network parameters 12 4 2 1 Local IP 12 4 2 2 DNS domain name res...

Страница 3: ...Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 5 4 3 Storage gateway 26 5 4 4 Configurable Gateway 27 5 4 5 Automatically upload 29 5 5 Firmware upgrade 30 5 5 1 UDP upgrade 30...

Страница 4: ...annels 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 default gateway DNS server addres...

Страница 5: ...One USB to RS485 serial cable As is shown in the following figure Laptop Network Cable NB124S DC 12V1A USB to RS485 converter wires Note Only use one RS485 interface for demonstration and please use t...

Страница 6: ...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...

Страница 7: ...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...

Страница 8: ...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...

Страница 9: ...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...

Страница 10: ...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 support address con...

Страница 11: ...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...

Страница 12: ...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...

Страница 13: ...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...

Страница 14: ...Chengdu Ebyte Electronic Technology Co Ltd NB124S_User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 3 4 Size...

Страница 15: ...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...

Страница 16: ...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...

Страница 17: ...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...

Страница 18: ...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...

Страница 19: ...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...

Страница 20: ...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...

Страница 21: ...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...

Страница 22: ...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...

Страница 23: ...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...

Страница 24: ...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...

Страница 25: ...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...

Страница 26: ...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...

Страница 27: ...124S_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...

Страница 28: ...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...

Страница 29: ...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...

Страница 30: ...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...

Страница 31: ...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...

Страница 32: ...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...

Страница 33: ...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...

Страница 34: ...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...

Страница 35: ...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...

Страница 36: ...Chengdu Ebyte Electronic Technology Co Ltd NB124S_User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd upgrade...

Страница 37: ...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...

Отзывы: