After a hardware interrupt has been triggered by the module, the operating system identi-
fies the slot and the corresponding hardware interrupt OB. If this OB has a higher priority
than the currently active priority class, it will be started. The channel-specific acknowl-
edgement is sent after this hardware interrupt OB has been executed. If another event
that triggers a hardware interrupt occurs on the same module during the time between
identification and acknowledgement of a hardware interrupt, the following applies:
n If the event occurs on the channel that previously triggered the hardware interrupt,
then the new interrupt is lost.
n If the event occurs on another channel of the same module, then no hardware inter-
rupt can currently be triggered. This interrupt, however, is not lost, but is triggered if
just active after the acknowledgement of the currently active hardware interrupt. Else
it is lost.
n If a hardware interrupt is triggered and its OB is currently active due to a hardware
interrupt from another module, the new request can be processed only if it is still
active after acknowledgement.
During STARTUP there is no hardware interrupt produced. The treatment of interrupts
starts with the transition to operating mode RUN. Hardware interrupts during transition to
RUN are lost.
If a hardware interrupt is generated for which there is no hardware interrupt OB in the
user program, OB 85 is called by the operating system. The hardware interrupt is
acknowledged. If OB 85 has not been programmed, the CPU goes to STOP
While the treatment of a hardware interrupt a diagnostic interrupt can be released. Is
there, during the time of releasing the hardware interrupt up to its acknowledgement, on
the same channel a further hardware interrupt, the loss of the hardware interrupt is
announced by means of a diagnostic interrupt for system diagnostics.
Function
Behavior on error
Diagnostic interrupt
VIPA SPEED7
Organization Blocks
Hardware Interrupts > OB 40, OB 41 - HW_INTx - Hardware Interrupt
HB00 | OPL_SP7 | Operation list | en | 18-30 83