beautypg.com

AMETEK SFA Series Ethernet Programming User Manual

Page 123

background image

SG Series Programming

SCPI Command Operation

M550129-03 Rev K

6-51

EXAMPLE 4

Issue

*RST

to establish a known state.

In this example, create a sequence that pauses at its end to let the last settings remain in
effect. To do this use the

PAUSE

command.

Now create a new SEQ3:

PROG:SEL:NAME “SEQ3”

PROG:MALL DEFAULT

PROG:DEF 1, VIMODE, 3, 4, 11, 10

//go to 3 volts, 4 amps, 11 volts ovp, for

10 sec

PROG:DEF 2, RAMPTOV, 3, 5, 4, 11, 10

//ramp from 3 volts to 5 volts in 10 sec

PROG:DEF 3, VIMODE, 5, 4, 11, 10

//hold 5 volts for 10 sec

PROG:DEF 4, RAMPTOV, 5, 3, 4, 11, 10

//ramp from 5 volts to 3 volts in 10 sec

PROG:DEF 5, VIMODE, 3, 4, 11, 10

//hold 3 volts for 10 sec

PROG:DEF 6, SUBCALL, “SEQ2”

//call SEQ2 as a subsequence

PROG:DEF 7, VIMODE, 4, 5, 11, 6

//go to 4 volts, 5 amps, 11 volts ovp, for 6 sec

PROG:DEF 8, PAUSE

//allow the output to remain at the last setting

PROG:DEF 9, STOP

//stop running the sequence while the

unit remains at the state of the last
command within the sequence.

PROG:STAT COMPLETE

PROG:SAVE:SEL

PROG:STAT?

Response: Ram[44]=“STOPPED”,Slave[44]=”STOPPED”