background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

NB183S&NB183_User Manual

Copyright ©2012–2022

Chengdu Ebyte Electronic Technology Co.,Ltd.

25

5. Advanced Functions

5.1 Heartbeat package and registration package

5.1.1 Heartbeat Packet

In client mode, users can choose to send heartbeat packets and set the time of heartbeat packets by themselves. The
heartbeat packet can be selected in two modes: network heartbeat packet and serial port heartbeat packet. It supports
hexadecimal and ASCII transmission. This heartbeat packet is not MQTT heartbeat. It needs to be turned off when using
MQTT client mode. MQTT heartbeat can only be set in the "MQTT parameter configuration" column. Configure
"Heartbeat Period" below. The content of the MQTT heartbeat packet is restricted by the protocol and is not open for
configuration. It is recommended not to configure less than 60s. For example, 120s is recommended in the Alibaba Cloud
manual.
Heartbeat packet sending mode:
1. The default is to turn off the heartbeat packet mode.
2. Serial port mode -> The device sends heartbeat content to the serial port bus according to the set heartbeat interval.
3. Network port mode -> The device sends heartbeat content to the network port bus according to the set heartbeat
interval.
Customize heartbeat packet content (maximum support 40 bytes (ASCII) data, 20 bytes (HEX) data)
Customize the heartbeat packet sending interval. When it is set to 0, the heartbeat packet function is turned off. If the
setting value is greater than zero, the heartbeat packet function is turned on. When it is turned on, the range can be set:
(1-65536) seconds.

5.1.2 Registration Package

