Siemens SIMODRIVE POSMO A User Manual page 127

Distributed positioning motor on profibus dp
Hide thumbs Also See for SIMODRIVE POSMO A:
Table of Contents

Advertisement

4 Communications via PROFIBUS–DP
4.3 Parameter area (PKW area)
4.3.2
Example: Reading parameters via PROFIBUS
Example:
Reading
parameters via
PROFIBUS
What has to be
programmed on the
master side?
4-126
It at least one fault is present, the drive fault buffer (P947) should be
read out and buffered on the master side.
Assumptions for the slave:
S
The drive has been completely commissioned, is connected to
PROFIBUS–DP and is ready.
S
PROFIBUS node address = 12
Assumptions for the master:
S
The DP master is a SIMATIC S7 (CPU: S7–315–2–DP)
S
Hardware configuration
– Node address = 12
– Part
I address
PKW
256 – 263
PZD
264 – 267
If the input signal from the peripheral area (I/O area) I265.3 (ZSW1.3,
fault present/no fault present) has a "1" signal, then the following must
be executed on the master side (refer to Fig.4-7):
1. Programming SFC14 and SFC15
The standard functions SFC14 "Read slave data" and SFC15 "write
slave data" are required in order to consistently transfer more than 4
bytes.
2. Request parameter value
– Write into the PKW output signals (AB 256 – 263)
with
AK = 1, PNU = 947, IND = 0, PWE = no significance
3. Read parameter value and save
– Evaluate the PKW input signals (EB 256 – 263)
– If AK = 1, PNU = 947, IND = 0 and PWE = xx
––> then O. K.
––> read P947 = xx and buffer
– If AK = 7,
––> then not O. K.
––> evaluate the fault number in EW 262
(refer to Table 4-15)
SIMODRIVE POSMO A User Manual (POS1) – 08/2013 Edition
O address
256 – 263
264 – 267 (not drawn in the example)
E Siemens AG 2013 All Rights Reserved
02.00
02.99

Advertisement

Table of Contents
loading

Table of Contents