Fluke 5020A Thermostat User Manual


 
Digital Communications Interface
Commands 6
6-49
STATus:ALARm:ENABle?
This command returns the Alarm Status Enable Register (see STATus:ALARm:ENABle
<num> command below).
Example: STAT:ALAR:ENAB?
Response: 32
STATus:ALARm:ENABle <num>|MIN|MAX|DEF
This command sets the Alarm Status Enable Register. This register determines which
event bits of the Alarm Status Event Register affect the Alarm Status Bit of the Status
Byte Register. If any bit in the Alarm Status Event Register is set (1) while its
corresponding mask bit in the Alarm Status Enable Register is set, the Alarm Status Bit in
the Status Byte Register will be set. The value of the <num> parameter is a number from
0 to 63 that is the sum of the binary-weighted values of each mask bit. The Alarm Status
Event Register is described in Section 8.4.11.9, STATus:ALARm?. The following
example causes the Alarm Status Bit in the Status Byte Register to be set when a power
failure alarm has been triggered.
Example: STAT:ALAR:ENAB 32
Response: 32
STATus:MEASure?
This command reads and clears the Measure Status Event Register. The value returned
indicates the condition of each of the eight bits of the register by adding the binary-
weighted values of each bit. The meaning of each bit, when set (1), is as follows where 0
is the least significant and 7 is the most significant:
0: no measurement.
Bit 0 Channel 1 temperature
measure bit.
Bit 1 Channel 1 humidity measure
bit.
Bit 2 Channel 2 temperature
measure bit.
Bit 3 Channel 2 humidity measure
bit.
Bit 4 Not used.
Bit 5 Not used.
Bit 6 Not used.
Bit 7 Not used.
Example: STAT:MEAS?
Response: 3
STATus:MEASure:CONDition?
This command reads the Measurement Status Condition Register. Reading this register
does not affect it. The value returned indicates the condition of each of the eight bits of
the register by adding the binary-weighted values of each bit. The meaning of each bit,
when set (1), is as follows where 0 is the least significant and 7 is the most significant:
0: no measurement
Bit 0 Channel 1 temperature
measure bit.
Bit 1 Channel 1 humidity measure
bit.
Bit 2 Channel 2 temperature