beautypg.com

Send outputting a reading once, Errs outputting error messages, Send – Vaisala HMP230 User Manual

Page 94: Outputting a reading once, Outputting error messages

background image

HMP230 SERIES
Appendix 1: Serial commands

M210225en-B

88

SEND

Outputting a reading once

SEND in STOP state

or

SEND aa

in POLL state

aa

=

address of the transmitter when more than one transmitter is
connected to a serial bus (0...99; set with command ADDR)

Outputs the current measurement readings via the serial line. The output for-
mat depends on which parameters the transmitter can output. Output types are:

RH= 21.9 %RH T= 23.9 'C
RH= 21.9 %RH T= 23.9 'C Td=0.9 'C
RH= 21.9 %RH T=23.9 'C a=4.7 g/m3

x=4.0 g/kg

Tw= 12.3 'C

RH=

21.9

%RH

T=

23.9

'C

Td=0.9

'C

a=4.8

g/m3

x=4.0

g/kg

Tw=12.3 'C h=34.4 kJ/kg
RH= 21.9 %RH T= 24.0 'C h= 34.4 kJ/kg

The output mode can be changed with command FORM.

DSEND

Outputting readings of all connected transmitters once

DSEND

All transmitters connected to the serial bus send their addresses and current
measurement readings in an order defined by their addresses. After receiving
DSEND command a transmitter sets a delay time according to its address
value and sends the data after this delay. DSEND works also in POLL mode.
With this command the user can, for example, easily find out the addresses of
the transmitters.

The output when four transmitters with addresses 4, 5, 10, 33 have been con-
nected to the serial bus:

>dsend

4 14.43 %RH
5 22.7 'C

10

14.99 %RH

33

22.3 'C

>

ERRS

Outputting error messages

ERRS

During operation error messages are not output automatically through the se-
rial interface. If there is any reason to doubt that there is something wrong
with the transmitter, possible error messages can be output with command
ERRS.