Mode Switching; Normal Mode (Mode 0); Ode (Mode 1) - Ebyte E150-400T30S User Manual

400m frequency band 1w lora wireless acquisition control module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
3. Only in normal mode can RF transmission be started. In wor mode and sleep mode, RF data cannot be
actively transmitted, but local MODBUS data can be processed;
4. In wor mode, RF data can be passively sent, so the host can be placed in normal mode and directly
access modules in wor mode;
5. Modules in sleep mode, in addition to keeping awake, need to process all tasks before entering sleep
again.
6. It is forbidden for the sending time of the client wake-up packet to exceed the wake-up delay time,
otherwise data errors will be caused.

6.2 Mode switching

E150-400T30 S is different from other products in that it uses the device mode register to control
its mode, and requires the customer to use instructions to change the mode;
Mode switching instruction: (take address 01 as an example)
Normal mode: 01 06 07 EB 00 00 F8 8A
Wor mode: 01 06 07 EB 00 01 39 4A
Sleep mode: 01 06 07 EB 00 02 79 4B
Module switching will be carried out only when there are no other tasks;
The default switching sequence is as follows:

6.3 Normal mode (mode 0)

Type
When the device mode register = 0, the module operates in mode 0
Local MODBUS
When the module receives the Modbus instruction of local or 00 address, it will
Or 00modbus
immediately start to process the corresponding operation. If the data needs to be
instructions
saved, it will be automatically written to flash and returned through UART.
When the module receives a non-local MODBUS command, it will add a specific frame header to
Non local
the Modbus command to directly broadcast Lora. When other corresponding modules receive the
MODBUS
Lora data, after a delay of 10ms, they will perform corresponding operations, and reply to the
instructions
processed MODBUS command return data through Lora again, and then the UART at the sending end
will output it.
Non
MODBUS
command
When a module receives a non MODBUS command, it will broadcast directly through Lora.
Transparent
All other modules can receive this data and output it through their own UART.
transmission
function
LoRa
The preamble time length controlled by the preamble register will be automatically
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
E150-400T30S user manual
20

Advertisement

Table of Contents
loading

Table of Contents