R - Trig & F - Trig Function
R - Trig & F - Trig Function
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.