
15
HAMEG Instruments GmbH • Industriestr. 6 • D-63533 Mainhausen • Deutschland
Subject to change without notice
Tel.: +49 (0) 6182 800 0 • Fax: +49 (0) 6182 800 100 • E-Mail: [email protected]
Geschäftsführer: Dipl.-Ing. Holger Asmussen, Dipl.-Ing. Andre Vander Stichelen • AG Offenbach am Main HRB 41200
1
1
HAMEG Instruments GmbH • Industriestraße 6 • D-63533 Mainhausen
Subject to change without notice
Tel.: +49 (0) 6182 800 0 • Fax: +49 (0) 6182 800 100 • E-Mail: [email protected]
Geschäftsführer: Dipl.-Ing. Holger Asmussen • AG Offenbach am Main HRB 41200
Firmware Version: 01.020 and later
English
S C P I P r o g r a m m e r s M a n u a l
H M S S e r i e s
1
HAMEG Instruments GmbH • Industriestraße 6 • D-63533 Mainhausen
Subject to change without notice
Tel.: +49 (0) 6182 800 0 • Fax: +49 (0) 6182 800 100 • E-Mail: [email protected]
Geschäftsführer: Dipl.-Ing. Holger Asmussen • AG Offenbach am Main HRB 41200
Firmware Version: 01.020 and later
English
S C P I P r o g r a m m e r s M a n u a l
H M S S e r i e s
HMO352x, HMO2524
HMO72x ... HMO202x
Firmware Version: 03.00 and later
English
:ACQuire
:CHAN1OFFSet
:DISPlay
:HCOPy
*ESR?
*OPC?
:LOGic:SIZE
:POD1
:SYSTem
*SRE?
S C P I P r o g r a m m e r s M a n u a l
H M O S e r i e s
SCPI Commands HMC8012
1.6.2 Hierarchy of status registers
The status information has an hierarchical structure.
– STB, SRE
The STatus Byte (
STB
) register and its associated mask register Service Request Enable (
SRE
) form the highest level of
the status reporting system. The STB provides a rough overview of the instrument status, collecting the information of
the lower-level registers.
– ESR, SCPI registers
The STB receives its information from the following registers:
– The Event Status Register (
ESR
) with the associated mask register standard Event Status Enable (
ESE
).
– The
STATus:OPERation
and
STATus:QUEStionable
registers which are defined by SCPI and contain detailed
instrument information.
– Output buffer
The output buffer contains the messages the instrument returns to the controller. It is not part of the status reporting
system, but determines the value of the
MAV
bit in the
STB
and thus is represented in the overview.
All status registers have the same internal structure.
SRE, ESE
The service request enable register
SRE
can be used as
ENABle
part of the
STB
if the
STB
is structured
according to SCPI. By analogy, the
ESE
can be used as the
ENABle
part of the
ESR
.
1.6.3 Contents of the Status Registers
In the following sections, the contents of the status registers are described more detailed (please refer to page 20).
Status Byte (STB) and Service Request Enable Register (SRE)
The
STatus Byte
(STB) is already defined in IEEE 488.2. It provides a rough overview of the instrument status by
collecting the pieces of information of the lower registers. A special feature is that bit 6 acts as the sum bit of the
remaining bits of the status byte.
The STB can thus be compared with the
CONDition
part of an SCPI register and assumes the highest level within the
SCPI hierarchy.
The STB is using the command
The
STatus Byte
(STB) is linked to the
Service Request Enable
(SRE) register. Each bit of the STB is assigned a
bit in the SRE. Bit 6 of the SRE is ignored. If a bit is set in the SRE and the associated bit in the STB changes from 0 to
1, a service request (SRQ) is generated. The SRE can be set by using the command
and can be read by using the
command
*SRE?
.