F_TRIG_FUN

Detecting a falling edge

This is a user-defined function from a system function block. F_TRIG_FUN (falling edge trigger) allows you to recognize a falling edge at an input.

Parameters

Input

CLK (BOOL)

signal input

detects falling edge for clock

Input/output

dutInstance(F_TRIG_FUN_INSTANCE_DUT)

Internal memory containing the internal values and states, which corresponds to the instance memory of the associated FB.

Output

Q (BOOL)

signal output

is set for each falling edge at the signal input CLK (clock)

Remarks

The output Q of a function F_TRIG_FUN remains set for a complete PLC cycle after the occurrence of a falling edge (status change TRUE -> FALSE) at the CLK input and is then reset in the following cycle.

Related topics:

Modified on: 2021-08-13Feedback on this pagePanasonic hotline