Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterValueComment
WANlorawanFor LoRaWAN OTAA usage.
PlFmt5Sets the payload to a short format.
MbCmd0 0/5 * * * *:R,9600,8N1:010300160002,010300260002,fa0400050001
  • 010300160002 - Read register 22-23 (pressure)
  • 010300260002 - Read register 38-39 (temperature)
  • FA0400050001 - Read internal register 5 (vBat)

The CRON Expressions can be adjusted to set time of sensor reading.

PowerOnDelay1500Battery 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
    • 0x04 = Read Input Register
    • 0x06 = Write Holding Register
AddressFunctionBytesData ScopeDescription
0x00000x03, 0x0621-255Slave Address
0x00010x03, 0x062
  • 0-1200
  • 1-2400
  • 2-4800
  • 3-9600
  • 4-19200
  • 5-38400
  • 6-57600
  • 7-115200
Baud rate
0x00030x032
  • 0 -####
  • 1- ###.#
  • 2 - ##.##
  • 3 - #.###

Decimal point stands for 0-3 digits
decimal points


0x00020x032
  • 0- Mpa/
  • 1- Kpa
  • 2- Pa
  • 3- Bar
  • 4- Mbar
  • 5- kg/cm2
  • 6- psi
  • 7- mh2o
  • 8- mmh2o

Pressure unit

0x00040x032-32768-32767Measurement output value
0x00050x032-32768-32767Zero point of transmitter range
0x00060x032-32768-32767Full point of transmitter range
0x000c0x03, 0x062-32768-32767Zero point offset value, generally factory sets as 0
0x000F0x062
  • 0 - save to user area

0x00100x062
  • 1 - factory reset


Data Uplink (Port 20)

Code Block
Bytes | 0 .    | 1 . 2 . 3 . 4 . | 5 . 6 . 7 . 8 . | 9 . 10 . |
------+--------+-----------------+-----------------+----------+
Field | Header | Pressure        | Temperature     | Voltage  |

...