58235225 Profienergy Et200sp Docu v10 En

Embed Size (px)

Citation preview

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    1/48

    Applications & Tools Answers for industry.

    Cover

    Saving Energy with SIMATIC S7

    PROFIenergy with ET 200SP (TIA Portal)

    Application Description September 2012

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    2/48

    2PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Siemens Industry Online Support

    This document is taken from Siemens Industry Online Support. The following linktakes you directly to the download page of this document:

    http://support.automation.siemens.com/WW/view/en/58235225

    Caution: The functions and solutions described in this entry are mainly limited to therealization of the automation task. In addition, please note that suitable securitymeasures in compliance with the applicable Industrial Security standards must betaken if your system is interconnected with other parts of the plant, the company'snetwork or the Internet. More information can be found under entry ID 50203404.

    http://support.automation.siemens.com/WW/view/en/50203404

    For further information on this topic, you may also actively use our TechnicalForum in the Siemens Industry Online Support. Share your questions, suggestionsor problems and discuss them with our strong forum community:

    http://www.siemens.de/forum-applications

    http://support.automation.siemens.com/WW/view/en/58235225http://support.automation.siemens.com/WW/view/en/58235225http://support.automation.siemens.com/WW/view/en/50203404http://support.automation.siemens.com/WW/view/en/50203404http://www.automation.siemens.com/WW/forum/guests/Conferences.aspx?Language=enhttp://www.automation.siemens.com/WW/forum/guests/Conferences.aspx?Language=enhttp://www.automation.siemens.com/WW/forum/guests/Conferences.aspx?Language=enhttp://support.automation.siemens.com/WW/view/en/50203404http://support.automation.siemens.com/WW/view/en/58235225
  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    3/48

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 3

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    s

    SIMATICPROFIenergy with ET 200SP

    Saving energy with SIMATIC S7 and PROFIenergy

    Task 1

    Solution 2

    Basics 3

    Functional Mechanismsof the Application 4

    Configuration andSettings 5

    Installation 6Starting up theApplication 7

    Operation of theApplication 8

    Links & Literature 9

    History 10

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    4/48

    Warranty and Liability

    4PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Warranty and Liability

    Note The application examples are not binding and do not claim to be completeregarding configuration, equipment and any eventuality. The applicationexamples do not represent customer-specific solutions. They are only intendedto provide support for typical applications. You are responsible for ensuring thatthe described products are used correctly. These application examples do notrelieve you of your responsibility to use sound practices in application,installation, operation and maintenance. When using these application examples,you recognize that we will not be liable for any damage/claims beyond theliability clause described. We reserve the right to make changes to theseapplication examples at any time without prior notice. If there are any deviationsbetween the recommendations provided in this application example and otherSiemens publications (e.g. catalogs), the contents of the other documents shallhave 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 ofthe examples, information, programs, engineering and performance data etc.,described in this application example shall be excluded. Such an exclusion shallnot 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 adeficiency or violation of fundamental contractual obligations (wesentlicheVertragspflichten). The damages for a breach of a substantial contractualobligation are, however, limited to the foreseeable damage, typical for the type ofcontract, except in the event of intent or gross negligence or injury to life, body orhealth. The above provisions do not imply a change in the burden of proof to your

    detriment.

    It is not permissible to transfer or copy these application examples or excerptsthereof without express authorization from Siemens Industry Sector.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    5/48

    Preface

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 5

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    PrefaceThis application is part of our series

    Saving Energy with SIMATIC S7

    Applications realized with STEP 7 V5.5 that have already been published:

    PROFIenergy with ET 200S

    PROFIenergy with the I-Device

    PROFIenergy with measuring devices PAC3200 / PAC4200

    or with SCOUT:

    PROFIenergy with SIMOTION

    The following applications have already been configured with TIA Portal :

    PROFIenergy with Comfort Panels

    The procedure and parameterization can also be used to migrate yourPROFIenergy applications from STEP 7 V5.5 to TIA Portal.

    Further information on the topic of energy efficiency is available on our website:

    Energy-efficient production

    Validity

    This application was created under the following conditions:

    STEP 7 (TIA Portal) V11 SP2

    WinCC (TIA Portal) V11 SP2

    http://support.automation.siemens.com/WW/view/de/58386840http://support.automation.siemens.com/WW/view/de/58386840http://support.automation.siemens.com/WW/view/de/58235225http://support.automation.siemens.com/WW/view/de/58235225http://support.automation.siemens.com/WW/view/de/58235225http://www.industry.siemens.com/topics/global/en/energy-efficient-production/Pages/Default.aspxhttp://www.industry.siemens.com/topics/global/en/energy-efficient-production/Pages/Default.aspxhttp://www.industry.siemens.com/topics/global/en/energy-efficient-production/Pages/Default.aspxhttp://support.automation.siemens.com/WW/view/de/58235225http://support.automation.siemens.com/WW/view/de/58386840
  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    6/48

    Table of Contents

    6PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Table of ContentsWarranty and Liability..............................................................................................4

    Preface......................................................................................................................5

    1 Task.................................................................................................................7 2 Solution.........................................................................................................10

    2.1 Overview of the general solution......................................................10 2.2 Description of the core functionality..................................................12 2.3 Hardware and software components used .......................................13

    3 Basics ...........................................................................................................15

    3.1 PROFIenergy profile........................................................................15 3.2 Available hardware ........ ....... ....... ....... ........ ....... ....... ........ ....... ....... .16 3.3 Required software ...........................................................................16

    4 Functional Mechanisms of the Application.................................................17

    4.1 Overview.........................................................................................17 4.2 WRREC Write Data Record functionality .......................................18 4.3 Behavior of the I/O modules.............................................................20 4.3.1 Digital input module .........................................................................20 4.3.2 Digital output modules .....................................................................22 4.3.3 Analog input module........ ....... ........ ....... ....... ........ ....... ....... ....... ...... 23 4.3.4 Analog output module...... ....... ........ ....... ....... ....... ........ ....... ....... ...... 25 4.4 FB PE_START_END (FB815) functionality ....... ....... ........ ....... ....... .. 27 4.4.1 Parameter for the FB PE_START_END (FB815) block ....... ........ ..... 28

    5 Configuration and Settings..........................................................................30

    5.1 Configuration of the ET 200SP.........................................................30 5.2 Setting of the PROFIenergy program ...............................................31

    6 Installation ....................................................................................................36

    6.1 Test setup installation......................................................................36 6.2 Software installation.........................................................................37 6.3 Installing the application software ....................................................37

    7 Starting up the Application ..........................................................................38

    7.1 Preparation......................................................................................38 7.2 Commissioning................................................................................38

    8 Operation of the Application........................................................................39

    8.1 Overview.........................................................................................39 8.1.1 Operation with HMI..........................................................................40 8.1.2 Operation via the watch table...........................................................42 8.2 Scenarios ........................................................................................44

    9 Links & Literature.........................................................................................47

    9.1 Literature.........................................................................................47 9.2 Internet Links...................................................................................47

    10 History ..........................................................................................................48

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    7/48

    1 Task

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 7

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    1 TaskIntroduction

    In the future, energy management will become increasingly important. Cuttingcosts by saving energy in production is an approach that has already been used forsome time. Recently, the focus has also shifted to shorter non-production times from short breaks to idle shifts.

    Would it not be possible to set smaller, currently not required plant sections intoenergy saving mode while the rest of the plant continues with the production? Allthis could significantly improve the energy balance of a production unit.

    The decision to use PROFINET provides the conditions for new and future-orientedenergy management.

    Future-oriented energy management means: units are no longer switched off usingthe conventional mains switch method but on a fine-grained basis via the network!

    The general supply system of the components remains activated and thecomponents initiated by a command enter a defined energy-saving mode.

    PROFIenergy is a profile defined by the PROFINET user organization. It providesthe prerequisites for a vendor-independent system that can be generally used toswitch off individual loads or entire production units flexibly, on short notice andintelligently.

    SIEMENS supports PROFIenergy /3/ with implementations in the SIMATICautomation system.

    The numerous innovations of the new SIMATIC ET 200SP include the possibilityfor a coordinated and central switch-off of the I/O modules independently andindividually via PROFIenergy during pauses.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    8/48

    1 Task

    8PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Overview of the automation task

    The figure below provides an overview of the automation task.

    Figure 1-1

    Feed DischargeProcessing

    This application describes the switch-off of automation components using anexample from production - here a production line with robots.

    This plant consists of one feeding and one discharging conveyor belt and aprocessing unit. The conveyors are connected at a ET 200SP. For reasons ofclarification the processing unit is a black box that is switched on/off via an ownET 200SP.

    In terms of energy saving the PROFIenergy does not focus on the drive motorssince these are switched off in case of a production stop. It rather concentrates onthe numerous sensors and further electronic components.

    Description of the automation task

    During a pause the components of the automation component shall be switchedoff. The spontaneous or regularly planned break can be initiated by the user via thecontroller. After the production has stopped parts of the distributed periphery areswitched off via applicable PROFIenergy commands. Before the production isstarted again the necessary automation components are switched on again.

    The following application description shows step by step how such an applicationcan be realized using the SIMATIC S7 ET 200SP with integrated PROFIenergyfunctionality.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    9/48

    1 Task

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 9

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Scenarios

    This application example presents the following switch-on and switch-off scenarios.

    Table 1-1

    Requirement Explanation

    Switching off several components of theplant

    If no staggered switch-off is required; whichmeans that plant parts are switched off atonce

    Selective switch-off Switch off individual components of theplantCoordinated shut-down, i.e. necessarybecause of the technological process

    Selective switch-on Switch on individual components of theplant.

    Staggered switch-onSwitching on several components of theplant

    Components of the plant that are notsubject to a special switch-on sequence.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    10/48

    2 Solution2.1 Overview of the general solution

    10PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    2 Solution

    2.1 Overview of the general solution

    Schematic layout

    For this application, the PROFIenergy with Comfort Panel application wassupplemented by two ET 200SP.The following figure gives a schematic overview of the most important componentsof the solution:Figure 2-1

    PS CPU Comfort Panel Field-PG

    PROFINET

    Feed

    Discharge

    Processing

    ET 200SP ET 200SP

    Structure

    The plant described above is based on a distributed structure. Via two ET 200SPwith several I/O groups each, the CPU controls the plant.

    The respective I/O modules have to supply the sensors and actuators with voltageto achieve appropriate energy savings. The energy is saved by switching off theencoder supply of the modules.

    A direct supply of the sensors and actuators via a 24V bus would prevent aselective switch-off, hence the saving of energy.

    Input / visualization via Comfort Panel (HMI) is offered as an option. The sameinput fields and information are available in a watch table in STEP 7. The panelitself can also be simulated on the PG via the WinCC V11 Runtime.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    11/48

    2 Solution2.1 Overview of the general solution

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 11

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Advantages of ET 200SP

    The distributed I/O system is easy to operate and provides maximum efficiency inthe switching cabinet due to its compact design.SIMATIC ET 200SP communicates via PROFINET. Its high speed and data rateyield a clearly stronger performance than previous systems.

    Topics not covered by this application

    This application does not contain a description of how to switch off a plant. This isalready implemented into existing plants and differs too much from plant to plant.

    The following sections explain the basic functionality of the PROFIenergy profileand the FB PE_START_END function block (FB815). Our other PROFIenergyapplications describe further PROFIenergy blocks and commands. There is nofunctional difference between the applications for STEP 7 V11 and STEP 7 V5.5.You can use the documents simultaneously for your information.

    Assumed knowledge

    Basic knowledge of automation engineering, SIMATIC, PROFINET and configuringwith STEP 7 V11 and WinCC V11 (TIA Portal) is necessary.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    12/48

    2 Solution2.2 Description of the core functionality

    12PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    2.2 Description of the core functionality

    Overview and description of the user interface

    Figure 2-2

    This screen shows all the elements you need to operate the application. Thechapter Operation via HMI describes how to select this screen.

    Principle of the core functionality

    Select the desired PE_MODE for each individual module and transfer this

    configuration to the interface modules with Set PE:MODE .With PE START you start the pause, with PE ENDE (PE END) you terminatethe pause.

    The following chapters give you the details on the meaning and handling of theindividual functions and parameters.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    13/48

    2 Solution2.3 Hardware and software components used

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 13

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    2.3 Hardware and software components used

    The application document was generated using the following components:

    Hardware components

    Table 2-1

    Component Qty. Order number Note

    SIMATIC S7-300,DIN rail

    1 6S7 390-1AE80-0AA0

    SIMATIC S7-300stabilized powersupply PS307, input:120/230 V ACoutput: 24 V DC/5 A

    1 6ES7307-1EA01-0AA0 Alternatively, any otherpermitted power supplycan also be used.

    SIMATIC S7-300CPU 317-2 PN/DP 1 6ES7317-2EK14-0AB0 All S7 CPUs with PNinterface of the currentseries (300/400/ET200S/ET200PRO) are possibleas an alternative.

    SIMATIC S7, MMCMicro Memory CardS7-300, 2 MBYTE

    1 6ES7953-8LL20-0AA0 Any SIMATIC S7 MMCwith sufficient memorycapacity.

    TP700 Comfort 1 6AV2 124-0GC01-0AX0 Or another Comfort Panel A panel is NOT necessaryfor the ET 200SP.

    SIMATIC Field PG M3 1 Compatible PC

    SIMATIC PROFINET

    cable and connectors

    Alternative: Ethernet patch

    cable

    Table 2-2

    Component Qty. Order number Note

    DIN railEN60715

    1 6ES5710-8MA11

    Interface moduleIM 155-6 PN ST

    2 6ES7 155-6AU00-0BN0 *1

    Digital input moduleDI8 x 24VDC ST

    3 6ES7 131-6BF00-0BA0 *1

    Digital output moduleDQ8 x 24VDC / 0.5AST

    3 6ES7 132-6BF00-0BA0 *1

    Server moduleBus Terminator

    2 6ES7 193-6PA00-0AA0

    BASEUNIT BU15-P16+A0+2D

    6 6ES7193-6BP00-0DA0 or another type

    1) All PROFINET and PROFIenergy-capable components are possible. Dependingon the version of the configuration software, an HSP must be installed here.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    14/48

    2 Solution2.3 Hardware and software components used

    14PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Standard software components

    Table 2-3

    Component Qty. Order number Note

    TIA PortalSIMATIC STEP 7Professional V11SP2

    1 6ES7 822-1AA01-0YA5 Other MLFB possible.

    TIA PortalSIMATIC WinCCComfort V11 SP2

    1 6AV2 101-0AA01-0AA5 At least comfort package,other MLFB possible.

    Sample files and projects

    The following list includes all files and projects used in this example.Table 2-4

    Component Note

    58235225_PROFIenergy_ET200SP_CODE_V10.zip This zip file contains theSTEP 7 project.

    58235225_PROFIenergy_ET200SP_DOCU_V10_EN.pdf This document.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    15/48

    3 Basics3.1 PROFIenergy profile

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 15

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    3 BasicsThis chapter explains the functions of PROFIenergy, especially the relationbetween the functional modules and the hardware.

    3.1 PROFIenergy profile

    The PROFIenergy profile presents methods and techniques for implementingenergy-saving functions into PROFINET IO devices. And not only manufacturer-independent into simple I/O devices but also into intelligent and complex devices.

    PROFIenergy consists of a group of methods that apart from parameterization andthe actual start and stop commands are also used for recording the energyconsumption.

    PROFIenergy is based on existing PROFINET mechanisms changes are notnecessary. This enables PROFINET users to integrate PROFIenergy into existingplants, without having to make fundamental changes to the plant.

    PROFIenergy controller: A PLC, here the SIMATIC S7 CPU 317-2PN/DP. Theuser decides whether PROFIenergy management is integrated into an existingcontroller or left to an additional controller.

    PROFIenergy device: A PROFINET IO device with integrated PROFIenergyfunctionality. In this case, a SIMATIC S7 ET 200SP. The interface module of theET 200SP provides the access point for the PROFIenergy control data records.The I/O modules do not have a separate PROFIenergy accesspoint.

    PROFIenergy always provides several energy-saving states of the PROFIenergydevices. In the application presented here, the following state is realized:

    OFF (PAUSE) and

    ON (Ready).

    Full PROFINET communication capability is provided in the OFF state.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    16/48

    3 Basics3.2 Available hardware

    16PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    3.2 Available hardware

    PROFIenergy controller

    STEP 7 blocks are available that can be executed on all SIMATIC S7 300/400 /ET 200S / ET 200pro CPUs.STEP 7 V11 SP2 and higher already includes these blocks.

    PROFIenergy device

    SIMATIC HMI Comfort Panels:

    All Comfort Panels support PROFIenergy.

    ET 200SP:

    Currently, the following PROFIenergy-capable modules are available:

    Interface module IM 155-6 PN ST

    ET 200SP I/O modules which support PROFIenergy Digital input module DI 8x24VDC ST (6ES7131-6BF00-0BA0) Digital output module DQ 4x24VDC/2A ST (6ES7132-6BD20-0BA0) Digital output module DQ 8x24VDC/0,5A ST (6ES7132-6BF00-0BA0) Digital output module DQ 16x24VDC/0,5A ST (6ES7132-6BH00-0BA0) Analog input module AI 4xI 2-/4-wire ST (6ES7134-6GD00-0BA1) Analog output module AI 4xU/I 2-wire ST (6ES7134-6HD00-0BA1) Analog output module AQ 4xU/I ST (6ES7135-6HD00-0BA1)

    Distributed I/O and drives

    More and more modules and components from the SIEMENS automation portfolioinclude the PROFIenergy profile. Please visit our Industry Mall or Industry OnlineSupport for information on the options that are currently available to you.

    3.3 Required software

    STEP 7 V11 SP2 and higher provides all necessary STEP 7 blocks. The followingchapters describe their function and use.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    17/48

    4 Functional Mechanisms of the Application4.1 Overview

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 17

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    4 Functional Mechanisms of the Application

    4.1 Overview

    Figure 4-1

    OB1

    FB815PE_START_END

    FC10PE_ET200SP_1

    FC11PE_ET200SP_2

    FB10Green IT

    ComfortPanel

    SFB WRREC

    FB815PE_START_END

    SFB WRREC

    FB815PE_START_END

    ET200SP_PE_ Param_1

    IDB_ WRREC_DB_1

    ET200SP_PE_ Param_2

    IDB_ WRREC_DB_2

    IDB_ ET200SP_1

    IDB_ ET200SP_2

    IDB_ Comfort_Panel

    FB GreenIT (FB10) : The function block combines the actual PROFIenergy blockcalls and, if desired, represents a convenient interface for the HMI via its instancedata block.

    FC PE_ET200SP_1 (2) (FC10 and FC11) : Combines the functions for therespective ET 200SP.

    Digital output module SFB WRREC : Sends the settings concerning the switchingbehavior of the I/O modules to the addressed ET 200SP. This block is not part ofthe PROFIenergy profile but supplements the SIMATIC-specific functions.

    FB PE_Start_End (FB815) : Starts and stops the pause on the selectedPROFIenergy devices and at the same time communicates the desired pause time.

    Program overview

    In this application, we show you the usage of the FB PE_START_END (FB815)and SFB WRREC blocks.

    Information on using the further PROFIenergy blocks is available in our otherPROFIenergy applications in the Industry Online Support /2/ .

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    18/48

    4 Functional Mechanisms of the Application4.2 WRREC Write Data Record functionality

    18PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    4.2 WRREC Write Data Record functionality

    This block is available in the TIA Portal V11 SP2 at Extended Instructions in theDistributed I/O folder.

    With this instruction you transfer a RECORD parameter data record to theIM156-6 PN interface module of the ET 200SP. With this data record, the switchingbehavior of the individual I/O modules during a PROFIenergy pause is defined. Inthis chapter, the structure of the RECORD parameter data record, which yourequire for PROFIenergy, is explained.

    The call parameters of the WRREC instruction, its behavior, and its STATUSmessages are available in the Online Help of the TIA Portal.

    Configuration

    The IM of the ET 200SP is configured with the user program via the parameter

    data record (Version2), Index 3. The interface module distributes thePROFIenergy parameter to the I/O modules.

    The configuration of a further pause behavior is possible immediately after thestart of the previous "Pause". Taking on the desired state for the subsequentpause is activated with a renewed "Start_Pause" command.

    The configuration can be written any numbers of time.

    The interface module checks the distribution of the parameters to the I/Omodules and returns the result via the return value of the write job. For anegative return value, there are one or several I/O modules which have notaccepted the parameter data record. In this case, for a coming "Start_Pause"command, the I/O modules behave according to their last PROFIenergyparameterization. For a positive return value, "Start_Pause" and "End_Pause"commands can be executed correctly.

    In the case of a failure of I/O module or station, the parameterization must berepeated via the parameter data record.

    The ET 200SP supports the settings of the "Pause" behavior. If a differentbehavior is required in a further "Pause", you need to reparameterize.

    The reaction (switch-off) of the I/O modules on PROFIenergy is related to theslot, i.e. all channels of the slot behave accordingly.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    19/48

    4 Functional Mechanisms of the Application4.2 WRREC Write Data Record functionality

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 19

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Parameter data record

    In the parameter data record for PROFIenergy you define, which I/O modules(slots) are controlled via the PROFIenergy commands.

    Table 4-1

    Byte Element Coding Explanation

    0 Version 02 D Cannot be modified

    1 Number of blocks 01 D to 32 D Number of assigned slots

    00 D Not assigned2 Slot

    01 D to 32 D Slot number

    3

    Block 1

    Mode 0 D : PE_MODE_PROCEED, continue at PAUSE1D : PE_MODE_SHUTDOWN, switch off at PAUSE

    1 2D : -

    3D : PE_MODE_LAST_VALUE, last output / measured value remains4D : PE_MODE_SUBST_VALUE, substitute value 0

    2

    : : : :

    64 Slot

    65

    Block 32

    Mode

    See block 1

    1 The exact behavior depends on the used I/O module (e.g. for a digital input module, theencoder supply is switched off, or for an analog output module, the outputs are without currentor voltage)

    2 An analog output module ( e.g. with the output range from 0 to 20 mA, 20 mA) or a digitaloutput module outputs value "0".

    Error messages

    The feedback data record returns you the following error messages on demand:

    Table 4-2

    Error code Meaning Remedy

    80B1 H Impermissible length Check the length of the data record

    80E0 H Error in the header information Check the header information

    80E1 H Parameter error: At least one module does not

    support PROFIenergy One parameter value was

    wrongly coded

    Check the content of the data record and removethe configuration error before starting "Pause".

    Unrepaired configuration errors may lead to wrongswitch-off behavior of the I/O modules.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    20/48

    4 Functional Mechanisms of the Application4.3 Behavior of the I/O modules

    20PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    4.3 Behavior of the I/O modules

    4.3.1 Digital input module

    Requirements

    Digital input module DI 8x24VDC ST (6ES7131-6BF00-0BA0)

    Display

    The channel LEDs are directly influenced by the signal level at the terminal.

    Switching off the encoder supply also causes the switch-off of the channel LEDs ifno external encoder supply has been connected.

    Behavior when detecting errors

    The "missing supply voltage L+" error is independent of taking on the pause stateand is reported during "Pause".

    All channels located on "PE_MODE_PROCEED" in pause mode report their errorstate as in production mode.

    For all channels which go to another pause mode, the following conditions apply:

    Switching off the encoder supply when entering the "Pause" does not promptthe "open circuit" and "short circuit" messages.

    During the "Pause", an error detection of "open circuit" and "short circuit" is notpossible: For errors already pending prior to "Pause", the message remains. Coming and going errors are reported after the "Pause" has been

    terminated.

    Terminating a "Pause"

    The Pause is terminated in the following cases:

    "missing supply voltage L+" error occurred

    reparameterizing the I/O module with DS128.

    "End_Pause" command

    Substitute behavior

    Firmware update

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    21/48

    4 Functional Mechanisms of the Application4.3 Behavior of the I/O modules

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 21

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Reaction to PE_MODE

    Table 4-3

    PE_MODE Response

    0D : PE_MODE_PROCEED Continue at PAUSE

    1D : PE_MODE_SHUTDOWN Switch-off at "Pause" Encoder supply switched off 1 Pause substitute value: 0 B

    3D : PE_MODE_LAST_VALUE Last value at "Pause" Encoder supply switched off 1 Pause substitute value: last input value

    4D : PE_MODE_SUBST_VALUE Substitute value at "Pause" Encoder supply switched off 1 Pause substitute value: configured Pause substitute value

    1 Since there is only one encoder supply for all channels, the supply for "Pause" can only beswitched off if all channels are configured for switch-off.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    22/48

    4 Functional Mechanisms of the Application4.3 Behavior of the I/O modules

    22PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    4.3.2 Digital output modules

    Requirements

    Digital output module DQ 4x24VDC/2A ST (6ES7132-6BD20-0BA0) Digital output module DQ 8x24VDC/0,5A ST (6ES7132-6BF00-0BA0)

    Digital output module DQ 16x24VDC/0,5A ST (6ES7132-6BH00-0BA0)

    Display

    The channel LEDs are directly influenced by the output value at the terminal.

    Behavior when detecting errors

    The "missing supply voltage L+" error is independent of taking on the pause stateand is reported during "Pause".

    During the "Pause", the error detection of open circuit and short circuit is notpossible: hence, all channels report their error status as in production modeindependent of the Pause mode.

    Terminating a "Pause"

    The pause is terminated in the following cases:

    "missing supply voltage L+" error occurred

    reparameterizing the I/O module with DS128.

    "End_Pause" command

    Substitute behavior

    Firmware update

    Reaction to PE_MODE

    Table 4-4

    PE_MODE Response

    0D : PE_MODE_PROCEED Continue at PAUSE

    1D : PE_MODE_SHUTDOWN Switch-off at Pause Pause substitute value 0 B

    3D : PE_MODE_LAST_VALUE Last value at PausePause substitute value: last output value remains

    4D : PE_MODE_SUBST_VALUE Substitute value at Pause

    Pause substitute value: configured pause substitute value isoutput

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    23/48

    4 Functional Mechanisms of the Application4.3 Behavior of the I/O modules

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 23

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    4.3.3 Analog input module

    Requirements

    Analog input module AI 4xI 2-/4-wire ST (6ES7134-6GD00-0BA1) Analog output module AI 4xU/I 2-wire ST (6ES7134-6HD00-0BA1)

    Display

    The channel LEDs are not influenced by PROFIenergy.

    Behavior when detecting errors

    The "missing supply voltage L+" error is independent of taking on the pause stateand is reported during "Pause".

    All channels located on "PE_MODE_PROCEED" in pause mode report their errorstate as in production mode.

    For all channels which go to another pause mode, the following conditions apply:

    Switching off the encoder supply when entering the "Pause" does not promptthe "Open circuit" message.

    During the pause, an error detection of "open circuit", "short circuit", "aboveupper limit" and "below lower limit" is not possible: For errors already pending prior to "Pause", the message remains. Coming and going errors are reported after the "Pause" has been

    terminated.

    Terminating a "Pause"

    The Pause is terminated in the following cases:

    "missing supply voltage L+" error occurred

    reparameterizing the I/O module with DS128.

    "End_Pause" command

    substitute behavior

    Firmware update

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    24/48

    4 Functional Mechanisms of the Application4.3 Behavior of the I/O modules

    24PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Reaction to PE_MODE

    Table 4-5

    PE_MODE Response

    0D : PE_MODE_PROCEED Continue at "PAUSE"

    1D : PE_MODE_SHUTDOWN Switch-off at "Pause" Encoder supply switched off 1 Pause substitute value: 7FFF H

    3D : PE_MODE_LAST_VALUE Last value at "Pause" Encoder supply switched off 1 Pause substitute value: last input value

    4D : PE_MODE_SUBST_VALUE Substitute value at "Pause" Encoder supply switched off 1 Pause substitute value: configured pause substitute value

    1 Since there is only one encoder supply for all channels, the supply for "Pause" can only beswitched off if all channels are configured for switch-off.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    25/48

    4 Functional Mechanisms of the Application4.3 Behavior of the I/O modules

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 25

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    4.3.4 Analog output module

    Requirements

    Analog output module AQ 4xU/I ST (6ES7135-6HD00-0BA1)

    Display

    The channel LEDs are not influenced by PROFIenergy.

    Behavior when detecting errors

    The "missing supply voltage L+" error is independent of taking on the pause stateand is reported during "Pause".

    All channels located on "PE_MODE_PROCEED" in pause mode report their errorstate as in production mode.

    For all channels which go to "PE_MODE_SHUTDOWN" pause mode, the following

    conditions apply: During the "Pause", an error detection of "open circuit" and "short circuit" is not

    possible: For errors already pending prior to "Pause", the message remains. Coming and going errors are reported after the "Pause" has been

    terminated.

    For all channels which go to another pause mode, the following conditions apply:

    During the "Pause", an error detection of "open circuit" and "short circuit"continues to be possible: these errors are reported.

    A wrongly selected substitute value for a pause that does not fit the output areacan cause "above upper limit" or "below lower limit" messages. The Pausesubstitute output value is limited to the appropriate maximum or minimum limitvalue for the output area.

    Terminating a "Pause"

    The pause is terminated in the following cases:

    "missing supply voltage L+" error occurred

    reparameterizing the I/O module with DS128.

    "End_Pause" command

    substitute behavior

    Firmware update

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    26/48

    4 Functional Mechanisms of the Application4.3 Behavior of the I/O modules

    26PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Reaction to PE_MODE

    Table 4-6

    PE_MODE Response

    0D : PE_MODE_PROCEED Continue at "PAUSE"

    1D : PE_MODE_SHUTDOWN Switch-off at "Pause" No electrical current or voltage at the outputs

    3D : PE_MODE_LAST_VALUE Last value at "Pause"Pause substitute value: last output value remains

    4D : PE_MODE_SUBST_VALUE Substitute value at "Pause" Pause substitute value: configured pause substitute value is

    output

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    27/48

    4 Functional Mechanisms of the Application4.4 FB PE_START_END (FB815) functionality

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 27

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    4.4 FB PE_START_END (FB815) functionality

    FB PE_START_END (FB815) is used to start and stop the pause for the specified

    PROFINET IO device, here ET 200SP. The PAUSE_TIME parameter provides theplanned pause time for checking.

    The following applies: PAUSE_TIME >= PM-E_Pause_Min

    The minimum pause time PM-E_Pause_Min in which the PROFIenergycomponent still participates is stored in a parameter set of the module firmware.The purpose of this minimum pause time is to ensure that the module can beswitched OFF and back ON within the pause time. For an ET 200SP, this time is10 seconds. This means that the ET 200SP participates in pauses which last atleast 10 seconds.

    After the pause time has elapsed, the module is not switched back on automaticallyand remains in the OFF state until the END command. This prevents the modulefrom being switched back on in an uncoordinated manner, which may eventuallyresult in unwanted load peaks.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    28/48

    4 Functional Mechanisms of the Application4.4 FB PE_START_END (FB815) functionality

    28PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    4.4.1 Parameter for the FB PE_START_END (FB815) block

    Figure 4-2

    Input parameters

    Table 4-7

    Parameter Data type Initial value Description

    EN BOOL 0 Enable input

    START BOOL 0 Send START PAUSE to PROFINET IOdevice with address ID

    END BOOL 0 Send END PAUSE to PROFINET IOdevice with address ID

    ID DWORD 8181/8176 Address of the PROFINET IO device

    PAUSE_TIME

    TIME T#10000MS

    Bereich:T#1MSbisT#24D20H31M23S647MS

    Planned pause time.The ET 200SP checks whether theplanned pause time is greater than orequal to the minimum pause time storedon the ET 200SP. This time is invariablyset to 10s. When a shorter pause isstarted, the modules remain switched on.

    Output parameters

    Table 4-8

    Parameter Data type Initial value Description

    VALID BOOL 0 Command issued successfully

    BUSY BOOL 0 Command processing still active

    ERROR BOOL 0 An error has occurred during processing

    STATUS DWORD 0 Block status/error number

    PE_MODE _ID

    BYTE 0 Energy saving level during the PAUSE

    ENO BOOL 0 Enable output

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    29/48

    4 Functional Mechanisms of the Application4.4 FB PE_START_END (FB815) functionality

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 29

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Error code

    The STATUS output parameter contains error information. When it is interpreted asan ARRAY[1...4] OF BYTE, the error information is structured as follows:Table 4-9

    Arrayelement

    Name Description

    STATUS[1] Function_Num B#16#00: No errorB#16#DE: Error when reading the data recordB#16#DF: Error when writing the data recordB#16#C0: PE FB or SFB 52/53 have detected errors

    STATUS[2] Error_Decode Location of error ID

    80 : DPV1- Error according to IEC 61158-6 or FB-specific

    FE :DP/PNIO profile

    - PROFIenergy-specific errorSTATUS[3] Error_Code_1 (B#16#...) / (B#16#...): DPV1

    Error_Decode 80:- 80: At the same time a rising edge at the

    START and END input parameters- 81: Length conflict for theCMD_PARAM and CMD_PARAM_LEN parameters82-8F: Other error messages

    Error_Decode FE:- 01: Invalid Service Request ID- 02: Wrong Request_Reference- 03: Invalid Modifier- 04: Invalid Data Structure Identifier RQ- 05: Invalid Data Structure Identifier RS- 06: PE energy-saving modes are not

    supported- 07: Response is too long. The current

    response exceeds the max.transmittable length

    - 08: Invalid Count- 50: No suitable energy mode is

    available- 51: Specified time value is not supported- 52: Invalid PE_Mode_ID- 53: Change to PE energy-saving mode notpossible since device in operation- 54: Function not possible at present. Deviceconfigured wrong or wrong setup.- 55 to FF: Reserved:

    STATUS[4] Error_Code_2 Manufacturer-specific error ID extension

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    30/48

    5 Configuration and Settings5.1 Configuration of the ET 200SP

    30PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    5 Configuration and SettingsThe following chapters describe the decisive steps of the hardware configuration.You can adapt and change the delivered example program according to your

    needs and your hardware equipment. If you want to integrate the PROFIenergyblocks into existing software, you can rename them.

    Unzip the 58235225_PROFIenergy_ET200SP_Code_V??.zip file associated withthis application to a directory of your choice and open the project in the Projectview.

    This application continues writing the previous application PROFIenergy with aComfort Panel . However, the PE function of the ET 200SP does not require anypanel.

    5.1 Configuration of the ET 200SP

    Figure 5-1

    If you wish to change the configuration or create it yourself, the modules areavailable in the hardware catalog. Depending on the version of the TIA Portals, youhave to install a hardware support package (HSP) beforehand. The diagnosticaddress of ET 200SP is required for configuring the program. It is located in theproperties of the interface module.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    31/48

    5 Configuration and Settings5.2 Setting of the PROFIenergy program

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 31

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    5.2 Setting of the PROFIenergy program

    Overview

    Figure 5-2

    Table 5-1

    Block Content

    Main [OB1] Calling the GreenIT [FB10] block.

    Complete Restart [OB100] Some presettings.

    GreenIT [FB10] Program for the Comfort Panel.Calling the blocks for both ET 200SP.

    PE_ET200SP_1 [FC10] Function calls for ET200SP_1.

    PE_ET200SP_2 [FC11] Function calls for ET200SP_2.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    32/48

    5 Configuration and Settings5.2 Setting of the PROFIenergy program

    32PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    PE_ET200SP_1 [FC10]

    Figure 5-3

    Relevant for the PROFIenergy function are the calls in networks 2 (WRREC) andNW5 (PE_START_END). For simple handling in networks 3, 6 and 7 the commandbits are automatically reset. In networks 4 and 8, the STATUS value is saved in amemory bit double-word in the case of an error (ERROR = 1). In network 9Commissioning & Test, some only briefly pending status bits are saved and thedigital outputs are set.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    33/48

    5 Configuration and Settings5.2 Setting of the PROFIenergy program

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 33

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    WRREC Write Data Record

    With this call, a parameter data record is sent to the IM156 interface module of theET 200SP.

    Figure 5-4

    Table 5-2

    Parameter Function

    REQ Request = Start command for the transmission. Set via the panel or thewatch table directly in the IDB of the WRREC function.ET200SP_1 = WRREC_DB_1 [DB 52]ET200SP_2 = WRREC_DB_2 [DB 53]

    ID Diagnostic address of the ET 200SP (8181 D = 1FF5 H, 8176 D = 1FF0 H)

    INDEX For the PROFIenergy data record for transmitting the PE_MODE's = 3

    LEN Length of the transmitted RECORD data record. Depends on the number ofSLOTs to be parameterized. 2 bytes header data + 2 byte per slot.

    RECORD Address of the data record.ET200SP_1 = ET200SP_PE_PARAM_1 [DB 54]ET200SP_2 = ET200SP_PE_PARAM_2 [DB 55]

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    34/48

    5 Configuration and Settings5.2 Setting of the PROFIenergy program

    34PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    RECORD parameter data record

    For the setup and meaning of the individual parameters, see also Chapter 4.1"WRREC" Write Data Record functionalityFigure 5-5

    Table 5-3

    Parameter Meaning

    Version For PROFIenergy data record = 2

    Number_of_blocks Number of modules.ET200SP_1 = 4,ET200SP_2 = 2

    B?_Slot Slot number of the module to be configuredET200SP_1 = 1-4ET200SP_2 = 1&2

    B?_Mode PE_Mode for this module,Presetting = 0 (PE_MODE_PROCEED = do not switch off)

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    35/48

    5 Configuration and Settings5.2 Setting of the PROFIenergy program

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 35

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    PE_START_END

    With this call, the PAUSE_START or PAUSE_END command is sent to the IM156interface module of the ET 200SP.Figure 5-6

    Table 5-4

    Parameter Meaning

    START / END Start commands for the transmission. Is set via the panel or the watchtable directly in the IDB of the PE_START_END function.ET200SP_1 = IDB_START_END_ET200SP_1 [DB 2]

    ET200SP_2 = IDB_START_END_ET200SP_2 [DB 3]ID Diagnostic address of the ET 200SP (8181 D = 1FF5 H, 8176 D = 1FF0 H)

    PAUSE_TIME For values smaller than 10 seconds, the modules do not switch off.Entered for both ET 200SP in the PROFIENERGY screen or theCOMFORTPANEL watch table. Preassignment with 12 seconds in theOB100.

    PE_MODE_ID Return value of the IM156 interface module.1 = pause,0 = no pause.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    36/48

    6 Installation6.1 Test setup installation

    36PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    6 Installation

    6.1 Test setup installation

    The figure below shows the hardware setup of the application.

    Figure 6-1

    PS CPU Comfort Panel

    PROFINET

    24VDC

    ET200SP_1 ET200SP_2

    Note The setup guidelines /6/ for SIMATIC S7 and ET200SP must be followed.

    An MMC memory card is required for the S7 CPU.

    CAUTION For multi-range power supplies you must pay attention to the correctsetting of the selector switch for the input voltage.

    Sensors and actuators can be connected to the I/O modules; additionally they canbe connected to the respective inputs and outputs to serve as feedback. A powersupply for the connected sensors and actuators has to be wired from thecorresponding I/O module.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    37/48

    6 Installation6.2 Software installation

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 37

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    6.2 Software installation

    The configuration of the application requires STEP 7 V11 SP2. Install themaccording to the delivered installation instructions. Additional software packages orspecial settings for PROFIenergy are not required.Optional usage of a panel requires WinCC Comfort V11 SP2 (or higher) as well.

    All PROFIenergy blocks are available in STEP 7 V11 SP2 (TIA Portal). All blockscan be copied to a user-specific project and, if desired, be renamed. You can useall PROFIenergy blocks without a license.

    6.3 Installing the application software

    Download the application project from our Industry Online Support. You find thelink to the site at the beginning of this document. Copy the project (zip-format) to

    the configuration computer (SIMATIC Field PG) and unzip it into a directory of yourchoice. Open it in the TIA Portal via the Open existing project menu using theSearch command and then Open.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    38/48

    7 Starting up the Application7.1 Preparation

    38PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    7 Starting up the Application

    7.1 Preparation

    Table 7-1

    No. Action Remarks

    1 Make sure that the hardware configuration and HW Configmatch.

    2 Check the power supply setting. Switch on the plant. Comply with all necessaryregulations and safetyrequirements.

    3 If necessary, download the latest firmware for the CPU andthe panel from our Industry Online Support and update themodules.

    Follow the respective manuals andenclosed instructions.

    4 Connect the SIMATIC Field PG to the plant.

    7.2 Commissioning

    Table 7-2

    No. Action Remarks

    1 Assign the device names to the ET 200SP:ET200SP_1 and ET200SP_2

    Use the Assign device namefunction. Right-click the station.

    2 Download the application program to the CPU.

    3 If you have a Panel and WinCC Comfort, download the

    panel now.Note the "PROFIenergy with aComfort-Panel" application!

    4 When not using a panel, you can start WinCC Runtimedirectly.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    39/48

    8 Operation of the Application8.1 Overview

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 39

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    8 Operation of the Application

    8.1 Overview

    There are 3 options to operate the plant:

    HMI panel

    HMI Runtime (equivalent to the panel)

    Watch table in STEP 7 (TIA Portal)

    There are no functional differences; exclusively the way how control bits are setdiffers. In a real application, a time- or event-controlled program would set therespective control bits.

    Please remember:If we talk in the following about switching off the PROFIenergy-module or about the"Discharging" etc. this does not mean the drives of the plant, but via the DI/DO, thesensors and actuators, so actually the limit switches, monitors for belt-misalignment and secondary drives in neutral. As mentioned already the veryfunctions (belt drive) have to be switched off regularly before.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    40/48

    8 Operation of the Application8.1 Overview

    40PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    8.1.1 Operation with HMI

    Navigation and operation of the panel is described in the documentation

    "PROFIenergy with a Comfort-Panel" . For this application you go to thePROFIenergy screen (via PROFIenergy example).

    Figure 8-1

    The Pause Start and Pause End buttons influence the panel and bothET 200SP. The setpoint value of the Pause Duration. After a restart, the colorRED of the Parameter ET200SP button indicates, that the parameters have notyet been transferred. This button or the ET 200SP navigation both take you to thescreen for configuring the ET 200SP.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    41/48

    8 Operation of the Application8.1 Overview

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 41

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Figure 8-2

    Table 8-1

    Step Command Comment

    1. Select a PE_MODE for each module viathe selection menus

    Via the selection menus, the RECORDparameter record is directly written to (DB54

    or DB55).2. The Set PE_MODE button is colored red To remind you, that you still need to write the

    data record: as soon as you select one of theselection menus or after a restart.

    3. Send this configuration to both ET 200SPswith the Set PE_MODE button.

    The Set PE_MODE button sets the REQinput bits at both WRREC functions.

    4. The PE START button starts the pausefor both ET 200SPs (without Panel).

    5. The PE ENDE button terminates thepause for both ET 200SPs (without Panel).

    An automatic pause end must be configuredaccordingly in the user program, see GreenIT[FB10].

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    42/48

    8 Operation of the Application8.1 Overview

    42PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    8.1.2 Operation via the watch table

    Three watch tables are prepared in the project:

    Watch_Table_ComfortPanel

    Related explanations are available in the documentation on the "PROFIenergy witha Comfort-Panel" application

    Watch_Table_ET200SP_1

    All necessary parameters for operating the first ET 200SP with 4 modules.

    Setup and operation is described in this chapter

    Watch_Table_ET200SP_2 All necessary parameters for operating the second ET 200SP with 2 modules.

    Setup and operation analog to the first station.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    43/48

    8 Operation of the Application8.1 Overview

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 43

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Figure 8-3

    PE_MODE

    WRREC REQ

    PE_START

    PE_ENDE

    Table 8-2

    Step Command Comment

    1. First, adjust the PE_MODE (0,1,3,4) foreach module.

    2. Set the start command for thetransmission of the RECORD parameterdata record to the ET 200SP:WRREC.REQ = 1

    Ensure, that the STATUS of the blockdoes not indicate any errors(STATUS_WRREC_bkp = 0).

    3. WRREC.REQ = 0 If the command is terminated withouterror, REQ is automatically reset bythe user program.

    4. Now you can start the PROFIenergypause.PE_START =1

    For this block, please also ensure theexecution without errorsSTATUS_PE_START_END_bkp = 0.

    5. Check the reaction of the digital inputsand outputs! Please note, that the LEDs at themodules and the status of the processimage are not identical! Also comparethe specification of the modules inChapter 4.2 Behavior of the I/Omodules .

    6. Exit the pause.PE_ENDE = 1

    7. Reset possible error states toSTATUS_bkp.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    44/48

    8 Operation of the Application8.2 Scenarios

    44PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    8.2 Scenarios

    For a selective switching on or off, start the pause with an adjusted parameter datarecord. Only if all (remaining) module shall terminate the pause, please use thePAUSE_ENDE command.

    Switching off several components of the plant scenario

    Table 8-3

    No. Action Remarks

    1 Select a pause interval of at least 10 seconds for bothET200SPs. Use the PROFIenergy screen, for example, orthe ComfortPanel watch table.

    The ET200SP accept a minimumpause time of 10 seconds (10.000ms). Otherwise the modulesremain switched on.

    2 Set PE_MODE SHUTDOWN for several modules All of these modules shall

    participate in the pause.3 Send the RECORD parameter record to both ET 200SP

    (WRREC REQ)The parameters are sent to theET 200SP.

    4 Start the pause

    5 PE_MODE_ID becomes 1 It is pause!The outputs of the respectiveIO modules are switched off, theLEDs go off.

    6 Exit the pause or continue with the next scenario.

    7 PE_MODE_ID becomes 0 The outputs are enabled again.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    45/48

    8 Operation of the Application8.2 Scenarios

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 45

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Selective switch-off scenario

    Table 8-4

    No. Action Remarks

    1 Select a pause interval of at least 10 seconds for bothET200SPs. Use the PROFIenergy screen, for example, orthe ComfortPanel watch table.

    The ET200SP accept a minimumpause time of 10 seconds (10.000ms). Otherwise the modulesremain switched on.

    2 Set PE_MODE SHUTDOWN for a DA module,PROCEED for the other modules

    Only one module shall participatein the pause.

    3 Send the RECORD parameter record to both ET 200SP(WRREC REQ)

    The parameters are sent to theET 200SP.

    4 Start the pause

    5 PE_MODE_ID becomes 1 It is pause!

    Only the outputs of the DA moduleare switched off, all otherscontinue working

    6 Set PE_MODE SHUTDOWN for another DA module One further module shallparticipate in the pause.

    7 Send the RECORD parameter record to both ET 200SP(WRREC REQ)

    The parameters are sent to theET 200SP.

    8 Start the pause

    9 PE_MODE_ID remains 1 The further module goes to pause

    10 Repeat steps 6 to 8 until all required modules are in pause.

    11 Exit pause or continue with the Selective switch-onscenario

    12 PE_MODE_ID becomes 0 All modules are enabled again.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    46/48

    8 Operation of the Application8.2 Scenarios

    46PROFIenergy mit ET 200SP

    1.0, Entry ID: 58235225

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    Selective switch-on scenario

    Table 8-5

    No. Action Remarks

    1 Switch off some modules according to one of both scenariosabove

    2 Set PE_MODE SHUTDOWN back to PROCEED for aswitched-off DA module

    One module shall terminate thepause.

    3 Send the RECORD parameter record to both ET 200SP(WRREC REQ)

    The parameters are sent to theET 200SP.

    4 Start the pause

    5 PE_MODE_ID remains 1 It is still pause!Only the outputs of the DA moduleare switched back on, all othersremain in pause

    6 Set PE_MODE PROCEED for another DA module A further module shall continueworking.

    7 Send the RECORD parameter record to both ET 200SP(WRREC REQ)

    The parameters are sent to theET 200SP.

    8 Start the pause

    9 PE_MODE_ID remains 1 A further module is working again.

    10 Repeat steps 6 to 8 until all required modules are workingagain.

    11 Exit the pause Even if all modules are alreadyworking.

    12 PE_MODE_ID becomes 0 All modules are enabled again.

  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    47/48

    9 Links & Literature

    PROFIenergy mit ET 200SP1.0, Entry ID: 58235225 47

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    9 Links & Literature

    9.1 Literature

    The following list is by no means complete and only provides a selection ofappropriate information.Table 9-1

    Topic Title

    /1/ STEP 7SIMATIC S7-300

    Automating with SIMATIC S7-300 inside TIA Portal Author: Hans Berger / Publicis MCD VerlagISBN: 978-3-89578-357-9

    /2/ STEP 7SIMATIC S7-400

    Automating with SIMATIC S7-400 inside TIA Portal Author: Hans Berger / Publicis MCD VerlagISBN: 978-3-89578-372-2

    /3/ PROFIenergy profile Common Application Profile PROFIenergy; TechnicalSpecification for PROFINET; Version 1.0;January 2010; Order No: 3.802

    9.2 Internet Links

    The following list is by no means complete and only provides a selection ofappropriate sources.Table 9-2

    Topic Title

    \1\ Link to this document http://support.automation.siemens.com/WW/view/en/58235225

    \2\ Reference to otherPROFIenergy applications

    http://support.automation.siemens.com/WW/view/en/41986454 http://support.automation.siemens.com/WW/view/en/58386840

    \3\ Siemens Industry Mall http://www.automation.siemens.com/

    \4\ Siemens Industry OnlineSupport

    http://support.automation.siemens.com

    \5\ Manuals: S7-300 CPUs http://support.automation.siemens.com/WW/view/en/10805161/133300

    \6\ Installation instructionsS7-300 http://support.automation.siemens.com/WW/view/en/13008499

    \7\ Comfort Panels Manuals http://support.automation.siemens.com/WW/view/en/47182890/133300

    \8\ TIA PortalSTEP 7 manuals http://support.automation.siemens.com/WW/view/en/29156492/133300

    \9\ TIA Portal WinCC manuals http://support.automation.siemens.com/WW/view/en/29157705/133300

    \10\ Manuals ET 200SP http://support.automation.siemens.com/WW/view/en/55679227/133300

    \11\ Support Packages V11 http://support.automation.siemens.com/WW/view/en/54164095

    \12\ Energy efficient production http://www.industry.siemens.com/topics/global/en/energy-efficient-production/Pages/Default.aspx

    http://support.automation.siemens.com/WW/view/en/58235225http://support.automation.siemens.com/WW/view/en/58235225http://support.automation.siemens.com/WW/view/en/41986454http://support.automation.siemens.com/WW/view/en/41986454http://support.automation.siemens.com/WW/view/en/58386840http://support.automation.siemens.com/WW/view/en/58386840http://www.automation.siemens.com/globalswitch/entrypoints/ActionHandler.aspx?externalKey=10045207&lang=de&region=WW&NodeKey=key_9177773&infoTypeID=44&infoTypeKey=*&sysKey=goos&callerReg=WW&callerLang=de&callerView=intranet&callersys=cms&sys=goos&callerid=key_9177773&netmode=intranethttp://www.automation.siemens.com/globalswitch/entrypoints/ActionHandler.aspx?externalKey=10045207&lang=de&region=WW&NodeKey=key_9177773&infoTypeID=44&infoTypeKey=*&sysKey=goos&callerReg=WW&callerLang=de&callerView=intranet&callersys=cms&sys=goos&callerid=key_9177773&netmode=intranethttp://support.automation.siemens.com/http://support.automation.siemens.com/http://support.automation.siemens.com/WW/view/en/10805161/133300http://support.automation.siemens.com/WW/view/en/10805161/133300http://support.automation.siemens.com/WW/view/en/13008499http://support.automation.siemens.com/WW/view/en/13008499http://support.automation.siemens.com/WW/view/en/47182890/133300http://support.automation.siemens.com/WW/view/en/47182890/133300http://support.automation.siemens.com/WW/view/en/29156492/133300http://support.automation.siemens.com/WW/view/en/29156492/133300http://support.automation.siemens.com/WW/view/en/29157705/133300http://support.automation.siemens.com/WW/view/en/29157705/133300http://support.automation.siemens.com/WW/view/en/55679227/133300http://support.automation.siemens.com/WW/view/en/55679227/133300http://support.automation.siemens.com/WW/view/en/54164095http://support.automation.siemens.com/WW/view/en/54164095http://www.industry.siemens.com/topics/global/en/energy-efficient-production/Pages/Default.aspxhttp://www.industry.siemens.com/topics/global/en/energy-efficient-production/Pages/Default.aspxhttp://www.industry.siemens.com/topics/global/en/energy-efficient-production/Pages/Default.aspxhttp://www.industry.siemens.com/topics/global/en/energy-efficient-production/Pages/Default.aspxhttp://www.industry.siemens.com/topics/global/en/energy-efficient-production/Pages/Default.aspxhttp://support.automation.siemens.com/WW/view/en/54164095http://support.automation.siemens.com/WW/view/en/55679227/133300http://support.automation.siemens.com/WW/view/en/29157705/133300http://support.automation.siemens.com/WW/view/en/29156492/133300http://support.automation.siemens.com/WW/view/en/47182890/133300http://support.automation.siemens.com/WW/view/en/13008499http://support.automation.siemens.com/WW/view/en/10805161/133300http://support.automation.siemens.com/http://www.automation.siemens.com/globalswitch/entrypoints/ActionHandler.aspx?externalKey=10045207&lang=de&region=WW&NodeKey=key_9177773&infoTypeID=44&infoTypeKey=*&sysKey=goos&callerReg=WW&callerLang=de&callerView=intranet&callersys=cms&sys=goos&callerid=key_9177773&netmode=intranethttp://support.automation.siemens.com/WW/view/en/58386840http://support.automation.siemens.com/WW/view/en/41986454http://support.automation.siemens.com/WW/view/en/58235225
  • 8/11/2019 58235225 Profienergy Et200sp Docu v10 En

    48/48

    10 History

    C o p y r i g

    h t

    S i e m e n s

    A G 2 0 1 2 A l l r i g

    h t s r e s e r v e d

    10 HistoryTable 10-1

    Version Date RevisionsV1.0 09/2012 First issue