User`s guide
Features and Functions 3
Agilent 34980A Mainframe User’s Guide 145
Executing a Sequence on an Alarm Condition
After you have defined a valid sequence, you can configure the instrument
to execute a sequence when a reading crosses an alarm limit on a channel.
The specified sequence will execute once when an alarm occurs on the
specified alarm. If the specified sequence name is not currently stored in
memory, an error will be generated.
For more information on configuring alarms, see “Alarm Limits” on
page 132.
• Assigning a sequence to an alarm will remove any other sequence's
association with that alarm, as well as that alarm’s association to any
other sequence.
• You can assign multiple channels to any of the four available alarms
(numbered 1 through 4). For example, you can configure the instrument
to generate an alarm on the Alarm 1 output when a limit is exceeded
on any of channels 1003, 2005, or 3010. You cannot, however, assign
alarms on a specific channel to more than one alarm number.
• The sequence will execute once when an alarm occurs, after which the
trigger source will be automatically set to MANual. The sequence will
not execute again until the trigger source has been reassigned,
the alarm has been cleared, the association of the sequence to the
alarm has been re- established, and the alarm condition exists again.
Front Panel Operation: Sequence > TRIGGER > MANUAL|ALARM1–ALARM4
Select
MANUAL to remove an association without reassigning it to
another alarm.
Remote Interface Operation: To assign the sequence to a specific alarm
number, use the following command. Specify the
MANual parameter to
remove an association without reassigning it to another alarm.
ROUTe:SEQuence:TRIGger:SOURce <name>,{ALARm1-ALARm4|MANual}
The following program segment selects the alarm source and configures
the instrument to execute the sequence named “MYSEQ_1” when an alarm
is reported on Alarm 1. The Monitor mode is used to evaluate alarm
conditions on the selected channel.
ROUT:SEQ:DEF MYSEQ_1,"ROUT:CLOS (@1001:1009);OPEN (@2001)"
CALC:LIM:UPP 10.25,(@1003)
CALC:LIM:UPP:STAT ON,(@1003)
OUTP:ALARM1:SOUR (@1003)
ROUT:MON:CHAN (@1003)
ROUT:MON:CHAN:ENAB ON, (@1003)
ROUT:SEQ:TRIG:SOUR MYSEQ_1,ALAR1
ROUT:MON:STAT ON
INIT