You are on page 1of 11

Basics of communication with PROFIBUS-DP

Training objectives:
SIMATIC
S7
SIMATIC

M7
1
• You are informed about some of the
possibilities of PROFIBUS communication
according to PROFIdrive V4 with cyclic
and acyclic data exchange

• You know how to integrate a SINAMICS


? PROCESS FIELD BUS
slave into the S7 Hardware Configuration

• You know how to use Standard Telegrams


and how to adapt the interface “wiring”

• You are familiar with the particularities of


internal and external control and status
words

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 1 Automation and Drives
Siemens AG 2007. All rights reserved.

Basics of communication with PROFIBUS-DP


Content Page
Communication within the SINAMICS-family.................................................................................... 3
Application of selected PROFIdrive V4 functions.............................................................................. 4
Net data........................................................................................................................................... 5
SINAMICS slave on PROFIBUS....................................................................................................... 6
Configuration with STARTER or SCOUT.......................................................................................... 7
Standard telegrams / i.e. S120 V2.2................................................................................................. 8
Standard telegrams / i.e. S120 V2.4 [2420]...................................................................................... 9
Standard telegrams / i.e. G150 V2.4 [2420]..................................................................................... 10
Receive and send signals................................................................................................................. 11
PZD receive signals / drive objects “LM, CU, TB, TM“ [2481]........................................................... 12
PZD receive signals / drive object “Servo, Vector“ [2460]................................................................. 13
Control word 1 (PROFIdrive-Profile / Standard Telegram) [2442]...................................................... 14
Assignment of control words............................................................................................................ 15
Control word sequence control / Motor Module [2501]...................................................................... 16
Control word sequence control / Active Line Module [8920].............................................................. 17
Control word and Status word / external and internal........................................................................ 18
Status word 1 (PROFIdrive-Profil / Standard Telegram) [2452]......................................................... 19
PZD send signals / drive object “Servo, Vector“ [2470]..................................................................... 20
PZD send signals / drive object “LM, CU, TB, TM“ [2483]................................................................ 21
Extension of the telegram length of a Standard Telegram................................................................. 22

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 2 Automation and Drives
Siemens AG 2007. All rights reserved.
Communication within the SINAMICS-family
SINUMERIK
OP COMM-PC
SIMOTION
SIMATIC OP direct access
1. PROFIBUS/PROFIdrive

clock-synchronous 2. PROFIBUS
(Servo only)
cross talking CAN-Bus
(CANopen)

CBxx PROFINET (IRTE)


CBC10
CBP10
slave
DRIVE-CLiQ
slave

CU320 Line Motor


Module Module
TMxx TMxx

further drive systems


RS232 „ speed
„ position SMCxx
„ temperature
SMExx
external SMIxx
measuring
system factory-PC

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 3 Automation and Drives
Siemens AG 2007. All rights reserved.

Application of selected PROFIdrive V4 functions


SIMATIC SIMATIC
S7
M7

Functionality 1

Automation Engineering Operation


Cyclic communication (SFC14/15) (Master Class 1) (Master Class 2) (Master Class 2)
S7, S5, others STARTER SIMATIC HMI
Acyclic communication (SFC58/59 and DS47)
Clock synchronous operation (only “Servo“)
Cross-talking
Routing cross traffic
(slave) cyclic channels acyclic channels
OP Direct Access drive. ET200
PROFIBUS-communication-board
Teleservice drive, ET200
SINAMICS

Direct access Routing Cross-talking


to parameters

PROCESS FIELD BUS

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 4 Automation and Drives
Siemens AG 2007. All rights reserved.
Net data
Main tasks of the Master-Slave-Communication:
1. Writing and reading of parameters: 2. Controlling the operating process:
• reading faults and diagnostics signals • permanent assignment of control bits and
• reading and changing function values setpoint values
i.e. in set-up mode • permanent reading of status and actual values

parameter data range (PKW) process data range (PZD)

source of main setpoint value of main setpoint


source of control bits logic state of control bits

The data are transferred:

• on request only if necessary • fast and permanently


• with free access to any parameter • with assigned (fixed) “wiring” to the process

acyclic cyclic

via DS47 telegrams via Standard Telegrams

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 5 Automation and Drives
Siemens AG 2007. All rights reserved.

SINAMICS slave on PROFIBUS


STARTER also allows an easy and comfortable integration of a
SINAMICS drive unit into a SIMATIC automation project:

