background image

Chengdu Ebyte Electronic Technology Co., Ltd.

EBT3002 User Manual

Copyright ©2012–2023

Chengdu Ebyte Electronic Technology Co., Ltd.

channel server mode, each server can access 2 client devices, or if the device is in the one channel
server mode, the server can access 9 client devices. If the number of client devices exceeds the
access limit, The device will perform a connection rejection.

4.4.2 TCP Client

TCP Client refers to the TCP client. When the device is working, it will actively initiate

connection requests to the server and establish a connection, which is used to achieve the interaction
between serial port data and server data.

To use the client, it is necessary to configure the IP address/domain name and target port of the

target accurately.

Eight channels can independently open eight TCP clients.

4.4.3 UDP Server

UDP Server refers to a device that does not verify the source IP address of data when

communicating using the UDP protocol. After receiving each UDP packet, it saves the source IP
address and source port of the packet and sets it as the target IP and port. Therefore, the data sent by
the device only sends the packet to the source IP address and port where the last device received the
data.

This mode is usually used in scenarios where multiple network devices communicate with this

device and the frequency is high, and TCP Server cannot meet the conditions.

Using UDP Server requires remote UDP devices to send data first, otherwise 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 may cause data loss.

4.4.4 UDP Client

UDP Client is a connectionless transmission protocol that provides simple and unreliable

information transmission services for transactions. There is no connection establishment or
disconnection, and data can be sent to the other party by configuring the destination IP and

Содержание EBT3002 T6

Страница 1: ...Chengdu Ebyte Electronic Technology Co Ltd EBT3002 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd...

Страница 2: ...4 2 Local network parameters 8 4 2 1 Local IP 8 4 2 2 DNS Domain Name System 8 4 2 3 Network disconnection and reconnection cycle 9 4 2 4 Timed out restart no data restart 9 4 3 Hardware recovery fac...

Страница 3: ...Chengdu Ebyte Electronic Technology Co Ltd EBT3002 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 5 5 2 Serial port upgrade 23 Revision History 25 About us 25...

Страница 4: ...rt connection intervals Support serial port cache cleaning function Support hardware restoration to factory settings Support online upgrades for convenient customization of user functions Support mult...

Страница 5: ...2012 2023 Chengdu Ebyte Electronic Technology Co Ltd etc Supports HTTP client mode uses HTTP 1 1 protocol and can be configured with two request methods GET and POST TCP IP can be used for direct com...

Страница 6: ...ctronic Technology Co Ltd EBT3002 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 2 Package size and pin definition 2 1 Package size This chip adopts standard LQFP100 packag...

Страница 7: ...V 8 PC14 OSC32IN Low speed external 32 768K crystal oscillator 9 PC15 OSC32OUT Low speed external 32 768K crystal oscillator 10 VSS_ five Grounding 11 VDD_ five External 3 3V 12 OSC_ IN High speed ext...

Страница 8: ...7 Serial port 7 data transmission and reception indication After power on if no network cable is detected it defaults to being pulled low When there is data transmission and reception a 100ms cycle is...

Страница 9: ...nd reception indication When no network cable is detected after power on it defaults to being pulled low When there is data transmission and reception a 100ms cycle is used and a 50ms low level output...

Страница 10: ...ring transmission and pulling down during idle time 58 485 EN 5 Serial port 5 sends instructions can be used as a 485 send enable pin pulling up during transmission and pulling down during idle time 6...

Страница 11: ...nnection 83 RXD5 Serial port 5 receiving pin 84 L LED3 Serial port 3 network link status indicator pin output low level when no network cable is detected after power on output high level when network...

Страница 12: ...o network cable is detected after power on output high level when network cable is detected and output low level when there is a network connection 92 USB2DM Factory burning for use suspended if not i...

Страница 13: ...S8 Eight serial port patch 16 3 0 5 5 DC 27 27 NT1 Single serial port pin network port formal installation 6 3 0 5 5 DC 35 22 30 NT1 B Single serial port pin inverted network port 6 3 0 5 5 DC 35 22 3...

Страница 14: ...nology Co Ltd positioning holes isolation NB144S Four serial port positioning holes 16 8 28 DC 198 109 26 5 NB144ES Four serial port positioning holes 16 8 28 DC 198 109 26 5 POE NB183 Eight serial po...

Страница 15: ...ystem server Customizable default 114 114 114 114 collocation method Configuration tools AT instructions Local Port Customizable default channels 1 to 8 8001 to 8008 Subnet mask 255 255 255 0 default...

