Interrupts/diagnostics alarms
6.2 Interrupts and diagnostics
CPU 1512C-1 PN (6ES7512-1CK01-0AB0)
140 Manual, 12/2017, A5E40898741-AA
Hardware interrupts when using the high-speed counters
Table 6- 15 Hardware interrupts and their meaning
Opening of the internal gate (gate start) 1 When the internal gate is opened, the technology function
triggers a hardware interrupt in the CPU.
Closing of the internal gate (gate stop) 2 When the internal gate is closed, the technology functions
trigger a hardware interrupt in the CPU.
Overflow (high counting limit violated) 3 When the count value exceeds the high counting limit, the
technology function triggers a hardware interrupt in the
Underflow (low counting limit violated) 4 When the count value falls below the low counting limit, the
technology function triggers a hardware interrupt in the
Comparison event for DQ0 occurred 5 When a comparison event for DQ0 occurs due to the se-
lected comparison condition, the technology function trig-
gers a hardware interrupt in the CPU.
When the change of the count value for an incremental or
pulse encoder was not caused by a count pulse, the tech-
nology function does not trigger a hardware interrupt.
Comparison event for DQ1 occurred 6 When a comparison event for DQ1 occurs due to the se-
lected comparison condition, the technology function trig-
gers a hardware interrupt in the CPU.
When the change of the count value for an incremental or
pulse encoder was not caused by a count pulse, the tech-
nology function does not trigger a hardware interrupt.
Zero crossing 7 At a zero crossing of the counter or position value, the
technology function triggers a hardware interrupt in the
New Capture value present
1)
8 When the current counter or position value is saved as a
Capture value, the technology function triggers a hardware
Synchronization of the counter by an exter-
nal signal
9 At the synchronization of the counter by an N signal or
edge at DI, the technology function triggers a hardware
Direction reversal
2)
10 When the count value or position value changes direction,
the technology function triggers a hardware interrupt in the
Can only be set in counting mode
Feedback bit STS_DIR is preset to "0". When the first count value or position value change occurs in the reverse direc-
tion directly after switching on the digital on-board I/O, a hardware interrupt is not triggered.