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.

Ex. No.<br />

12 Sample Code<br />

General information<br />

Preliminary Remarks<br />

In the attachment, we offer you the STEP 7 project as sample<br />

code with which you can reset the functionality described<br />

here.<br />

The sample code is always assigned to the components used<br />

in the functional examples and implements the required functionality.<br />

Problems not dealt with in this document are to be<br />

realized by the user; the sample code may serve as a basis.<br />

Password<br />

In all cases, the password used for the safety-relevant part is<br />

siemens.<br />

Use of the STEP 7 project<br />

The STEP 7 project shows how using MASTERDRIVES enables<br />

realizing safe standstill monitoring.<br />

Download<br />

To call the corresponding project file, open the<br />

"as_fe_i_012_v10_code_sstill.zip" file offered as a separate<br />

download (on the HTML page) and extract it into a user defined<br />

directory.<br />

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

To download the project to the F-CPUs please proceed as follows:<br />

No. Instructions<br />

1 Load the appropriate hardware configuration into the IM<br />

151-7F-CPU.<br />

2 Switch to the SIMATIC Manager<br />

3 Select the "Blocks" folder (DP slave)<br />

4 Menu "Options" -> Edit safety program<br />

5 Click the "Download" button.<br />

6 First load the hardware configuration to the DP-Master.<br />

7 Switch to the SIMATIC Manager.<br />

8 Select the "Blocks" folder (DP master)<br />

9 Menu "Zielsystem" (target system) -> "Laden" (download)<br />

The sample code with the given configurations enables the<br />

following:<br />

■ Operational start and stop respectively via one button<br />

■ Emergency stop<br />

■ Simulated safety door (position switch)<br />

■ Safe speed (SG)<br />

■ Safe standstill detection<br />

Attention<br />

The safety door simulated with the position switch<br />

contains no complete safety door solution for a, but<br />

serves merely as a demonstration of the following behavior:<br />

In operating mode "safe speed" (SG) the drive<br />

may also be active at opened safety door.<br />

Note<br />

The example is designed for one rotational direction of<br />

the drive and does not take into account a change of<br />

direction.

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

Saved successfully!

Ooh no, something went wrong!