beautypg.com

B.8 instrument[:select]? query, B.9 instrument:state command, B.10 measure[:scalar]:current[:dc]? query – KEPCO MST 488 Programmer User Manual

Page 51: B.10, Re b-2 s, Inst:sel, Inst:stat, Meas:curr

background image

MST 488-27 013004

B-3

INST2

The power supply on channel 2 is reset and brought on-line; subsequent commands
will apply to channel 2 until a new channel is selected.

INST?

2 returned to controller.

B.8

INSTrument[:SELect]?

QUERY

INST:SEL?

Syntax:

Short Form :INST:SEL?

Long Form: INSTrument:SELect ?

Return value: 1 to 31

Description: Used to determine which channel selected.

B.9

INSTrument:STATe

COMMAND

INST:STAT

Syntax:

Short Form :INST:STAT

Long Form: INSTrument:STATe

Description: 0 (off) sets output to 0; 1 (on) restores output voltage and current. (See Figure B-2)

FIGURE B-2. IDENTIFYING AND SELECTING DEVICES ON BITBUS

B.10

MEASure[:SCALar]:CURRent[:DC]?

QUERY

MEAS:CURR?

Syntax:

Short Form: MEAS[:SCAL]:CURR[:DC]?
Long Form: MEASure[:SCALar]:CURRent[:DC]?
= 0 or 1
Return Value: (digits with decimal point and Exponent)

Description: Measures actual current. This query returns the actual value of output current (measured at the out-

put terminals) as determined by the programmed value of voltage and current and load conditions.
NOTE: The SCPI convention for this command allows the controller to establish the range and accu-
racy of the measurement if nn,nn is added after the question mark; the power supply accepts this for-
mat but sets the command warning bit (13) in the status questionable register and ignores the extra
characters. (See example, Figure B-3.)

Note: Power Supply at address 1 is an MBT 25-14, address 2 is an MST 6-12, and address 4 is a BOP 100-1.

*RST

Devices are located on the BITBUS (IEEE 1118) as noted above.

INST:SEL 1;*IDN?

Controller returns KEPCO,MBT,1,V4.2-3.0 (Channel 1 selected; device con-

nected to BITBUS channel 1 is MBT 25-14, firmware version 3.0; MBT
firmware version is 4.2).

INST:NSEL 2;*IDN?

Controller returns KEPCO,MST,2,V4.2-2.6 (Channel 2 selected; device con-

nected to BITBUS channel 2 is MST 6-12, firmware version 2.6; MBT firm-
ware version is 4.2).

VOLT? MAX

Controller returns 6.0E0 indicating a 6 volt unit (MST 6-12 at connected to

channel 2).

VOLT4? MAX;:INST:SEL?

Controller returns 1.0E2,4 indicating address 4 is selected and the device

connected to BITBUS channel 4 (BOP 100-1) is a 100 volt unit.

*IDN?

Controller returns KEPCO,BOP,4,V4.2-1.1 (Device connected to BITBUS

channel 4 is a BOP with BIT card firmware version 1.1; MBT firmware ver-
sion is 4.2).

*RST;*IDN?

Controller returns KEPCO,MBT,V4.2-3.0 (Channel 1 selected; device con-

nected to BITBUS channel 1 is MBT 25-14, firmware version 3.0; MBT
firmware version is 4.2).

INST:SEL 3;*IDN?

Controller returns KEPCO,PSC,1,V4.2 (Channel 3 selected; unknown

device connected to channel 3; MBT firmware version is 4.2).