Professional Documents
Culture Documents
Note The Application Examples are not binding and do not claim to be complete
regarding the circuits shown, equipping and any eventuality. The Application
Examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are responsible for ensuring that
the described products are used correctly. These Application Examples do not
relieve you of the responsibility to use safe practices in application, installation,
operation and maintenance. When using these Application Examples, you
recognize that we cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
Application Examples at any time without prior notice.
If there are any deviations between the recommendations provided in these
Application Examples and other Siemens publications e.g. Catalogs the
contents of the other documents have priority.
We do not accept any liability for the information contained in this document.
Any claims against us based on whatever legal reason resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (Produkthaftungsgesetz), in case of intent, gross negligence, or injury of life,
body or health, guarantee for the quality of a product, fraudulent concealment of a
Siemens AG 2017 All rights reserved
Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, systems, machines and networks.
tion In order to protect plants, systems, machines and networks against cyber
threats, it is necessary to implement and continuously maintain a holistic,
state-of-the-art industrial security concept. Siemens products and solutions only
form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems,
machines and networks. Systems, machines and components should only be
connected to the enterprise network or the internet if and to the extent necessary
and with appropriate security measures (e.g. use of firewalls and network
segmentation) in place.
Additionally, Siemens guidance on appropriate security measures should be
taken into account. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.
Siemens products and solutions undergo continuous development to make them
more secure. Siemens strongly recommends to apply product updates as soon
as available and to always use the latest product versions. Use of product
versions that are no longer supported, and failure to apply latest updates may
increase customers exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial
Security RSS Feed under http://www.siemens.com/industrialsecurity.
Table of Contents
Warranty and Liability ................................................................................................. 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 Components used ................................................................................ 5
2 Engineering ........................................................................................................ 6
2.1 Function principle of the user program ................................................. 6
2.2 Configuring the SINAMICS S120 ......................................................... 9
2.2.1 Configuring the SINAMICS S120 (Offline) ........................................... 9
2.2.2 Loading the configuration of the SINAMICS S120 (Online) ............... 11
2.3 Configuring the hardware ................................................................... 13
2.3.1 Configuring the controller and the drive ............................................. 13
2.3.2 Configuring the technology objects .................................................... 18
2.3.3 Creating the S7 program .................................................................... 20
2.4 Installation and commissioning .......................................................... 22
2.4.1 IP addresses and device names ........................................................ 22
2.4.2 PG/PC settings ................................................................................... 22
2.4.3 Downloading from the project into the components ........................... 23
2.5 Operation ............................................................................................ 23
2.5.1 Control panel of the motor .................................................................. 24
2.5.2 Axis control panel ............................................................................... 24
2.5.3 MotionControlS120 watch table ....................................................... 25
Siemens AG 2017 All rights reserved
3 Appendix .......................................................................................................... 26
3.1 Service and support ........................................................................... 26
3.2 Links and literature ............................................................................. 27
3.3 Change documentation ...................................................................... 27
1 Introduction
1.1 Overview
SIMATIC S7-1500 CPUs support the connection of drives as speed axis or
positioning axis via PROFINET, PROFIBUS or via an analog drive connection. As
of TIA Portal V14, it is additionally possible to configure a SINAMICS S120 drive in
a TIA Portal V14 program using the SINAMICS Startdrive V14 S120 Option
software and to operate it by means of Motion Control instructions.
PROFINET / IE
Siemens AG 2017 All rights reserved
2 Engineering
2.1 Function principle of the user program
S7-1500 Motion Control
S7-1500 Motion Control supports controlled positioning and moving of axes and is
an integral part of each S7-1500 CPU. The technology CPU S7-1500T offer
additional Motion Control functions.
The Motion Control functionality supports the following technology objects:
Speed axis
Positioning axis
Synchronous axis
External encoder
Cam and cam track (as of version 3.0)
Cam disk (for S7-1500T as of version 3.0)
Drives supporting PROFIdrive and equipped with an analog setpoint interface are
controlled by means of standardized Motion Control instructions according to
PLCopen.
The axis control panel and comprehensive online and diagnostic functions support
Siemens AG 2017 All rights reserved
Note The configuration of the Positioning axis and Synchronous axis technology
objects is described in chapter 2.3.2.
The Motion Control instructions for the master axis are called in the
MotionControlPos (FB 1) function block.
MC_
MC-Servo HOME
[OB91] [FB 1201]
MC- MC_MOVE
Interpolator ABSOLUTE
[OB92] [FB 1202]
MC_
MOVEJOG
[FB 1203]
MC_
POWER
[FB 1206]
MC_
RESET
[FB 1207]
Note The Motion Control blocks MC_POWER and MC_RESET will be enabled in
parallel to the corresponding blocks of the master axis.
The Motion Control instructions for the slave axis are called in the
MotionControlSyn (FB 2) function block.
MC_
MC-Servo
RESET
[OB91]
[FB 1207]
MC- MC_
Interpolator GEARIN
[OB92] [FB 1208]
Note For information about the Motion Control blocks, refer to the TIA Portal Online
Help or to the S7-1500 Motion Control V3.0 in TIA Portal V14 function manual
\3\.
https://support.industry.siemens.com/cs/ww/en/view/109739589
A watch table is available for operating the two drives by means of the Motion
Control instructions. This table is available in chapter 2.5.3.
The offline configuration of the SINAMICS S120 is done in the Device view of
your TIA Portal program. Here, the individual components of the SINAMICS S120
drive have to be added and connected.
The following figure shows an example configuration of the SINAMICS S120
demonstration box (article no.: 6ZB2480-0BA00).
The components of the SINAMICS S120 drive that have been used are listed in the
Device overview.
After successful configuration of the SINAMICS S120, you have to check or set the
parameters listed in the following table in the motor modules to ensure that the
drive can be operated in a control program by means of Motion Control
instructions.
Note For more information about configuration, refer to the SINAMICS S120 with
Startdrive Commissioning Manual at \5\.
https://support.industry.siemens.com/cs/ww/en/view/109743147
With the option "SINAMICS Startdrive V14 S120", it is also possible to load the
configuration of the SINAMICS S120 station used into a TIA project. The necessary
steps are listed in the following table.
Note Automatic loading of the topology with SINAMICS Startdrive V14 S120 is
supported as of TIA Portal V14 SP1.
The structure of the S7 program and the Motion Control instructions used are
shown in chapter 2.1. Follow the steps listed in the table below for each drive.
2.5 Operation
There are three options available for operation:
Control panel of the motor in Startdrive,
Axis control panel in the TIA Portal,
Watch table in the control program.
If you do not want to transfer the control program, you can operate the motor via a
control panel in the Startdrive configuration.
After having transferred the control program, the axis control panel of the
technology object is available to you. It is located in the Commissioning folder of
Siemens AG 2017 All rights reserved
Note For information on how to operate the axis control panel, refer to the S7-1500
Motion Control V3.0 in TIA Portal V14 Function Manual \3\.
https://support.industry.siemens.com/cs/ww/en/view/109739589
The MotionControlS120 watch table is intended for operating the Motion Control
blocks. These blocks can be used for positioning the master axis. Moreover, the
slave axis can be enabled as well using the MC_GEARIN instruction.
Note For information about the Motion Control blocks, refer to the TIA Portal Online
Help and to the S7-1500 Motion Control V3.0 in TIA Portal V14 Function
Manual \3\.
https://support.industry.siemens.com/cs/ww/en/view/109739589
3 Appendix
3.1 Service and support
Industry Online Support
Do you have any questions or need support?
Siemens Industry Online Support offers access to our entire service and support
know-how as well as to our services.
Siemens Industry Online Support is the central address for information on our
products, solutions and services.
Product information, manuals, downloads, FAQs and application examples all
information is accessible with just a few mouse clicks at
https://support.industry.siemens.com/ .
Technical Support
Siemens Industry's Technical Support offers quick and competent support
regarding all technical queries with numerous tailor-made offers from basic
support to individual support contracts.
Please address your requests to the Technical Support via the web form:
www.siemens.com/industry/supportrequest
Service offer
Siemens AG 2017 All rights reserved
Our service offer comprises, among other things, the following services:
Product Training
Plant Data Services
Spare Parts Services
Repair Services
Field & Maintenance Services
Retrofit & Modernization Services
Service Programs & Agreements
Detailed information on our service offer is available in the Service Catalog:
https://support.industry.siemens.com/cs/sc