Measurement output format - HMD110 - HMD112 - HMS110 - HMS112 - HMW110 - HMW112 - TMD110 - TMI110 - TMW110

HMDW110 with TMI110 User Guide

Document code
M211726EN
Revision
F
Language
English
Product
HMD110
HMD112
HMS110
HMS112
HMW110
HMW112
TMD110
TMI110
TMW110
Document type
User guide
Table 1. Unit command
Syntax Description
unit<cr> Show current setting of the unit command.
unit [m|n]<cr>

Set types of units used on the serial line.

m = metric units, for example, Celsius

n = non-metric units, for example, Fahrenheit

Example (set units to non-metric):

unit n
Units : Non metric
Table 2. Form command
Syntax Description
form<cr> Show the currently used measurement format.
form /<cr> Reset measurement format to default.
form [sss]<cr>

Set a new measurement format.

sss = String consisting of modifiers and abbreviations for measured parameters. See Table 3 and Table 4. Maximum length 127 characters.

Example: show currently used measurement format (default format shown):

form
3.1 "T=" T " " U3 3.1 "RH=" RH " " U4 3.1 "Td=" Td " " U3 3.1 "Tw=" Tw
" " U3 4.1 "h=" h " " U7 \r \n

Output example:

send
T= 25.1 'C RH= 39.4 %RH Td= 10.3 'C Tw= 16.2 'C h= 45.1 kJ/kg

Example: set output format as RH and T, with start of text (ASCII character 002) and end of text (003) ASCII codes, and without line feed and carriage return at the end:

form #002 3.1 "RH=" RH U4 3.1 "T=" T " " U3 #003
OK

Output example (ASCII codes not visible here):

send
RH= 39.3%RH T= 25.1 'C
Table 3. Output parameters for form command
Measured parameter Abbreviation in form command
Temperature t
Relative humidity rh
Dew point td
Enthalpy h
Wet bulb temperature tw
Table 4. Modifiers for form command
Modifier Description
x.y Length modifier (number of digits and decimal places)
\t Tabulator
\r Carriage return
\n Line feed
\xxx ASCII character with decimal code xxx
"" String constant
ux Name of the measurement unit using x number of characters. For example, u3 shows the name of the measurement unit with three characters.
addr Transmitter address
sn Transmitter serial number
time Time since transmitter was started or reset
cs4 Modulus-65536 checksum of message sent so far, ASCII encoded hexadecimal notation
csx NMEA xor-checksum of message sent so far, ASCII encoded hexadecimal notation
You can also use the hash character # instead of the backslash character \.