beautypg.com

AMETEK Lx Series II Programming Manual User Manual

Page 179

background image

Programming Manual

Lx \ Ls Series II

175

The STP header is used to identify a numeric value as the increment or decrement value for a FRQ,
CRL, AMP, PHZ or CAL ramp. The following example will ramp all outputs from 130 volts in 1.5
volt/.5 sec. steps to 10 volts.

AMP130 DLY.5 STP1.5 VAL10

The header VAL is used to identify the following numeric argument as the final Value of a ramp or
step. If the VAL argument is larger than the initial value for the parameter to be ramped, the ramp
will increment with step size defined by STP and DLY. With the VAL argument less than the initial
value, the ramp will decrement from the initial parameter. A ramp or step operation can be started at
anytime by the GPIB message Group Execute Trigger (GET). The operation will wait for the Group
Execute Trigger when the TRG header is added to the string. The following example will decrement
the output amplitude of phase A only from 120 in .1 volt/.2 sec steps to 100 volts after a Device
Trigger.

AMP A 120 DLY.2 STP.1 VAL100 TRG

The following example will simultaneously ramp the Frequency from 400 to 500 Hz at a rate of 0.1
Hz per second and the Amplitude from 5 volts in increments of .5 volts per step:

RNG270 AMP5 FRQ400 STP.1 DLY1 VAL500 STP.5

A GPIB Service Request will be generated at the end of a ramp if SRQ2 is included in the setup
string. The GPIB Group Execute Trigger can stop at a ramp operation anytime.

To program a Register (REG)

The REG header is used to load the register specified by the following numeric data with the
preceding data. The numeric value is from 0 to 15. The PRG header is identical to the REG header
and is included to standardize other AC power controllers. The following example will load a ramp
program that will step the voltage from 10 to 115 volts with 1 volt/.5 sec steps at 400 Hz into register
0.

FRQ400 AMP10 DLY.5 STP1 VAL115 REG0

To recall a Register (REC)

The REC header is used to recall previously loaded data from a register identified by the following
register number (0 to 15). The following example recalls and outputs the parameters stored in
register 0 by an example in previous paragraph:

REC0

The following example recalls the parameters in register 0 and outputs the parameters after the
IEEE-488 "GET" message.

REC0 TRG

The following is an example of register linking. The voltage and frequency is maintained at 115 volts
and 60 Hz for 5 seconds and then the program contained in register 0 is recalled and executed. The
program is stored in register 1.

FRQ60 AMP115 DLY5 VAL115 REC0 REG1

The program is initiated by the following ASCII string:

REC1

To program Voltage Range (RNG)

The RNG header is used to select a range. The numeric value following the RNG header will also
define the upper limit for the AMP value. The RNG value will select the higher range if the value is
greater than the lower range value defined by the ALM screen, which is 135 for the standard voltage
range. If the range and voltage amplitude are to be programmed by the same data string the RNG
header and argument must precede the AMP header or a syntax error will be generated. The