Pressure Systems 98RK-1 READ HIGH-PRECISION DATA Command r, Command “ r p ppppf ”, Response

Models: 98RK-1

1 153
Download 153 pages 51.42 Kb
Page 85
Image 85
READ HIGH-PRECISION DATA (Command 'r')

Pressure Systems, Inc.

98RK-1 & 9816 User’s Manual©

 

 

READ HIGH-PRECISION DATA (Command 'r')

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

Command r[p]ppppf

 

‘r’ is the command letter

 

‘[p]pppp’ is the position field

 

f’ is the format field

Response

dddd[ dddd]...

 

 

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

Description: The 4 or 5 character hex position field ([p]pppp) specifies a 16 or 20 bit binary bit- map, with each bit set to 1 to specify a particular channel number (S & P external rack channels, plus internal channels 16-1, left-to-right).

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 datum will be preceded by a space character (except in the case of binary format 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 binary float

to

8-digit hex integer “ xxxxxxxx”

9

 

 

 

 

 

2

double binary float

to

16-digit hex integer “ xxxxxxxxxxxxxxxx”

17

 

 

 

 

 

5

single binary float

to

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

9

 

 

 

integer

 

7

single binary float

to

single binary float (big endian: msb first)

4

 

 

 

 

 

8

single binary float

to

single binary float (little endian: lsb first)

4

 

 

 

 

 

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

Page 83

www.PressureSystems.com

Page 85
Image 85
Pressure Systems 98RK-1 READ HIGH-PRECISION DATA Command r, Command “ r p ppppf ”, Response, “ dddd dddd ... ”, max.char