EasyManua.ls Logo

Ebyte E851-RTU User Manual

Ebyte E851-RTU
35 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #25 background imageLoading...
Page #25 background image
Chengdu Ebyte Electronic Technology Co.,Ltd E851-RTU(4440-ETH) User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
24
4.4 Network related functions
4.4.1. Server IP or domain name, port, TCP or UDP settings (Socket)
The server IP or domain name is stored by 22 modbus registers. The first register is used to store IP or the length of
the ASCII code corresponding to the domain name, the remaining registers are used to store IP or the ASCII code value
corresponding to the domain name. For example, the IP is 116.62.42.192, the port is 31687, a total of 13 characters, that
is, the length is 0x000D, and the IP corresponding ASCII code value is 31 31 36 2E 36 32 2E 34 32 2E 31 39 32. The
corresponding modbus register storage value is as follows table. If it is a domain name, the corresponding domain name
is also converted into ASCII corresponding hexadecimal storage. (Note: The maximum length of the domain name does
not exceed 40 ASCII codes)
40101(0x0063)
40101(0x0064) -- 40121(0x0078)
length
IP or domain name value
00 0D
31 31 36 2E 36 32 2E 34 32 2E 31 39 32
Port 31687, corresponding to hexadecimal 7BC7; The protocol type (TCP, UDP) is saved using the protocol register, the
value 0x0001 corresponds to the TCP protocol, and the value 0x0000 corresponds to the UDP protocol. That is, when the
IP is 116.62.42.192 and the port is 31687, the TCP protocol, the unused IP or domain name register can be filled as "0" or
not filled. If you need to use the function code “0x10” to write the IP, domain name, port, and protocol type at one time,
the unused registers must be filled with values to continuously write the modbus register. The corresponding register
values are as follows:
40100(0x0063)
40101(0x0064) -- 40121(0x0078)
40122(0x0079)
40123(0x007A)
IP or domain
name length
IP or domain name value
Server port
TC Pprotocol
00 0D
31 31 36 2E 36 32 2E 34 32 2E 31 39 32 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00
7B C7
00 01
Because the length of IP or domain name register is longer than that of IP or domain name value, it is necessary to consider the length
of IP or domain name when writing IP register, that is, how many registers need to be occupied. If the above IP is written to the
Modbus register:
Question and Answer IconNeed help?

Do you have a question about the Ebyte E851-RTU and is the answer not in the manual?

Ebyte E851-RTU Specifications

General IconGeneral
Transmission Power30dBm
InterfaceRS232/RS485
Operating Temperature-40°C to +85°C
ProtocolModbus RTU
Antenna ConnectorSMA

Summary

Features

1. Quick Start

1.1. Port connection

Details on connecting various ports like RS485, switch input, relay output, and analog input.

1.1.1. RS485 connection

Wiring diagram and explanation for establishing an RS485 connection, including terminal resistance.

1.1.2. Switch Input Connection

Diagram illustrating the connection for switch input, specifically dry contact type.

1.1.3. Relay output connection

Wiring diagrams for connecting loads to relay outputs using NC and NO terminals.

1.1.4. Differential analog input connection

Connection methods for differential analog input using two-wire, three-wire, and four-wire transmitters.

1.2. Quick Use

Guide on basic usage including wiring, networking, power supply, and RS485 bus control software.

1.2.1. RS485 Bus Control

Steps for controlling the RS485 bus using the software, including searching and stopping devices.

2. Product Introduction

2.1. Basic parameters

Overview of the product's fundamental specifications including size, weight, operating conditions, and interface.

2.2. Size, interface description

Detailed physical dimensions and a breakdown of all interfaces and ports on the device.

2.3. Reload touch button description

Details on the reload touch button function, including its effect on factory setting restoration.

3. Modbus

3.1. Modbus address table

Table listing Modbus register addresses, their attributes, types, value ranges, and supported function codes.

3.3. RS485 Serial Port Baud Rate Code Table

Table mapping Baud Rate codes to their corresponding numerical values for RS485 communication.

3.4. RS485 serial port check bit value table

Table defining the check bit values for RS485 serial port parity configuration.

3.5. Host computer configuration parameters

Guidance on configuring parameters via the host computer, referring to the product functions section.

4. Product Function

4.1. Working mode

Explanation of the two working modes: Host mode and Slave mode, and their configuration.

4.1.1.Slave mode

Detailed description of Slave mode operation, data handling, and communication via RS485.

4.1.2. Host mode

Detailed description of Host mode operation, data handling, and cascade function capabilities.

4.2. Basic functions of IO

Overview of fundamental Input/Output operations, including digital and analog signals.

4.2.1. Switch DO Output

Details on reading and controlling the state of Digital Output (DO) relays.

4.2.1.1 Read Switch DO Output

Instructions for reading the status of switch outputs (DO) using Modbus RTU and TCP protocols.

4.2.1.2. Control switch quantity DO output

How to control the switch output state (DO) using Modbus RTU and TCP protocols.

4.2.2. Read switch DI input

Procedure for reading the status of Digital Input (DI) switches using Modbus protocols.

4.2.3. Read analog AI input

Steps to read analog input (AI) values using Modbus RTU and TCP protocols.

4.2.4. Analog AI range setting

Configuration for setting the input range of analog inputs (AI) to 0-20mA or 4-20mA.

4.3. IO Feature Function

Functionality for pulse counting on digital inputs and clearing the accumulated counts.

4.3.1.Pulse count and count clear

Functionality for pulse counting on digital inputs and clearing the accumulated counts.

4.3.1.1 Read pulse count value

How to read the current pulse count values for digital inputs using Modbus.

4.3.2.1. Clear pulse count value

Procedure for clearing pulse count values for specific digital inputs.

4.3.2. Switching input DI is automatically reported

Configuration for automatic reporting of digital input (DI) changes via RS485 or GPRS.

4.3.3. DO Time Settings for Switch Output

Setting the timing for switch output (DO) pulses, defining ON/OFF durations.

4.3.4. Switch DO Restart Output State Settings

Configuration for the output state of DO relays upon device restart.

4.4 Network related functions

Configuring server IP/domain, port, and protocol (TCP/UDP) for network communication.

4.4.1. Server IP or domain name, port, TCP or UDP settings (Socket)

Configuring server IP/domain, port, and protocol (TCP/UDP) for network communication.

4.4.2. Custom registration package

Setting up custom registration packets for device identification and communication.

4.4.3. Heartbeat package

Configuration of heartbeat packets for maintaining active connections and monitoring device status.

4.4.4. Heartbeat packet time

Setting the time interval for sending heartbeat packets to the server.

4.4.5. Heartbeat packet mode

Choosing between serial and network heartbeat packet modes for device communication.

4.4.6. IP parameter setting of local WAN port

Configuring static or dynamic IP settings, subnet mask, and gateway for the WAN port.

4.4.7. DNS settings

Setting preferred and standby DNS server addresses for network resolution.

4.4.8. Ebyte Cloud Transparent Transmission

Enabling or disabling the Ebyte Cloud transparent transmission function.

4.4.9. Clear cache

Function to clear the network socket cache.

4.4.10. Keep alive connection

Configuring keep-alive parameters to maintain TCP connections.

4.4.11. Timeout restart

Setting the timeout for Ethernet layer restart after network inactivity.

4.4.12. SOCKET Local Port Settings

Configuring the local port number for SOCKET connections.

4.4.13. MAC reading

Reading the MAC address of the device.

4.4.14. SN reading

Reading the Serial Number (SN) of the device.

Important statement

Revision History

Related product manuals