beautypg.com

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

Page 79

background image

65

Remote Interface Reference

SCPI Status System

The Standard Event register is queried using the

*ESR?

command.

The power is turned off and then back on (with the exception of the
“Power On” bit).

The Standard Event enable register is cleared when any of the following
occurs:

The

*ESE 0

command is executed.

The power is turned off and then back on.

5.2.4

Alarm Registers

The Alarm register group reports the present condition of the alarms for
each channel in the four Alarm Condition registers, and latches the ON
state of each alarm in the four Alarm Event registers.

Any or all of the bits in the Alarm Event registers can be reported to bit 3
of the Status Byte register by enabling the corresponding bit(s) in the
Alarm Event enable registers (see Figure 5-1). For example, to set the

Table 5-2. Bit definitions for the Standard Event register.

Bit Number

Decimal

Value

Definition

0 Operation Complete

1

All commands prior to and including

*OPC

have been executed.

1

Not Used

2

Always “0”.

2 Query Error

4

A query error occurred. See the
error messages in the -200 range.

3 Device Error

8

A device error occurred. See the
error messages in the -400 range.

4 Execution Error

16

An execution error occurred. See
the error messages in the -300
range.

5 Command Error

32

A command error occurred. See the
error messages in the -100 range.

6

Not Used

64

Always “0”.

7 Power On

128

Power has been cycled since the
last time the Standard Event register
was read or cleared.