Example: Writing Parameters Via Profibus - Siemens SIMODRIVE POSMO A User Manual

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.3

Example: Writing parameters via PROFIBUS

Example:
Writing parameters
via PROFIBUS
What has to be
programmed on the
master side?
4-128
Dependent on a condition, a value of 786.5 mm should be written into
the position in traversing block 4 (P81:4) via PROFIBUS.
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 condition to write the position is present in traversing block 4,
then the following must be executed on the master side
(refer to Fig. 4-8):
1. Write the parameter value (define task)
– Write into the PKW output signals (AB 256 – 263)
with
AK = 8, PNU = 81, IND = 4, PWE = 7 865 000
2. Check the task
– Evaluate the PKW input signals (EB 256 – 263)
– If AK = 5, PNU = 81, IND = 4 and PWE = 7 865 000
––> then O. K.
– 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
= 78 02 A8
dec
hex
dec

Advertisement

Table of Contents
loading

Table of Contents