Soluciones y Tecnologías de Control Embebido S.A.P.I. de C.V.
www.sepradel.com [email protected] +52 1 833-389-4054
8
Fig. 8. Behavior of the outputs with the Pulse Counter activated to detect 4 rising edges, regardless of the time
variation between input edges
About the input parameter "Wait Time"
It should also be mentioned that in the input configuration “IN” (see page 12), there is a
parameter called “wait time” in units of microseconds. This parameter is only used when the pulse
counter is activated and defines the time pause to be made after making a total count and before
starting the next count. During the wait time the equipment will not consider new pulses.
Using the Delay Generator as a Bounce Filter
It was previously mentioned that during the emission of a pulse in one channel, the latter will
not attend to another input event and that this does not affect neighboring channels. This feature
can be used by the user to obtain clean “bounce” delay outputs. For example, if you know that
two consecutive short pulses are eventually received at the input, but you only want to consider
the first one, then you can configure an output with the minimum possible delay and a pulse width
in said output greater than the total period of the received pulses. In this way, the Delay
Generator will not attend to the second short input pulse and would obtain only one output pulse
without the inconvenience of bouncing.