### EDGE_ – Falling/rising edge detection in a binary signal

Block SymbolLicensing group: STANDARD

Function Description
The EDGE_ block detects rising (off$\to$on) and/or falling (on$\to$off) edges in the binary input signal U. The type of edges to detect is determined by the iedge parameter. As long as the input signal remains constant, the output Y is off. In the case when an edge corresponding with the iedge parameter is detected, the output Y is set to on for one sampling period.

Input

 U Logical input of the block bool

Output

 Y Logical output of the block bool

Parameter

 iedge Type of edges to detect  $\odot$1 long 1 .... Rising edge 2 .... Falling edge 3 .... Both edges

2019 © REX Controls s.r.o., www.rexygen.com