beautypg.com

B.90 system:set command, B.91 system:set? query, B.92 system:version? query – KEPCO BIT 4886 Operator Manual User Manual

Page 91: Figure b-8. using system commands and queries, B.90, System:set comm, B.91, System:set, B.92, System:versi

background image

BIT 4886 120413

B-23/(B-24Blank)

B.90 SYSTem:SET COMMAND

SYST:SET

Syntax:

Short Form: SYSTem:SET {CM0 | CM1 | DC0 | DC1 | LF0 | LF1 | RO0 | RO1}
Long Form: SYSTem:SET {CM0 | CM1 | DC0 | DC1 | LF0 | LF1 | RO0 | RO1}

Description: Establishes Device Clear, Line Feed, and Reset functions. Sending SYST:SEC:IMM sets LF1,

DC0, and RO0 (as if CM0 was sent)
DC0

Device Clear functions per IEEE 488.2 Standard: No effect on the device (power supply),
only clears internal status registers.

DC1

Device Clear functions identical to *RST: Output set to 0V, voltage mode and output set to
OFF except if RO1 (see below) is set.

LF0

Line Feed not provided upon empty buffer condition.

LF1

Line Feed provided if buffer is empty and a read is performed.

RO0

*RST and power up set output to OFF, 0V, 0A, voltage mode.

RO1

*RST sets output to ON, 0V, 0A, voltage mode. Subsequent VOLT and CURR commands
are immediately present at the output without sending OUTP ON (OUTP OFF and OUTP
ON function normally to turn the output off or on).

CM0

Establishes DC0, LF0, RO0 conditions described above (SCPI 1997 Standard compli-
ance).

CM1

Establishes DC1, LF1, RO1 conditions described above. (Compatible with software ver-
sions 1.2 and earlier.) (See example, Figure B-8.)

B.91 SYSTem:SET? QUERY

SYST:SET?

Syntax:

Short Form: SYST:SET?

Long Form: SYSTem:SET?

Return Value: DC,LF,RO where n = 0 or 1

Description: Identifies functions established by SYST:SET command. (See example, Figure B-8.)

B.92 SYSTem:VERSion? QUERY

SYST:VERS?

Syntax:

Short Form: SYST:VERS?

Long Form: SYSTem:VERSion?

Return Value: . (YYYY.V)

Description: Identifies SCPI Version implemented. Returns SCPI Version number:

YYYY = year, V = Revision number for specified year. (See example, Figure B-8.)

FIGURE B-8. USING SYSTEM COMMANDS AND QUERIES

SYST:VERS?

Unit returns 1997

SYST:SET?

Unit returns DC0,LF0,RL0

SYST:PASS:NEW DEFAULT,OKAY

Unit changes password to be OKAY

SYST:SET LF1,RL1,DC1

Configures BIT 4886 card as BIT 4882 (see PAR. 1.3.1).

DIAG:SAV;:SYST:ERR:CODE?

BOP returns -231 indicating command is protected

SYST:PASS:CEN OKAY

Password enabled commands are accepted

DIAG:SAV

Unit saves the LF1 state for next power on cycle.