Страница 16: ...r Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Default gateway 192 168 3 1 Default working mode TCP Server Default Destination IP 192 168 3 100 Default target port 502 Serial...

Страница 17: ...Technology Co Ltd EBT3002 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 3 4 Hardware reference design 3 4 1 Typical application hardware connection 3 3V GND 12pF 12pF GNDG...

Страница 18: ...nsformer reference circuit 100nF GND 100nF GND 100nF100nF GND 10K 3 3V 100nF GND 3 3V BOOT0 USB2DP USB2DM 1 2 32 768KHz 12pF12pF GNDGND 1 1 2 2 3 3 4 4 8MHz 10pF GND 10pF GND LED 3 LED 4 LED 5 LED 6 L...

Страница 19: ...TXD6RXD6TXD7RXD7TXD2 RXD2 TXD8 RXD8 RXD3 TXD3 TXD5 RXD5 3 3V LED 1 LED 2 LED 3 LED 4 LED 5 LED 6 LED 7 LED 8 RXD2 26 VSS_4 27 VDD_4 28 RESERVED 29 RESERVED 30 RESERVED 31 RESERVED 32 TXD8 33 RXD8 34 R...

Страница 20: ...nnel 6 TCPS 8006 Channel 7 TCPS 8007 Channel 8 TCPS 8008 4 2 Local network parameters 4 2 1 Local IP STATIC static IP users can define the configuration IP subnet mask default gateway and Domain Name...

Страница 21: ...automatically restart to ensure the stability of long term operation The default activation cycle of this feature is 5 minutes Users can customize the activation or deactivation of timeout restart as...

Страница 22: ...that does not verify the source IP address of data when communicating using the UDP protocol After receiving each UDP packet it saves the source IP address and source port of the packet and sets it as...

Страница 23: ...e URL and Header can support up to 128 bytes of data and eight channels can independently enable HTTP client mode without affecting each other The HTTP request data should be smaller than the packagin...

Страница 24: ...ble to fill in the parameters for selecting standard MQTT3 1 1 Baidu Cloud OneNET and Huawei Cloud configurations parameter Standard MQTT3 3 1 Baidu Cloud OneNET Device Name Client ID Client ID Device...

Страница 25: ...sers need to use self built parameters to connect Configure Topic for communication testing Configuration topic description Select the corresponding product select Custom Topic in the Topic class list...

Страница 26: ...clients and MQTT clients can configure the local port to 0 using random local ports The server mode cannot use random ports otherwise the client cannot establish a connection correctly the device is...

Страница 27: ...yte Electronic Technology Co Ltd Fixed port of the device factory default 8001 8008 TCP server mode device listens to the configured port accepts connection requests from clients and establishes conne...

Страница 28: ...conds for example in Alibaba Cloud manuals it is recommended to use 120 seconds Heartbeat packet sending mode 1 The default is to turn off heartbeat packet mode 2 Serial mode The device sends heartbea...

Страница 29: ...re supported disabled by default while TCP short connections are mainly used to save server resource costs and are generally applied in multi point multi client to one point server scenarios The TCP s...

Страница 30: ...n 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 and this gateway mode does not suppor...

Страница 31: ...mmended to configure it as simple protocol conversion when there are no multiple hosts used Refer to Simple Protocol Conversion for software configuration and register configuration and enable multipl...

Страница 32: ...ime the gateway will automatically delete the storage instruction and release the cache 5 The first instruction and control instruction 05 06 0F 10 function codes will directly access the RTU device 6...

Страница 33: ...ion 5 4 6 Automatic upload In client mode TCP client UDP client MQTT client HTTP client the gateway will automatically poll the stored instructions in the instruction table and upload them to the serv...

Страница 34: ...Select the firmware that needs to be used which needs to be obtained from the Related Downloads corresponding to the product details on the official website www ebyte com The demonstration of using fi...

Страница 35: ...ial port When network upgrading fails or the network environment is complex it is recommended to use serial port for upgrading Step 1 Ensure that the device is in a power off state and correctly conne...

Страница 36: ...esponding to the product details on the official website www ebyte com The demonstration of using firmware is not provided on the official website Step 4 Click Start Upgrade press and hold the Reload...

Страница 37: ...story version Revision date Revision Description Maintainer 1 0 2023 05 29 Initial version LYL About us Technical support support cdebyte com Documents and RF Setting download link https www cdebyte c...

Отзывы: