beautypg.com

Vaisala HMP228 User Manual

Page 59

background image

HMP228 Transmitters

M210282en-A

Appendix 1: Serial commands

53

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:

"aw= .999 T=999.9 'C",

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 0.144

60.3'C

5 0.150

63.2'C

10 0.122

62.0'C

33 0.135

61.1'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.

If there are no error messages, only a prompt is displayed:

>ERRS
>