Pressure Systems, Inc.

98RK-1 & 9816 User’s Manual©

 

 

READ MODULE STATUS (Command 'q')

Purpose: Returns requested module status information.

Command

qii

 

 

‘q’ is the command letter.

 

ii’ is the status index field.

Response

hhhh

 

 

hhhh’ is a 4-digit hex datum (or other (**) decimal datum).

Description: The 2-digit hex index field (ii) chooses a particular status field to be returned. Returned value is described in following table for each index (a third column shows any ‘w’ command index for setting same option):

 

ii

 

returned value

 

'w' set

 

 

 

 

4-digit hex or other decimal (**)

 

index

 

00

Module’s Model Number, as decimal (**) integer value (e.g., 9816).

 

 

 

01

Firmware Version, as hex value

 

 

 

 

 

(expressed internally as integer version * 100).

 

 

 

 

 

(e.g. hex ‘0100’ = 256 decimal, means Version 2.56)

 

 

 

02

Power-up Status, as 16-bit hex bit map, bits having the following meaning:

 

 

 

 

 

Bit 0 (LSB): A/D Failure Error.

 

 

 

 

 

 

 

 

 

 

 

 

Bit 1:

Transducer Re-zero Adjustment (offset) Term Range Error (out-of-

 

 

 

 

 

 

range values set to 0.0 internally).

 

 

 

 

 

Bit 2:

Transducer Span Adjustment (gain) Term Range Error (out-of-range

 

 

 

 

 

 

values set to 1.0 internally).

 

 

 

 

 

Bit 3:

Temperature Correction Coefficients Not Present or Out-of-Range (if

 

 

 

 

 

 

transducer has one or more bad coefficients, all set to 0.0).

 

 

 

 

 

Bit 4:

reserved (for transducer checksum)

 

 

 

 

 

 

 

 

 

 

 

 

Bit 5:

FLASH Initialized Data Section Checksum Error (if error, all data

 

 

 

 

 

 

variables set to factory defaults and stored in FLASH).

 

 

 

 

 

Bit 6:

SRAM Error.

 

 

 

 

 

 

 

 

 

 

 

 

Bit 7:

Error Reading External DHs.

 

 

 

 

 

 

 

 

 

03

reserved

 

 

 

 

 

 

 

 

 

04

reserved

 

 

 

 

 

 

 

 

05

Number of A/D Samples To Average, as hex value (e.g., 000A=10 decimal).

10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 80

www.PressureSystems.com

Page 88
Image 88
Pressure Systems 9816, 98RK user manual Read Module Status Command q, Hhhh, Returned value Set Digit hex or other decimal