beautypg.com

B.78 system:communication:serial:pace? query, B.79 system:communication:serial:prompt command, B.80 system:communication:serial:prompt? query – KEPCO BHK-MG 200W (Full Rack) Series User Manual

Page 148: B.81 system:error? query, B.82 system:error:code? query, B.83 system:error:code:all? query, B.78, System:communic, B.79, B.80

background image

B-18

BHK-MG (OPR) 022014

B.78 SYSTem:COMMunication:SERial:PACE? QUERY

SYST:COMM:SER:PACE?

Syntax:

Short Form: SYST:COMM:SER:PACE?
Long Form: SYSTem:COMMunication:SERial:PACE?
Return Value: {01 | 00}

Description: Returns 01 when data flow control via the serial interface is enabled (XON) or 00 when disabled

(NONE) (see PAR. 3.4.3.3).

B.79 SYSTem:COMMunication:SERiaL:PROMpt COMMAND

SYST:COMM:SER:PROM

Syntax:

Short Form: SYST:COMM:SER:PROM {ON | OFF} or {0 | 1}
Long Form: SYSTem:COMMunication:SERial:PROMpt {ON | OFF} or {0 | 1}

Description: Enables (1 or ON) or disables (0 or OFF) prompt (see PAR. 3.4.3.2). Sending 1 or ON causes the

unit to return > character after the command is parsed. See PAR. 3.3.6.2 and Figure 3-2 for special
programming considerations.

B.80 SYSTem:COMMunication:SERial:PROMpt? QUERY

SYST:COMM:SER:PROM?

Syntax:

Short Form: SYST:COMM:SER:PROM?
Long Form: SYSTem:COMMunication:SERial:PROMpt?
Return Value: {1 | 0}

Description: Returns 1 when prompt is enabled (ON) or 0 when disabled (OFF). (See PAR. 3.4.3.2.)

B.81 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 than 15 errors are accumulated, 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-4.

B.82 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-4 (See example, Figure B-1.)

B.83 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 15 codes will be returned; if the

queue is empty, the power supply returns 0.