Siemens Simatic S7-300 Bedienungsanleitung

Connection of the SINAMICS S120 to
the Technology CPU
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
_
_______
_
__________
SIMATIC
S7-300
Connection of the SINAMICS S120
to the Technology CPU
Product Information
09/2011
A5E00480378-04
Definitions and warnings
1
SINAMICS S120
automation components
2
Commissioning
3
Basic functions
4
Expert Functions
5
Safety Integrated Functions
in SINAMICS Drive Systems
6

Legal information
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the relevant information is not taken into account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Industry Sector
Postfach 48 48
90026 NÜRNBERG
GERMANY
A5E00480378-04
Ⓟ 09/2011
Copyright © Siemens AG 2011.
Technical data subject to change

Connection of the SINAMICS S120 to the Technology CPU
Product Information, 09/2011, A5E00480378-04 3
Table of contents
1 Definitions and warnings............................................................................................................................ 7
2 SINAMICS S120 automation components ................................................................................................. 9
2.1 System overview............................................................................................................................9
2.2 Control unit.....................................................................................................................................9
2.3 Line Modules................................................................................................................................10
2.4 Motor Modules .............................................................................................................................10
2.5 Expansion and system components ............................................................................................11
2.6 Determining the firmware version number...................................................................................11
2.7 SINAMICS Support Packages .....................................................................................................13
3 Commissioning ........................................................................................................................................ 15
3.1 Commissioning procedure ...........................................................................................................15
3.2 Connecting hardware components ..............................................................................................15
3.2.1 PROFIBUS interconnection .........................................................................................................15
3.2.2 Interconnection of the DRIVE-CLiQ components ........................................................................17
3.2.3 Additional hardware wiring for Smart Line Modules without DRIVE-CLiQ ..................................21
3.2.4 Special features of the SINAMICS S120 Training Case..............................................................22
3.3 Preparing the connection to the SINAMICS ................................................................................23
3.3.1 Overview ......................................................................................................................................23
3.3.2 Creating a STEP 7 project ...........................................................................................................23
3.3.3 Configuring in HW Config ............................................................................................................24
3.3.4 Activating routing in NetPro .........................................................................................................30
3.4 Configuring the drive components ...............................................................................................35
3.4.1 Overview ......................................................................................................................................35
3.4.2 Automatic configuring ..................................................................................................................35
3.4.3 Manual configuring.......................................................................................................................39
3.4.4 Alignment of the PROFIdrive message frames ...........................................................................69
3.4.5 Loading the configuration into the drive components ..................................................................70
3.4.6 Optimizing the speed controller in the drive.................................................................................71
3.5 Diagnosing the SINAMICS configuration.....................................................................................75
3.5.1 Checking the DRIVE-CLiQ wiring online .....................................................................................75
3.5.2 Drive test using the SINAMICS control panel..............................................................................76
3.6 Creating technology objects.........................................................................................................78
3.6.1 Creating and configuring axes .....................................................................................................78
3.6.2 Technology Objects Management (TOM)....................................................................................85
3.7 Diagnosing the technology configuration.....................................................................................87
3.7.1 Overview ......................................................................................................................................87
3.7.2 Preparations.................................................................................................................................87
3.7.3 Axis test using the technology axis control panel ........................................................................89

