Chengdu Ebyte Electronic Technology Co.,Ltd.
E150-400T30S user manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
33
devices cannot be the same
For example: 01 06 07 E8 00 02 89 4B (set the Modbus address of the device with MODBUS address 01 to 02)
Send a MODBUS command of a non local address, and the module will automatically broadcast Lora. When the
receiving end receives the data, it will execute the Modbus command of the response, and broadcast the
returned data again. After receiving the reply data, the sending end will output the reply data through
UART. The process is shown in the following figure:
8.10 about flash operation
DI, DO, AI, AO and CFG each occupy one page of flash, so updating different peripherals will not affect
each other;
W
henever the user uses MODBUS to read, flash will not be updated;
W
henever the user uses MODBUS to write, generally, flash will be directly written for data saving, except
for the following registers:
Do status
0x0000
Coil RW
1*4
When the do power on hold
register is 0x01,
Writing will automatically
update flash
When the do power on hold
register is 0x00,
Writing does not update flash
Ao
floating
point
value
0x0000
Holding
register RW
2*2
When the Ao power on hold
register is 0x01,
Writing will automatically
update flash
When the Ao power on hold
register is 0x00,
Writing does not update flash
PWM duty
cycle
0x1770
Holding
register RW
1*2
When the do power on hold
register is 0x01,
Writing will automatically
update flash
When the do power on hold
register is 0x00,
Writing does not update flash