Programming the status and event registers, Power-on conditions, Operation status group – AMETEK Lx Series II Programming Manual User Manual
Page 154
Programming Manual
Lx \ Ls Series II
150
7. Programming the Status and Event Registers
You can use status register programming to determine the operating condition of the AC source at
any time. For example, you may program the AC source to generate an interrupt (assert SRQ)
when an event such as a current limit occurs. When the interrupt occurs, your program can then
act on the event in the appropriate fashion.
Figure 7-1 shows the status register structure of the AC Source. Table 7-2 defines the status bits.
The Standard Event, Status Byte, and Service Request Enable registers and the Output Queue
perform standard IEEE-488 functions as defined in the IEEE 488.2 Standard Digital Interface for
Programmable Instrumentation. The Operation Status, Questionable Status, and Questionable
Instrument Isummary Status registers implement functions that are specific to the AC source.
7.1
Power-On Conditions
Refer to the *RST command description in chapter 4, Table 5-2 for the power-on conditions of the
status registers.
7.2
Operation Status Group
The Operation Status registers record signals that occur during normal operation. The group
consists of the following registers:
Register
Command
Description
Condition
STAT:OPER:COND?
A register that holds real-time status of the
circuits being monitored. It is a read-only
register.
PTR Filter
STAT:OPER:PTR
A positive transition filter that functions as
described under STAT:OPER:NTR|PTR
commands in chapter 4. It is a read/write
register.
NTR Filter
STAT:OPER:NTR
A negative transition filter that functions as
described under STAT:OPER:NTR|PTR
commands in chapter 4. It is a read/write
register.
Event
STAT:OPER:EVEN?
A register that latches any condition that is
passed through the PTR or NTR filters. It is a
read-only register that is cleared when read.
Enable
STAT:OPER:ENAB
A register that functions as a mask for enabling
specific bits from the Event register. It is a
read/write register.
Table 7-1: Operation Status registers
The outputs of the Operation Status register group are logically-ORed into the OPER(ation)
summary bit (7) of the Status Byte register.