Counter
Function
Count the execution times of the current program or branch. You can set a count threshold and execute different branches when the count meets the threshold. This Step is usually used with Reset to reset the accumulated number.
Parameter Description
General Parameters of Non-Move Steps
Skip Execution
None |
Default setting. Do not skip the current Step. |
Simulation only |
Skip the current Step during simulation. The exit port is specified by Out Port When Skip. |
Always |
Skip the current Step when the project is simulating or running. The exit port is specified by Out Port When Skip. |
Instruction |
When Simulation only or Always is selected, the current Step will be skipped and the subsequent Step will be executed when running the project. If this parameter is set to None in “Check DI” Step in the project, and there is no external input signal during simulation, the project will be stopped when executing to this Step. In this case, setting the parameter to Simulation only or Always enables the simulation to continue. |
Out Port When Skip
This parameter will take effect when Skip Execution is set to Simulation only or Always. It specifies the exit port when skipping a Step.
Count
The number of times to count. When the Step executes for more than the set value, the Finished exit port will be taken.