hit counter script
Siemens SIMATIC S7-300 Getting Started

Siemens SIMATIC S7-300 Getting Started

Automation systems cpu 317t-2 dp: controlling a sinamics s120
Hide thumbs Also See for SIMATIC S7-300:

Advertisement

Quick Links

SIMATIC S7 300 Automation Systems SIMATIC S7 300 Automation Systems CPU 317T-2 DP: Controlling a SINAMICS
S120
SIMATIC
S7-300 Automation Systems
CPU 317T-2 DP:
Controlling a SINAMICS S120
Getting Started
03/2008
A5E00480391-03
______________
Introduction
______________
Preparation
______________
Learning units
______________
Further Information
1
2
3
4

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC S7-300

  • Page 1 ______________ Introduction SIMATIC S7 300 Automation Systems SIMATIC S7 300 Automation Systems CPU 317T-2 DP: Controlling a SINAMICS S120 ______________ Preparation ______________ Learning units SIMATIC ______________ Further Information S7-300 Automation Systems CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started 03/2008 A5E00480391-03...
  • Page 2 Trademarks All names identified by ® are registered trademarks of the 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.
  • Page 3: Table Of Contents

    Table of contents Introduction..............................5 Preparation ..............................7 Requirements..........................7 Task ...............................9 Learning units ............................11 1. Step: Wiring..........................11 Optionally: Setting up the T station with the help of the wizard ...........13 2. Step: Configuring CPU 317T-2 DP with HW Config ..............15 3.
  • Page 4 Table of contents CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 5: Introduction

    Introduction Introduction This Getting Started contains a practical example guiding you through thirteen steps in commissioning a fully functional application, and showing you how to carry out motion commands. It is thus a valuable help in getting started with the basic functions of a CPU 317T-2 DP.
  • Page 6 Introduction CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 7: Preparation

    Preparation Requirements Requirements The following requirements must be fulfilled: ● An S7-300 station, consisting of: – Power supply module (PS), for example, 6ES7 307-1EA00-0AA0 – CPU 317T-2DP with inserted MMC (4 MB or more). – Optional digital input module (DI) with bus connector, for example, 6ES7 321-1BH02-0AA0 –...
  • Page 8 Preparation 2.1 Requirements If you do not know the firmware version, then you can find the version on the supplied certificate. Alternatively, you can open the "content.txt" file on the CF card. The firmware version is in the "Internal Version" entry. You can find more detailed information on reading the firmware version in the SINAMICS S120 product information.
  • Page 9: Task

    Preparation 2.2 Task Task Example configuration Task Configuration of an axis using HW Config and S7T Config. You then operate this axis with the help of a STEP 7 user program. The task is divided into the following learning units: Step Learning unit Wiring...
  • Page 10 Preparation 2.2 Task Using the station wizard If, after step 1, you set up the T station with the aid of the station wizard, you can carry out the steps 2 to 5 in one step and then continue with step 6. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 11: Learning Units

    Learning units 1. Step: Wiring WARNING You may come into contact with live wires. Always switch off power before you start wiring the S7-300. Procedure Getting A description of the installation and wiring of your CPU 317T-2DP is found in the Started Collection S7-300 PLC: CPU 31x: Commissioning CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 12 Learning units 3.1 1. Step: Wiring Set the PROFIBUS address of the SINAMICS to PROFIBUS address 4. The setting of the ® PROFIBUS address on the CU320 directly via the hardware DIP switch is performed in the following way: Figure 3-1 Schematic representation of the CU320 control unit ①...
  • Page 13: Optionally: Setting Up The T Station With The Help Of The Wizard

    Learning units 3.2 Optionally: Setting up the T station with the help of the wizard Optionally: Setting up the T station with the help of the wizard The station wizard helps you to carry out several steps when configuring a CPU 31xT in one work cycle.
  • Page 14 Learning units 3.2 Optionally: Setting up the T station with the help of the wizard Step Activity Confirm with "OK". Result: In the project a new SIMATIC 300 station is set up with a CPU 317T-2 DP (latest version). Open the hardware configuration and insert a digital input and a digital output module as described in the learning unit "2nd step".
  • Page 15: Step: Configuring Cpu 317T-2 Dp With Hw Config

    Learning units 3.3 2. Step: Configuring CPU 317T-2 DP with HW Config 2. Step: Configuring CPU 317T-2 DP with HW Config Procedure Step Activity Result Create a new project in the SIMATIC Manager (for example, The SIMATIC 300 station appears "GS_317T2-DP_with_S120") and add a SIMATIC 300 station.
  • Page 16: Step: Changing The Transmission Rate At The Mpi/Dp Interface

    Learning units 3.4 3. Step: Changing the transmission rate at the MPI/DP interface Step Activity Result Confirm the default settings of the PROFIBUS configuration with "OK". Add a digital input module and a digital output module. You now have this layout: 3.
  • Page 17: Step: Vital Settings In Your Dp (Drive) Configuration

    Learning units 3.5 4. Step: Vital settings in your DP (DRIVE) configuration Step Activity Result Confirm all open dialog boxes with "OK". You have now increased the configured transmission speed of the MPI interface at the CPU in order to accelerate data transfer. Select the Target system >...
  • Page 18: Step: Generating Technology System Data

    Learning units 3.6 5. Step: Generating technology system data 5. Step: Generating technology system data Procedure Sequence Activity Result Double-click "Technology" on the mounting rail. The "Properties - Technology" dialog box opens. Select the "Technology system data" tab, then set the "Generate technology system data" check box. Confirm with "OK".
  • Page 19: Step: Configuring The Drive In Hw Config

    Learning units 3.7 6. Step: Configuring the drive in HW Config 6. Step: Configuring the drive in HW Config Procedure Sequence Activity Result In the HW catalog, open the tree structure SIMATIC Technology > PROFIBUS DP(DRIVE) > Drives > SINAMICS. Select the drive component "SINAMICS S120"...
  • Page 20 Learning units 3.7 6. Step: Configuring the drive in HW Config Sequence Activity Result Select the appropriate drive version for your SINAMICS and confirm with "OK". ® The "DP Slave Properties" dialog box opens. Select the The "Clock Synchronization" dialog box "Clock Synchronization"...
  • Page 21: Step: Configuration Of The Pg/Pc Interface

    Learning units 3.8 7. Step: Configuration of the PG/PC interface 7. Step: Configuration of the PG/PC interface Procedure Step Activity Result Start the NetPro network configuration program in HW NetPro is started Config with Options > Configure network. In the HW catalog, open the tree structure Stations >...
  • Page 22 Learning units 3.8 7. Step: Configuration of the PG/PC interface Step Activity Result Select the "Interfaces" tab in the "Properties – PG/PC" dialog box. Click the "New…" button to open the "New Interface – Type Selection" dialog box. Select "MPI" and confirm with "OK".
  • Page 23 Learning units 3.8 7. Step: Configuration of the PG/PC interface Step Activity Result Select the "Assignment" tab in the "Properties – PG/PC" dialog box. Assign the MPI interface parameterization in the PG/PC to the configured interface by clicking "Assign". Complete the configuration by clicking "OK". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 24 Learning units 3.8 7. Step: Configuration of the PG/PC interface Step Activity Result You have now inserted your PG/PC in the MPI network and established the requirement to exchange data with the SINAMICS control. ® Complete the network configuration by calling the Network > Save and compile command. Select "Compile and check everything"...
  • Page 25: Step: Downloading The Hardware Configuration To The Target Hardware

    Learning units 3.9 8. Step: Downloading the hardware configuration to the target hardware 8. Step: Downloading the hardware configuration to the target hardware Procedure Step Activity Result Switch back to HW Config Download the hardware configuration to the CPU by calling the PLC > Download … command. Also close the HW Config by calling the Station >...
  • Page 26 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result In the project navigator, open the tree structure SIMATIC 300(1) > Technology > SINAMICS_S120 > Automatic configuration. Open the automatic configuration by double-clicking "Automatic configuration". Start the automatic configuration in the "Automatic Configuration"...
  • Page 27 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Set the drive object type for both motors to "Servo" and exit the dialog box with "Finish". The SINAMICS training case on which this document is based has two different motor types. One of the ®...
  • Page 28 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result In the project navigator, open the tree structure SIMATIC 300(1) > Technology > SINAMICS_S120 > Drives > Servo_03 > Configuration. Open the offline drive configuration by double-clicking "Configuration". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 29 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Click the "Configure DDS..." button to start the configuration. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 30 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Accept the default settings and click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 31 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result The power section has DRIVE-CLIQ technology and has already been correctly configured. Check the order number and click "Next >". The SINAMICS training case on which this document is based does not have an Active Infeed Module. ®...
  • Page 32 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Click the blue button and in the TB30_04 context menu, select digital input 0, which corresponds to parameter r4022, bit 0. Then click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 33 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result The motor without complete DRIVE-CLIQ technology is connected to terminal X2 of the power section. Click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 34 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Select the correct motor from the list. To activate the selection option, you must select the "Select standard motor from list" box. The motor used in the SINAMICS training case is the 1FK7022-xAK7x-xxxx.
  • Page 35 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Select "Without holding brake" and click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 36 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Select 1FK7xxx-xxxxx-xAxx. Check this against the supplied documents and click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 37 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Set the PROFIBUS message frame to "SIEMENS telegram 105 (105)" and click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 38 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Click the "Finish" button to exit the offline configuration of the drive. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 39 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result The offline configuration of the drive is completed. Close the dialog box with the "Close" button. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 40 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result In the project navigator, open the tree structure SIMATIC 300(1) > Technology > SINAMICS_S120 > Drives > Servo_03. Right-click to open the context menu and select Expert > Expert list. Select parameter "p210"...
  • Page 41 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result In the project navigator, open the tree structure SIMATIC 300(1) > Technology > SINAMICS_S120 > Drives > Servo_02 > Configuration. Double-click "Configuration" to open the offline drive configuration. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 42 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Start the configuration by clicking the "Configure DDS…" button. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 43 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Accept the default settings and click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 44 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result The power section has DRIVE-CLIQ technology and has already been correctly configured. Check the order number and click "Next >". The SINAMICS training case on which this document is based does not have an Active Infeed Module. ®...
  • Page 45 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Click the blue button and in the TB30_04 context menu, select digital input 0, which corresponds to parameter r4022, bit 0. Then click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 46 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result The motor with complete DRIVE-CLIQ technology is connected to terminal X1 of the power section. Click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 47 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result The motor with complete DRIVE-CLIQ technology has already been correctly configured. Click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 48 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 49 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result The correct encoder has already been correctly configured by means of DRIVE-CLIQ technology. Click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 50 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Set the PROFIBUS message frame to "SIEMENS telegram 105 (105)" and click "Next >". CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 51 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Click the "Finish" button to exit the offline configuration of the drive. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 52 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result The offline configuration of the drive is completed. Close the dialog box with the "Close" button. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 53 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result In the project navigator, open the tree structure SIMATIC 300(1) > Technology > SINAMICS_S120 > Drives > Servo_02. Right-click to open the context menu and select Expert > Expert list. Select parameter "p210"...
  • Page 54 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result In the project navigator, open the tree structure SIMATIC 300(1) > Technology > SINAMICS_S120 > Configuration. Double-click "Configuration" to start the SINAMICS configuration. ® CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 55 Activity Result In the "SINAMICS_S120 – Configuration" dialog box, set both message frame types to "SIEMENS telegram 105" and then click the "Align with HW Config" button in order to establish message addresses in the columns "Input data" and "Output data".
  • Page 56 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Select the Project > Save and recompile all menu command to save and compile the entire technology project. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 57 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Select the Project > Connect to target system menu command to switch to online mode. The desired configuration is on the PG/PC. In the "Online / offline comparison" dialog box, click the "<== Download to target device"...
  • Page 58 Learning units 3.10 9. Step: Configuration of the SINAMICS drive with S7T Config Step Activity Result Confirm the safety query with "Yes". Close the dialog box with "Close". In the S7T Config select the Project > Disconnect from target system menu command to switch to offline mode.
  • Page 59: Step: Configuring The Axes With S7T Config

    Learning units 3.11 10. Step: Configuring the axes with S7T Config 3.11 10. Step: Configuring the axes with S7T Config Important information In this step, you create your technology objects (e.g. axes) with S7T Config. Use "Technology Objects Management" to generate a technology DB for each TO. Do not copy the technology DBs in order to ensure a defined assignment between the technology DB and its TO.
  • Page 60 Learning units 3.11 10. Step: Configuring the axes with S7T Config Step Activity Result Confirm the default technology selection (speed control, positioning) with "OK". Result: The "Axis Configuration - Axis_1 – Axis Type" dialog box opens. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 61 Learning units 3.11 10. Step: Configuring the axes with S7T Config Step Activity Result Accept the "Axis type: Linear, electrical" and "Motor type: standard motor". Confirm with "Continue". Result: The "Axis configuration - Axis_1 - Units" dialog box opens. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 62 Learning units 3.11 10. Step: Configuring the axes with S7T Config Step Activity Result Confirm with "Continue". Result: The "Axis configuration Axis_1 - Modulo" dialog box opens. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 63 Learning units 3.11 10. Step: Configuring the axes with S7T Config Step Activity Result Confirm with "Continue". Result: The "Axis Configuration - Axis_1 Drive Assignment" dialog box opens. CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 64 Learning units 3.11 10. Step: Configuring the axes with S7T Config Step Activity Result The drive configuration consisting of drive and message is taken from the hardware configuration and merely has to be confirmed in this dialog box. Enter the maximum motor speed as "Rated speed“ (see motor type plate).
  • Page 65 Learning units 3.11 10. Step: Configuring the axes with S7T Config Step Activity Result Enter the resolution specified on your motor rating plate as well as the number of data bits. In our example, the number of encoder pulses is "512" and the number of data bits is "21". Accept the settings with "Continue".
  • Page 66 Learning units 3.11 10. Step: Configuring the axes with S7T Config Step Activity Result Note: Repeat Steps 1 to 10 in step number 10 for the second axis if you are using a double-axis module. The SINAMICS demonstration case has a Motor Module with absolute encoder and a Motor Module with ®...
  • Page 67: Step: Creating The Technology Dbs

    Learning units 3.12 11. Step: Creating the technology DBs 3.12 11. Step: Creating the technology DBs Procedure Sequence Activity Result Change to "Technological Objects Management". Confirm the first message box with "OK", and the second with "Yes". If you are not running the "Technological Objects Management“ application yet, you can open it by double- clicking "Technological Objects“...
  • Page 68: Step: Controlling The Axis With The Step 7 User Program

    Learning units 3.13 12. Step: Controlling the axis with the STEP 7 user program 3.13 12. Step: Controlling the axis with the STEP 7 user program Procedure Step Activity Result In SIMATIC Manager, open the sample project The sample program is copied to the project. "\Examples\PROJECT-CPU317T".
  • Page 69: Step: Trial Run

    Learning units 3.14 13. Step: Trial run 3.14 13. Step: Trial run Procedure Step Activity Result In the "Blocks" folder of your project, double-click the The variable table is opened for monitoring. "AxisData" variable table. Select the Target system > Connect to > Configured CPU The CPU "STOP"...
  • Page 70 Learning units 3.14 13. Step: Trial run CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...
  • Page 71: Further Information

    ● A bulletin board in which users and specialists worldwide exchange their know-how ● Your local Siemens partner for Automation & Drives in our Partner database ● Information about local service, repairs, and spare parts. You will find much more under "Services".
  • Page 72 Further Information CPU 317T-2 DP: Controlling a SINAMICS S120 Getting Started, 03/2008, A5E00480391-03...

Table of Contents