User manual
66 GMC-I Messtechnik GmbH
– Is changed from TRUE to FALSE (input ).
The registers are reset as a result of querying.
The *CLS setting command clears all event registers.
Example
– Incorrect programming command occurs.
– Command error bit 5, CME, is set to 1 in the ESR.
– Bit 5 remains set, even in the event of subsequent correct
commands.
– After querying ESR, the CME bit is reset.
Programming
Query command:*ESR? event standard register
ERA? event register A
ERB? event register B
Response string: n (decimal equivalent)
Value: 0 n 255
Length: 3 characters, fixed
Example (HP Basic):
OUTPUT 713; "*ESR?"
ENTER 713; A$; DISP A$
Display: 032 {032
10
= 0010 0000
2
}
(CME, command error)
Note
Refer to chapter 6.5 regarding conversion of the decimal
equivalent for representation of set bits.
ERAE, ERAE?, ERBE, ERBE?, *ESE, *ESE?, *SRE, *SRE?, *PRE, *PRE?
–
Enable registers
Settings
Functions
Enable register (see also chapter 6.3 on page 60 and the table:
“Query Commands for Status and Events Management” on
page 86).
The device is equipped with 5 enable registers.
Mask for forwarding messages from the event registers or the
status byte register
The necessary bits must first be set in the respective enable
register for corresponding masking.
Event information is only forwarded by registers which have
been set.
Selective enabling or disabling of SRQ or IST for event messages
The registers can be written to separately.
The register contents are non-volatile.
Queries, the *CLS command and device functions do not
cause any changes to the register contents.
Cleared only when the device is switched off, and if the non-
volatile PSC flag is also set to 1.
Cleared by entering a value of 0.
Programming
Setting command: *ESE n event standard enable register
ERAE n event enable register A
ERBE n event enable register B
*SRE n service request enable register
*PRE n parallel poll enable register
Parameter: n (value) decimal equivalent, register
content
Parameter type: Integer
Setting range: 0 n 255
Example (HP Basic):
OUTPUT 713; "ERAE144"
Bits 4 and 7 in the ERAE are prepared for
forwarding {1001 0000
2
= 144
10
}
Query
Functions
The query results in the selected register value.
The registers can be queried separately.
Register content is not changed by the query.
Programming
Query command: *ESE? event standard enable register
ERAE? event enable register A
ERBE? event enable register B
*SRE? service request enable register
*PRE? parallel poll enable register
Response string: n (decimal equivalent)
Value: 0 n 255
Length: 3 characters, fixed
Example (HP Basic):
OUTPUT 713; "ERAE?"
ENTER 713; A$; DISP A$
Display: 144 {144
10
= 1001 0000
2
}
IFC – Resetting the IEC Bus Interface (Interface Clear)
Functions
The IEC bus interface at the device is re-initialized with the IFC
(INTERFACE CLEAR) bus interface command, and is returned to
the standard default settings.
Addressing status Not addressed
Input and output buffers Unchanged
Service request SRQ Unchanged
Status byte register STB Unchanged
Event registers ESR, ERA, ERB Unchanged
Enable registers ESE, ERAE, ERBE, SRE, PRE Unchanged
Set and stored parameters Unchanged
Programming
Programming example (HP Basic): ABORT 7