Chapter 5 Remote Interface Reference

The SCPI Status System

i Q

The Alarm register group is used to report the status of the four instrument alarm limits. Any or all of these alarm conditions can be

reported to the Alarm Register summary bit through the zvw ”z . To set the enable register mask, you must write a decimal value to the register using the STATus:ALARm:ENABle command.

Bit Definitions – Alarm Register

 

 

Decimal

 

 

Bit Number

Value

Definition

 

 

 

 

0

Alarm 1

1

Alarm occurred on Alarm 1.

1

Alarm 2

2

Alarm occurred on Alarm 2.

2

Alarm 3

4

Alarm occurred on Alarm 3.

3

Alarm 4

8

Alarm occurred on Alarm 4.

4

Queue Empty *

16

Alarm queue status (0 = empty, 1 = not empty).

5

Queue Overflow

32

Alarm data lost due to alarm queue overflow.

6

Not Used

64

Returns “0”.

15Not Used

32768

Returns “0”.

*The Condition Register implements only bit 4.

The Alarm zz ”z

is cleared when:

You execute a *CLS (clear status) command.

You query the event register using the STATus:ALARm:EVENt? command.

The Alarm zvw ”z

is cleared when:

You turn on the power (*PSC does not apply).

You execute the STATus:PRESet command.

You execute the STATus:ALARm:ENABle 0 command.

284

Page 282
Image 282
HP 34970A manual Bit Definitions Alarm Register