beautypg.com

Configuring measurement parameters, Set measurement output format – Vaisala DPT146 User Manual

Page 47

background image

Chapter 5 _________________________________________________________________ Operation

VAISALA ________________________________________________________________________ 45

Configuring Measurement Parameters

Set Measurement Output Format

Use the serial line command FORM to change the measurement message

sent by the transmitter. You can freely define the output message to

include the desired parameters, formatting options, text strings, and

additional fields.
FORM [modifier string]

where
modifier string = String of parameters and modifiers that defines the

output format, length 1 ... 153 characters.

Maximum length may be shorter when text strings

are used. See Table 7 and Table 8 on page 46, and

examples below.

You can return to the default format using the "FORM /" command.
Example of default output (continuous output from RUN mode):

Tdf= 12.5 'C P= 0.949 bara T= 24.4 'C H2O= 15506 ppm

Tdfatm= 13.5 'C

Tdf= 12.5 'C P= 0.949 bara T= 24.4 'C H2O= 15500 ppm

Tdfatm= 13.5 'C

...

Command to set output format as Tdf and P with Modulus-256

checksum:

form 3.1 "Tdf=" Tdf U3 3.3 "P=" P " " U4 " " CS2 \r \n

Output example:

Tdf= 12.5'C P= 0.949 bara 72

Tdf= 12.5'C P= 0.950 bara 6A

...

Command to set output format as Tdf and P, with start of text (ASCII

character 002) and end of text (003) ASCII codes, and without line feed

and carriage return at the end:

form #002 3.1 "Tdf=" Tdf U3 3.3 "P=" P " " U4 #003

Output example (ASCII codes not visible here):

Tdf= 11.6'C P= 0.952 baraTdf= 11.6'C P= 0.951 baraTdf=

11.6'C P= 0.951 baraTdf= 11.6'C P= 0.950 baraTdf= 12.5'C

...