B.8 instrument[:select]? query, B.9 instrument:state command, B.10 measure[:scalar]:current[:dc]? query – KEPCO TMA 4882-27 User Manual

Page 55: Inst, B.10, Meas, Inst:sel, Inst:stat, Meas:curr

Advertising
background image

TMA4882-27 021910

B-3

B.8

INSTrument[:SELect]? QUERY

INST:SEL?

Syntax:

Short Form: INST:SEL?

Long Form: INSTrument:SELect?

Return value: <VAL> 1 to 31

Description: Used to determine which channel selected.

B.9

INSTrument:STATe COMMAND

INST:STAT

Syntax:

Short Form:INST:STAT <val>

Long Form: INSTrument:STATe <val>

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]? <boolean>
Long Form: MEASure[:SCALar]:CURRent[:DC]? <boolean>
<boolean> = 0 or 1
Return Value: <num_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,123456,V4.2-3.0 (Channel 1 selected;

device connected to BITBUS channel 1 is MBT 25-14, serial # 123456,
firmware version 3.0; TMA 4882-27 firmware version is 4.2).

INST:NSEL 2;*IDN?

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

device connected to BITBUS channel 2 is MST 6-12, serial # 456123, firm-
ware version 2.6; TMA 4882-27 firmware version is 4.2).

VOLT? MAX

Controller returns 6.0E0 indicating a 6 volt unit (MST 6-12 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,1,V4.2-1.1 (Device connected to BITBUS

channel 4 is a BOP with BIT card firmware version 1.1; TMA 4882-27 firm-
ware version is 4.2).

*RST;*IDN?

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

device connected to BITBUS channel 1 is MBT 25-14, serial # 123456,
firmware version 3.0; TMA 4882-27 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; TMA 4882-27 firmware version is 4.2).

Advertising