GSD-file from CFC

HW Config

The SINAMICS drive unit as a PROFIBUS slave supports:


¾ the integration into SIMATIC/STARTER and SIMOTION for easy engineering
¾ the cyclic communication with (without) Standard Telegrams / clock synchronous operation for Servo
¾ the acyclic communication for drive parameterization

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 6 Automation and Drives
Siemens AG 2007. All rights reserved.
Configuration with STARTER or SCOUT
Slave-configuration with S7 HW config

PLC-side
initially select any kind of Standard Telegram

Drive-configuration with STARTER

Drive-side
The drive tool (STARTER) is opened from the programming tool (STEP 7).
Common data management is provided by using only one project.
By selecting a Standard Telegram, the “interface-wiring“ on the drive is automatically configured (BICO).
By aligning the communication data (via STARTER) data consistency is guaranteed.

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 7 Automation and Drives
Siemens AG 2007. All rights reserved.

Standard telegrams / i.e. S120 V2.2


Standard Telegrams of the S7 HW Configuration automatic BICO-“wiring“
Type Function PZD: S/R
with STARTER
1 Speed control 2/2 p0922 = 1
VECTOR
VECTOR
20 Speed control 2/6
2 Speed control 4/4
3 Speed, 1 position sensor 5/9
4 Speed, 2 position sensors 6 / 14
5 DSC, 1 position sensor 9/9
6 DSC, 2 position sensors 10 / 14
SERVO
SERVO
102 Speed, T-Red., 1 pos. sensor 6 / 10
103 Speed, T-Red., 2 pos. sensors 7 / 15
105 DSC, T-Red., 1 pos. sensor 10 / 10
106 DSC, T-Red., 2 pos. sensors 11 / 15 p0922 = 106
116 DSC, T-Red., 2 pos. sens. + act.val 11 / 19
352 PCS7 6/6
370 Active Infeed 1/1
SERVO+
SERVO+ 390 CU320: Digital I/O 2/2
VECTOR
VECTOR
391 CU320: Digital I/O 3/7
999 Free BICO -/- p0922 = 999
In the S7 HW Configuration all Standard Telegrams according to PROFIdrive - Profile V4 are available.
On the drive the automatic BICO-configuration is limited to the telegrams relevant for the selected operating type
(Servo, Vector).

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 8 Automation and Drives
Siemens AG 2007. All rights reserved.
Standard telegrams / i.e. S120 V2.4 [2420]

Telegrams 1 to 20 manufacturer independent Standard Tel. automatic configuration in SINAMICS


Telegrams 102 to 391 Siemens-specific Standard Telegrams automatic configuration in SINAMICS
Telegram 999 free telegram manual configuration required

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 9 Automation and Drives
Siemens AG 2007. All rights reserved.

Standard telegrams / i.e. G150 V2.4 [2420]

Telegrams 1, 20 manufacturer independent Standard Tel. automatic configuration in SINAMICS


Telegrams 352 to 391 Siemens-specific Standard Telegrams automatic configuration in SINAMICS
Telegram 999 free telegram manual configuration required

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 10 Automation and Drives
Siemens AG 2007. All rights reserved.
Receive and send signals

Process data Process data


Drive object 1
Process data Process data
Drive object 2
axis disconnector

type setpoint type actual

SIMATIC

S7
SIMATIC

S7

Drive object 1
Drive object 2
Drive object 3
Drive object n

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 11 Automation and Drives
Siemens AG 2007. All rights reserved.

PZD receive signals / drive objects “LM, CU, TB, TM“ [2481]

PROFIBUS
PROFIBUS receive
receive word
word Co-Bi-converter
Co-Bi-converter Internal
Internal bits
bits

r2091.0
r2091.1

r2050[0]
r2050[1]

maximum 5 words i.e. without standard telegram i.e. individually wired

starting
starting with
with V2.3
V2.3
aa limited
limited selection
selection
Offline
Offline of
of standard
standard tele-
tele-
screen
screen grams
grams is is available
available
shots
shots

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 12 Automation and Drives
Siemens AG 2007. All rights reserved.
PZD receive signals / drive object “Servo, Vector“ [2460]
CTW1

N-set

PROFIBUS
PROFIBUS receive
receive word
word PROFIBUS
PROFIBUS control
control word
word Internal
Internal control
control bits
bits

