22.07.2013 Views

II - DCE FEL ČVUT v Praze

II - DCE FEL ČVUT v Praze

II - DCE FEL ČVUT v Praze

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SIMATIC S7 Ex Analog Modules<br />

3.6.5 Interrupts of Analog Modules<br />

Introduction<br />

Parameterizing<br />

interrupts<br />

Default setting<br />

Diagnostic<br />

interrupt<br />

Hardware interrupt<br />

Hardware interrupt<br />

lost<br />

3-50<br />

The interrupt characteristics of the analog modules are described in this<br />

section.<br />

In principle, a differentiation is made between the following interrupts:<br />

Diagnostic interrupt<br />

Hardware interrupt<br />

The interrupts are parameterized with STEP 7.<br />

The interrupts are inhibited by way of default.<br />

If enabled, the module triggers a diagnostic interrupt when a fault comes or<br />

goes (e.g. wire break or short to M). Diagnostic functions inhibited by<br />

parameterization cannot trigger an interrupt. The CPU interrupts processing<br />

of the user program or low-priority classes and processes the diagnostic<br />

interrupt module (OB 82).<br />

The range is defined by parameterization of an upper and a lower limit. If the<br />

process signal (e.g. temperature of an analog input module) is outside this<br />

range, the module triggers a hardware interrupt provided limit interrupt is<br />

enabled. You can determine which of the channels has triggered the interrupt<br />

with the aid of the local data of the OB 40 in the user program (see /235/).<br />

Active hardware interrupts trigger interrupt processing (OB 40) in the CPU,<br />

consequently the CPU interrupts processing of the user program or<br />

low-priority classes. If there are no higher priority classes pending<br />

processing, the stored interrupts (of all modules) are processed one after the<br />

other corresponding to the order in which they occurred.<br />

If an event occurred in one channel (overrange/underrange of limit), this<br />

event is stored and a hardware interrupt is triggered. If a further event occurs<br />

on this channel before the hardware interrupt has been acknowledged by the<br />

CPU (OB 40 run) this event will be lost. A diagnostic interrupt ”hardware<br />

interrupt lost” is triggered in this case. The diagnostic interrupt enable must<br />

be active for this purpose.<br />

Further events on this channel are then no longer registered until interrupt<br />

processing is completed for this channel.<br />

I/O Modules with Intrinsically-Safe Signals<br />

C79000-G7076-C152-04

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!