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.

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

Optimizing the Configuration<br />

To assist you in optimizing the configuration, the "Isochrone Mode" dialog box<br />

provides an overview of all clocking-related parameters. To open this dialog box,<br />

go to HW Config <strong>and</strong> select the Edit > Isochrone Mode menu comm<strong>and</strong>.<br />

The dialog box is divided into a hierarchy containing "PROFIBUS", "Slave" <strong>and</strong><br />

"Module" display areas. When you select a master system in the "PROFIBUS"<br />

area, the "Slave" area will automatically display the associated slaves. Similarly,<br />

when you select a DP slave, the "Module" area will automatically display the<br />

associated modules. For a detailed description of the columns displayed in the<br />

dialog box, see the relevant online help section.<br />

Creating a User Program<br />

Create the required synchronous cycle interrupt OBs (i.e. OB 61).<br />

At the start of the synchronous cycle interrupt OBs, the SFC 126 'SYNC_PI' must<br />

be called to update the process image partition for inputs, <strong>and</strong> at the end of OB 61,<br />

SFC 127 'SYNC_PO' must be called to update the process image partition for<br />

outputs. The process image partition to be used here is the one configured in the<br />

CPU ("Synchronous Cycle Interrupts" tab).<br />

Notes<br />

In particular, the following situation can arise with very short DP cycle times: The<br />

runtime of the user program (OB6x with SFC 126/127 called) is greater than the<br />

smallest cycle (see the technical data for the CPU, Section "Isochrone Mode"). In<br />

this case, you will have manually increase the DP cycle time that was automatically<br />

calculated by <strong>STEP</strong> 7.<br />

The runtime for individual OBs can be determined for different periods of time with<br />

SFC 78 'OB_RT' (WinAC RTX only).<br />

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

3-90 A5E00706939-01

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

Saved successfully!

Ooh no, something went wrong!