Table 27, Form command modifiers, Table 27 form command modifiers – Vaisala HMT330 User Manual

Page 104: Examples

Advertising
background image

User's Guide _______________________________________________________________________

102 __________________________________________________________________ M210566EN-K

Table 27

FORM Command Modifiers

Modifier

Description

x.y

Length modifier (number of digits and decimal places)

#t

Tabulator

#r

Carriage-return

#n

Line feed

“"

String constant

#xxx

Special character, code "xxx" (decimal), for example
#027 for ESC

U5

Unit field and length (length optional)

ADDR

Transmitter address [00...255]

ERR

Error flags for P, T, Ta, RH [0000 ... 1111], 0 = no error

STAT

Transmitter status in 7 character field, for example:
N 0

no heating

h 115

probe heating active, power 115/255

H 159.0

purge heating active, temperature 159ºC

S 115.0

purge cooling active, temperature 115ºC

X 95.0

sensor heating active, temperature 95ºC

SN

Transmitter serial number

TIME

Time [hh:mm:ss]

DATE

Date [yyyy-mm-dd]

CS2

Modulus-256 checksum of message sent so far, ASCII
encoded hexadecimal notation

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

Examples:

>form "RH=" 4.2 rh U5 #t "T=" t U3 #r #n
OK
>send
RH= 16.03%RH T= 74.66'F

>form "Tfrost=" tdf U3 #t "Temp=" t U3 #r#n
OK
>send
Tfrost= 36.0'C Temp= 31.0'C
>

Command ‘FORM /’ will return the default output format. The default
output format depends on the device configuration.

>form /
OK
>send
RH= 98.4 %RH T= 31.1 'C
>

Advertising