![Infranor XtrapulsCD1-pm User Manual Download Page 36](http://html.mh-extra.com/html/infranor/xtrapulscd1-pm/xtrapulscd1-pm_user-manual_2058369036.webp)
Chapter 4 - Programmation
36
XtrapulsCD1-pm - User manual
If the execution is starting at sequence 1, the programme will be the following:
3.6.2
– CONDITIONAL JUMP
The conditional jump is controlled by using the “
Start condition
” and the “
Next sequence
”, “
Counter”
and
“
Jump
” parameters.
Application example:
Sequence 1:
Next sequence = 2
Counter = 0
Jump = -1
Sequence 2:
Next sequence = 3
Counter = 0
Jump = 4
Start condition = Logic input 8 activated
Sequence 3:
Next sequence = -1
Counter = 0
Jump = -1
Sequence 4:
Next sequence = -1
Counter = 0
Jump = -1
Note: "Next" = -1 or "Jump" = -1 correspond to an empty field in the PC software.
If the execution is starting at sequence 1 and logic input 8 is activated, the programme will be the following:
If the execution is starting at sequence 1 and logic input 8 is desactivated, the programme will be the following:
Sequence 1
Start of sequence 1, then connection to sequence 2
(parameter « Next sequence »)
First execution of sequence 2, then connection to sequence 1
(parameter « Jump »)
Execution of sequence 1, then connection to sequence 2
(parameter « Next sequence »)
Second execution of sequence 2, then connection to sequence 3
(parameter « Next sequence »)
Execution of sequence 3, then end of the programme
Sequence 1
Sequence 2
Sequence 3
Sequence 2
Sequence 1
Start of sequence 1, then connection to sequence 2
(parameter « Next sequence »)
Execution of sequence 2, then connection to sequence 3
(start condition valid and parameter « Next sequence »)
Execution of sequence 3, then end of the programme
Sequence 3
Sequence 2
Sequence 1
Start of sequence 1, then connection to sequence 2
(parameter « Next sequence »)
No execution of sequence 2, connection to sequence 4
(start condition not valid and parameter « Jump »)
Execution of sequence 4, then end of the programme
Sequence 4