User manual

34 GMC-I Gossen-Metrawatt GmbH
*ESE, *ESE?, *PRE, *PRE?, *SRE, *SRE?, ERAE, ERAE?, ERBE, ERBE?,
ERCE, ERCE?
– Enable registers
Function
The enable registers determine which bit(s) from the correspond-
ing event or status byte register is/are capable of influencing the
respective group message. The respective group message
remains set (1 = TRUE), as long as at least one bit which has
been enabled to this end has a status of TRUE.
This allows for selective enabling or disabling of an SRQ and/or
the individual status message “IST” due to an occurred event
(masking).
The device is equipped with six enable registers. They can be
written to and read separately. Queries, the *CLS command and
device functions do not cause any changes to the contents of
these registers. They can be cleared by entering a value of “0”
(e.g. *ESE 0). The enable registers are non-volatile, and are only
cleared by means of device shutdown if the non-volatile PSC flag
is set to 1.
n = decimal equivalent of register content (0 n 255).
Sample Setting Command
Syntax: *ESE n
Sample Query Command
Syntax: *ESE?
Sample response string: *ESE 255
*ESR?, ERA?, ERB?, ERC? – Event Register Query
Menu (for ERA?, ERB?, ERC?)
Function
The event register provides information concerning events which
have occurred within the device since the last query. They acquire
and save status changes which have occurred for specific device
functions. The corresponding bit is set in the event register when
the respective event occurs.
For example, the CME command error bit is set in the ESR event
standard register upon receipt of an incorrect programming
command. This bit remains set, even if correct commands are
subsequently transmitted to the device. The CME bit is not reset
until the ESR register is queried.
The device is furnished with four 8-bit event registers, each of
which can be individually queried. When an event register is
queried, its content is deleted. The *CLS command (CLEAR
STATUS) can be used to clear all event registers.
Each response consists of a whole number 0 n 255, where n
corresponds to the decimal equivalent of the content of the
respective register.
An enable register is assigned to each event register.
*IDN? – Device Identification Query
Function
In response to this query, the device identifies itself by providing
information regarding manufacturer, type designation, serial
number, hardware revision level and firmware revision level.
Query Command
Syntax: *IDN?
Sample response string:
“GMC-I GOSSEN-METRAWATT,
PSP1500P060RU060P,xxxxxxxxxxxxxxx,01,001”
manufacturer,type,serial_number,hardware_revision,software_revision
Fixed response string length: 63 characters
*IST? – Individual Status Query
Function
Command for directly querying parallel poll information, derived
from the status byte.
The status byte is not reset by this query.
Query Command
Syntax: *IST?
Response string: 0 or 1
*LRN? – Device Settings Query (LEARN)
*LRN? reads out current device settings.
*LRN? i (i = 1 through 12) reads out the respective device settings
which have been saved to setup memories 1 through 12 [for a
more precise formulation refer to command *SAV 1 through 12].
Function
In response to the *LRN? query command, the device supplies a
list of nearly all adjustable functions along with current parameter
settings.
Query Command
Syntax: *LRN?
Sample response string (after *RST):
“OUTPUT OFF;USET +000,000;ISET
+000,000;PSET +01500.0;UL_L +000,000;UL_H
+060,000;IL_L +000,000;IL_H +060,000;OVP
ON;OVSET +080,000;OV_DELAY 00,000;OCP
OFF;OCSET +080,000;OC_DELAY
00,000;POWER_ON RST;T_MODE
OFF,OFF;ANALOG_IN OFF, OFF;SINK
ON;C_DYN R;MEAS_LPF 3;MINMAX OFF;SIG123
OFF, OFF, OFF;SSET OFF;FSET CLR;TDEF
00,001;TSET 00,000;START_STOP
0001.0001;REPETITION 000;DISPLAY UO, IO”
Variant: *LRN? i
(i) = optional parameter, specifies address in setup memory
#i = 1 - 12. *LRN? i reads the “*LRN?” data record out of setup
memory (01 i 12).
Fixed response string length: 390 characters
Designation Setting Command Query Command
Event standard enable reg. (ESE) *ESE
n *ESE?
Parallel poll enable register (PRE) *PRE
n *PRE?
Service request enable reg. (SRE) *SRE
n *SRE?
Event enable register A (ERAE) ERAE
n ERAE?
Event enable register B (ERBE) ERBE
n ERBE?
Event enable register C (ERCE) ERCE
n ERCE?
Designation Query Command
Event standard register (ESR) *ESR?
Event register A (ERA) ERA?
Event register B (ERB) ERB?
Event register C (ERC) ERC?