Loop counter

Loop counter

Increasing/decreasing counter value on every pulse

Loop counter task increases/decreases counter value on every pulse on the input, for specific value. When the maximum/minimum limit is reached, the counter is looped back to minimum/maximum value.

Example instructions:

Top