Hardware Interrupts - Siemens SIMATIC S7-1500 Manual

Technology module, tm posinput 2 6es7551-1ab00-0ab0
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

Interrupts/diagnostic messages

5.3 Hardware interrupts

5.3
Hardware interrupts
Introduction
For the technology module, you can configure which events are to trigger a hardware
interrupt during operation.
What is a hardware interrupt?
The technology module will trigger a hardware interrupt as configured in response to specific
events/states. When a hardware interrupt occurs, the CPU interrupts execution of the user
program and processes the assigned hardware interrupt OB. The event that triggered the
interrupt is entered in the start information of the assigned hardware interrupt OB by the
CPU.
Lost hardware interrupt
If an event occurs that is to trigger a hardware interrupt and the preceding event has not yet
been processed, another hardware interrupt cannot be triggered. The hardware interrupt is
lost and the diagnostic interrupt "Lost hardware interrupt" is triggered.
Enabling of hardware interrupts
A hardware interrupt is triggered when the condition for the change of the respective status
or event bit in the feedback interface is met.
You enable the hardware interrupts in the device configuration with the basic parameters.
You can configure hardware interrupts to be triggered for the following event types:
● Opening of internal gate (gate start)
● Closing of internal gate (gate stop)
● Overflow (counting high limit violated)
● Underflow (counting low limit violated)
● Comparison event for DQ0 has occurred
● Comparison event for DQ1 has occurred
● Zero crossing
● New Capture value available
● Synchronization of the counter by an external signal
● Direction reversal
Not for SSI absolute encoder
1
Only configurable in the Counting/Position input operating mode
2
Feedback bit STS_DIR is preassigned with "0". A hardware interrupt is not triggered when
3
the first counter value or position value is changed immediately after switching on the
technology module in
When the hardware interrupt is enabled, for system-related reasons it can also be triggered
4
if "0" is outside the configured value range.
80
1
1
4
2
3
down direction
.
1
1
1
Technology module TM PosInput 2 (6ES7551-1AB00-0AB0)
Manual, 06/2018, A5E03982218-AB

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et-200mp

Table of Contents