IEEE-488 Reference
3-28
3.11.2 *ESE <NRf> — event enable
Program the Standard Event Enable Register
ESE? — event enable query
Read the Standard Event Enable Register
Parameters
<NRf> =
0
Clear register
1
Set OPC (B0)
4
Set QYE (B2)
8
Set DDE (B3)
16
Set EXE (B4)
32
Set CME (B5)
64
Set URQ (B6)
128
Set PON (B7)
255
Set all bits
Description
The *ESE command is used to program the Standard Event Enable Register. This command is
sent with the decimal equivalent of the binary value that determines the desired state (0 or 1) of
the bits in the register. This register is cleared on power-up.
This register is used as a mask for the Standard Event Status Register. 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 (enabled), the occurrence of that
event sets the ESB bit. For information on the Standard Event Status Register and descriptions
of the standard event bits, see paragraph 3.11.3. The Status Byte Register is described in para-
graph 3.8.6.
A cleared bit (0) in the enable register prevents (masks) the ESB bit in the Status Byte Register
from setting when the corresponding standard event occurs. A set bit (1) in the enable register
allows (enables) the ESB bit to set when the corresponding standard event occurs.
The Standard Event Enable Register is shown in Figure 3-15 and includes the decimal weight
of each bit. The sum of the decimal weights of the bits that you wish to be set is the parameter
value that is sent with the *ESE command. For example, to set the CME and QYE bits of the
Standard Event Enable Register, send the following command:
*ESE 36
where; CME (bit B5) = Decimal
32
QYE (bit B2) = Decimal
4
<NRf> =
36
If a command error (CME) occurs, bit B5 of the Standard Event Status Register sets. If a query
error (QYE) occurs, bit B2 of the Standard Event Status Register sets. Since both of these events
are unmasked (enabled), the occurrence of any one of them causes the ESB bit in the Status Byte
Register to set.
The Standard Event Status Event Register can be read by using the *ESE? query command.
Содержание 6517A
Страница 1: ...Model 6517A Electrometer User s Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E...
Страница 310: ...A Specifications...
Страница 311: ...A Specifications...