Lib.Mervis.v1_0.EdgeCoupler
A helper block used for detecting a rising edge coming from multiple sources.
program test
var
edgeCoupler: lib.mervis.v1_0.EdgeCoupler;
end_var
edgeCoupler();
end_program
| 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 |
| Name | Data Type | Meaning |
| Output | bool | Output |
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.