0% found this document useful (0 votes)
803 views

Integration of Drive Systems Via PROFINET in PCS7 en

This document describes integrating a SINAMICS S120 drive system into SIMATIC PCS 7 via PROFINET. It connects the drive system to an AS 410-5H automation system using either a single PROFINET configuration or system redundancy. It provides a solution template for engineering the S120 drive in CMT and allows operating and monitoring the drive from the OS runtime. The document is valid for PCS 7 V9.0, CPU 410-5H V8.2 and later, and S120 firmware V4.8 and later.

Uploaded by

Peter Uhule
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
803 views

Integration of Drive Systems Via PROFINET in PCS7 en

This document describes integrating a SINAMICS S120 drive system into SIMATIC PCS 7 via PROFINET. It connects the drive system to an AS 410-5H automation system using either a single PROFINET configuration or system redundancy. It provides a solution template for engineering the S120 drive in CMT and allows operating and monitoring the drive from the OS runtime. The document is valid for PCS 7 V9.0, CPU 410-5H V8.2 and later, and S120 firmware V4.8 and later.

Uploaded by

Peter Uhule
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 37

Integration of a SINAMICS

S120 into SIMATIC PCS 7


via PROFINET

Siemens
SIMATIC PCS 7 V9.0 Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109750296 Support
Introduction

Warranty and liability

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 help 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
deficiency or breach of a condition which goes to the root of the contract
(“wesentliche Vertragspflichten”). The damages for a breach of a substantial
contractual obligation are, however, limited to the foreseeable damage, typical for
 Siemens AG 2017 All rights reserved

the type of contract, except in the event of intent or gross negligence or injury to
life, body or health. The above provisions do not imply a change of the burden of
proof to your detriment.
Any form of duplication or distribution of these Application Examples or excerpts
hereof is prohibited without the expressed consent of the Siemens AG.

Security Siemens provides products and solutions with industrial security functions that support the
information secure operation of plants, systems, machines and networks.
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 customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security
RSS Feed under http://www.siemens.com/industrialsecurity.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 2
Introduction

Introduction
Objective of the documentation
The application example describes how to configure a SINAMICS S120 drive
system in SIMATIC PCS 7 V9.0 via PROFINET.
The drive system is connected to the AS 410-5H automation system via single
PROFINET configuration S1 and system redundancy S2.
Furthermore, the CMT engineering description of the S120 is based on a ready-
made and tested template whereas the drive is operated and monitored via the OS
runtime.

Core contents
 Integration of a SINAMICS S120 in PCS 7 via PROFINET
 Integration of the solution Template
 Engineering with the Solution Template
 Operator control and monitoring of the drive system

Validity
This application example is valid for:
 SIMATIC PCS 7 CPU 410-5H Process Automation, as of firmware V8.2
 Siemens AG 2017 All rights reserved

 SIMATIC PCS 7 V9.0


 SINAMICS S120, as of firmware version V4.8

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 3
Table of Contents

Table of Contents
Warranty and liability ............................................................................................... 2
1 Task and solution ........................................................................................... 5
1.1 The task ............................................................................................ 5
1.2 Solution ............................................................................................. 5
2 Hardware and software components used.................................................... 6
3 Hardware configuration ................................................................................. 7
3.1 Installing the GSDML file ................................................................... 7
3.2 Connection via single PROFINET configuration S1 .......................... 10
3.3 Connection via system redundancy S2 ............................................ 15
3.4 Symbol table.................................................................................... 19
4 Configuring the device name ....................................................................... 20
4.1 Automatic commissioning via topology configuration ........................ 20
4.2 Manual device name assignment ..................................................... 22
5 General information on the Solution Template ........................................... 27
6 Engineering of the Solution Template ......................................................... 31
7 OS runtime .................................................................................................... 34
8 Appendix....................................................................................................... 36
 Siemens AG 2017 All rights reserved

8.1 Service and Support ........................................................................ 36


