Pressure Systems 98RK-1 Scanner User Manual


 
Pressure Systems, Inc. 98RK-1 & 9816 User’s Manual©
Page 80 www.PressureSystems.com
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
4-digit hex or other decimal (**)
'w' set
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)
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.
02
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