Triggering A Hardware Interrupt - Siemens SIMATIC ET 200SP Manual

Hide thumbs Also See for SIMATIC ET 200SP:
Table of Contents

Advertisement

5.2.1
Triggering of a diagnostics interrupt
Triggering of a diagnostics interrupt
For an incoming or outgoing event (e.g. wire break on a channel of an I/O module), the
module triggers a diagnostic error interrupt if this is configured accordingly.
The CPU interrupts processing of the user program and processes the diagnostic error
interrupt OB (OB 82). The event that triggered the interrupt is entered in the start information
of the diagnostic error interrupt OB.
5.2.2

Triggering a hardware interrupt

Triggering a hardware interrupt
If there is a hardware interrupt, the CPU interrupts user program execution and processes
the hardware interrupt block OB, e.g., OB 40. The result that triggered the interrupt is added
to the start information of the hardware interrupt OB.
Note
Diagnostics "Hardware interrupt lost" (from I/O module)
Do not use hardware interrupts for functional purposes (e.g. the cyclic generation of
hardware interrupts).
If the hardware interrupt load is too high, hardware interrupts can get lost depending on the
number of I/O modules and the communication load.
5.2.3
Triggering of a remove/insert module interrupt
Triggering of a remove/insert module interrupt
In the event of a remove/insert module interrupt, the CPU interrupts processing of the user
program and processes the remove/insert module OB, e.g. OB 83. The event that triggered
the interrupt is entered in the start information of the remove/insert module OB.
Note
Parameter assignment error after removal/insertion
If you write data records from the user program to the modules of the distributed I/O, make
sure that these modules actually exist and are available. You can do this by evaluating
OB83. After inserting a module, OB83 is not called until the module has started up and its
parameters are assigned. This ensures that data record operations can be executed without
errors.
IM 155-6 PN HF interface module (6ES7155-6AU00-0CN0)
Manual, 03/2015, A5E03915895-AF
Interrupts, error messages, diagnostics and system alarms
5.2 Interrupts
39

Advertisement

Table of Contents
loading

Table of Contents