Table of contents
Connection of the SINAMICS S120 to the Technology CPU
4 Product Information, 09/2011, A5E00480378-04
3.8 Creating the user program .......................................................................................................... 91
3.8.1 Using technology functions ......................................................................................................... 91
3.8.2 Special considerations for the use of an Active Line Module ..................................................... 91
4 Basic functions......................................................................................................................................... 93
4.1 Encoder settings ......................................................................................................................... 93
4.1.1 Encoder configuration (overview) ............................................................................................... 93
4.1.2 Characteristic values for encoders.............................................................................................. 93
4.1.3 Structure of the encoder actual values ....................................................................................... 95
4.1.4 Encoder types ............................................................................................................................. 99
4.1.5 Encoder mode........................................................................................................................... 100
4.1.6 Setting encoder parameters in the technology ......................................................................... 100
4.1.7 Display of the encoder parameters in S7T Config .................................................................... 102
4.2 Homing...................................................................................................................................... 104
4.2.1 Homing possibilities .................................................................................................................. 104
4.2.2 Example: Active homing with homing output cam and encoder zero mark.............................. 105
4.2.3 Example: Active homing using only an external zero mark ...................................................... 109
4.2.4 Example for active homing with one of the external zero marks mirrored on the T-CPU......... 114
4.2.5 Example: Active homing using only an encoder zero mark...................................................... 117
4.2.6 Absolute encoder adjustment with the control panel ................................................................ 120
4.3 Triggering of the integrated outputs of the CU 320 Control Unit............................................... 122
5 Expert Functions.................................................................................................................................... 127
5.1 PROFIdrive message frame...................................................................................................... 127
5.1.1 Message frame types................................................................................................................ 127
5.1.2 Example: telegram 105 ............................................................................................................. 129
5.2 Extending a PROFIdrive message frame ................................................................................. 130
5.2.1 Address areas ........................................................................................................................... 130
5.2.2 Extending a message frame by creating additional components ............................................. 131
5.2.3 Extending the PROFIdrive message frame in S7T Config ....................................................... 138
5.2.4 Extending an existing PROFIBUS message frame for the drive .............................................. 139
5.3 Disabling the PROFIBUS Sign-of-Life Monitoring .................................................................... 145
5.4 Activating a Second Encoder.................................................................................................... 146
5.4.1 Using a Second Encoder .......................................................................................................... 146
5.4.2 Connecting a second encoder in SINAMICS............................................................................ 148
5.5 Reading the drive parameters................................................................................................... 150
5.5.1 Example: Reading several parameters using "MC_ReadDriveParameter" .............................. 150
5.6 Measuring Function................................................................................................................... 152
5.6.1 Use Cases................................................................................................................................. 152
5.6.2 Measuring using the integrated inputs on the CU320............................................................... 156
5.6.3 Fetching the measuring inputs using the TM17 terminal module ............................................. 159
5.7 Triggering an output cam using the TM17 terminal module ..................................................... 165
5.8 Triggering of a brake ................................................................................................................. 174
5.8.1 Vertical axis application case.................................................................................................... 174
5.8.2 Activating braking sequential control in SINAMICS.................................................................. 174
5.8.3 Activating braking sequential control in the axis ....................................................................... 176

Table of contents
Connection of the SINAMICS S120 to the Technology CPU
Product Information, 09/2011, A5E00480378-04 5
6 Safety Integrated Functions in SINAMICS Drive Systems ..................................................................... 183
6.1 Safety Integrated Functions - Overview.....................................................................................183
6.2 Safety Integrated functions in SINAMICS S120 drive systems .................................................184
6.3 Support of SINAMICS Safety Integrated functions by the T(F)-CPU ........................................186
6.3.1 Support of the SINAMICS Safety Integrated functions - Overview............................................186
6.3.2 Activating the support of SINAMICS Safety Integrated functions..............................................187
6.3.3 Message frame structure ...........................................................................................................188
6.3.4 Extension of actual value message frame in S7T Config ..........................................................190
6.3.5 Configuration data of the Axis technology object.......................................................................194
6.4 Safety status displays and error messages ...............................................................................195
6.5 Behavior and reactions in the user program..............................................................................198
6.6 Safety Integrated functions without configured support of the extended functions ...................202
6.7 Control via PROFIsafe ...............................................................................................................203

Table of contents
Connection of the SINAMICS S120 to the Technology CPU
6 Product Information, 09/2011, A5E00480378-04

Connection of the SINAMICS S120 to the Technology CPU
Product Information, 09/2011, A5E00480378-04 7
Definitions and warnings 1
Purpose of document
This document presents the most important standard options to use the
SINAMICS S120 drive system on the CPU 31xT-2 DP Technology CPU.
Other functions can definitely also run together with SINAMICS S120,
but they must be considered individually.
Document scope
● CPU 31xT(F) as of V2.7/5.1.5
● SINAMICS S120 as of V2.6.2
● S7 Technology as of V4.2 SP1
Required basic knowledge
To understand this document you must have general knowledge about automation and
drive technology. In particular, you must be familiar with the SINAMICS S120 drive system.
In addition, you must know how to work with the STEP 7 basic software and the
S7 Technology option package.
Getting Started "CPU 317T-2 DP: Controlling a SINAMICS S120" is provided as
an introduction.
Qualified personnel
Qualified personnel with regard to the documentation are those persons responsible for the
installation, assembly, commissioning, operation and maintenance of the Technology CPU
and SINAMICS S120 product and who have the following qualifications:
● Trained and authorized to energize, de-energize, clear, ground and tag circuits and
equipment in accordance with established safety procedures.
● Trained in the proper care and use of protective equipment in accordance with
established safety procedures.
● First aid training.
Warnings are not explicitly given in this documentation. However, explicit reference is made
to the warning notes in the operating instructions for the associated product of the
SINAMICS series.
Document scope
This description does not replace the device documentation for SINAMICS S120.
A complete description of the SINAMICS S120 function scope is contained in the function
description.
Information on SIMATIC and SINAMICS products is available on the Internet
(http://www.siemens.com/automation/service&support).