beautypg.com

Pressure Systems 9022 User Manual

Page 88

background image

Pressure Systems, Inc.

NetScanner™ System (9016, 9021, & 9022) User’s Manual

www.PressureSystems.com

3 - 58

READ HIGH-PRECISION DATA (Command ‘r’)

Purpose:

Returns the most recently acquired engineering-unit pressure data for the specified
channels. Each datum returned in the response will be in the specified high-
precision data format.

Command

rppppf

r’ is the command letter
pppp’ is the position field
f’ is the format field

Response

dddd.. dddd

dddd’ are datum fields, each with leading space (except f= 7 or 8).

Description: The 4-character hex position field (pppp) specifies a 16-bit binary bit-map, with

each bit (set to 1) specifying a particular channel number (16-1, left-to-right).
Models 9021 and 9022 use only channels 12-1.

The 1-character format field (f) specifies the format of each data field (dddd) that
will be returned in the requested response. The first datum returned in the
response will be for the highest channel number specified.
Each (non-binary)
datum will be preceded by a space character (except in the case of f= 7). Some
formats may not be applicable to the specific type of data being requested. Valid
formats are shown in the following table:

f

converts each internal response datum value from

max. char.

0

single binary float

to

7-10-digit signed decimal “ [-xxx]x.xxxxxx”

13

1

single b inary floa t

to

8-digit hex integer “ xxxxxxxx”

9

2

dou ble b inary floa t

to

16-digit hex integer “ xxxxxxxxxxxxxxxx”

17

5

single binary float

to

long integer (EU*1000) then to 8-digit hex integer

9

7

single b inary floa t

to

single b inary floa t (big en dian: m sb first)

4

8

single binary float

to

single b inary floa t (little endian: lsb first)

4

Unless the EU conversion scalar is altered, the returned data will be in units of psi.