Page 85
If the digital signal NEXT1 is HIGH, the program will continue in line X. If the digital signal NEXT1 is
LOW, the program will continue in line Y.
An unconditional program jump (e.g. for infinite loops) can be generated by stating the same branch
destination for NEXT1=HIGH and NEXT1=LOW.
In Figure 23, the level test of NEXT1/2 is performed immediately at the start of program step 11. The
line of the next course program command is determined depending on the result of this level test.
program step 10
program step 11
program step
DOUT1/2=high/
low
DOUT1/2 high/low
program step 10
DOUT1/2 high/low
program step 11
DOUT1/2=
target reached /
remaining distance
target reached /
remaining distance (program step 10)
activities
course program
level NEXT1/2
evaluate
calculate
new branch destination /
new positioning
program step 12
DOUT1/2 high/low
program step 12
Figure 23: Level test time diagram
Debugging a course program
If you switch to
Debug
mode, additional status information will be displayed in the course program
window:
Course program active: Indicates that the course program is running and being processed.
Course program stop: Indicates that the course program has been stopped by the #stop signal.
NEXT1 / NEXT2: Shows the current status of the digital inputs for NEXT1 & 2.
DOUT1 / DOUT2: Shows the current status of the digital outputs DOUT1 & 2.
Line: Shows the current line of the course program. In addition, the current line is highlighted in
blue in the table.
Position: Indicates the position set approached last.
User Manual DUET_FL „DUET_FL 48/10“
Version 1.1 Motor Power Company
Содержание DUET_FL 48/10
Страница 3: ...ber dieses Handbuch Page 3...
Страница 4: ...Page 4 User Manual DUET_FL DUET_FL 48 10 Version 1 1 Motor Power Company...
Страница 12: ...Page 12 List of Figures User Manual DUET_FL DUET_FL 48 10 Version 1 1 Motor Power Company...
Страница 15: ...Page 15 List of Tables User Manual DUET_FL DUET_FL 48 10 Version 1 1 Motor Power Company...
Страница 76: ...Page 76 User Manual DUET_FL DUET_FL 48 10 Version 1 1 Motor Power Company...
Страница 196: ...Page 196 User Manual DUET_FL DUET_FL 48 10 Version 1 1 Motor Power Company...