Hardware Interrupts - Siemens SIMATIC ET 200SP Manual

Hide thumbs Also See for SIMATIC ET 200SP:
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 which is supposed to trigger a hardware interrupt but there is an identical,
previous event which has not yet been processed, no further hardware interrupt will be
triggered. The hardware interrupt is lost. This may lead to the "Hardware interrupt lost"
diagnostic interrupt, depending on the parameter assignment.
Enabling the hardware interrupts
A hardware interrupt is triggered if the condition for changing the respective status bit or
event bit in the feedback interface is fulfilled.
The EventType tag, among others, is entered in the start information of the assigned
hardware interrupt OB when a hardware interrupt is triggered. The EventType tag specifies
the number of the event type to which the event triggering the interrupt belongs.
You enable the hardware interrupts in the basic parameters of the device configuration. You
can configure hardware interrupts to be triggered for the following event types:
Table 5- 7
Hardware interrupt
Internal gate opening (Gate start)
Internal gate closing (Gate stop)
Overflow (high counting limit violated)
Underflow (low counting limit violated)
Compare event for DQ0 has occurred
Compare event for DQ1 has occurred
Zero pass
New Capture value available
64
Possible hardware interrupts
1)
EventType number
1
2
3
4
5
6
7
8
Technology Module TM Count 1x24V (6ES7138-6AA00-0BA0)
Manual, 02/2017, A5E33002339-AB

Advertisement

Table of Contents
loading

Table of Contents