Pressure Systems, Inc.

98RK-1 & 9816 User’s Manual©

 

 

READ INTERNAL COEFFICIENTS (Command 'u')

Purpose: Returns one (or more contiguous) requested internal coefficient(s) in a specified internal coefficient array, and in the specified response data format.

Command

ufaacc[-cc]

 

 

‘u’ is the command letter.

 

f’ is the format field.

 

aa’ is the array index field.

 

cc[-cc]’ is coefficient index [or contiguous range].

Response

dddd[ dddd]...

 

dddd’ are the datum fields, each with a leading space.

 

 

Description: The 1-character format field (f) is a single digit that defines the format of each returned datum in the response. All datum ( dddd) fields returned will be preceded by a space character. Most coefficients have a floating point datum type (f=0-1), while others have an integer datum type (f=5). Requesting an improper format will result in an “N08” error response. Valid format types for coefficients are shown in the following table:

f

Converts each internal value from..

max.char.

0

single binary float

to

7-10 digit signed decimal

13

 

 

 

[-xxx]x.xxxxxx”

 

 

 

 

 

 

1

single binary float

to

8-digit hex “ xxxxxxxx”

9

 

 

 

 

 

5

long binary integer

to

8-digit hex “ xxxxxxxx”

9

 

 

 

 

 

The 2-character array index field (aa) is a hexadecimal value selecting a particular internal coefficient array. The first array index (aa=01) refers to channel 1's transducer, the 16th (aa=10) refers to channel 16's transducer. Finally, the last array (aa=11) refers to a special global array.

The 2-character coefficient index field (cc) is a hexadecimal value that selects a particular coefficient within the specified array. Multiple contiguous coefficients may be specified by using a coefficient index “range” specified by adding a hyphen (negative sign) between two such indexes (cc-cc).

Page 86

www.PressureSystems.com

Page 88
Image 88
Pressure Systems 98RK-1 Read Internal Coefficients Command u, Ufaacc-cc, Converts each internal value from Max.char