4 read primary transducer volts (command ’v’) – Pressure Systems 9046 User Manual

Page 41

Advertising
background image

Pressure Systems, Inc. Model 9046 User’s Manual

Page 35

www.PressureSystems.com

5.4 Read Primary Transducer Volts (Command ’V’)

Purpose

:

Returns the most recently acquired primary transducer (i.e., temperature/ resistance) raw data
for the specified channels. These data are averaged signed A/D counts (in the range -32768 to
+32767). This simple data bypasses using the transducer’s E. U. conversion coefficients
(c0..c3) and the calibration adjustment coefficients (offset and gain). Each (non-binary) datum
returned in the response will be in the specified high-precision data format. (NOTE: the formula
for converting A/D counts to volts is: Volts = A/D Counts * 5/32768) This command is intended
for advanced users only and is not required for normal operation.

Command

"Vppppf"
’V’ is the operation code
’pppp’ position field (channel selection bit map)
’f’ is the format field

Response

"dddd.. [dddd]"
’dddd’ are the data fields, each with a 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) to specify a particular channel number (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 requested. Each (non-binary) datum will be preceded by a space character.
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
integer

9

7

single binary float to single binary float (big endian: msb first)

4

Advertising