Interrupts/diagnostics alarms
6.2 Interrupts and diagnostics
CPU 1512C-1 PN (6ES7512-1CK00-0AB0)
126 Manual, 09/2016, A5E35306440-AB
The compact CPU can generate a hardware interrupt for the following events:
● Rising edge
● Falling edge
You will find detailed information on the event in the hardware interrupt organization block
with the "RALRM" (read additional interrupt information) instruction and in the STEP 7 online
help.
The start information of the organization block includes information on which channel
triggered the hardware interrupt. The figure below shows the assignment to the bits of
double word 8 in local data.
Figure 6-5 Start information of the organization block
Structure of the additional interrupt information
Table 6- 13 Structure of USI = W#16#0001
(User Structure Identifier)
W#16#0001 Additional interrupt information of the hardware
interrupts of the digital on-board I/O
2
The channel that triggered the hardware interrupt follows.
B#16#00 to B#16#0F Number of the event-triggering channel (chan-
1
The error event that triggered the hardware interrupt follows.
1