
Model T940 User Manual
Publication No. 980938 Rev. K
Advanced Topics 8-36
Astronics Test Systems
o
Select a Test Condition (when the condition is no longer true,
execution advances to the next Sequence Step)
•
Unconditional Subroutine Jump
o
Set SUBRT
o
Select a Jump Always Test Condition
o
Designate the Jump Sequence Address (First Sequence Step of
the Subroutine)
•
Conditional Subroutine Jump
o
Set SUBRT
o
Select the Test Condition
o
Designate the Jump Sequence Address (First Sequence Step of
the Subroutine)
•
Set LSTSEQ on the last Sequence Step of the Primary Sequence
Notes and Restrictions:
•
Loops can be nested but only one can end on a given Sequence
Step.
•
Loop Counters can be re-used when exhausted (un-exhausted Loop
Counters will continue where they left off when re-used). Note: There
are 2 bits associated with each of the 16 loop counters. One bit, the
Counter Active (CA) bit, gets set when the loop counter is used. Bit
two, the Use Counter Once (UCO) bit, is programmed by the user. If
UCO is set, the CA bit will
not
be reset when exiting the loop, thus the
counter cannot be re-used once the count is exhausted. If not set, the
CA bit is reset when the count is exhausted and the next sequence
step begins.
•
Loops can be done around one or more Sequence Steps and the
group of sequence steps need not be consecutive…i.e. one or more
intermediate Jumps could have occurred.
•
A Counted Loop command is ignored if the Loop Count is zero.
•
A “Jump Always” Jump condition is not recommended for looping a
group of Sequence Steps….a Sequence Reset or Stop Looping
command would be the only way to stop it.
•
Subroutines cannot be nested.
•
Subroutines may consist of multiple Sequence Steps which contain
Loops and/or Jumps.
•
The Sequence Step designated as the LSTSEQ may have Loops or
Jumps to a subroutine. Upon completing the Loops or returning from a
Subroutine, execution will proceed to the Finishing Sequence.
•
All Jumps are to the Jump Sequence Address (JSA) unless a
Vectored Jump is requested in which case the Jump will be to the