Hardware trigger example, Ramp v example, Ramp i example – AMETEK SFA Series Ethernet Programming User Manual
Page 117
SG Series Programming
SCPI Command Operation
M550129-03 Rev K
6-45
6.14.4
Hardware Trigger Example
This example applies only to units with the External User Interface
(Currently only available on Ethernet versions).
Program a unit to execute a test sequence “TEST02” when a hardware
trigger is issued using the External User Interface (the sequence must be
programmed before it can be loaded).
HTRIG:SEQ “TEST02”
// load the sequence named “TEST02” into memory.
HTRIG:SEQ?
// verify that “TEST02” was loaded.
HTRIG:ARM 1
// arm the hardware trigger.
HTRIG:ARM?
// verify that the hardware trigger was armed.
// invoke the hardware trigger.
// sequence “TEST02” will run.
PROG:STAT?
// verify that the sequence is running or finished.
6.14.5
Ramp V Example
Program a unit with no load at the output to ramp its output voltage from
5 VDC to 25 VDC in 30 seconds.
Note: The maximum output voltage is dependent upon the power supply rating.
// Use
SYST:ERR?
after each command to verify no programming errors.
// turn on the unit.
*CLS
// clear the unit to its power-on default settings.
*RST
// reset the unit.
SOUR:CURR 33.0
// program output current to 33.0 A.
SOUR:VOLT 5.0
// program output voltage to 5.0 VDC.
SOUR:VOLT:RAMP 25.0 30.0
// program voltage to ramp from the present
// value (5.0 VDC) to 25.0 VDC in 30 seconds.
6.14.6
Ramp I Example
Program a unit with the output shorted to ramp its output current from 5A
to 25A in 30 seconds.
// Use
SYST:ERR?
after each command to verify no programming errors.
// turn on with no load at the output.
*CLS
// clear the unit to its power-on default settings.
*RST
// reset the unit.
// short the output.
SOUR:VOLT 33.0
// program output voltage to 33.0 VDC.
SOUR:CURR 5.0
// program output current to 5.0 A.
SOUR:CURR:RAMP 25.0 30.0
// program current to ramp from the present