8.2 Links and Literature ......................................................................... 37
8.3 Change documentation .................................................................... 37

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 4
1 Task and solution

1 Task and solution


1.1 The task
When choosing the communication protocol for the connection of drive systems to
the automation system, it is very important to have a simple and fast connection as
well as high availability. Downtime, e. g. due to extensions and maintenance,
should be reduced to a minimum.
The use of the PROFINET communication standard at the field level meets these
requirements and offers flexibility with regard to the network structure and system
connections of IO devices.
In the field of drive technology, the use of PROFINET increases the performance
and productivity of process plants and their drives.

1.2 Solution
With the frequency converters SINAMICS S120, S150, G130 and G150 together
with the Control Units CU310-2 PN and CU320-2 PN, Siemens offers a flexible
drive system for connection to PROFINET, which provides:
 Single PROFINET configuration S1
 System redundancy S2 for connection to a redundant automation system (as
of firmware V4.8)
 Siemens AG 2017 All rights reserved

 Media redundancy with MRP


In this application example, all engineering steps for the integration of the S120 are
described as single PROFINET configuration S1and system redundancy S2 in
SIMATIC PCS 7. The automation program is created on the basis of the Advanced
Process Library (APL) V9.0 and monitored and controlled with the relevant block
icons and faceplates in the Operator Station.

Single PROFINET configuration S1 System redundancy S2

CPU 410-5H CPU 410-5H


H-System

SINAMICS S120 SINAMICS S120


CU 320-2 PN CU 320-2 PN

PROFINET PROFINET

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 5
2 Hardware and software components used

2 Hardware and software components used


This application example was created using the following components:

Software components
Table 2-1: Software components
Component Note
SIMATIC PCS 7 V9.0 -
APL Library V9.0 Component of SIMATIC PCS 7 V9.0
Solution Template "DRIVE_SINAS120" Download
GSDML file V225, V231, V232
SINAMICS S CU3x0-20160531

Hardware components
Table 2-2: Hardware components
Component Note
CPU 410-5H Firmware V8.2
(Redundant) Part number: 6ES7 410-5HX08-0AB0
SINAMICS S120 Firmware V4.8
CU320-2 PN Part number: 6SL3040-1MA01-0AA0
 Siemens AG 2017 All rights reserved

Note Manual "SINAMICS S120 Control Units and Additional System Components":
https://support.industry.siemens.com/cs/ww/en/view/109740019

Note Function Manual "SINAMICS S120 Function Manual Drive Functions":


https://support.industry.siemens.com/cs/ww/en/view/109740020

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 6
3 Hardware configuration

3 Hardware configuration
Requirements
To configure the SINAMICS S120, you need a prepared PCS 7 multiproject with
the following configuration state:
 The Automation System (standard or redundant) is configured with CPU 410-5H
 The connection between the Automation System (AS) and Engineering System
(ES) has been created

Note You can find information on creating a PCS 7 multiproject in the manual
"SIMATIC Process Control System PCS 7 Engineering System (V9.0)":
https://support.industry.siemens.com/cs/ww/en/view/109746533

Note You can find information on configuring an automation system and setting up a
network connection in the manual "Compendium Part A - Configuration
Guidelines":
http://www.siemens.com/onlinesupport/pcs7

3.1 Installing the GSDML file


 Siemens AG 2017 All rights reserved

To integrate the SINAMICS S120 frequency converter as a node in a PROFINET


system, you need a GSDML (General Station Description Markup Language) file.
The GSDML file contains all the necessary information about the functions of a
PROFINET IO device for a higher-level control.
The GSDML file announces the HW Config of the SIMATIC Manager to the
SINAMICS S120 and can thus be operated as a node in the PROFINET system.
The required GDSML file is assigned to the respective part number of the Control
Unit (CU). In this application example: CU320-2 PN, 6SL3040-1MA01-0AA0.

