Back to FBD reference

Timers

TP

Pulse timer

The TP block starts a pulse on the rising edge of IN. While the pulse is active, Q remains TRUE for the configured duration.

Typical FBD symbol

IN
TP
Q
Typical FBD symbol for TP

Inputs

NameTypeRequiredDescription
INBOOLYesPulse start signal on the rising edge.

Outputs

NameTypeRequiredDescription
QBOOLYesPulse timer output.

Parameters

NameTypeRequiredDefaultDescription
PT_SCANSnumberNo1Pulse duration in scans.
PTnumberNo-Pulse duration in milliseconds when a time preset is used.

Stateful

Yes, the block keeps internal state between scans.

Behavior rule

On the rising edge of IN, emits Q = TRUE for the configured number of scans or time.

Scan table

Example for PT_SCANS = 2.

ScanINeventQ
1FALSE-FALSE
2TRUEfrontTRUE
3TRUEpulseTRUE
4TRUEelapsedFALSE

Practical use

  • short control pulse;
  • starting a one-shot action.

What to watch

  • Expecting a constant output while IN is held TRUE. TP starts from an edge.

Related blocks