Remote interface reference – American Magnetics 286 Multi-Sensor Liquid Level Instrument (CE-Marked) User Manual
Page 81

67
Remote Interface Reference
SCPI Status System
5.2.5
Measurement Registers
The Measurement register group reports the present condition of the
measurements for each channel in the Measurement Condition register,
and latches the ON state of each condition bit in the Measurement Event
register.
Any or all of the bits in the Measurement Event register can be reported to
bit 7 of the Status Byte register by enabling the corresponding bit(s) in the
Measurement Event enable register (see Figure 5-1). For example, to set
the Measurement Event enable register, write a binary-weighted decimal
value using the
STATus:MEAS:ENABle
<
value
>
command.
The bit definitions for the Measurement Condition and Event registers are
identical and are provided in Table 5-4. The Measurement Condition
register is continually updated for each level measurement cycle. The
Measurement Event register latches the ON state of each condition bit,
and the respective bit(s) remain set until cleared.
The Measurement Event register is cleared when any of the following
occurs:
•
The
*CLS
(clear status) command is executed.
•
The Measurement Event register is queried using the
STATus:MEAS:EVENt?
command.
•
The power is turned off and then back on.
2 B Alarm
4
“B” alarm condition or event
(CH1 and CH2 only).
3 LO Alarm
8
“LO” alarm condition or event.
4 RATE Alarm
16
“RATE” alarm condition or event.
5 FILL bit
32
The associated AC output is
energized (CH1 and CH2 only).
6 EXPIRED bit
64
The associated AC output fill cycle
has expired and the output is
de-energized (CH1 and CH2 only).
7 CONTACT bit
128
A “1” indicates that the associated
contact sense detects an open
circuit (CH1 and CH2 only).
Table 5-3. Bit definitions for each of the Alarm Condition and
Alarm Event registers.
Bit Number
Decimal
Value
Definition