Note The GSDML file for the Control Unit in this application example can be found in
the download article "SINAMICS S120: PROFINET GSD file": "SINAMICS S120:
PROFINET GSD file"
https://support.industry.siemens.com/cs/ww/en/view/49217480

Installing the GSDML file


1. Download the GSDML file at the link above and extract the file.
2. Open the SIMATIC Manager and the prepared multiproject.
3. Open the HW Config of the SIMATIC Station.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 7
3 Hardware configuration

4. Click "Options > Install GSD File…" in the HW Config.

5. Click "Browse".
6. Select the extracted folder with the GSDML files of the SINAMICS S120 from
the directory and click the "OK" button to confirm.
7. Click "Select All".
 Siemens AG 2017 All rights reserved

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 8
3 Hardware configuration

8. Click "Install".
 Siemens AG 2017 All rights reserved

9. Close the window by clicking the "Close" button.


When the installation finishes, you will find the S120 together with the CU320-2 PN
V4.8 in the hardware catalog, at "PROFINET IO > Drives > SINAMICS >
SINAMICS S120 / S150 CU320-2 PN V4.8".

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 9
3 Hardware configuration

3.2 Connection via single PROFINET configuration S1


In this section, the SINAMICS S120 is connected to the standard automation
system via single PROFINET configuration S1. The SINAMICS S120 only
establishes a communication connection to the CPU via PROFINET.
In case of a single PROFINET configuration S1, if the automation system or the
communication string fails, the underlying drive system fails as well.

CPU 410-5H
 Siemens AG 2017 All rights reserved

PROFINET

SINAMICS S120
CU 320-2 PN

Note Please consider as well the Security Guideline of the PROFIBUS & PROFINET
International (PI): https://www.profibus.com/download/profinet-security-
guideline/?return_url=download%2Fspecifications-standards%2F

Note You can find further information on system connections and PROFINET
architectures in the document "PROFINET in Process Automation with SIMATIC
PCS 7": https://support.industry.siemens.com/cs/ww/en/view/72887082

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 10
3 Hardware configuration

Procedure
1. Open the HW Config of the CPU 410-5H.
2. Select the interface (X5 or X8) of the controller to which the drive is physically
connected.
3. Right click to open the shortcut menu and select the "Add PROFINET IO
system" (in this application example: "Interface X5: PN-IO-X5").
After installing the GSDML file in Section 3.1, the SINAMCS S120 becomes
available in the "PROFINET IO" category of the module catalog.
4. Add the "SINAMICS S120/S150 CU320-2 PN V4.8" from the module catalog to
the PROFINET system via drag-and-drop.
 Siemens AG 2017 All rights reserved

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 11
3 Hardware configuration

5. In the object properties of the SINAMICS S120, assign a plant-wide unique device
name in the "General" tab (in this application example: "SINAMICS-S120-01").
 Siemens AG 2017 All rights reserved

6. Select the check box "Assign IP address via IO controller".

Note In PROFINET networks, changing the IP address is an optional feature. The IP


address is assigned automatically when the SINAMICS S120 is added in the
PROFINET system.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 12
3 Hardware configuration

7. Click on "Ethernet" and select the subnet in which the SINAMICS S120 is
located (in this application example: "Fieldbus").
 Siemens AG 2017 All rights reserved

8. Drag the module "DO VECTOR" from the module catalog in the "SINAMICS
S120/S150 CU320-2 PN V4.8" list and drop it onto slot 1 of the SINAMICS S120.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 13
3 Hardware configuration

9. Drag the telegram used from the "DO VECTOR" list and drop it onto slot 1.3 of
the module "DO VECTOR".
This application example uses the standard telegram 20.

10. Allocate the input and output addresses.


 Siemens AG 2017 All rights reserved

Note The input and output word must start with the same initial value.

11. Save and compile your hardware configuration and download it to the controller.
12. Edit the symbol table and then skip to section 4.1 "Automatic commissioning
via topology configuration" to assign the device name configured in HW Config
to the device.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 14
3 Hardware configuration

