4
GMC-I Messtechnik GmbH
2
SCPI Commands Descriptions
2.1
IEEE488.2 Common Commands
Common commands are defined by the IEEE488.2 standard to
perform some of the basic instrument functions, such as recalling,
saving, and reset etc. IEEE488.2 Common Commands have no
hierarchical structure.
*CLS
Clears the following registers:
•
Standard Event register
•
Questionable Status Event register
•
Operation Status Event register
•
Status Byte Event register
•
Clears the Error Queue
Command Syntax: *CLS
Parameters: None
*ESE
This command sets the condition of the Standard Event Status
Enable register. A “1” in the bit position enables the correspond-
ing event and report this even to the Status Byte register. Refer to
the description about the Standard Event Status Enable register
in
Status Register Reporting
Command Syntax: *ESE <NRf>
Parameter: 0~255
Power-on Value: refers to *PSC command
Example: *ESE 100
Query Syntax: *ESE?
Returned Parameter: <NR1> 0-255
Related Commands: *PSC *STB?
*ESR?
This query reads the Standard Event register. Reading the register
clears it. See the list below for the bit configuration of this register.
List 2-1 Bit Definition of Standard Event Register
Query Syntax: *ESR?
Parameters: None
Returned Parameter: <NRl>
Related Commands: *CLS *OPC
*IDN?
Query the relevant information of the load.
Query Syntax: *IDN?
Parameters: None
Returned Parameter: <aard>
*OPC
This command causes Bit 0 of the Standard Event Status Regis-
ter to be set “1” when the load has completed all pending opera-
tions.
*OPC does not prevent processing of subsequent commands. All
pending operations are complete including all pending trigger lev-
els have triggered.
Command Syntax: *OPC
Parameters: None
Related Commands: *WAI *OPC?
*OPC?
This query causes the load to place an ASCII “1” in the Output
Queue when all pending operations are completed. Unlike *OPC,
*OPC? prevents processing of all subsequent commands. If there
are triggers, and the trigger source has not been previously set to
EXT at this time, in this case, the only programmable way to
restore operation is by sending the load a GPIB
DCL
(Device Clear)
command.
Query Syntax: *OPC?
Returned Parameter: <NR1>
Related Commands: *OPC TRIG:SOUR *WAI
*PSC
This command controls the request service at power turn-on.
1: When the load is power on, the settings of Status Byte Enable
register and Standard Event Enable register are cleared to be 0.
0: The present settings of Status Byte Enable register and Stan-
dard Event Enable register are saved in nonvolatile memory. The
next time the load is turned on, the Standard Event Enable regis-
ter will be programmed according to the saved settings.
Command Syntax: *PSC <bool>
Parameter: 0 | 1
Query Syntax:*PSC?
Returned Parameter: 0 | 1
Related Commands: *SRE *ESE
*RCL
This command recalls the saved parameters of the load. The
recalled parameters need to be previously stored in memory.
When the saved parameters are recalling, the specified location of
these parameters must be used. *RCL also does the following:
1 Force an
ABORt
command before resetting any parameters.
(This removes all pending trigger levels.)
2 After all parameter have been recalled, executes an
INP:PROT:CLE
to clear the load‘s protection status. At power
turn-on, the equivalent of an
*RCL 0
is executed. Recalling the
unsaved location is defaulted to recall the location 0.
Command Syntax: *RCL <NR1>
Parameter: 0~9
Example: *RCL 5
Related Commands: *RST *SAV
*RST
This command sets the load to its factor-defined state. Force an
ABORt command before resetting any parameters. After all
parameters have been reset, executes an INP:PROT:CLE to clear
the load‘s protection status.
Command Syntax: *RST
Parameter: None
Related Commands: *RCL *SAV
Bit
7
6
5
4
3
2
1
0
Bit
Name
PON
N.U
CME
EXE
DDE
QYE
N.U
OPC
PON Power On. This bit is set when
the load is turned on.
N.U Null, Reserved Bit.
CME Command Error.
EXE Execution Error.
DDE Device Dependent Error.
QYE Query Error. When an error occurs to the
query, QYE bit will be set.
N.U Null, Reserved Bit.
OPC Operation Complete.