Agilent Technologies 6812B Welding System User Manual


 
121
4
Programming Examples
Introduction
This chapter contains examples on how to program your ac source. Simple examples show you how to
program:
u output functions such as voltage, frequency, and phase
u the transient waveform generator
u internal and external triggers
u measurement functions
u user-defined waveforms
u the status and protection functions
NOTE: These examples in this chapter are generic SCPI commands. See Chapter 2 for
information about encoding the commands as language strings.
Where appropriate, optional commands are shown for clarity in the examples.
Programming the Output
Power-on Initialization
When the ac source is first turned on, it wakes up with the output state set OFF. In this state the output
voltage is set to 0. The following commands are given implicitly at power-on:
*RST
*CLS
STATus:PRESet
*SRE 0
*ESE 0
*RST is a convenient way to program all parameters to a known state. Refer to the *RST command in
Chapter 3 to see how each programmable parameter is set by *RST. Refer to the *PSC command in
Chapter 3 for more information on the power-on initialization of the *ESE and the *SRE registers.
Enabling the Output
To enable the output, use the command:
OUTPut ON