Change Index
Function
This Step can be used with all the Basic Move Steps that have the Current Index parameter, or with the Step Counter.
Each time the Step executes, the Current Index in the Basic Move Steps or the Current Count in the Counter Step will be changed according to the Step.
Usage Scenario
This Step is used with all the Basic Move Steps that have the Current Index parameter, or with the Step Counter.
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. |
Step
Default value: 0
The Current Index of Basic Move Steps and the Current Count of the Step Counter will plus 1 for every execution according to their own rules. |
Update the Current Index in the Basic Move Steps or the Current Count in the Counter Step according to the Step parameter.
Updated Current Index / Current Count = previous Current Index / Current Count + 1
-
If the Step parameter is 0, it will have no influence on the Current Index of Basic Move Steps and the Current Count of the Step Counter.
-
If the Step parameter is −1, the Current Index of Basic Move Steps and the Current Count of the Step Counter will all minus 1.
-
If the Step parameter is 1, the Current Index of Basic Move Steps and the Current Count of the Step Counter will all plus 1.