beautypg.com

Download internal coefficients (command 'v') – Pressure Systems 98RK-1 User Manual

Page 92

background image

Pressure Systems, Inc. 98RK-1 & 9816 User’s Manual©

Page 90

www.PressureSystems.com

DOWNLOAD INTERNAL COEFFICIENTS (Command 'v')

Purpose: Downloads one or more internal coefficients to the module.

Command

vfaacc[-cc] dddd[ dddd]...

‘v’ is the command letter.
f’ is the format field.
aa’ is the array index field.
cc[-cc]’ is coefficient index [or contiguous range].
dddd’ are the datum fields, each with a leading space.

Response

A

‘A’ is the acknowledge letter.


Description: The 1-character format field (f) is a single digit that defines the format of each

coefficient to be downloaded in the command’s datum ( dddd) fields, with each

datum 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). Sending a

datum in the improper format will result in an “N08” error response. Valid format

types are shown in the following table:

f

converts each datum parameter value (‘ dddd’) from..

max.char.

0

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

to single

binary float

13

1

8-digit hex “ xxxxxxxx”

to single

binary float

9

5

8-digit hex “ xxxxxxxx”

to long binary

integer

9

The 2-character array index field (aa) is a hexadecimal value selecting a
particular internal coefficient array to receive the downloaded data. 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.


A

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).

Transducer Coefficient arrays for internal channels 1-16 are selected with
array indexes aa=01 through aa=10 (hex). A special single Other Coefficient
array is selected with array index aa=11 (hex). All the valid coefficient (cc)
indexes
(for each of these arrays) are listed in the appropriate tables included in
the description of the previous Read Internal Coefficients ('u') command.

This manual is related to the following products: