beautypg.com

Vaisala PTB200 User Manual

Page 17

background image

PTB 200

16 (28)

Digital Barometers

SSD/Operating Manual

24th February 1993

PTB200-O0284-1.1

SMODE

Setting the sending mode

SMODE xxxx

STOP and RUN modes only

SMODE aa STOP

POLL mode only

where
xxxx

STOP, RUN or POLL

aa

the address (1...99) of the barometer in the POLL mode

SMODE command sets or inspects the sending mode of the barometer.

The factory setting is the STOP mode. After power-up or reset the ba-
rometer outputs only its type code and software version number;
pressure readings are output only by command.

In the RUN mode the barometer starts to output pressure readings
automatically after power-up or reset. The S command can be used to
stop the output.

The POLL mode is used mainly during adjustment and calibration when
several barometers are connected to one RS 232C bus. In the POLL
mode measurements can be output only with SEND aa command (see
SEND aa command). Echo is off in the POLL mode. See also OPEN
and CLOSE commands for further details on how to control a single
barometer when several barometers are connected on one RS 232C
bus.

Example of setting, using and resetting the POLL mode:

>SMODE
Serial mode : STOP
>ADDR
Address : 0 ? 7
>SMODE POLL
Serial mode : POLL
SEND 7
(pressure reading appears here)
SMODE 7 STOP
Serial mode : STOP
>ADDR
Address : 7 ? 0