0% found this document useful (0 votes)
9 views1 page

R - Trig & F - Trig Function

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

R - Trig & F - Trig Function

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

R_TRIG Function Block

The one edge we can look at in a digital signal is the rising edge, sometimes also
referred to as positive edge. It happens when the signal goes from false (0) to true (1).
In digital electronics when the voltage goes from 0 to 5V. The rising edge is what
happens right when we push the button.
When the input (CLK) detects a rising edge the output will be set, but only for a brief
moment, since the rising edge happens so fast. Even though the input might be true
for next scan cycles, the output will not be set more than one time. The output
generates a pulse when a positive or rising edge is detected.
Here’s a diagram of the function block to make it easier to understand:

It takes a new rising edge to generate another pulse at the output. The block
remembers, so to speak, if a positive edge was at the input. So in order to set the
output again the input needs to go to false and then true again. Or as in our push
button example; you need to release the button and press it again.

F_TRIG Function Block


Just like the rising edges you can of course also detect falling edges. When the signal
goes from true (1) to false (0) is the falling edge.
Sometimes the falling edge is also called negative edge. It also works by generating a
pulse at the output but with a falling edge at the input.

You might also like