Interrupts/diagnostics alarms
5.2 Interrupts
5.2
Interrupts
Digital input module DI 16x24VDC HF supports diagnostic and hardware interrupts.
You can find detailed information on the error event in the error organization block with the
"RALRM" instruction (read additional interrupt info) and in the STEP 7 online help.
Diagnostics interrupt
The module generates a diagnostic interrupt at the following events:
● Missing supply voltage L+
● Wire break
● Parameter assignment error
Hardware interrupt
The module generates a hardware interrupt at the following events:
● Rising edge
● Falling edge
● Rising and falling edge
● Comparison event occurred for DQ (only in "Counting mode")
The module channel that triggered the hardware interrupt is entered in the start information
of the organization block. The following figure shows the assignment to the bits of double
word 8 in local data.
Figure 5-2
36
Start information of the organization block
DI 16x24VDC HF Digital Input Module (6ES7521-1BH00-0AB0)
Manual, 08/2018, A5E03485952-AG