Calibration-related Modbus registers and functions - HMP1 - HMP3 - HMP4 - HMP5 - HMP7 - HMP8 - HMP9 - HMPX - MMP8 - TMP1

HMP Series calibration and adjustment using Modbus Technical Note

Document code
M212794EN
Revision
A
Language
English
Product
HMP1
HMP3
HMP4
HMP5
HMP7
HMP8
HMP9
HMPX
MMP8
TMP1
Document type
Technical note
Table 1. Modbus calibration registers (writable)
Register number Address Register description Data format Unit/Valid range
8193 2000hex Calibration mode passcode 16-bit integer

1300 = calibration mode enabled

Any other value = calibration mode disabled

8194 2001hex Calibration year 16-bit integer These 3 registers must be written in a single transaction. It is not possible to change only year/month/day alone; such attempt will be ignored.
8195 2002hex Calibration month 16-bit integer
8196 2003hex Calibration day 16-bit integer
8197 2004hex Calibration text text

Text string of 24 bytes in UTF-8 encoding

When writing a new calibration text, all Modbus registers in this range must be written, even if the text is shorter. The written text must be filled with NUL bytes so that it exactly 24 bytes long. Any write attempts not writing all these registers in one transaction will be ignored.

2005hex
2006hex
2007hex
2008hex
2009hex
2010hex
2011hex
2012hex
2013hex
2014hex
2015hex
User RH adjustment
8449 2100hex Reference RH value, point 1 32-bit float %RH
2101hex
8451 2102hex Measured RH value, point 1 32-bit float %RH
2103hex
8453 2104hex Measured T value, point 1 32-bit float °C
2105hex
8455 2106hex Reference RH value, point 2 32-bit float %RH
2107hex
8457 2108hex Measured RH value, point 2 32-bit float %RH
2109hex
8459 210Ahex Measured T value, point 2 32-bit float °C
210Bhex
8461 210Chex Reference RH value, point 3 32-bit float %RH
210Dhex
8463 210Ehex Measured RH value, point 3 32-bit float %RH
210Fhex
8465 2110hex Measured T value, point 3 32-bit float °C
2111hex
8467 2112hex Reference RH value, point 4 32-bit float %RH
2113hex
8469 2114hex Measured RH value, point 4 32-bit float %RH
2115hex
8471 2116hex Measured T value, point 4 32-bit float °C
2117hex
8473 2118hex Reference RH value, point 5 32-bit float %RH
2119hex
8475 211Ahex Measured RH value, point 5 32-bit float %RH
211Bhex
8477 211Chex Measured T value, point 5 32-bit float °C
211Dhex
User T adjustment
8705 2200hex Reference T value, point 1 32-bit float °C
2201hex
8707 2202hex Measured T value, point 1 32-bit float °C
2203hex
8709 2204hex Reference T value, point 2 32-bit float °C
2205hex
8711 2206hex Measured T value, point 2 32-bit float °C
2207hex
Table 2. Modbus function registers (writable)
Register number Address Register description Data format Unit/Valid range
Functions
1285 0504hex Start sensor purge 16-bit integer

When writing to register:

1 = Start sensor purge

When sensor purge is in progress, the value of the register will count up from 0 to 100. When the value returns to 0, the sensor purge is complete.

8479 211Ehex Activate RH adjustment 16-bit integer

When writing to register:

1 = Activate RH adjustment

8480 211Fhex Restore factory RH adjustment 16-bit integer

When writing to register:

1 = Restore factory RH adjustment

8713 2208hex Activate T adjustment 16-bit integer

When writing to register:

1 = Activate T adjustment

8714 2209hex Restore factory T adjustment 16-bit integer

When writing to register:

1 = Restore factory T adjustment

Table 3. Adjustment function return codes
Value Meaning
0 Adjustment successful
-1 Adjustment failed due to missing or incorrect calibration values
-2 Adjustment failed, calibration locked
-4 Adjustment failed, calibration points too close to each other
-5 Adjustment failed, correction too large