Automation / Triggers |
![]() |
![]() |
| Vectorized | C | |
in the palette | on the schematic |
Implements a reset-priority RD-trigger model that detects the first event (occurrence of an edge of the input signal) on the data input ports (D-ports, i.e., 2nd, 3rd, and subsequent ports if available). The block is discrete. This is a variant of the D-trigger implementation. It memorizes which one of the events (logical one) applied to the D-inputs occurred first. After the event occurs, a logical one is formed at the corresponding output and the states of all outputs are fixed until the reset signal R occurs, the setting of which resets all outputs to 0, and the removal of which returns the block to operation. If more than one event occurs simultaneously, the state of the block outputs does not change until only one signal acts on the inputs, which will be considered as the first. The number of input signal ports is configured in the block properties. It corresponds to the same number of outputs. There is also always a reset control port R.
Рисунок 1. Test diagram for the first event detection block
Рисунок 2. Operation of the first event detection block
none