Note: This tutorial assumes you have completed previous tutorial siemens_cp1616/Tutorials/Introduction to siemens_cp1616.
(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

SINAMICS S120 - STEP7 + STARTER Configuration

Description: This tutorial teaches you how to configure SINAMICS S for PROFINET communication using STEP7 v.5.5 and STARTER commissioning tool

Keywords: SIEMENS, CP1616, PROFINET, SINAMICS, IO Controller, STEP7, STARTER

Tutorial Level: INTERMEDIATE

Next Tutorial: siemens_cp1616/Tutorials/SINAMICS S120 - ROS configuration

Overview

The goal of this tutorial is to configure both CP1616 and SINAMIC S120 drive unit for PROFINET communication using standard Siemens commissioning tools (SIMATIC MANAGER + STARTER).

Introduction

Even despite the fact that TIA portal is becomming more and more popular tool in the world of automation, it has still not reached the scope of SIMATIC Manger when it comes to drives. Currently (October 2015) only "G" family of SINAMICS drives is supported, therefore when commissioning SINAMICS "S" drives, it is not possible to do it completely in TIA Portal. In such a case traditional STEP7 v.5.5 apporach as described in this tutorial is recommended.

Software requirements

Following versions of software will be used:

SIMATIC MANAGER STEP7 v.5.5 SP1

Drive ES - Starter v.4.4.1.0

Visit Siemens Support site for further details about these products.

System overview

Tutorial system consists of:

  • PC with CP1616 running Ubuntu 14.04 LTS
  • SINAMICS S120 CU320 with CBE20 Profinet option board,
  • SINAMICS S120 Infeed 18A
  • SINAMICS S120 Double motor module 5A/5A
  • SMC10 - resolver signal processing unit
  • Siemens servomotor 1FK6040, brake, resolver

STEP7 hardware configuration is shown in the picture below:

Tutorial_config.png

STEP7 Setup

The archive of tutorial project is available here. (Please use "Retrieve" option to extract the files).

  1. Launch Simatic Manager and select File -> New....

  2. Insert SIMATIC PC Station, from Insert New Object options after right-clicking the project name

Tutorial_step_01.png

  1. Open Hardware configuration

  2. Insert CP1616 with appropriate version to your PC station
  3. Set an IP address and create a new Ethernet subnet here

Tutorial_step_02.png

  1. Insert your drive CU into the config (SINAMICS S120 CU320 CBE20 in our case)

Tutorial_step_03.png

  1. Check if CP1616 is in IO Controller mode

  2. Activate Web Server for diagnostic purposes

Tutorial_step_04.png

  1. Right-click on S120 drive
  2. Select PROFINET IO Topology

Tutorial_step_10.png

  1. Select Graphic View Mode

  2. Drag a connection between desired CP1616 and CBE20 port
  3. Save and compile changes

Tutorial_step_11.png

  1. Return back to the project setup
  2. Notice that SINAMICS drive unit has been added to your prior configuration.
  3. Select the bottom item, in our case S120_CU320_2_DP_CBE20
  4. Double click Commissioning option to open STARTER

Tutorial_step_05.png

STARTER Setup

Continue configuring your SINAMICS S120 unit in STARTER. Insetring a drive can be be a good start:

Tutorial_step_06.png

When you reach the Process data exchange option, choose Telegram 111, PZD-12/12. Telegram 111 is a standard Siemens telegram intended for positon control with increased transfer data area for better diagnostic.

Tutorial_step_07.png

Complete current drive setup and move to the Telegram configuration as shown in the picture below:

Tutorial_step_08.png

Notice the red exclamation mark in the line with 111,PZD 12/12 telegram. It signalize that communication addresses are not synchronized properly with SIMATIC MANAGER. To fix it, perform the synchronization by clicking Set up addresses button in the right bottom corner. Save, compile and download to SINAMICS S120 Control unit.

Now if you come back to the SIMATIC MANAGER HW config you will find Drive_1 with appropriate telegram 111, size and addresses all automatically added into SINAMICS S120 unit as the result of synchronization.

Tutorial_step_09.png

If you had successfully downloaded configuration to both CP1616 and SINAMICS CU320, you are ready to learn how to configure .yaml and launch files for your application.

Next tutorial: SINAMICS S120 - ROS Configuration

Wiki: siemens_cp1616/Tutorials/STEP7 + STARTER configuration (last edited 2015-11-25 21:16:37 by FrantisekDurovsky)