Rising edge trigger
This is a user-defined function from a system function block. R_TRIG_FUN (rising edge trigger) allows you to recognize a rising edge at an input.
Input
signal input
detects rising edge for clock
Input/output
Internal memory containing the internal values and states, which corresponds to the instance memory of the associated FB.
Output
signal output
is set for each rising edge at the signal input CLK (clock)
The output Q of a function R_TRIG_FUN remains set for a complete PLC cycle after the occurrence of a rising edge (status change FALSE -> TRUE) at the CLK input and is then reset in the following cycle.