counter

An instruction that counts events, such as parts passing a sensor, and turns its done bit on when it reaches the preset.

Read more

Learn it in a lesson