Vaisala HMP155 User Manual

Page 36

Advertising
background image

USER'S GUIDE____________________________________________________________________

34 _______________________________________________________________ M210912EN-C

OK
>send
Temperature= 24.23
>

>form "Twet=" 6.3 tw U3 #t "T=" t U3 #r#n
OK
>send
Twet= 11.290'C T= 24.231'C
>

>form 5.1 rh #t t #t tdf #r#n
OK
>send
15.6 24.2 -3.1
>

FORM / command returns the default output format. The default output
format depends on the device configuration. FORM command without
formatter string returns the current output format of the probe.

>form /
OK
>send
RH= 23.8 %RH T= 19.4 'C
>

Checksums are calculated as described in the equations below.

n

i

i

b

cs

1

2

256

mod

65536

mod

1

4

n

i

i

b

cs

2

4

6

3

0

'

2

4

6

3

'

'

'

'

i

2

1

i

i

i

i

i

i

n

x

b

or

b

if

b

b

and

b

if

b

b

b

b

b

cs

Table 14

Symbols Used in FORM Checksum Equations

Symbol Description
cs

2

Value of CS2 checksum in the output message.

cs

4

Value of CS4 checksum in the output message.

cs

x

Value of CSX checksum in the output message.

b

i

Value of the byte at position i (1-based) in the output message.

n

Number of bytes in the output message before the CS2, CS4, or
CSX field (including earlier checksum fields, if any).

Bit-wise exclusive-or operator.

36

Byte value of ASCII $ character.

42

Byte value of ASCII * character.

Advertising