148
XtrapulsPac – User Guide
Chapter 3 - Reference
CONDITIONAL JUMP
The conditional jump is controlled by using the “StartCond” and the “SeqNext”, “SeqCount” and “SeqLink”
parameters.
Application example:
Sequence 1:
SeqNext = 2
SeqCount = 0
SeqLink = -1
Sequence 2:
SeqNext = 3
SeqCount = 0
SeqLink = 4
Start Cond = "1......."
Sequence 3:
SeqNext = -1
SeqCount = 0
SeqLink = -1
Sequence 4:
SeqNext = -1
SeqCount = 0
SeqLink = -1
If the execution is starting at sequence 1 and logic input 8 is activated, the program will be the following:
If the execution is starting at sequence 1 and logic input 8 is deactivated, the program will be the following:
Sequence 1
Start of sequence 1, then connection to sequence 2 (parameter "SeqNext ")
Execution of sequence 2, then connection to sequence 3
(start condition valid and parameter "SeqNext ")
Execution of sequence 3, then end of the program.
Sequence 3
Sequence 2
Start of sequence 1, then connection to sequence 2 (parameter "SeqNext ")
Sequence 1
No execution of sequence 2, connection to sequence 4
(start condition not valid and parameter "SeqLink")
Execution of sequence 4, then end of the program.
Sequence 4