beautypg.com

Figure a-1. gpib commands, A.11 *rst — reset command, A.11 – KEPCO ABC-DM SERIES User Manual

Page 68: A-1.), Re a-1, Re a-1.)

background image

A-4

ABC 040104

FIGURE A-1. GPIB COMMANDS

A.11 *RST — RESET COMMAND

*RST

Syntax:

*RST

Description: Resets power supply to the power on default state. The power supply is programmed to the power

on values of the following parameters: CURR[:LEV][:IMM] = 0, VOLT[:LEV][:IMM] = 0,
CURR:PROT[:LEV] = max overcurrent value (see Table 1-2, VOLT:PROT[:LEV] = (maximum overvolt-
age value (see Table 1-2), OUTP[:STAT] = OFF. If the power supply is in either an overvoltage or over-
current state, this condition is reset by *RST. (See example, Figure A-1.)

*CLS

Power supply clears status data.

*ESE 60

Power supply enables bits 5, 4, 3 and 2, allowing command error, execution
error, device dependent error and query error to set the Event Status
Summary bit when an STB command is executed.

*ESE?

Returns 60, (value of the mask) verifying that bits 5, 4, 3 and 2 are enabled.

*ES

Unknown command will set command error (Bit 5).

*ESR?

Returns 32 (bit 5 set), indicating Command Error has occurred since the last
time the register was read.

*IDN?

Power supply returns: KEPCO, ABC-1010, 082495-001, 1.0.

LIST:IND 21

Selects memory location 21.

LIST:CURR 2.35E-1

Sets output current value of memory location 21 to 0.235A.

LIST:VOLT 14

Sets output voltage value of memory location 21 to 14V.

*OPC

Allows status bit 0 to be set when pending operations complete

VOLT 21;CURR 3

Sets output voltage to 21V, output current to 3A

*SAV 33

The present state of the power supply is stored in memory location 33.

*ESR?

Returns 129 (128 + 1, power on, bit 7 = 1, operation complete, bit 1 = 1)

*ESR?

Returns 0 (event status register cleared by prior *ESR?)

VOLT 15;CURR 5;*OPC? Sets output voltage to 15V, output current to 5A, puts “1” on output bus when

command operations are complete.

*RCL 21

Values in memory location 21 recalled (21V, 3A).

*RST

Power supply reset to power on default state.

*SRE 40

When ESB or QUES bits are set (Table A-3), the Request for Service bit will
be set.

*SRE?

Returns the value of the mask (40).

*STB?

For example, the Power supply responds with 96 (64 + 32) if MSS and the
Event Status Byte (Table A-3) summary bit have been set. The power supply
returns 00 if no bits have been set.

VOLT 25

Power supply voltage commanded to 25V.

VOLT:TRIG 12

Programs power supply voltage to 12V when *TRG received.

INIT

Trigger event is initialized.

*TRG

Power supply reverts to commanded output voltage of 12V.

*TST?

Power supply executes self test and responds with 0 if test completed
successfully, with 1 if test failed.