beautypg.com

Scom user specific send command – Vaisala PTB220 User Manual

Page 34

background image

U

SER

'

S

G

UIDE

_______________________________________________________________________

28 ___________________________________________________________________ M210194

EN

-A

>addr 7
Address

:

7

>

A new address replaces the previous one. Always set the address to 0
when no address is needed:

>addr 0
Address

:

0

>

If the barometer is not closed in the POLL mode, it will respond to
any SEND command (regardless of the address). The barometer must
be set to POLL mode and then closed with CLOSE command (see
Chapter POLL mode).

SCOM User specific SEND command

SCOM

This command is used to define a user specific SEND command for
one message output. The standard SEND command of the barometer
will always function normally whatever the SCOM definition may be.

The new command must be defined within “ “ signs, then some end
characters also can be defined. This allows the user to specify
commands without an end character or with an end character of his
choice.

The SCOM command is very practical when the user wishes to be
able to use the same one-message command as previously has been
used for some other barometer (e.g. the PA11A).

Note that the SCOM command is case sensitive. It is in fact
recommended to use the opposite case characters for SCOM definition
to avoid any conflict with other commands. Note also that the PTB220
barometer does not react on at the end of a command.

Example of setting a P (note the upper case character in comparison to
the rest of the lower case characters) command for one message
output:

>scom

? "P" #r
>P
1020.30 hPa
>