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.
|Single click||Pulse at output Q1|
|Two clicks||Pulse at output Q2|
|Three clicks||Pulse at output Q3|
|Four clicks||Pulse at output Q4|
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.