Back to FBD reference

Edges

F_TRIG

Falling-edge detector

The F_TRIG block compares the current IN value with the previous scan and emits a one-scan pulse on a falling edge.

Typical FBD symbol

IN
F_TRIG
Q
Typical FBD symbol for F_TRIG

Inputs

NameTypeRequiredDescription
INBOOLYesSignal whose falling edge is detected.

Outputs

NameTypeRequiredDescription
QBOOLYesTRUE only on the TRUE -> FALSE scan.

Stateful

Yes, the block keeps internal state between scans.

Behavior rule

Q = TRUE for one scan when IN changes from TRUE to FALSE.

Scan table

Falling-edge example.

ScanINprevious INQ
1TRUEFALSEFALSE
2TRUETRUEFALSE
3FALSETRUETRUE
4FALSEFALSEFALSE

Practical use

  • reacting to a released button;
  • part leaving a sensor;
  • signal end detection.

What to watch

  • Confusing it with R_TRIG. F_TRIG reacts to the falling edge.

Related blocks