Generate interrupt after a certain number of position, counter pulses