3.3 Connection via system redundancy S2


In this section, the SINAMICS S120 is connected to the high-availability automation
system (H system) via system redundancy S2.
The H system consists of a master and a standby CPU, which are connected to
each other via fiber-optic cables and kept constantly synchronized. If the master
CPU fails, the standby CPU takes over automatically.
The SINAMICS S120 establishes a communication connection to both CPUs via
PROFINET. Therefore, the failure of an automation system does not lead to a
failure of the drive system, since the standby CPU takes over control.

CPU 410-5H
H-System
 Siemens AG 2017 All rights reserved

PROFINET

SINAMICS S120
CU 320-2 PN

Note Please consider as well the Security Guideline of the PROFIBUS & PROFINET
International (PI): https://www.profibus.com/download/profinet-security-
guideline/?return_url=download%2Fspecifications-standards%2F

Note You can find further information on system connections and PROFINET
architectures in the document "PROFINET in Process Automation with SIMATIC
PCS 7": https://support.industry.siemens.com/cs/ww/en/view/72887082

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 15
3 Hardware configuration

Procedure
1. Open the HW Config of the H system.
2. Select the interface (X5 or X8) of a controller to which the drive is physically
connected.
3. Right click to open the shortcut menu and select the "Add PROFINET IO
system" (in this application example: "Interface X5: PN-IO-X5").
4. Add a PROFINET system with the name "Fieldbus".
5. Repeat this step for the redundant controller. The PROFINET systems of both
controllers must be on the same subnet.
After installing the GSDML file in Section 3.1, the SINAMCS S120 becomes
available in the "PROFINET IO" category of the module catalog.
6. Add the "SINAMICS S120/S150 CU320-2 PN V4.8" from the module catalog to
the PROFINET system via drag-and-drop.
7. In the object properties of the SINAMICS S120, assign a plant-wide unique
device name (in this application example: "SINAMICS-S120-01").
 Siemens AG 2017 All rights reserved

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 16
3 Hardware configuration

8. Select the check box "Assign IP address via IO controller".

Note In PROFINET networks, changing the IP address is an optional feature. The IP


address is assigned automatically when the SINAMICS S120 is added in the
PROFINET system.

9. Click on "Ethernet". Select the subnet in which the SINAMICS S120 is located
(in this application example: "Fieldbus").
 Siemens AG 2017 All rights reserved

10. Switch to the "Redundancy" tab and select the "Rack 1, CPU 410-5H-02, PN-
IO-X5-02" check box.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 17
3 Hardware configuration

11. Drag the module "DO VECTOR" from the module catalog from the "SINAMICS
S120/S150 CU320-2 PN V4.8" list and drop it onto slot 1 of the SINAMICS S120.

12. Drag the telegram used from the "DO VECTOR" list and drop it onto slot 1.3 of
the module "DO VECTOR".
This application example uses the standard telegram 20.
 Siemens AG 2017 All rights reserved

13. Allocate the input and output addresses.

Note The input and output word must start with the same initial value.

14. Save and compile your hardware configuration and download it to the controller.
15. Edit the symbol table and then skip to Section 4.1 "Automatic commissioning
via topology configuration" to assign the names configured in HW Config to the
device.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 18
3 Hardware configuration

3.4 Symbol table


1. Edit the symbol table as follows:
Table 3-1
Address Symbol Data type Comment
IW 512 IW512_M1 WORD Status word 1
IW 514 IW514_M1 WORD
IW 516 IW516_M1 WORD
IW 518 IW518_M1 WORD
IW 520 IW520_M1 WORD
IW 522 IW522_M1 WORD Message NAMUR
QW 512 QW512_M1 WORD
QW 514 QW514_M1 WORD Control word 1

2. Save and compile your hardware configuration and download it to the controller.
 Siemens AG 2017 All rights reserved

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 19
4 Configuring the device name

4 Configuring the device name


