Vaisala HMP240 User Manual

Page 87

Advertising
background image

HMP240

M210300en

Appendix 1: Serial commands

85

SMODE xxxx<cr>

aa

=

address of the transmitter

xxxx

=

STOP, RUN or POLL

The OPEN command sets the bus temporarily in STOP MODE so that the
SMODE command can be given. For example:

>SMODE <cr>

which mode is in use at the moment

Serial mode : STOP

>SMODE STOP <cr>

setting STOP mode

Serial mode : STOP

OPEN & CLOSE

OPEN nn <cr>

nn

=

address of the transmitter (0...99)

CLOSE <cr>

In STOP mode: command OPEN has no effect, CLOSE sets the transmitter in

POLL mode

In POLL mode: command OPEN sets the transmitter temporarily in STOP

mode, command CLOSE returns the instrument to POLL
mode

When more than one transmitter is connected to the same serial bus, the POLL
mode makes it possible to communicate with the transmitters. For example, a
relative humidity calibration is performed at transmitter 2 (<bel> = ASCII 7):

>OPEN 2 <cr>
<cr><lf> 'HMP nn line opened for operator commands'
<cr><lf><lf><bel>
>CRH <cr>
...
>CLOSE <cr>
<cr><lf> 'line closed' <cr><lf>

Advertising