background image

Chengdu Ebyte Electronic Technology Co., Ltd.

EBT3002 User Manual

Copyright ©2012–2023

Chengdu Ebyte Electronic Technology Co., Ltd.

device.

2. Send custom registration package data (OLCSTM) when establishing a connection between

the network and the device.

3. After establishing a connection between the network and the device, each packet of data

sent by the device to the network is prefixed with a MAC address (EMBMAC).

4. After establishing a connection between the network and the device, each packet of data

sent by the device to the network is preceded by a custom registration packet data
(EMBCSTM).

Custom registration package content (supports up to 40 bytes of ASCII data and 20 bytes of

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

In client mode, network short connections are 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 short connection function is applied in the TCP Client mode. After enabling the short

connection function, only a request is made to connect to the server when sending information. After
the connection is successful, if the serial port does not receive or receive data or the network port
does not receive or receive data within the set time, the device will automatically disconnect.

Turn off the short link function when the short link retention time is set to 0. When the setting

range is (2-255) seconds, the short connection function is turned on, and the default hold time is 0
seconds (close short links).

5.3 Serial cache cleaning

When the TCP connection is not established, the data received by the serial port will be placed

in the cache area. The serial port receive cache is 512 bytes. After the network connection is
successful, you can choose to clear the serial port cache or send the cache through the network
through configuration.

Summary of Contents for EBT3002 T6

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd EBT3002 User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: