This function block will create a pulse at the output when either a single click, double click, triple click or even a quadruple click occurs at the input.
Depending on how many clicks are received at the input Tr will effect which output the pulse will occur at.
The output AQ will be the value of the output set by default. So for example if a double click occurs at Tr then AQ will be of the value 2. You can change the values that AQ will be for each output through the parameters V1 to V4.
Parameter M allows you to set how long the interval between the two pulses needs to be (so you can change the speed of the double click). The duration of the pulse at the output is set by the parameter T.
A pulse at the input R causes the output AQ to be reset to 0.