The following options are available for configuring or assigning the device name:
 Automatic commissioning through the Topology Editor (recommended)
 Manual device name assignment in the hardware configuration
 Compact Flash Card of the Control Unit
This application example describes the automatic commissioning process via the
topology editor (chapter 4.1) and how to assign the device name manually in the
hardware configuration (chapter 4.2).

4.1 Automatic commissioning via topology configuration


To carry out the first commissioning or to assign the device names of your IO
devices, it is recommended to perform automatic commissioning by means of
topology configuration via the Topology Editor.
During automatic commissioning, the device is assigned by specifying a target
topology in the Topology Editor. The target topology is configured offline according
to the actual topology of your plant and then uploaded to the controller.
Through the specified target topology, the controller identifies the IO devices via
proximity relationships and assigns them the configured device name.
This chapter describes the automatic commissioning of the SINAMICS S120 with a
standard automation system.
 Siemens AG 2017 All rights reserved

Note You can find detailed information and notes on topology configuration in the
document "PROFINET in Process Automation with SIMATIC PCS 7":
https://support.industry.siemens.com/cs/ww/en/view/72887082

Requirements for automatic commissioning


 The IO controllers and drive system are configured in the hardware configuration
 The IO controllers and drive system must support the PROFINET functionality
"Device replacement without exchangeable medium/PG"
 The drive system must be reset to factory settings before initial use / device
replacement

Performing the automatic commissioning


1. Open the object properties of the CPU interface to which the SINAMICS S120
drive system is connected (in this application example: "Interface X5").

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 20
4 Configuring the device name

2. Go to the "General" tab and select the check box "Support device replacement
without exchangeable medium".
 Siemens AG 2017 All rights reserved

3. Right-click on the interface of the CPU to which the drive system is connected
and open the Topology Editor ("PROFINET IO Topology...").

4. Switch to the "Graphic view" tab.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 21
4 Configuring the device name

5. Connect the individual component interfaces corresponding to the physical


connection of your plant via drag-and-drop.
 Siemens AG 2017 All rights reserved

6. Click the "OK" button to confirm your topology configuration.


7. Save and compile your hardware configuration and download it to the controller.
8. You can check whether the name has been transferred correctly via Online
mode in the hardware configuration.

Note To check whether the setpoint and actual topology are identical, you have to
access the PG/PC interface and select the Ethernet network card with access to
the fieldbus.
You can then check the setpoint and actual topology in the Topology Editor using
the "Online" button.

Note Topology planning is only possible within a sub-project, i.e. the stations on a
shared PROFINET network must be within the same sub-project.

4.2 Manual device name assignment


The device name can be transferred manually to the drive system. To be able to
access the drive directly, the ES and the drive system must be in the same physical
network. The following options are available:
 Deploying a Service Bridge
 Reconnecting the PROFINET interface for direct access by the ES to the drive
system

Manual device name assignment with Service Bridge


In order to ensure the logical separation of plant bus and fieldbus at any time, it makes
sense to use a Service Bridge for temporary access to IO devices. The Service Bridge

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 22
4 Configuring the device name

makes it possible to access an IO device without switching round network connections.


The Service Bridge is SCALANCE XC200 switch, which has been specially set up and
configured with firmware V3.0.1.
ES
OS

Plant bus

Securi ty Modul e
SCALANCE S
CPU 410-5H
H-Sys tem

Servi ce Bri dge

Fieldbus

SINAMICS S120
CU 320-2 PN
 Siemens AG 2017 All rights reserved

Note For further information about the Service Bridge, see the application example
"Service Bridge – Setting-up and Configuration":
https://support.industry.siemens.com/cs/ww/en/view/109747975

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 23
4 Configuring the device name

Manual assignment of the device name through direct connection between ES and drive system
If you do not use a Service Bridge in your plant, you have to switch round your
PROFINET connections.
The following options are available:
 Direct connection of the ES with the PROFINET interface of the CPU via the plant bus
 Direct connection of the ES with the CU of the drive via Ethernet interface

