background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

NB183S&NB183_User Manual

Copyright ©2012–2022

Chengdu Ebyte Electronic Technology Co.,Ltd.

18

minutes, and the user can customize the turn-on or turn-off timeout restart period or the period of no data restart.

4.3 Hardware reset to factory

Press and hold the Reload pin of the device for 5s until the NET indicator no longer flashes, keep the NET indicator on
for 5s, and the device is restored to the factory.

4.4 Device working mode

4.4.1 TCP Server

TCP Server is the TCP server. In TCP Server mode, the device listens to the local port, accepts the client's connection
request and establishes a connection for data communication. When the Modbus gateway function is turned off, the
device sends the data received by the serial port to all client devices that establish a connection with the device.
The number of clients that can be accessed by the server is dynamically adjusted. First, ensure that each channel of the
eight channels can establish a complete communication link. In addition, the device also has 8 dynamic access
communication links. For example, if the device turns on the eight-channel server mode, each server Two client devices
can be connected, or if one server is enabled on the device, the server can connect to 9 client devices. If the number of
client devices exceeds the number of accesses, the device will refuse the connection.

4.4.2 TCP Client

TCP Client is the TCP client. When the device is working, it will actively initiate a connection request to the server and
establish 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 can independently open eight TCP clients.

4.4.3 UDP Server

UDP Server means that the device does not verify the IP address of the data source when communicating with the UDP
protocol. After each UDP data packet is received, it saves the source IP address and source port of the data packet, and
sets it as the destination IP and port, so The data sent by the device only sends data packets to the source IP address and
port where the device received data last time.
This mode is usually used 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 send data first, otherwise the data cannot be sent normally.

[Note] In UDP mode, the data sent by the network to the device should be less than 512Bit per packet, otherwise it will
cause data loss.

4.4.4 UDP Client

UDP Client is a connectionless transmission protocol that provides transaction-oriented simple and unreliable
information transmission services. There is no connection establishment and disconnection, and data can be sent to the
other party only by configuring the destination IP and destination port. It is usually used in data transmission scenarios
where there is no requirement for the packet loss rate, the data packets are small and the transmission frequency is fast,
and the data is to be transmitted to the specified IP.
In UDP Client mode, the device will only communicate with the configured (target IP and target port) remote UDP

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: