beautypg.com

Vaisala HMP228 User Manual

Page 63

background image

HMP228 Transmitters

M210282en-A

Appendix 1: Serial commands

57

Activating the date output

>fdate on
Form. date : ON
>r
1995-03-10 aw= 0.206 T= 26.0 'C
1995-03-10 aw= 0.206 T= 26.0 'C
1995-03-10 aw= 0.206 T= 26.0 'C
1995-03-10 aw= 0.206 T= 26.0 'C
1995-03-10 aw= 0.206 T= 26.0 'C
...

Inactivating the date output

>fdate off
Form. date : OFF
>r
aw= 0.202 T= 26.0 'C
aw= 0.202 T= 26.0 'C
aw= 0.202 T= 26.0 'C
aw= 0.202 T= 26.0 'C
aw= 0.202 T= 26.0 'C
...

SERI

Serial bus settings

SERI b p d s x

b

=

bauds (300, 600, 1200, 2400, 4800, 9600)

p

=

parity (n = none, e = even, o = odd)

d

=

data bits (7 or 8)

s

=

stop bits (1 or 2)

x

=

duplex (H = half, F = full)

Giving the command on its own outputs the current settings:

>SERI
4800 E 7 1 FDX

The settings can be changed one parameter at a time or all parameters at once:

>SERI O H

changing parity and duplex

4800 O 7 1 HDX

>SERI 600 N 8 1 F

changing all parameters

600 N 8 1 FDX

The processor does not allow the following combinations:

no parity, 7 data bits, 1 stop bit: if this combination is given the
HMP228 programme will change the number of stop bits to 2

even or odd parity, 8 data bits, 2 stop bits: if this combination is given
the programme changes the number of stop bits to 1