Note The control unit of the SINAMICS S120 has an X127 LAN interface
(Ethernet interface) for commissioning and servicing purposes.

In this application example, the ES is connected to the PROFINET interface of the


CPU via the plant bus.

ES ES
 Siemens AG 2017 All rights reserved

CPU 410-5H CPU 410-5H

SINAMICS S120 SINAMICS S120


CU 320-2 PN CU 320-2 PN

Assigning the device name manually


1. In the SIMATIC Manager, click on "Options > Set PG/PC interface…" in the menu.
2. Select the Ethernet network card. In this application example: "CP 1623.RFC1006.1".
3. If you are using a Service Bridge, skip to step 4.
If you do not use a service bridge, connect the ES to the internal PROFINET
interface of the CPU via the plant bus.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 24
4 Configuring the device name

4. Select the drive system in the hardware configuration. Then click on "PLC >
Ethernet > Assign Device Name".
 Siemens AG 2017 All rights reserved

5. In the drop down menu "Device name" select the configured name of the drive
system in chapter 3.2 or 3.3 (in this application example: SINAMICS-S120-01).

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 25
4 Configuring the device name

6. Select in the list "Available devices" the drive system you would like to name
and then click on the button "Assign name".

Hinweis You can filter the list of available devices. For this select the check box "Show
only devices of the same type" or "Display only devices without names".

7. To close window click the button "close".


8. Go to the menu "Accessible nodes" in the SIMATIC Manager and check
whether the name has been correctly transferred to the drive.
9. If you do not use a Service Bridge, reconnect the ES to the CP 443-1 interface
 Siemens AG 2017 All rights reserved

of your AS via the plant bus.


Select the "PC Internal (Local)" PG/PC interface.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 26
5 General information on the Solution Template

5 General information on the Solution Template


To control the drive, this application example uses a tested Solution Template in
the form of a CMT based on the blocks and standard functions of APL V9.0. The
template can be used in new projects as well as in existing projects.
The CMT supports the connection of frequency converters via the standard
telegram 1 and 20.
This application example uses the standard telegram 20.

Functions of the Solution Template with telegram 1


 APL-Faceplate
 Operating modes
 Control commands
 Interlock
 Actual value and setpoint

Additional functions of the Solution Template with telegram 20


 Local switchover with monitoring
 Torque display [Nm]
 Power display (actual value) [kW]
 Motor current display and monitoring of selectable motor current limits
 Siemens AG 2017 All rights reserved

 NAMUR messages

This section describes the most important blocks and their functions when using
standard telegram 20.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 27
5 General information on the Solution Template

Sheet 1
 Siemens AG 2017 All rights reserved

FbDrive
Table 5-1
Terminal designation Function description
Telegram The "FbDrive" block integrates any compact
drives that support the following telegram
types:
 Telegram type 1
Two input words and two output words
 Telegram type 20
Six input words and two output words
Status word The inputs "PZDIn1" to "PZDIn6" provide
the following information:
 State
 Status
 Actual value
 Error messages
Control word The outputs "PZDOut1" and "PZDOut2"
specify control word STW1 and setpoint to
the controller of the frequency converter
On / Off Feedback The output "F_N_Reach" indicates if a
frequency is present in the motor or if the
motor is stopped.
Reset Input "Ackn" and output "Fault" are logically
interconnected with the motor block
"MotSpCL". This allows the frequency
converter to be reset in the faceplate.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 28
5 General information on the Solution Template

Terminal designation Function description


P2DIn2Un Unit of the readback value of engine speed
P2DIn2Sc Scaling of the readback value of engine
speed
P2DIn3Un Unit of the readback value of current
P2DIn3Sc Scaling of the readback value of current
P2DIn4Un Unit of the readback value of torque
P2DIn4Sc Scaling of the readback value of torque
P2DIn5Un Unit of the readback value of power
P2DIn5Sc Scaling of the readback value of power
P2DIn6Un Unit of the setpoint of engine speed
P2DIn6Sc Scaling of the setpoint of engine speed
FeatureBit 5 Scaling of the process value
Scaling disabled (standard)
 FeatureBit 5 = 0
