...
Parameter | Value | Comment |
---|---|---|
WAN | lorawan | For LoRaWAN OTAA usage. |
PlFmt | 5 | Sets the payload to a short format. |
MbCmd | 0 0/5 * * * *:R,9600,8N1:010300040001,fa0400040001,fa0400050001 |
The CRON Expressions can be adjusted to set time of sensor reading. |
PowerOnDelay | 1500 | Battery variant only. Sets time (in ms) between activating sensor power and reading value (time for sensor to be ready). |
Modbus Register Mapping
The probe is a Modbus slave with the following registers:
Modbus Command: <Slave Address (1)><Function (1)><Address (2)><Length (2)>
- Length = Register count -> 1 Register = 2 Bytes
Function
0x03 = Read Holding Register- 0x06 = Write Holding Register
Address | Function | Bytes | Data Scope | Description |
---|---|---|---|---|
0x0000 | 0x03, 0x06 | 2 | 1-255 | Slave Address |
0x0001 | 0x03, 0x06 | 2 |
| Baud rate |
0x0003 | 0x03 | 2 |
| Decimal point stands for 0-3 digits |
0x0002 | 0x03 | 2 |
| Pressure unit |
0x0004 | 0x03 | 2 | -32768-32767 | Measurement output value |
0x0005 | 0x03 | 2 | -32768-32767 | Zero point of transmitter range |
0x0006 | 0x03 | 2 | -32768-32767 | Full point of transmitter range |
0x000c | 0x03, 0x06 | 2 | -32768-32767 | Zero point offset value, generally factory sets as 0 |
0x000F | 0x06 | 2 |
| |
0x0010 | 0x06 | 2 |
|
Data Uplink LoRaWAN (Port 20)
Code Block |
---|
Bytes | 0 . | 1 . 2 . | 3 . 4 . | 5 . 6 . | ------+--------+----------+-------------+---------| Field | Header | Pressure | Temperature | Voltage | |
...
Temperature (0x41b5c079):
Data Uplink (Port 20)
Code Block |
---|
Bytes | 0 . | 1 . 2 . 3 . 4 . | 5 . 6 . 7 . 8 . | 9 . 10 . | ------+--------+-----------------+-----------------+----------+ Field | Header | Pressure | Temperature | Voltage | |
...