Available under Creative Commons-ShareAlike 4.0 International License. Download for free at http://cnx.org/contents/5b6e61df-b830-48cb-9764-94696cb47c80@1.3
The For Loop structure repeatedly executes the diagram within the structure. The Loop Count specifies the number of times the loop contents must be executed and the Loop Iteration indicates which iteration is currently being executed.
Figure 5.18 For Loop Structure
The Loop Count and Loop Iteration are of Integer 32 data types. If the Loop Count is set to N, then the Loop Iteration value range is from 0 toN1. This is illustrated in Loop Count and Final Loop Iteration.
Figure 5.19 Loop Count
Figure 5.20 Final Loop Iteration
- 1342 reads