beautypg.com

B.144 system:set command, B.145 system:set? query, B.146 system:version? query – KEPCO BOP 1KW-MG Operator Manual, Firmware Ver.3.05 to 4.07 User Manual

Page 189: Figure b-12. using system commands and queries, B.147 trigger:source command, B.144, Syst, B.145, B.146, B.147

background image

BOP-1K 031912

B-35

B.144 SYSTem:SET COMMAND

SYST:SET

Syntax:

Short Form: SYSTem:SET {CM0 | CM1 | DCL0 | DCL1 | LF0 | LF1 | RO0 | RO1}
Long Form: SYSTem:SET {CM0 | CM1 | DCL0 | DCL1 | LF0 | LF1 | RO0 | RO1}

Description: Establishes Device Clear, Line Feed, OUTP command and Reset functions. Sending

SYST:SEC:IMM sets LF1, DC0, and RO0 (as if CM0 was sent). Requires MEM:UPD (PAR. B.12) to
save for power up. See PAR. 3.5.2.2 and Figure 3-16 for special programming considerations.
DCL0

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

DCL1

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 DCL0, LF0, RO0 conditions described above. (SCPI 1997 Standard compli-
ance)

CM1

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

B.145 SYSTem:SET? QUERY

SYST:SET?

Syntax:

Short Form: SYST:SET?

Long Form: SYSTem:SET?

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

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

B.146 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-12.

FIGURE B-12. USING SYSTEM COMMANDS AND QUERIES

B.147 TRIGger:SOURce COMMAND

TRIG:SOUR

Syntax:

Short Form: TRIG:SOUR {BUS | EXT | IMM}
Long Form: TRIGger:SOURce {BUS | EXT | IMM}

Description: Selects the active trigger source. When TRIG:SOUR BUS is set, an event trigger is created by

sending either *TRG or GPIB commands. When TRIG:SOUR EXT is set, the trigger is created
by connecting the external trigger line (J2, pin 4 or pin 3 of the mating connector for J2) to analog sig-
nal ground (J2, pin 1 or J2 mating connector, pin 1). The trigger must be armed by sending either
INIT:IMM or INIT:CONT enable (ON) commands prior to sending the selected trigger command. (see
PAR. A.16). Receipt of the active trigger causes the power supply to program to the previously stored
values of VOLT:TRIG and CURR:TRIG (actual output voltage/current is dependent upon the load).
Sending TRIG:SOUR IMM causes the next VOLT:TRIG or CURR:TRIG to immediately program the
output, regardless of trigger arming. *RST sets TRIG:SOUR to IMMediate. Related Commands:
, *TRG, INIT:IMM, INIT:CONT.

SYST:VERS?

Unit returns 1997

SYST:SET?

Unit returns DC0,LF0,RL0,OUT0

SYST:PASS:NEW DEFAULT,OKAY

Unit changes password to be OKAY

SYST:SET LF1,RL1,DC1

Configures Device Clear, Line Feed and Reset
(see PAR. B.144).

SYST:PASS:CEN OKAY

Password enabled commands are accepted

MEM:UPDATE INTERFACE

Unit saves the LF1 state for next power on cycle.