19.08.2013 Views

Safety Integrated - Industry - Siemens

Safety Integrated - Industry - Siemens

Safety Integrated - Industry - Siemens

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Program sequence<br />

General overview<br />

The following figure shows the program structure of both<br />

S7-CPUs (S7-400 as DP Master and IM 151-7F-CPU as<br />

DP Slave).<br />

Transfer area in the I/O address space<br />

For an intelligent DP Slave (here: IM 151-7F-CPU) the DP Master<br />

does not access the connected inputs and outputs of the<br />

intelligent DP slaves, but accesses a transfer area in the input/output<br />

address space of the "preprocessing CPU". The input<br />

addresses of the DP Master CPU (S7-400) are output addresses<br />

of the DP Slave CPU (here: IM 151-7F-CP) and vice<br />

versa.<br />

Note<br />

The configured I/O areas for data exchange between<br />

master and slaves must not be "assigned" by I/O modules.<br />

In this example, a transfer area of 32 bytes was reserved each<br />

for inputs and outputs (from byte 14). You reach the mask be-<br />

low as follows: In the hardware configuration of STEP 7 you<br />

double-click the intelligent DP slave:<br />

Note<br />

All variables of the respective example, which are addressed<br />

via the above described transfer area, start<br />

their names with "C_" for "Couple" (e.g. C_OUT1).<br />

Functional Example No. AS-FE-I-012-V10-EN 383<br />

Ex. No.<br />

12

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

Saved successfully!

Ooh no, something went wrong!