IEEE-488 Reference
4-5
4.5.3 LOCAL key
The LOCAL key cancels the remote state and restores local
operation of the instrument.
Pressing LOCAL also turns off the REM indicator and re-
turns the display to normal if a user defined message was dis-
played.
Note that the LOCAL key is also inoperative if the LLO (Lo-
cal Lockout) command is in effect.
4.6 Status structure
The status register structure of the Model 2001 is shown in
Figure 4-5. The following information will explain the vari-
ous registers and queues that make up this structure.
4.6.1 Standard event status
The reporting of standard events is controlled by two 16-bit
registers; the Standard Event Status Register and the Stan-
dard Event Status Enable Register. Figure 4-6 shows how
these registers are structured.
In general, the occurrence of a standard event sets the appro-
priate bit in the Standard Event Status Register. This register
can be read at any time to determine which, if any, standard
events have occurred. Also, with the proper use of the Stan-
dard Event Status Enable Register, a standard event can set
the Event Summary Bit (ESB) of the Status Byte Register.
This allows the programmer to take advantage of the service
request (SRQ) feature. See paragraph 4.6.9 for details.
Standard Event Status Register
This is a latched, read
only register that is used to record the occurrence of standard
events. Each bit in the register (except bit B1 which is not
used by the Model 2001) represents a standard event.
Descriptions of these standard events are provided in
paragraph 4.10.4.
When a standard event occurs, the appropriate bit in the
Standard Event Status Register sets. For example, if you at-
tempt to read data from an empty Output Queue, a Query Er-
ror (QYE) will occur and set bit B2 of the status register. A
set bit in this register will remain set until an appropriate op-
eration is performed to clear the register. The Standard Event
Status Register can be read at any time by using the follow-
ing common query command (see paragraph 4.10.4 for de-
tails):
*ESR?
Reading this register using the *ESR? command also clears
the register. The following list summarizes all operations that
clear the Standard Event Status Register:
1. Cycling power.
2. Sending the *CLS common command.
3. Sending the *ESR? common command.
Standard Event Status Enable Register
This register is
programmed by the user and serves as a mask for standard
events. When a standard event is masked, the occurrence of
that event will not set the Event Summary Bit (ESB) in the
Status Byte Register. Conversely, when a standard event is
unmasked, the occurrence of that event will set the ESB bit.
A bit in the Standard Event Status Register is masked when
the corresponding bit in the Standard Event Status Enable
Register is cleared (0). When the masked bit of the Standard
Event Status Register sets, it is ANDed with the correspond-
ing cleared bit in the Standard Event Status Enable Register.
The logic “0” output of the AND gate is applied to the input
of the OR gate and thus, will not set the ESB bit in the Status
Byte Register.
A bit in the Standard Event Status Register is unmasked
when the corresponding bit in the Standard Event Status En-
able Register is set (1). When the unmasked bit of the Stan-
dard Event Status Register sets, it is ANDed with the
corresponding set bit in the Standard Event Status Enable
Register. The logic “1” output of the AND gate is applied to
the input of the OR gate and thus, sets the ESB bit in the Sta-
tus Byte Register.
The individual bits of the Standard Event Status Enable Reg-
ister can be set or cleared by using the following common
command (see paragraph 4.10.2 for details):
*ESE <NRf>
The Standard Event Status Enable register can be read at any
time by using the following common query command (see
paragraph 4.10.3 for details):
*ESE?
Reading this register using the *ESE? command does not
clear the register. The following list summarizes all opera-
tions that will clear the Standard Event Status Enable Regis-
ter:
1. Cycling power.
2. *ESE 0