Pulse
medium
Produce a 1-second output pulse on each rising edge of the trigger input.
What it teaches
Combines edge detection, output latching, and a timer that gates the pulse duration. Demonstrates that pulse width is decoupled from input duration — the trigger only starts the pulse, the timer ends it. Foundation for one-shot generators.
Inputs and outputs
| Tag | Type | Default | Description |
|---|---|---|---|
| In_Trigger | BOOL | — | Trigger input; rising edge starts the pulse |
| Out_Pulse | BOOL | — | 1-second output pulse |
Required behavior
- Out_Pulse goes high on the rising edge of In_Trigger.
- Out_Pulse stays high for exactly 1 second, then goes low.
- The pulse duration is independent of how long In_Trigger is held high.
- Subsequent rising edges of In_Trigger while the pulse is active are ignored.