Chengdu Ebyte Electronic Technology Co.,Ltd
E851-RTU(4440-ETH) User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
23
The corresponding Modbus register of the switch automatic reporting setting is 40082 (0x0051), and the value corresponds to the
function:
Switch off automatic reporting function
Switching quantity is automatically reported and transmitted via RS485
Switching quantity is automatically reported and transmitted via GPRS Network
The switch change upload protocol is as follows. The frame headers is 0xAA and 0xBB are fixed, and the values range of DI1, DI2,
DI3, and DI4 are 0x00, 0x01, and 0xFF, while
0x00 represents the switch input disconnection.
0x01 represents the switch input closed.
0xff represents that the switch input has not changed.
The values of DI1, DI2, DI3, and DI4 in the table indicate that the DI1, DI2 status is updated to open, the DI3 status is updated to
closed, and the DI4 status is unchanged. The last two bytes are modbus CRC16 calculated values.
Frame header
DI1
DI2
DI3
DI4
Modbus CRC
0xAA 0xBB
0x00
0x00
0x01
0xff
0xBD 0xDA
4.3.3. DO Time Settings for Switch Output
The setting of switching pulse output time is to set the switching output time (relay NO, COM closing time). The corresponding
Modbus register is 40083 (0x0052). Its value range is 300-65535 Ms. If the value is less than 300 ms, the default switching output is
closed to hold state, that is, the switching output is kept after closing.
If it is set to 300ms or more, such as 500 ms, after sending the closing command, the closing of the switch will be maintained 500 ms,
and then it will be automatically disconnected after 500 ms.
4.3.4. Switch DO Restart Output State Settings
Whether the device restarts to maintain the state before the power is turned off or to maintain the setting of the specific output
state,This function is only valid if the output time of the device switch is set to register value less than 300 ms.
The corresponding Modbus register is 40085 (0x0054) when the switch restart output state is set, Its value range is 0x00-0x10.
When this register value is 0x10, the last switch output state is maintained after the power is turned off and restarted; When the register
value is 0x00-0x0F, the output state of the device restart switch is determined by the low four bits. Bit 4 corresponds to DO4, Bit 3
corresponds to DO3, Bit 2 corresponds to DO2, Bit 1 corresponds to DO1, When power on, DO4, DO2 are in closed state (relay NO,
COM closed) DO3, DO1 is in open state (relay NO, COM disconnected), corresponding register value is 0000 1010, that is, 0xa0, "1"
is closed state, "0" is disconnected state.