Counter

You are currently viewing the documentation for the latest version (2.1.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

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.

Usage Scenario

This Step is used when the execution times need to be counted.

Parameter Description

Count

The number of times to count. When the Step executes for more than the set value, the Finished exit port will be taken.

Counter Type

Execution: Count the number of times the “Counter” Step is executed. Picked Count: Count the number of times the Vision Move Step is executed.

Current Count

The number of times the Counter or the Vision Move Step is executed, which is related to Counter Type.

Application Examples

In a scenario where a path needs to be taken twice:

counter workflow

Given the Count parameter set to 2, if the Step is executed the third time, the Finished exit port will be taken.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.