Table Of Contents

Retriggerable Pulse or Pulse Train Generation

    Last Modified: February 26, 2018

    The counter can output a single pulse or multiple pulses in response to each pulse on a hardware Start Trigger signal. The generated pulses appear on the Counter n Internal Output signal of the counter.

    You can route the Start Trigger signal to the Gate input of the counter. You can specify a delay from the Start Trigger to the beginning of each pulse. You also can specify the pulse width. The delay and pulse width are measured in terms of a number of active edges of the Source input. The initial delay can be applied to only the first trigger or to all triggers using the CO.EnableInitalDelayOnRetrigger property. The default for a single pulse is True, while the default for finite pulse trains is False.

    The counter ignores the Gate input while a pulse generation is in progress. After the pulse generation is finished, the counter waits for another Start Trigger signal to begin another pulse generation. For retriggered pulse generation, pause triggers are not allowed since the pause trigger also uses the gate input.

    The figure below shows a generation of two pulses with a pulse delay of five and a pulse width of three (using the rising edge of Source) with CO.EnableInitalDelayOnRetrigger set to the default True.

    Figure 1. Retriggerable Single Pulse Generation with Initial Delay on Retrigger

    The figure below shows the same pulse train with CO.EnableInitalDelayOnRetrigger set to the default False.

    Figure 2. Retriggerable Single Pulse Generation False

    The minimum time between the trigger and the first active edge is two ticks of the source.

    For information about connecting counter signals, refer to the Default Counter/Timer Routing section.

    Recently Viewed Topics