19.08.2013 Views

User Manual 08/2003 Edition

User Manual 08/2003 Edition

User Manual 08/2003 Edition

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.

4<br />

4 Communications via PROFIBUS DP 02.99 02.00<br />

4.3 Parameter area (PKW area)<br />

4.3.2 Example: Reading parameters via PROFIBUS<br />

Example:<br />

Reading<br />

parameters via<br />

PROFIBUS<br />

What is<br />

programmed on<br />

the master side?<br />

4-116<br />

It at least one fault is present, the drive fault buffer (P947) should be<br />

read out and buffered on the master side.<br />

Assumptions for the slave:<br />

The drive has been completely commissioned, is<br />

connected to PROFIBUS DP and is ready.<br />

PROFIBUS node address = 12<br />

Assumptions for the master:<br />

The DP master is a SIMATIC S7 (CPU: S7-315-2-DP)<br />

Hardware configuration<br />

– Node address = 12<br />

– Part I address O address<br />

PKW 256 – 263 256 – 263<br />

PZD 264 – 267 264 – 267 (not drawn in the example)<br />

If the input signal from the peripheral area (I/O area) I265.3 (ZSW1.3,<br />

fault present/no fault present) has a ”1” signal, then the following must<br />

be executed on the master side (refer to Fig.4-7):<br />

1. Programming SFC14 and SFC15<br />

The standard functions SFC14 ”Read slave data” and SFC15 ”write<br />

slave data” are required in order to consistently transfer more than 4<br />

bytes.<br />

2. Request parameter value<br />

– Write into the PKW output signals (AB 256 – 263)<br />

with<br />

AK = 1, PNU = 947, IND = 0, PWE = no significance<br />

3. Read parameter value and save<br />

– Evaluate the PKW input signals (EB 256 – 263)<br />

– If AK = 1, PNU = 947, IND = 0 and PWE = xx<br />

––> then O. K.<br />

––> read P947 = xx and buffer<br />

– If AK = 7,<br />

––> then not O. K.<br />

––> evaluate the fault number in EW 262<br />

(refer to Table 4-15)<br />

Siemens AG <strong>2003</strong> All rights reserved<br />

SIMODRIVE POSMO A <strong>User</strong> <strong>Manual</strong> (POS1) – <strong>08</strong>.03 <strong>Edition</strong>

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

Saved successfully!

Ooh no, something went wrong!