User status – Measurement Computing TempScan/1100 User Manual
Page 251

TempScan / MultiScan User’s Manual
889897
API
Command Reference A-55
U
- User Status
TYPE
System
EXECUTION
Immediate
SYNTAX
Ureq
Request information about various internal conditions of the unit where
req
refers to one of the following request types:
0
- Query and clear the Event Status Register (
ESR
)
1
- Query the Status Byte Register (
STB
)
2
- Query and clear the Calibration Status Register (
CSR
)
3
- Query the current system settings
4
- Query the current High/Low/Last (HLL) Registers
5
- Query and clear the current High/Low/Last (HLL) Registers
6
- Query the Buffer Status String
7
- Query the assigned alarm outputs
8
- Query the configured channels
9
- Query the digital inputs
10
- Query the installed memory option
11
- Query the current alarm channels
12
- Query the Time/Date stamping of the last calibration
13
- Query the last scan read
14
- Query the card ID types
15
- Query the product information
16
- Query the measuring mode parameters (MultiScan/1200 only)
17
- Query the Root Mean Square (RMS) value (MultiScan/1200 only)
18
- Query the acquisition states and various system flags
DESCRIPTION
The User Status (
U
) command is used to return information about various conditions of the unit, and may be sent
at any time without interfering with normal operation. The following text provides more detailed information about
the User Status (
U
) command responses.
•
U0
: Query and clear the Event Status Register (
ESR
). This request responds with an integer
nnn
of the
form
000
≤≤≤≤ nnn ≤≤≤≤ 255
, where the individual values are as follows, and multiple values are summed:
128
- Power On (Bit 7)
008
- Device Dependent Error (Bit 3)
064
- Buffer 75% Full (Bit 6)
004
- Query Error (Bit 2)
032
- Command Error (Bit 5)
002
- Stop Event (Bit 1)
016
- Execution Error (Bit 4)
001
- Acquisition Complete (Bit 0)
•
U1
: Query the Status Byte Register (
STB
). This request responds with an integer
nnn
of the form
000
≤≤≤≤ nnn ≤≤≤≤ 255
, where the individual values are as follows, and multiple values are summed:
128
- Buffer Overrun (Bit 7)
008
- Scan Available (Bit 3)
064
- RQS or MSS (Bit 6)
004
- Ready (Bit 2)
032
- Event Detected (Bit 5)
002
- Triggered (Bit 1)
016
- Message Available (Bit 4)
001
- Alarm (Bit 0)
•
U2
: Query and clear the Calibration Status Register (
CSR
). This request responds with an integer
nnn
of
the form
000
≤≤≤≤ nnn ≤≤≤≤ 255
, where the separate values are as follows, and multiple values are summed.
The
CSR
Bits 7 and 6 respond with the following combined values:
192
- Calibration Mode, Command Active
(Both Bits 7 and 6)
064
- EEPROM Test Mode (Bit 6 only)
(Not discussed in this manual.)
128
- Calibration Mode, Idle (Bit 7 only)
000
- Normal Run Mode (Neither Bit 7 nor 6)
Meanwhile, the
CSR
Bits 5 through 0 respond with the following individual values:
If in Normal Run Mode (
000
), then:
If in either Calibration Modes (
192
or
128
), then:
032
- Read Failure (Bit 5)
032
- Read Failure – EEPROM Error (Bit 5)
016
- Write Failure (Bit 4)
016
- Write Failure – EEPROM Error (Bit 4)
008
- Checksum Error (Bit 3)
008
- Checksum Error – EEPROM Error (Bit 3)
004
- NV-RAM Error (Bit 2)
004
- Calibration Error (Bit 2)
002
- Invalid Password (Bit 1)
002
- Invalid Password (Bit 1)
001
- Invalid Command (Bit 0)
001
- Invalid Command (Bit 0)