About Floating Point Conversion; Module Use; Interaction Between Modules - Ebyte E150-400T30S User Manual

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

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.

8.7 about floating point conversion

Decimal to single precision floating-point number can use online converter, link: online converter

8.8 module use

Each module has a public MODBUS address 00, which can directly operate the module
Each module has a private MODBUS address in addition to the public address
When using, users need to know the private MODBUS address of the device before remote access
If the customer does not know the private MODBUS address of this device, the 00 public address can be used,
and the 00 public address can only be recognized by the local device
You can use 00 03 07 E8 00 01 04 9b to read the private MODBUS address of different modules
Use 03 function code to read one or more register values, for example: read the current baud rate
01
Device MODBUS
address
Note: the CRC check code of the last two bytes of the sending instruction needs to be calculated by the user.
Serial port sending: 01 03 0b 72 00 01 26 35
Remote wireless transmission: 01 03 0b 72 00 01 26 35
After sending the above command to the device via serial port or wireless, the device will return the following
values to the serial port or wireless:
01
Device MODBUS
address
 Phenomenon: return the baud rate value, 03 represents the baud rate of 9600 bps.
 Serial port sending: 01 03 02 00 03 F8 45
 Remote wireless transmission: 01 03 02 00 03 F8 45

8.9 interaction between modules

W
hen the module receives a MODBUS command from a non local address, it will broadcast Lora. After receiving
the data, the receiving module will immediately command the Modbus command and reply again through Lora.
After receiving the data, the sending end will send back the data of the receiving end through UART
When using, the user needs to set the Modbus address of the device first, and the Modbus of different
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
03
Function
Register
code
head address
03
Function
Number of
code
bytes of data
0B 72
Number of
registers read
02
Returned data
E150-400T30S user manual
00 01
CRC check
00 03
CRC check
32
26 35
code
F8 45
code

Advertisement

Table of Contents
loading

Table of Contents