beautypg.com

Ieee-488.2 common command subsystem, Ieee-488.2 common command subsystem -8 – AMETEK SFA Series Programming Manual User Manual

Page 20

background image

IEEE 488.2 and SCPI Command Operation

Sorensen SF Series

3.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 DIA is defined as the “device” on the GPIB bus. A "C" in
the SCPI column indicates that a command is SCPI-compliant.

Command

Description

SCPI

*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.

C

*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 3.2.2 for valid values.

C

*ESE?

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

Response: <0+NR1>

C

*ESR?

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

Response: <0+NR1>

C

*IDN?

Returns the device identification as an ASCII string.

Response: , , ,

Example: Sorensen, SFA 100/150C-1AAA, YYWWC#####,
1.00,1.00

C

*OPC

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

C

*OPC?

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

Response: <0+NR1>

C

*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.

C

*SRE
<0+NR1>

Sets the value of the Service Request Enable Register, which
determines which bits in the Status Byte will cause a service
request from the device. See section on Status Byte for valid
values.

C

*SRE?

Returns the integer value of the Service Request Enable
Register. See section on Status Byte for valid values. Values
range from 0-63 or 128-191.

Response: <0+NR1>

C

3-8 M550292-03

(Programming)