Siemens LOGO! 0BA7 Manual

Siemens LOGO! 0BA7 Manual

Pi controller for simple applications - optimum motor speed control
Table of Contents

Advertisement

Quick Links

PI Controller for
Simple Applications -
Optimum Motor
Speed Control
Simulated Application with S7-1200 for LOGO! and
SINAMICS V20
Set 23
https://support.industry.siemens.com/cs/ww/en/view/23753479
Siemens
Industry
Online
Support

Advertisement

Table of Contents
loading

Summary of Contents for Siemens LOGO! 0BA7

  • Page 1 PI Controller for Simple Applications - Optimum Motor Speed Control Simulated Application with S7-1200 for LOGO! and SINAMICS V20 Siemens Set 23 Industry Online https://support.industry.siemens.com/cs/ww/en/view/23753479 Support...
  • Page 2: Legal Information

    The foregoing provisions do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens against existing or future claims of third parties in this connection except where Siemens is mandatorily liable.
  • Page 3: Table Of Contents

    Table of Contents Table of Contents Legal information ..................... 2 Task......................... 4 Overview ................... 4 Requirements for the automation task ..........4 Solution......................5 Overview ................... 5 Description of the core functionality ............ 6 Hardware and software components ..........7 2.3.1 Validity ....................
  • Page 4: Task

    1 Task Task Overview Introduction The features in the application will be explained with the example of an automation task so that they can be understood more easily. In an injection molding plant, the molded parts are cooled down to a certain final temperature by a water cooling system.
  • Page 5: Solution

    2 Solution Solution Overview Schematic layout The following figure gives a schematic overview of the most important components of the solution: Figure 2-1 LOGO! TD Asynchronous motor LOGO! Power LOGO! logic module LOGO! AM2 AQ SINAMICS V20 SIRIUS monitoring relay Sensor for level monitoring S7-1200 (PM, CPU, CSM) PG/PC (simulated KTP)
  • Page 6: Description Of The Core Functionality

    2 Solution integrated display of the LOGO! logic module, the setpoint pressure, the current pressure and the speed of the pump are displayed as bar diagrams. Advantages The solution presented here offers you the following advantages: • Cost-effective and stepless speed control •...
  • Page 7: Hardware And Software Components

    2 Solution Hardware and software components 2.3.1 Validity This Application is valid for: • LOGO! 0BA7 • SINAMICS V20 • STEP 7 as of V12 • S7-1200 2.3.2 Components used Note The cooling water system is designed for a 0.12 kW motor with a corresponding SINAMICS V20 frequency converter.
  • Page 8: Hardware And Software Components For The Simulation Of The Controlled System

    2 Solution Configuration software/tools Table 2-3 Component Article number Note LOGO!Soft Comfort V7 6ED1058-0BA02-0YA1 Hardware and software components for the simulation of the controlled system Note With this component, it is possible to simulate the controlled system. The components listed here are needed in addition to the hardware listed in section 2.3.2.
  • Page 9: Sample Files And Projects

    2 Solution Sample files and projects The following list includes all files and projects that are used in this example. Table 2-7 Component Note LOGO!Soft Comfort V7 – Program The zip-file contains: 23753479_Set23_RegSim_V23.zip 23753479_Set23_RegSim_V23.lsc STEP 7 V12 – Program The zip-file contains: 23753479_Set23_RegSim_V23.zip 23753479_Set23_RegSim_V23.ap12 23753479_Set23_RegSim_V23_en.pdf...
  • Page 10: Operation

    3 Operation Operation General overview Figure 3-1 consumers 1,2 & 3 ∆P n Soll P set distance sensor P act Constantly controlling and adapting the pressure in the system Table 3-1 Function Comments In order to provide the consumers in the cooling water system with a consistent pressure even under varying loads, a PI controller is used.
  • Page 11: Addressing The Motor Via An Analog Interface Of The Logo

    3 Operation Addressing the motor via an analog interface of the LOGO! Table 3-2 Function Comments The setting value (0 to 10V) for the motor speed is continuously transmitted setpoint by the LOGO! expansion module AM2 AQ to 6.67V SINAMICS V20 and scaled into a frequency = 33.35Hz setpoint (0 to 50Hz) there.
  • Page 12: Monitor Storage Tanks And React To A Dry Run

    3 Operation Monitor storage tanks and react to a dry run Table 3-3 Function Comments To avoid the pump running dry in this cooling water system, a three-pole wire electrode is used for monitoring the water level in the storage tank. For an electrode, the reference point (M), the minimum fill level (Min) and the maximum fill level (Max) are set.
  • Page 13: Simulation Of The Controlled System

    3 Operation Simulation of the controlled system Table 3-4 Function Comments With the S7-1200 PLC, the controlled system of this cooling water application can be simulated. This allows the application to be tested under almost real conditions without a complex set-up. The S7-1200 PLC continuously calculates the pressure and transmits it to the...
  • Page 14: Installation

    4 Installation Installation This chapter shows the necessary steps to put the example into operation with the code from the download and the hardware list. The installation guidelines for LOGO!, SINAMICS V20 and S7-1200 always have Note to be observed. Before installing the SINAMICS V20 and putting it into operation, please read all the safety instructions and warnings in its operation instructions and observe the warning signs in the device.
  • Page 15 4 Installation The SIRIUS monitoring relay (4) is connected to a digital input of the LOGO! logic module. A three-pole wire electrode (8) is connected to the SIRIUS monitoring relay. In this set-up plan, the pressure measuring transducer (The SITRANS P pressure measuring transducer must be removes!) is replaced by a S7-1200, DC/DC/DC (1), which simulates the controlled system.
  • Page 16: Software Installation (Download)

    4 Installation Software installation (download) This chapter describes the steps for the installation of the example code. Note The software examples are available on the HTML page from which you downloaded this document. The software examples are always assigned to the components used in the set and show their basic interaction.
  • Page 17 4 Installation Action Comments Set the IP address at the LOGO!: See also LOGO! Manual \3\ Navigate, if necessary with the LOGO! button  to the menu item “Date/Time” Use the button sequence ESC and  to navigate to “Stop”. Stop the program editing with the button sequence OK , ...
  • Page 18 4 Installation Action Comments Set the operating mode of the LOGO! logic module to “RUN” by means of the symbol “Change LOGO! operating mode”. Installation of the STEP 7 program Table 4-4 Action Comments Make sure all the components of STEP 7 and See also Table 2-6: WinCC have been installed.
  • Page 19 4 Installation Action Comments Load the HW configuration and the program into the S7-1200 by means of the function “Extended download to device”. With a right-click on the station, you will reach the menu “Download to device > Hardware and software”. The window for the “Extended download”...
  • Page 20: Configuration And Settings

    5 Configuration and Settings Configuration and Settings Scaling analog values into physical values in the LOGO! Table 5-1 Function Comments Coming and going analog values can be optionally scaled by means of the analog blocks so that the user can have real physical values (such as pressure, temperature, revs/min) displayed in the LOGO!.
  • Page 21: Using 16 Characters Per Line In The Logo! Display

    5 Configuration and Settings Using 16 characters per line in the LOGO! Display LOGO!Soft Comfort V7 offers the possibility of using several character sets for the message display. By default, 12 characters per line are used in the display, with the following parameter setting: “Message text setting”...
  • Page 22: Configuring The Sinamics V20

    5 Configuration and Settings Configuring the SINAMICS V20 Note The cooling water system has been designed for a 0.12kW motor and a SINAMICS V20 frequency converter, and a supply voltage with a mains frequency of 50Hz. If another motor or another frequency converter is to be used, or of the supply voltage has a different mains frequency than 50Hz, the drive parameters must be adjusted differently from Table 5-5.
  • Page 23 5 Configuration and Settings Action Operation/display Value Set the motor voltage to 230V. P0304 Set the motor nominal current to 0.73A. 0.73 P0305 Set the motor nominal power to 0.12kW. 0.12 P0307 Set the factor motor nominal power to 0.75 cos . 0.750 P0308 Set the motor nominal frequency to 50Hz.
  • Page 24: Operating The Application

    6 Operating the Application Operating the Application The functionality of the LOGO! Set 23 were “packed” in an application example of a cooling water system for an injection molding plant. The functionalities and features of the program code and the hardware, can be testes as follows, if the components have been configured correctly as described in section 5.3.
  • Page 25: Scenario 1: Testing The Wire Electrode For Level Monitoring

    6 Operating the Application Scenario 1: Testing the wire electrode for level monitoring In the present cooling water system a pump is blocked as soon as a low fill level in the tank is detected. To check for a sufficient fill level of the tank or a dry run, the following steps have to be carried out: Table 6-2 Action...
  • Page 26 6 Operating the Application Action Comments Observe the display for the “cooling water tank” in the “mainscreen” of the simulated KTP600 Basic color PN. The display for the “cooling water tank” (1) changes from green to red. Observe the motor speed setpoint value and the pressure loss in the trend view of the LOGO!Soft Comfort.
  • Page 27: Scenario 2: Changing The Language And Switching The Backlight On/Off Via Logo! Td

    6 Operating the Application Scenario 2: Changing the language and switching the backlight on/off via LOGO! TD With the function keys of the LOGO! TD the language can be switched from English to German and vice versa. The backlight of the LOGO! TD and the integrated display of the LOGO! logic module can be switched on and off.
  • Page 28 6 Operating the Application Table 6-4 Action Comments In the default message text of the LOGO! TD, the setpoint pressure, the actual pressure of the cooling water system and setpoint speed of the motor are output. The values are given as the physical variables “bar”...
  • Page 29: Scenario 4: Change Setpoint By Means Of Logo! Td

    LOGO! TD?” provides a better understanding of changing the setpoint via function keys “ http://support.automation.siemens.com/WW/view/en/34914500 Scenario 5: Display values by means of LOGO! Display By means of the display integrated in the LOGO! logic module, the process values are displayed as bar diagrams.
  • Page 30: Scenario 6: Observe The Course Of The Controlling By Means Of Logo!Softcomfort

    6 Operating the Application Scenario 6: Observe the course of the controlling by means of LOGO!SoftComfort LOGO!Soft Comfort V7.1 offers the possibility of displaying the course of the controlling of the PI controller in a curve and to observe it live Table 6-7 Action Comments...
  • Page 31: Scenario 7: Change Control Parameters

    6 Operating the Application Scenario 7: Change control parameters If you want to optimize the controlling process, the following parameters can be adjusted: • P-component of the PI controller (default: 2) • I-component of the PI controller (default: 1s) • Ramp-up/ramp-down time of the motor (speed: 3s) Table 6-8 Action...
  • Page 32: Simulation Of The Controlled System

    7 Simulation of the Controlled System Simulation of the Controlled System The default values are rated for the SINAMICS V20 frequency converter and the Note motor from chapter 2.3.2. A modification of the default values is only necessary if the hardware or the parameters of the virtual cooling water system are changed. The simulated controlled system can be operated and monitored via a KTP600 Basic color PN simulated in the TIA Portal.
  • Page 33: Simulation Of The Consumers

    7 Simulation of the Controlled System Simulation of the consumers In the “mainscreen” the controlled system is depicted, and the actual pressure is displayed. You can intervene in the controlled system by the cooling water consumption, which is defined by the number of active consumers. Figure 7-1 Table 7-2 Field...
  • Page 34: Simulation Of The Controller Parameters

    7 Simulation of the Controlled System Simulation of the controller parameters In the “regulation” screen, the desired pressure (7) (green trend) and the actual pressure (6) (blue trend) and the actual revolution (5) red trend) are displayed. The setpoint pressure of the ID controller and the dynamics of the simulation (8) (PT3) can be edited.
  • Page 35 7 Simulation of the Controlled System Table 7-3 Field Action Comments Click on the green I/O field (desired A number keyboard is displayed to change the pressure). values. The setpoint value (green graph) escalates, the actual value (blue graph) is readjusted. Click on the yellow I/O fields (lag times) •...
  • Page 36: Simulation Of The "Logo! 12/24Rce

    7 Simulation of the Controlled System Simulation of the “LOGO! 12/24RCE” In the screen “LOGO! 12/24RCE” the display of the LOGO! 12/24RCE is reproduced. The setpoint pressure (SP), the actual pressure (PV) and the revolutions of the pump are displayed as a bar diagram. Figure 7-3 Table 7-4 Field...
  • Page 37: Simulation Of The "Logo! Td

    7 Simulation of the Controlled System Simulation of the “LOGO! TD” In the screen “LOGO! TD Text display”, the display of the LOGO! TD is reproduced. The setpoint pressure (SP), the actual pressure (PV) and the revolutions of the pump are displayed as absolute values. Figure 7-4 The operation of the simulated LOGO! TD is identical to the operation as described in sections:...
  • Page 38: Appendix

    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.
  • Page 39: Links And Literature

    Layout changes and adaptation of the application to LOGO! 0BA6 • V2.3.S 02/2014 Layout changes, addition of security advice and adaptation of the application to • Controlling with LOGO! 0BA7 and • SINAMICS V20 • Simulation of the controlled system with S7-1200 Set23_RegSim Entry ID: 23753479, V2.3.S,...

This manual is also suitable for:

Sinamics v20S7-1200

Table of Contents