(scaling in percent)
Scaling enabled
 FeatureBit 5 = 1
FeatureBit 6 Error Handling on device failure
 FeatureBit 6 = 0
Only "Local" and "Ackn" commands are
 Siemens AG 2017 All rights reserved

active
 FeatureBit 6 = 1
All commands are active
FeatureBit 28 NAMUR messages
 FeatureBit 28 = 0
Freely configurable analog value
 FeatureBit 28 = 1
NAMUR messages display
(only with Standard Telegram 20)

Note You can find further information on the "FBDrive" block in the chapter
"FbDrive - Channel block for compact drives" of the manual "SIMATIC Process
Control System PCS 7 Advanced Process Library (V9.0)":
https://support.industry.siemens.com/cs/ww/en/view/109482346

Scaling of the process value


The following inputs must be also configured if scaling is enabled:
 PZDInXScale.HIGH
 PZDInXScale.LOW

The scaling must be normalized for the following limits:


 Current
 Torque
 Power

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 29
5 General information on the Solution Template

Note You can find the limit calculation for the process value in the chapter
"FbDrive - Channel block for compact drives" of the manual "SIMATIC Process
Control System PCS 7 Advanced Process Library (V9.0)":
https://support.industry.siemens.com/cs/ww/en/view/109482346

MotSpdCL
Block for controlling the motor with
 Two directions of rotation (right/left rotation)
 Various speeds

Sheet 2
 Siemens AG 2017 All rights reserved

Event16Ts
Message block for the generation of acknowledgment messages for time-stamped signals.
In this application example, all the status and error messages of the actual value
data word 6 "PZD 6" are read and reported.
The error number output by the "FbDrive" channel block (in hex format) at the
"MsgNamur" output is converted into a message text via the preconfigured NAMUR
message list and displayed in the OS runtime through the "Event16Ts" block.

NAMUR messages
In order to obtain the preconfigured NAMUR messages of the solution template at the
"PZDOut1" output of the "FbDrive" block, the Feature Bit 28 = 0 must be set.
If the Feature Bit 28 = 0 is set, the messages are read as a freely configurable
process value.
The feature bit is only used if telegram type 20 and the parameter "PZD6" are enabled.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 30
6 Engineering of the Solution Template

6 Engineering of the Solution Template


The available solution template is configured for integration via the standard telegram 20.

Note The Solution Template is available for download on the article page of this
application example: "SINA_S120_lib.zip":
https://support.industry.siemens.com/cs/ww/en/view/109750296

Requirements
 Hardware configuration completed and loaded in the AS
 Symbol table edited
 Device names assigned
 Drive system configured according to NAMUR guidelines

Assigning drive system parameters


The assignment of drive system parameters via the commissioning Tool Starter is
not part of this application example.
For successful connection and correct communication, the frequency converter
must be configured according to the NAMUR guidelines. The standard telegram 20
must be also configured in the converter.

Procedure
 Siemens AG 2017 All rights reserved

1. Copy the CMT "DRIVE_SINAS120" from the example project and paste it into
the master data library of your project.
2. Copy the CMT from the master data library into the provided hierarchy folder
(in this application example: "Function") and adjust the name of the CMT.
3. Open the CFC and connect input "PZDIn1" on the "FbDrive" block with the first
input word (here: IW512_M1).

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 31
6 Engineering of the Solution Template

4. Double click the "FeatureBit" input in the "FbDrive" block.


Enter the following values for the respective Feature Bit:
Table 6-1
Input Value
FeatureBit 5 0
FeatureBit 6 1
FeatureBit 28 1
 Siemens AG 2017 All rights reserved

