beautypg.com

Set serial line settings, Set probe address – Vaisala GMP231 User Manual

Page 41

background image

Chapter 4 ____________________________________________________ Vaisala Industrial Protocol

VAISALA ________________________________________________________________________ 39

Set Serial Line Settings

Use the SERI command to set the serial line settings. The new settings
will be taken into use when the probe is reset or powered up.

SERI [b p d s]

where

b

=

baud rate (9600, 19200, or 19200)

p

=

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

d

=

data bits (7 or 8)

s

=

stop bits (1 or 2)


Example (shows default settings):

seri
Com1 Baud rate : 19200
Com1 Parity : N
Com1 Data bits : 8
Com1 Stop bits : 1

Example (set serial line to 9600 baud, even, 7 data bits, and 1 stop bit):

seri 9600 e 7 1
OK
seri
Com1 Baud rate : 9600
Com1 Parity : E
Com1 Data bits : 7
Com1 Stop bits : 1

Set Probe Address

Use the ADDR command to set the device address of the probe.
Addresses are required for POLL mode.

ADDR [aaa]

where

aaa =

Device address of the probe, range 0 ... 254 (default = 0)

Example (change probe address to 52):

pass 1300
addr 52
Address : 52