i.e. Standard Telegram 2

r2050[0]
r2060[1] r2090.0
r2090.1

maximum 16 words “wiring” of receive words and process data automatically ASSIGNED !

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 13 Automation and Drives
Siemens AG 2007. All rights reserved.

Control word 1 (PROFIdrive-Profile / Standard Telegram) [2442]

7 internal
internal
control
control
words
words

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 14 Automation and Drives
Siemens AG 2007. All rights reserved.
Assignment of control words

PZD 1 (PLC) Control word sequence control

r 2090.0 p0840 bit 0 / On, Off 1

r 2090.1 p0844 bit 1 / no Off 2

r 2090.2 p0848 bit 2 / no Off 3


r 0898
r 2090.3 p0852 bit 3 / INV enable

r 2090

Control word setpoint channel


r 2090.13 p1035 bit 13 / MOP up

r 2090.14 p1036 bit 14 / MOP down


r 1198

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 15 Automation and Drives
Siemens AG 2007. All rights reserved.

Control word sequence control / Motor Module [2501]

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 16 Automation and Drives
Siemens AG 2007. All rights reserved.
Control word sequence control / Active Line Module [8920]

B = 1011

0 = 0000

4 = 0100

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 17 Automation and Drives
Siemens AG 2007. All rights reserved.

Control word and Status word / external and internal

Control
Control word
word CTW1
CTW1 Control
Control word
word CTW2
CTW2
all Standard Telegrams
all Standard Telegrams Standard
Standard Telegrams 22 to
Telegrams to 116
116

MASTERDRIVE-compatible SIMODRIVE-compatible

Internal Control and Status words:


sequence control CTW STW
setpoint channel CTW
speed controller CTW STW
monitoring STW
faults / alarms 1, 2 STW
faults / alarms CTW
command data set CTW

Status
Status word
word STW1
STW1 Status
Status word
word STW2
STW2
all
all Standard
Standard Telegrams
Telegrams Standard
Standard Telegrams 22 to
Telegrams to 116
116

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 18 Automation and Drives
Siemens AG 2007. All rights reserved.
Status word 1 (PROFIdrive-Profil / Standard Telegram) [2452]

internal
internal
status
status
words
words

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 19 Automation and Drives
Siemens AG 2007. All rights reserved.

PZD send signals / drive object “Servo, Vector“ [2470]

STW1

N-act

Internal
Internal status
status bits
bits PROFIBUS
PROFIBUS status
status word
word PROFIBUS
PROFIBUS send
send word
word

r2089[0]
p2080[0]
p2080[1]

p2051[0]
p2061[1]

“wiring” of send words and process data automatically ASSIGNED ! maximum 19 words

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 20 Automation and Drives
Siemens AG 2007. All rights reserved.
PZD send signals / drive object “LM, CU, TB, TM“ [2483]

Internal
Internal bits
bits Bi-Co-converter
Bi-Co-converter PROFIBUS
PROFIBUS send
send word
word

r2089[0]
p2080[0]

i.e. individually wired p2051[0]


p2051[1]

without assignment / max. 5 (CU: 7) words

>> V2.3
V2.3 aa limited
limited selection
selection of
of stand.tel.
stand.tel. is
is available
available

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 21 Automation and Drives
Siemens AG 2007. All rights reserved.

Extension of the telegram length of a Standard Telegram


PLC-side Drive-side

Add the signal assignments for the additional telegram word

The
The choice
choice of
of aa free
free telegram
telegram length
length up
up to
to the
the object
object dependent
dependent maximum
maximum lengthlength is
is always
always
possible
possible (drive
(drive objects:
objects: 16 16 words,
words, other
other objects:
objects: 55 words).
words).
To
To extend
extend the
the length
length of of aa Standard
Standard telegram,
telegram, itit must
must be
be redefined
redefined to
to “free
“free telegram
telegram configuration
configuration
with
with BICO“.
BICO“. Already
Already existing
existing assignments
assignments areare maintained,
maintained, changes
changes are
are possible.
possible. In
In the
the HW
HW Config
Config
the
the “Standard
“Standard Telegram“
Telegram“ is is renamed
renamed toto “User
“User defined“.
defined“.

SINAMICS Date: 06/03/2007 SITRAIN Training for


File: ABU DHABI: Page 11 - 22 Automation and Drives
Siemens AG 2007. All rights reserved.

You might also like