background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

NB183S&NB183_User Manual

Copyright ©2012–2022

Chengdu Ebyte Electronic Technology Co.,Ltd.

26

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. The device will automatically disconnect.
When the short link hold time is set to 0, the short link function is turned off. When the setting range is (2-255) seconds,
the short link function is turned on, and the default hold time is 0 seconds (short link is turned off).

5.3 Serial port cache 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 through configuration.
Enable: The device does not save the data received by the serial port before the connection is established.
Disabled: The network will receive the serial buffered data after the connection is established.

5.4 Modbus Gateway

5.4.1 Protocol Conversion

Enabled: Modbus data is checked and non-Modbus data (RTU/TCP) is discarded and not transmitted, and the Modbus
RTU protocol and the Modbus TCP protocol are interconverted.
Disabled: Do not perform protocol conversion but verify Modbus data, discard non-Modbus data (RTU/TCP) and not
transmit.

5.4.2 Simple Protocol Conversion

Convert Modbus RTU data to Modbus TCP data, or convert Modbus TCP data to Modbus RTU data, to realize the
mutual conversion of 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). Host
Mode".

Simple protocol conversion configuration:

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: