19.08.2013 Views

Safety Integrated - Industry - Siemens

Safety Integrated - Industry - Siemens

Safety Integrated - Industry - Siemens

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.

Network 4: Reading in the readback signals<br />

The opening auxiliary contact of contactor K2 is connected<br />

with the digital input module of the S7-400 (K2_HELP). The<br />

readback signal is evaluated in the F-program. C_K2_HELP<br />

makes the readback signal available to the F-CPU.<br />

Network 5-7: Speeds for MASTERDRIVES<br />

NW Task Note/explanation Code<br />

5 Conversion of<br />

actual speed value<br />

in 1/min with<br />

PROFIBUS<br />

6 Converting the<br />

setpoint speed<br />

value for the operating<br />

mode<br />

"safe speed"<br />

(SG):<br />

7 Normal operation<br />

or "safe<br />

speed" (SG)<br />

This network determines the actual speed value read<br />

with PROFIBUS and provides this value to the DP slave for<br />

standstill evaluation.<br />

Maximum speed: 6000 1/min<br />

Maximum value of MASTERDRIVES: 4000hex=16384dec<br />

The ratio of both numbers make up a factor which initially<br />

is stored in a temporary variable #TEMP1. Via the PEW<br />

258 the value representing the actual speed value is<br />

read in by MASTERDRIVES. Multiplication of this value<br />

with #TEMP1 results in the actual speed in 1/min. This<br />

value is transmitted to the F-CPU with C_N_ACT.<br />

The value C_N_SG is provided by the F CPU in 1/min. After<br />

conversion (4000hex correspond to 6000 1/min) this<br />

value is available in MASTERDRIVES as<br />

N_SG_FOR_MDRIVE.<br />

If C_EN_SG=1, the "safe speed" stored in the F-program<br />

is transmitted to MASTERDRIVES (transfer command in<br />

PAW 258). For C_EN_SG=0 the setpoint speed value<br />

stored in DB1 is transferred to MASTERDRIVES for normal<br />

operation.<br />

OB "COMPLETE RESTART" (OB 100)<br />

In OB 100 the values for MASTERDRIVES are default and become<br />

active on starting up the S7-CPU.<br />

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

Ex. No.<br />

12

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

Saved successfully!

Ooh no, something went wrong!