Pulse Timer
- Updated2025-01-28
- 4 minute(s) read
Generates output pulses triggered by rising edges on the input signal.
When a rising edge occurs on input, output pulses TRUE for preset time (ms).

Dialog Box Options
| Option | Description |
|---|---|
| Inputs | Contains the following configuration options:
|
| Outputs | Contains the following configuration options:
|
Inputs/Outputs
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
input
—
Specifies the digital input signal.
preset time (ms)
—
Specifies the amount of time for the function block to use in calculations.
elapsed time (ms)
—
Returns the amount of time, in milliseconds, elapsed since the start of the current or last pulse. If no pulse has started, this output returns the amount of time elapsed since the first call of the function block.
error out
—
error out contains error information. This output provides standard error out functionality.
output
—
Returns the digital output signal. |
This function block does not respond to rising edges on input received while output is TRUE.
The timing of this function block depends on the rate of the Timed Loop or While Loop in which you place the function block. For example, if you need the function block to update with millisecond resolution, you can place the function block in a Timed Loop configured to execute every millisecond.
The following timing diagram illustrates the behavior of this function block.
error in
—
input
—
preset time (ms)
—
elapsed time (ms)
—
error out
—
output
—