Heartbeat Mechanism; Overtime Restart; Tcp Multi-Connection Function - Ebyte E830 Series User Manual

Ethernet switch quantity i/o controller, data acquisition module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
The establishment of connection sending packet is mainly applied to the server that needs to register. Data-carrying
registration packets refers to accessing registration packets at the head of data in the sending data, which mainly for
protocol transmission. The user-defined data packet defaults to hexadecimal data (ASCII code optional) and the
maximum packet length is 40 bytes.

5.3 Heartbeat mechanism

In network transparent transmission mode, users can choose to let E830-DIO (ETH-2A) send heartbeat packets.
Heartbeat packets can be sent to the web server or sent to the serial device but they cannot be run at the same time.
Network heartbeat package: sending heartbeat packets to the network, heartbeat packet data is sent to the network
server to maintain the connection with the network server under the set heartbeat sending cycle, which is only valid in
TCP Client mode.
Serial data packet: The module sends heartbeat packet data to the serial port under the set heartbeat sending cycle.
Users can do the corresponding processing after the serial port receiving heartbeat data.
In an application where the server sends a fixed query to the device, to reduce traffic flow, the user can choose to
send a heartbeat packet (query command) to the serial device instead of sending a query from the server.
The user-defined packet defaults to hexadecimal data (ASCII code optional), and the E830-DIO (ETH-2A) module
supports up to 40 bytes of custom heartbeat packet content.

5.4 Overtime restart

Overtime restart (no data restart) function is mainly used to ensure long-term stability of E830-DIO (ETH-2A).
When the network interface fails to receive data for a long time, or if the network does not receive data for a long time,
E830-DIO (ETH-2A) will be restarted after the set time to avoid the impact of abnormal conditions on communication.
The normal working time of this function is set to 60~65535S, default is 300s. When the setting time is less than 60S, the
default setting is zero, that is, the function is turned off.

5.5 TCP Multi-Connection Function

The TCP multi-connection function mainly solves the problem that in the TCP Sever mode, the user has multiple
clients to connect E830-DIO (ETH-2A) and send and receive data at the same time. Working as TCP server, E830-DIO
(ETH-2A) can create up to 6 connections at the same time. TCP server will send data to multiple (not more than 6) TCP
Client on the connection simultaneously. When the number of established connections exceeds 6, the old connection
established at the beginning is automatically disconnected, ie, the old connection is kicked.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
Figure 5-4 Each data package sending custom data
E830-DIO(ETH-2A) User Manual
15

Advertisement

Table of Contents
loading

This manual is also suitable for:

E830-dio

Table of Contents