5. Enter the value "20" in the "Telegram" input of the "FbDrive" block.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 32
6 Engineering of the Solution Template

6. Adjust the scaling of the following inputs to match the parameters of your drive:
a. Current
b. Torque
c. Power
You can take the scaling conversion index of the parameterization software
(e. g. Starter).
For instance, if the conversion index is -2, you have to multiply the normalized
value by 10−2, e. g. 16384.0 ∙ 10−2 = 163.84 (for a resolution of 14 Bit)
The setpoint is specified in percent. You can adapt the setpoint specification to
your drive's assigned parameter.

NOTICE The scaling has to match the parametrized scaling value of the unit.
Otherwise the drive system can not be controlled correctly via the OS
Runtime.

7. Install the blocks in a cyclic watchdog interrupt OB (OB30 to OB38).


8. The remaining inputs and outputs ("PZDIn" / "PZDOut") are automatically
interconnected after saving and compilation.
9. Save and compile the program and download it to the AS.
 Siemens AG 2017 All rights reserved

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 33
7 OS runtime

7 OS runtime
The faceplate and block icon of the Solution Template are generated automatically
after the OS is compiled.

Operator control and monitoring


The SINAMICS S120 is operated and monitored via the faceplate of the APL.
Besides the motor state, the faceplate also displays other measured values, such as:
 Feedback
 Torque
 Power
 Motor current
 Siemens AG 2017 All rights reserved

Error messages
The error messages are forwarded from the channel block to the motor block.
The motor block allows the error messages to be displayed both in the motor
symbol and in the faceplate of the OS runtime.

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 34
7 OS runtime

The "FbDrive" channel block evaluates the error and outputs the number of the
corresponding Namur message. The preconfigured message is displayed on the
OS runtime via the block "Event16T".
 Siemens AG 2017 All rights reserved

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 35
8 Appendix

8 Appendix
8.1 Service and Support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, and application examples – all
the information you need is accessible with just a few mouse clicks at:
https://support.industry.siemens.com

Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts.
You send queries to Technical Support via Web form:
www.siemens.com/industry/supportrequest

Service offer
 Siemens AG 2017 All rights reserved

Our range of services includes, inter alia, the following:


 Product trainings
 Plant data services
 Spare parts services
 Repair services
 On-site and maintenance services
 Retrofitting and modernization services
 Service programs and contracts
You can find detailed information on our range of services in the service catalog:
https://support.industry.siemens.com/cs/sc

Industry Online Support app


You will receive optimum support wherever you are with the "Siemens Industry Online
Support" app. The app is available for Apple iOS, Android and Windows Phone:
https://support.industry.siemens.com/cs/ww/en/sc/2067

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 36
8 Appendix

8.2 Links and Literature


Table 8-1
No. Topic
\1\ Siemens Industry Online Support
https://support.industry.siemens.com
\2\ Link to this entry
https://support.industry.siemens.com/cs/ww/en/view/109750296
\3\ SIMATIC Process Control System PCS 7 Engineering System (V9.0)
https://support.industry.siemens.com/cs/ww/en/view/109746533
\4\ SIMATIC PCS 7 Overview
http://www.siemens.com/onlinesupport/pcs7
\5\ PROFINET in Process Automation with SIMATIC PCS 7
https://support.industry.siemens.com/cs/ww/en/view/72887082
\6\ Service Bridge – Setting-up and Configuration
https://support.industry.siemens.com/cs/ww/en/view/109747975
\7\ SIMATIC Process Control System PCS 7 Advanced Process Library (V9.0)
https://support.industry.siemens.com/cs/ww/en/view/109482346
 Siemens AG 2017 All rights reserved

8.3 Change documentation


Table 8-2
Version Date Change
V1.0 11/1017 First version
V1.1 12/2017 Proceeding in section 4.2 optimized

Integration of a SINAMICS S120 into SIMATIC PCS 7 via PROFINET


Entry ID: 109750296, V1.1, 12/2017 37

You might also like