====== Edge Coupler Block for Rising Edge Detection ====== {{:cs:mervis-ide:35-help:edgecoupler.png}} ==== Full Name ==== Lib.Mervis.v1_0.EdgeCoupler ==== Required Project References ==== * Lib.Mervis ===== Description ===== A helper block used for detecting a rising edge coming from multiple sources. ===== Usage in ST ===== program test var edgeCoupler: lib.mervis.v1_0.EdgeCoupler; end_var edgeCoupler(); end_program ===== Inputs ===== |Name |Data Type|Retain|Mandatory Connection|Meaning| |Input1|bool |No |No |Input value| | |Input2|bool |No |No |Input value| | |Input3|bool |No |No |Input value| | |Input4|bool |No |No |Input value| | ===== Outputs ===== |Name |Data Type|Meaning| |Output|bool |Output| ===== Detailed Function Description ===== The block is used for detecting a rising edge that can be generated from multiple sources. It also handles the case where an input remains "stuck" at the active (=true) level. __For proper operation, ensure that there is at least one computation cycle gap between individual edges on the inputs.__