Serial line output and communication - HMT120

HMT120 User Guide

Document code
M211244EN
Revision
D
Language
English
Product
HMT120
Document type
User guide
Table 1. R command
Syntax Description
r<cr> S

Use the r command to start the continuous outputting of measurement values as an ASCII text string to the serial line. The output always includes the readings of the currently selected analog output parameters.

Outputting the results continues in intervals issued with the command intv. You can stop the output by entering the s command.

You can define the output data formatting with the form command. With X parameter the transmitter will output RH + T value in predefined format regardless of what parameters are selected.

Example:
r
RH= 25.10% T= 24.77'C
RH= 25.12% T= 24.96'C
...
Table 2. S command
Syntax Description
s<cr> Stop the continuous outputting that was started with the r command.
Example:
...
RH= 25.10% T= 24.77'C
RH= 25.12% T= 24.96'C
s
Table 3. INTV command
Syntax Description
intv<cr>

Use the intv command to show or set the output interval of the serial line measurement messages (applies when r command or RUN mode is used). The shortest output interval is one second. This command has no effect on the operation of the analog outputs.

intv [iii uuu]<cr> Set the output interval.

iii = interval, range 0 ... 255.

u = unit for interval setting:

  • s = seconds
  • min = minutes
  • h = hours
If you set the interval to 0, the output messages are output as quickly as they are generated, without additional delay.
Example:
intv 5 s
Output interval: 5 S
>
Table 4. SEND command
Syntax Description
send [x] <cr>

Use the send command to output a single measurement reading from the transmitter.

When you enter the x parameter, the transmitter will output RH + T value in predefined format regardless of what parameters are selected.

Example:
send
RH= 25.12 % T= 24.91 'C
>