Counter
|
---|
Properties
| Initial value from which is decremented or incremented Possible values: any integer greater than The start value is not counted during the loop. Note that the start value (start) can only be parameterized dynamically during the first loop. |
| End value up to which is decremented or incremented Possible values: Any integer greater than The end value is not counted during the loop. |
| Counting steps for incrementing or decrementing, e.g., Possible values: any integer greater than |
| Label of the symbol within the process diagram |
| Name of the variable Possible values: name of the variable in order to access the current index of the counter |
Input
The component expects an input, if the properties are set dynamically.
Output
If the property is set dynamically, the component outputs a variable with <indexName>
and the value of the current index. Otherwise, the component does not produce any output.
Status values
| Counter is running (end value was not yet reached) |
| Count-down is finished (end value was reached) |
Example
Simple counting loop with a Counter
component and a condition
component. The properties Start=1
, End=4
, and Step Size=1
were set. The counting loop is repeated twice, because the start value and the end value are not counted.
