Cover SINAMICS G120 with CU240S DP (FW3.2) Control via PROFIBUS Application y July 2010 Applikationen & Tools Answers for industry.
Industry Automation and Drives Technologies Service & Support Portal This article is taken from the Service Portal of Siemens AG, Industry Automation and Drives Technologies. The following link takes you directly to the download page of this document. http://support.automation.siemens.com/WW/view/en/45288241 If you have any questions concerning this document please e-mail us to the following address: Copyright © Siemens AG 2010 All rights reserved online-support.automation@siemens.
Warranty and Liability 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 support for typical applications. You are responsible for ensuring that the described products are used correctly.
Table of Contents Table of Contents Warranty and Liability ................................................................................................. 3 1 Automation function.......................................................................................... 5 1.1 2 Functionality of the function example............................................................. 6 2.1.1 2.1.2 2.2 3 Copyright © Siemens AG 2010 All rights reserved Hardware components .......................................
1 Automation function 1 Automation function 1.1 Description of the functionality The SINAMICS G120 drive inverter is a modular inverter system with degree of protection IP20. It comprises the two function units Control Unit (CU) and Power Module (PM). Copyright © Siemens AG 2010 All rights reserved When using the Control Unit CU240S DP, you have the possibility to use the profibus DP interface.
2 Functionality of the function example 2 Functionality of the function example 2.1.1 Task description The SINAMICS G120 is to be controlled from an S7-300 CPU via Profibus. 2.1.2 Solution In this function example, the control of a SINAMICS G120 (control word and frequency setpoint) will be demonstrated using an S7-300 CPU and a specific program example. This program example comprises an S7 program to control the SINAMICS G120 and the appropriate configuration in the SINAMICS G120.
3 Components that are required 3 Components that are required An overview of the hardware and software components required for the function example is provided in the Chapter. 3.1 Hardware components Component Type Order No.
4 Configuration and wiring 4 Configuration and wiring The hardware configuration and connecting-up the function example are described in this Chapter. Please carefully observe the following safety information & instructions when using the SINAMICS G120: The SINAMICS G120 has hazardous voltages and controls rotating mechanical parts that can also be potentially hazardous.
Copyright © Siemens AG 2010 All rights reserved 4 Configuration and wiring 4.2 Connecting-up the hardware components 4.2.1 S7-300 control and CU240S DP-F SINAMICS G120 (CU240S DP) Control via PROFIBUS V1.
4 Configuration and wiring 4.2.2 PM240 and motor L1 L2 L3 PE Copyright © Siemens AG 2010 All rights reserved SINAMICS G120 PM240 PE L U1 L1 N V1 L2 W1 L3 U2 V2 W2 PE For more detailed information regarding the installation please refer to the SINAMICS G120 Hardware Installation Manual Power Module PM240. Download from: http://support.automation.siemens.com/WW/view/en/22339653/133300 10 SINAMICS G120 (CU240S DP) Control via PROFIBUS V1.
4 Configuration and wiring 4.3 Fault 395 (acceptance test / acknowledgement present) Fault F395 is output when powering-up for the first time and after replacing the Control Unit (CU) or the Power Module (PM). This fault does not represent an incorrect drive inverter function. The reason for this fault message is to monitor the individual drive inverter components (CU and PM) to prevent them from being replaced by unauthorized personnel.
4 Configuration and wiring 4.4.2 SINAMICS G120 The Profibus address must be set on the right-hand side of the Control Unit according to HW Config. Copyright © Siemens AG 2010 All rights reserved Using the DIL switch, set address 10 as shown in the following diagram. 12 SINAMICS G120 (CU240S DP) Control via PROFIBUS V1.
4 Configuration and wiring Overview of inputs and outputs 4.5.1 Simulation module SM374 Copyright © Siemens AG 2010 All rights reserved 4.5 Address Function Symbolic address Default Explanation O 0.0 Indicator lamp error error 0 faults are signaled via this output I 0.0 SINAMICS G120 start Start_G120 0 The motor connected to SINAMICS G120 is started by activating the input I 0.
4 Configuration and wiring 4.5.2 SINAMICS G120 The SINAMICS G120 is controlled and the feedback signals read-in via the I/O addresses listed below.
5 Download 5 5.1 Download S7 program To download the S7 program, you will require a connection between the MPI interface of your PG/PC and the MPI interface of the S7 CPU. Start the SIMATIC Manager. • De-archive the function example supplied. • Open the G120_STD_APP1 project. • Select the PROFIBUS interface parameterization using Options > Select PG/PC interface… . • Open HW-Config and download this into the control. After the download reclose HW-Config.
5 Download 5.2 SINAMICS G120 configuration When this has been completed, download the SINAMICS G120 configuration using the STARTER parameterizing tool. • Starting from the main path of the SIMATIC Manager, start the STARTER parameterizing software by selecting the SINAMICS_G120 icon and double click on the Inbetriebnahme icon. • Then, in the Project Navigator of the STARTER parameterizing software select (2.
5 Download 5.3 Exiting the STARTER parameterizing software • If you don't wish to set any additional parameters, then you can now exit the STARTER commissioning tool. • In the tree select SINAMICS G120 and transfer all of the parameter changes into the ROM memory of the SINAMICS G120 by pressing the • button Then transfer all of the parameters into your offline a project by pressing the button.
6 Key performance data of the SIMATIC CPU 6 Key performance data of the SIMATIC CPU Load memory and working memory Total Load memory Approx. 6 k Working memory Approx. 2 k Cycle time Approx. 1ms Copyright © Siemens AG 2010 All rights reserved Total cycle time (typical) 18 SINAMICS G120 (CU240S DP) Control via PROFIBUS V1.
7 Background information 7 Background information The individual functions of the example code are explained in the following Chapters so that you will then be in a position to implement your own project. For this function example, the settings described no longer have to be made. Settings in the hardware configuration Copyright © Siemens AG 2010 All rights reserved 7.1 SINAMICS G120 (CU240S DP) Control via PROFIBUS V1.
7 Background information 7.1.1 Properties of the SINAMICS G120 Copyright © Siemens AG 2010 All rights reserved The window of the SINAMICS G120 PROFIBUS properties (2.) is displayed by clicking once on the SINAMICS G120 icon (1.). The PROFIBUS telegram (2.
7 Background information button. Copyright © Siemens AG 2010 All rights reserved The telegram is selected in the Catalog after pressing the You can download the GSD files for the SINAMICS G120 under the following link: http://support.automation.siemens.com/WW/view/en/23450835 GSD files are required to operate a node (e.g. the SINAMICS G120) on PROFIBUS – and to register (log-on) the device to the engineering tool. SINAMICS G120 (CU240S DP) Control via PROFIBUS V1.
7 Background information Copyright © Siemens AG 2010 All rights reserved 7.1.1.1 Standard Telegram Various pre-assigned telegrams and a freely parameterized telegram are available for this communication; these can be selected from the hardware catalog. The freely parameterizable telegram (Universal module) can be used in this function example. This has the advantage that the telegram structure can be freely adapted to the particular application.
Copyright © Siemens AG 2010 All rights reserved 7 Background information 7.2 Functions of the Step 7 program 7.2.1 Program overview The Step 7 program essentially comprises blocks FB10, FC100 and DB1 that are called in the cyclic program (OB1). SINAMICS G120 (CU240S DP) Control via PROFIBUS V1.
7 Background information 7.2.2 DB1, Axis_DB The Axis_DB represents the interface between the S7 program and the SINAMICS G120 via FC100. Axis_DB is generated from UDT 1 (Axis_DB_G120) Principal structure of Axis_DB: Address Symbolic name Type Function Internal data DBW0 Basic_Data.Moduleadress INT I/O start address of the SINAMICS G120 (refer to HW Config) DBB3 Basic_Data.
7 Background information 7.2.3 FB10, Organization This block is called-up in absolute terms in OB1 and in turn calls up FC100. Principle of the FB10 Network 1 Function Calls the FB11 to generate the frequency setpoint Controls the SINAMICS G120 via the axis-DB, DB1. 2 Calls the SINAMICS G120 control block FC100. Provides the feedback signals – incl. error and alarm number This network can be used as template for additional SINAMICS G120 control functions. 3 7.2.4 Controls the signal lamp for fault.
7 Background information 7.3 SINAMICS G120 parameterization 7.3.1 SIMATIC Manager - inserting SINAMICS G120 , In SIMATIC Manager select the tree G120_STD_App1 and using Insert > Program > SINAMICS select a SINAMICS G120 type object. • Make the following settings and press the OK button. Copyright © Siemens AG 2010 All rights reserved • 26 SINAMICS G120 (CU240S DP) Control via PROFIBUS V1.
7 Background information 7.3.2 Calling the STARTER parameterization tool • Starting from the main path of the SIMATIC Manager, start the STARTER parameterization software by selecting SINAMICS_G120 and double click on Inbetriebnahme. • Then, in the Project Navigator of the STARTER (2.) Copyright © Siemens AG 2010 All rights reserved parameterization software select the object G120 (1.) and press button to establish an online connection to the drive inverter. 7.3.
7 Background information Copyright © Siemens AG 2010 All rights reserved 7.3.4 STARTER - carrying out a motor identification routine • After completing the quick commissioning, alarm A0541 (Motor dataidentification active) is displayed. Please carefully note that when starting the motor identification routine current flows in the motor. For hanging (suspended) axes the load must always be supported.
7 Background information Copyright © Siemens AG 2010 All rights reserved 7.3.5 STARTER - setting the Profibus communications • Communications between the CPU and the SINAMICS G120 must then be parameterized. To do this, open the screen for the communication settings using Communication -> Profibus. Select the tab Transmit direction. • To start, select the Standard-Telegram 350 (350) from Message frame: (1.). This pre-assigns the telegram.
7 Background information • Finally, you only have to save the SINAMICS G120 configured software in the ROM memory of the drive inverter. To do this in the Project Navigator select the menu item SINAMICS_G120 • In the function bar press the • Please wait until the download operation has been completed. Copyright © Siemens AG 2010 All rights reserved button. 30 SINAMICS G120 (CU240S DP) Control via PROFIBUS V1.
8 Appendix 8 Appendix 8.1 Internet link data Subject area Copyright © Siemens AG 2010 All rights reserved 8.2 Title Link to safety items http://support.automation.siemens.com/WW/view/ en/20810941 SINAMICS G120 Documentation http://support.automation.siemens.com/WW/view/ en/22339653/133300 Siemens customer support homepage Customer Support SINAMICS G120 Homepage http://www.automation.siemens.com/mcms/standa rd-drives/en/low-voltage-inverter/sinamicsg120/Pages/sinamics-g120.