beautypg.com

Ieee 488.2 common command subsystem – AMETEK SFA Series Ethernet Programming User Manual

Page 82

background image

SCPI Command Operation

SG Series Programming

6-10

M550129-03 Rev K

6.4

IEEE 488.2 COMMON COMMAND

SUBSYSTEM

The following commands are common to all SCPI instruments and
declared mandatory by IEEE 488.2. In the following table, the Digital
Interface Adapter (DIA) is defined as the “device” on the GPIB bus.

Command

Description

*CLS

Clears all status reporting data structures including the Status Byte,
Standard Event Status Register, and Error Queue. The

STAT:PROT:ENAB

(protection event enable register) is cleared by

this command; other enable registers are not cleared by this
command.

*ESE
<0+NR1>

Sets the value of the Standard Event Status Enable Register that
determines which bits can be set in the Standard Event Status
Register. See section 6.2.2 for valid values.

*ESE?

Returns the integer value of the Standard Event Status Enable
Register. See section 6.2.2 for valid values.

Response: <0+NR1>

*ESR?

Returns the integer value of the Standard Event Status Register.
The ESR and the Status Byte ESR bit are cleared. See section
6.2.2 for valid values.

Response: <0+NR1>

*IDN?

Returns the device identification as an ASCII string.

Response: , , ,

Example: Sorensen, SGA100/150C-1AAA, 0622A00111,1.00,1.00

*OPC

Enables the Operation Complete bit of the Standard Event Status
Register to be set when all pending operations are complete. See
section 6.2.2.

C*OPC?

Returns the integer value “1” when all pending operations are
complete. See section 6.2.2.

Response: <0+NR1>

*RCL

SGI ONLY - Specifies the preset storage location (0 through 9) from
which to load into the supply’s Voltage, Current, Overvoltage
Protection, and Output State settings. Preset location 0 stores the
supply’s power on default.

*RST

Resets the supply to its Power ON (PON) state.
Clears all status reporting data structures including the Status Byte,
Standard Event Status Register, and Error Queue. The

STAT:PROT:ENAB

(protection event enable register) is cleared by

this command; other enable registers are not cleared by this
command.

*SAV

Specifies the preset storage location (0 through 9) to store the
supply’s existing Voltage, Current, Overvoltage Protection, and
Output State settings. Preset location 0 stores the supply’s power
up default.