4.12.2 [101] Jump function for loops
Typ
e
b
Finish loop
I1
I2
b
Restart loop
b
Update input buffer
I3
Update output buf-
b
I4
fer
Description:
An instruction indicated as jump target in P1 is executed as often as indicated in P2. Via the
inputs, the loop can be stopped or restarted.
− With P1, the jump target (the instruction to be executed repeatedly) is defined.
− With P2, the number of repetitions is defined.
Die jump function can be at the end of a series of instructions to be processed repeatedly.
An internal counter is set to the value of P2 and counted down each time the instructions speci-
fied in P1 are called.
− If input I1 is TRUE, the loop is stopped before it is finished. The jump is not executed and
the internal counter is reset to the start value P2.
− If input I2 is TRUE, the loop is restarted. The jump is executed and the internal counter is
reset to the start value P2.
− If input 3 is TRUE, the input buffer is updated.
− If input 4 is TRUE, the output buffer is updated.
I1
I2
I3
1
0
0
0
1
0
0
0
1
0
0
0
I2 (restart) has priority over I1 (stop).
76
76
Function
-
O1
O2
-
i
P1
i
P2
I4
Function
0
Stop, reset to start value P2
0
Restart, reset to start value P2
0
Update input buffer
1
Update output buffer
VPLC / PLC
VPLC / PLC
Typ
Function
e
-
-
Jump target (index)
number of repetitions
08/10
08/10
Need help?
Do you have a question about the AGILE and is the answer not in the manual?
Questions and answers