beautypg.com

B.103 system:communication:gpib:address? query, B.104 system:error? query, Figure b-4. using status commands and queries – KEPCO BOP 1KW-MG Operator Manual, Firmware Ver.2.01 to 2.37 User Manual

Page 168: B.105 system:error:code? query, B.106 system:error:code:all? query, B.107 system:keyboard command, B.108 system:keyboard? query, B.109 system:password:cenable command, B.110 system:password:cdisable command, B.111 system:password:new command

background image

B-22

BOP-1K 022108

B.103

SYSTem:COMMunication:GPIB:ADDRess?

QUERY

SYST:COMM:GPIB:ADDR?

Syntax:

Short Form: SYST:COMM:GPIB:ADDR?
Long Form: SYSTem:COMMunication:GPIB:ADDRess?
Return Value: 0 to 30

Description: Identifies selected power supply GPIB address.

B.104 SYSTem:ERRor? QUERY

SYST:ERR?

Syntax:

Short Form: SYST:ERR?

Long Form: SYSTem:ERRor?

Return Value:

Description: Posts error messages to the output queue. Returns the next error number followed by its corre-

sponding error message string from the instrument error queue. The error queue is a FIFO (first in first
out) buffer that stores errors as they occur. As it is read, each error is removed from the queue and the
next error message is made available. When all errors have been read, the query returns 0,"No error".
If more errors are accumulated than the queue can hold, it will overflow. The oldest errors stay in the
queue but the most recent errors are discarded. The last error in the queue will be -350,"Too many
errors." Error messages are defined in Table B-5.

FIGURE B-4. USING STATUS COMMANDS AND QUERIES

B.105 SYSTem:ERRor:CODE? QUERY

SYST:ERR:CODE?

Syntax:

Short Form: SYST:ERR:CODE?]

Long Form: SYSTem:ERRor:CODE?

Description: Returns the three character error code without the ASCII definition string. The error codes are defined

in table B-5 (See example, Figure B-6.)

B.106 SYSTem:ERRor:CODE:ALL? QUERY

SYST:ERR:CODE:ALL?

Syntax:

Short Form: SYST:ERR:CODE:ALL?]

Long Form: SYSTem:ERRor:CODE:ALL?

Return Value:

Description: Returns a comma-separated list of all error codes. A maximum of 31 codes will be returned; if the

queue is empty, the power supply returns 0.

B.107 SYSTem:KEYBoard COMMAND

SYST:KEYB

Syntax:

Short Form: SYST:KEYB [DIS | ENAB]

Long Form: SYSTem:KEYBoard [DISable | ENABle]

Description: Locks (DIS) or unlocks (ENAB) the front panel keypad. .

B.108 SYSTem:KEYBoard? QUERY

SYST:KEYB?

Syntax:

Short Form: SYST:KEYB?

Long Form: SYSTem:KEYBoard?

Returns: DIS or ENAB
Description:Identifies the state of the keypad: locked (DIS) or unlocked (ENAB).

B.109 SYSTem:PASSword:CENable COMMAND

SYST:PASS:CEN

Syntax:

Short Form: SYST:PASS:CEN
Long Form: SYSTem:PASSword:CENable

Description: Sets the password enable state if the value matches the current Main password. This command

allows CALibrate commands to operate.

B.110 SYSTem:PASSword:CDISable COMMAND

SYST:PASS:CDIS

Syntax:

Short Form: SYST:PASS:CDIS

Long Form: SYSTem:PASSword:CDISable

Description: Clears the password enable state if the value matches the current Main password.

B.111 SYSTem:PASSword:NEW COMMAND

SYST:PASS:NEW

Syntax:

Short Form: SYST:PASS:NEW ,
Long Form: SYSTem:PASSword:NEW ,

Description: Establishes new password. The old (current) Mian password is checked, then replaced by the new

password. Admin 1 and 2 passwords (PAR. 3.2.4.3) are not available. (See example, Figure B-6.) See
PAR. 3.5.2.2 and Figure 3-16 for special programming considerations.