24.10.2013 Views

Configuring Hardware and Communication Connections STEP 7.pdf

Configuring Hardware and Communication Connections STEP 7.pdf

Configuring Hardware and Communication Connections STEP 7.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Basic Method of Creating Interrupts<br />

<strong>Configuring</strong> the Distributed I/O (DP)<br />

The basic procedure for creating an interrupt will be shown as it applies to a<br />

diagnostic interrupt.<br />

• In the I slave, the output address 0 in the "Configuration" tab is assigned to a<br />

virtual slot.<br />

• In the example, the output address 0 is used to trigger a diagnostic interrupt<br />

(OB 82) in the DP master.<br />

For each diagnostic interrupt, data must also be input with the user program<br />

(AINFO). These data have to correspond to the basic structure for additional<br />

interrupt information.<br />

For example, you can use the following simplified structure (a detailed description<br />

is available in the manual "System <strong>and</strong> St<strong>and</strong>ard Functions for S7-300/400" in the<br />

chapter "Diagnostic Data"):<br />

Note<br />

The additional interrupt information has an influence on the module status data <strong>and</strong><br />

the "SF" error LED at the I slave. Similarly, the interrupt also influences the module<br />

status data <strong>and</strong> the error LED at the DP master. For this reason, you must be sure<br />

to observe the meaning of the diagnostic data sets (data set 0 <strong>and</strong> data set 1)<br />

when providing data for additional information about the interrupt.<br />

<strong>Configuring</strong> <strong>Hardware</strong> <strong>and</strong> <strong>Communication</strong> <strong>Connections</strong> with <strong>STEP</strong> 7<br />

A5E00706939-01 3-43

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

Saved successfully!

Ooh no, something went wrong!