Switch Output Do Time Setting; Restart Switch Output State Setting; Network Related Functions; Server Ip Or Domain Name, Port, Tcp Or Udp Settings (Socket) - Ebyte E831-RTU(6060-4G) Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
0xFF means that the digital input has not changed,
The values of DI1, DI2, DI3, DI4, DI5, DI6 in the table represent that the status of DI1 and DI2 is updated to open, the
status of DI3 is updated to be closed, and the status of DI4, DI5, and DI6 has not changed. The last two bytes are the
modbus CRC16 calculation value.
Frame header
AA BB

4.3.3 Switch output DO time setting

The digital pulse output time setting is to set the digital output time (relay NO, COM closing time), the corresponding
Modbus register is 40083 (0x0052), and its value range is 300-65535ms, if the value is lower than 300ms, the default
digital output Closed is the hold state, that is, the switch output is held all the time after it is closed. If it is set to 300ms
and above, such as 500ms, after sending the switch output close command, the switch value will be closed for 500ms,
and then automatically disconnected after 500ms.

4.3.4 Restart switch output state setting

Whether the device keeps the state before power off or restarts to keep the specific output state, this function is only valid
when the device switch output time setting register value is less than 300ms.
The Modbus register corresponding to the switch restart output state setting is 40085 (0x0054), and its value range is
0x00-0x40. When this register value is 0x40
After power off and restart, the last switch output state is maintained; when the value of this register is 0x00-0x3F, the
lower six bits determine the switch output state when the device is restarted, bit6 corresponds to DO6, bit5 corresponds
to DO5, bit4 corresponds to DO4, bit3 Corresponds to DO3, bit2 corresponds to DO2, and bit1 corresponds to DO1. For
example, when the power is turned on, DO6, DO5, DO4, DO2 are in closed state (relay NO, COM is closed) DO3, DO1
is in open state (relay NO, COM is open), The corresponding register value is 0011 1010, that is, 0x3A, "1" is the closed
state, and "0" is the open state.

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 the ASCII code length
corresponding to the IP or domain name, and the remaining registers are used to store the ASCII code value
corresponding to the IP or domain name. For example, IP is 116.62.42.192, port is 31687, a total of 13 characters, that is,
the length is 0x000D, the corresponding ASCII code value of IP is 31 31 36 2E 36 32 2E 34 32 2E 31 39 32, the
corresponding modbus register storage value is as follows surface. If it is a domain name, the corresponding domain
name is also converted into the hexadecimal corresponding to ASCII for storage. (Note: The maximum length of the
domain name does not exceed 40 ASCII codes)
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
DI1
DI2
00
00
40101(0x0063)
DI3
DI4
01
FF
40101(0x0064) -- 40121(0x0078)
21
E78-470LN22S User Manual
Modbus
DI5
DI6
CRC
FF
FF
F1 7B

Advertisement

Table of Contents
loading

Table of Contents