In the client mode, the user can choose to send the registration package, and set the registration package time by
definition.
The registration package supports the following modes:
1. The MAC address (OLMAC) is sent when the network establishes a connection with the device.
2. The data of the custom registration package (OLCSTM) is sent when the network establishes a connection with the
device.
3. After the network and the device are connected, each packet of data sent by the device to the network is preceded by a
MAC address (EMBMAC).
4. After the connection is established between the network and the device, each packet of data sent by the device to the
network is preceded by custom registration packet data (EMBCSTM).
Custom registration package content (maximum support 40 bytes (ASCII) data, 20 bytes (HEX) data)
[Note] It is recommended not to use special characters (such as "," "\" "/", etc.) when configuring the registration package.
If you want to use it, it is recommended to use hexadecimal configuration.

5.2 Short connection

I

n client mode, short network connection is supported (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.

Summary of Contents for NB183

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd NB183S NB183_User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 1 NB183 Eight Serial Port Server User Manual...

Page 2: ...face description 12 3 3 Indicator light description 14 3 4 Dimensions 16 4 Basic Functions 17 4 1 Correspondence between channel and serial port 17 4 2 Local network parameters 17 4 2 1 Local IP 17 4...

Page 3: ...engdu Ebyte Electronic Technology Co Ltd 3 5 4 2 Simple Protocol Conversion 26 5 4 3 Multi host mode 28 5 4 4 Storage Gateway 29 5 4 5 Configurable Gateway 30 5 4 6 Automatic upload 31 5 5 Firmware Up...

Page 4: ...duction use modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited The information contained herein is provided...

Page 5: ...00bps supports multiple verification methods Support a variety of registration packets and heartbeat packet sending such as connecting to send MAC connecting to send custom etc Support stable and reli...

Page 6: ...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 Hardwa...

Page 7: ...ort 8001 and channel 8 corresponds to port 8008 in turn For details see the Correspondence between Channels and Serial Ports chapter 2 3 1 Connecting the hardware 1 Use a network cable to connect the...

Page 8: ...P_SERVER The working mode of channel 1 8001 Serial port baud rate 115200 Serial port parameters NONE 8 1 NONE Make sure that the IP of the computer and the IP of the serial port server are in the same...

Page 9: ...pen 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 As...

Page 10: ...ive data test Click the Send button on the Network Debugging Assistant and Serial Debugging Assistant respectively to realize the transparent transmission of network and serial data as shown in the fi...

Page 11: ...IP TCP UDP IPv4 ICMP APR DHCP DNS HTTP MQTT How to get IP DHCP Static IP default static IP DNS support Configuration method Configuration tools AT commands IP address Customizable default 192 168 3 7...

Page 12: ...el1 RS485 InterfaceA 3 81mm Phoenix Terminal 2 RS485 1 B channel1 RS485 InterfaceB 3 81mm Phoenix Terminal 3 RS485 1 G channel1 RS485 InterfaceG 3 81mm Phoenix Terminal 4 RS485 2 A channel2 RS485 Inte...

Page 13: ...S485 InterfaceA 3 81mm Phoenix Terminal 17 RS485 6 B channel6 RS485 InterfaceB 3 81mm Phoenix Terminal 18 RS485 6 G channel6 RS485 InterfaceG 3 81mm Phoenix Terminal 19 RS485 7 A channel7 RS485 Interf...

Page 14: ...on Explanation POWER Power Indicator DC 8 28V power input NET Running lights Unconnected network cable 100ms on and 900ms off flashing periodically Connect the network cable 1s is a period of flashing...

Page 15: ...is always on Data sending and receiving indication flashes when network or serial port sends and receives data PORT7 Channel 7 Status Indicator The link is not connected the indicator light is off Th...

Page 16: ...Chengdu Ebyte Electronic Technology Co Ltd NB183S NB183_User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 16 3 4 Dimensions...

Page 17: ...e 4 2 2 DNS Domain Name Resolution When the user enters the domain name the DNS server will be automatically queried the database will be retrieved by the DNS server and the corresponding IP address w...

Page 18: ...sh a connection to realize the interaction between serial port data and server data To use the client you need to configure the target IP address domain name and target port accurately Eight channels...

Page 19: ...de can realize the function of HTTP automatic packet grouping It provides two methods GET and POST Customers can configure URL Header and other parameters by themselves and the device will send packet...

Page 20: ...orrect configuration leading to abnormal device IP network segment error IP conflict etc you need to use the HTTP function in the configuration It supports eight channels and configures HTTP client mo...

Page 21: ...Other header data needs to be manually configured and supports up to 128 characters Section data configuration 4 4 6 MQTT Client Supports quick access to standard MQTT3 1 1 protocol servers OneNET Ba...

Page 22: ...e name User Name IoTCoreId DeviceKey Product ID password Device secret Password DeviceSecret Equipment name User Password PrductKey Alibaba Cloud parameters optional Post topic MQTT publish topic addr...

Page 23: ...escription Select the corresponding product go to Custom Topic under the Topic class list for details please refer to the Alibaba Cloud documentation click Define Topic Class set the name to 1234 and...

Page 24: ...dom port connection can quickly re establish the connection when the device disconnects from the server unexpectedly preventing the server from rejecting the connection due to four waves of incomplete...

Page 25: ...a Customize the heartbeat packet sending interval When it is set to 0 the heartbeat packet function is turned off If the setting value is greater than zero the heartbeat packet function is turned on W...

Page 26: ...ccessful you can choose to clear the serial port buffer or send the buffer through the network through configuration Enable The device does not save the data received by the serial port before the con...

Page 27: ...ight 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 27 Modbus Poll and Modbus Slave software debugging Software connection settings Software register read and emulation configuration Poll menu s...

Page 28: ...l wait so as to solve the bus conflict problem currently in the single server mode up to 9 Modbus TCP host connections are supported and the multi When connecting hosts at the same time attention shou...

Page 29: ...orage Gateway The storage gateway not only arbitrates the bus data but also stores the repeated read commands When different hosts request the same data the gateway does not need to query the register...

Page 30: ...lly delete the storage instruction to release the cache 5 The first command and control command 05 06 0F 10 function codes will directly access the RTU device 6 Only 01 02 03 04 Modbus function code q...

Page 31: ...the gateway will automatically poll the instructions in the stored instruction table and upload it to the server and the feedback format Modbus RTU format or Modbus TCP format can be selected accordi...

Page 32: ...irmware of the device through the Ebyte Network Configuration Tool 5 5 1 UDP upgrade Step 1 Open Ebyte Network Configuration Tool and select Device Upgrade Assistant under the Menu option Step 2 Selec...

Page 33: ...ly channel 1 that is serial port 1 which can use RS232 interface RS485 interface supports the use of serial port for upgrade When the network upgrade fails or the network environment is complex it is...

Page 34: ...nic Technology Co Ltd 34 product details on the official website 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 t...

Page 35: ...LYL 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...

Reviews: