User`s guide

11 Real-Time Workshop Libraries
11-14
Asynchronous Interrupt Block Example - Simulation Mode
This example shows how the Asynchronous Interrupt block works in
simulation mode:
The Asynchronous Interrupt block works as a “handler” that routes signals and
sets priority. If two interrupts occur simultaneously, the rule for handling
which signal is sent to which port is left/right and top/bottom. This means that
IRQ2 receives the signal from plant 1 and IRQ1 receives the signal from plant
2 simultaneously. IRQ1 still has priority over IRQ2 in this situation.
Note that the Asynchronous Interrupt block executes during simulation by
processing incoming signals and executing downstream functions. Also,
interrupt preemption cannot be simulated.
Simulated Interrupt Signals