19.08.2013 Views

User Manual 08/2003 Edition

User Manual 08/2003 Edition

User Manual 08/2003 Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

4<br />

4 Communications via PROFIBUS DP 02.99 02.00<br />

4.3 Parameter area (PKW area)<br />

4.3.3 Example: Writing parameters via PROFIBUS<br />

Example:<br />

Parameters,<br />

writing<br />

via PROFIBUS<br />

What has to be<br />

programmed on the<br />

master side?<br />

4-118<br />

Dependent on a condition, a value of 786.5 mm should be written into<br />

the position in traversing block 4 (P81:4) via PROFIBUS.<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 condition to write the position is present in traversing block 4,<br />

then the following must be executed on the master side<br />

(refer to Fig. 4-8):<br />

1. Write the parameter value (define task)<br />

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

with<br />

AK = 8, PNU = 81, IND = 4, PWE = 7 865 000dec = 78 02 A8hex<br />

2. Check the task<br />

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

– If AK = 5, PNU = 81, IND = 4 and PWE = 7 865 000dec<br />

––> then O. K.<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!