SIMATIC Energy Suite V14 SP1 Visualization Example
SIMATIC Energy Suite V14 SP1 Visualization Example
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. These Application Examples do not
relieve you of the responsibility to use safe practices in application, installation,
operation and maintenance. When using these Application Examples, you
recognize that we cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
Application Examples at any time without prior notice.
If there are any deviations between the recommendations provided in these
Application Examples and other Siemens publications – e.g. Catalogs – the
contents of the other documents have 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 of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
not 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 a
Siemens AG 2017 All rights reserved
Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, systems, machines and networks.
tion In order to protect plants, systems, machines and networks against cyber
threats, it is necessary to implement – and continuously maintain – a holistic,
state-of-the-art industrial security concept. Siemens’ products and solutions only
form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems,
machines and networks. Systems, machines and components should only be
connected to the enterprise network or the internet if and to the extent necessary
and with appropriate security measures (e.g. use of firewalls and network
segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be
taken into account. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them
more secure. Siemens strongly recommends to apply product updates as soon
as available and to always use the latest product versions. Use of product
versions that are no longer supported, and failure to apply latest updates may
increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial
Security RSS Feed under http://www.siemens.com/industrialsecurity.
Table of Contents
Warranty and Liability ................................................................................................. 2
1 Task ..................................................................................................................... 4
2 Solution............................................................................................................... 5
2.1 Overview............................................................................................... 5
2.2 Hardware and software components ................................................... 6
2.2.1 Validity .................................................................................................. 6
2.2.2 Components used ................................................................................ 6
3 Configuration and Settings............................................................................... 8
3.1 Prerequisite .......................................................................................... 8
3.2 Creating an Energy Suite V14 SP1 visualization ................................. 9
3.2.1 Creating a visualization on Comfort Panels and WinCC Runtime
Advanced ............................................................................................. 9
3.2.2 Creating a visualization in WinCC Runtime Professional .................. 16
3.3 Adjusting the Energy Suite V14 visualization ..................................... 21
3.3.1 Adjusting the visualization on Comfort Panels and WinCC
Runtime Advanced ............................................................................. 21
3.3.2 Adjusting the visualization of WinCC Runtime Professional .............. 23
4 Operating the Application Example ............................................................... 25
4.1 Comfort Panels and WinCC Runtime Advanced................................ 25
Siemens AG 2017 All rights reserved
1 Task
Introduction
In many companies the energy costs represent a great share of the total costs.
When the internal energy flows cannot be acquired, only the total energy
consumption and the total costs are known. In this case the plant is like a black
box.
Due to the following developments, the energy management is becoming an
increasingly central topic in production:
Increasing energy costs
Increasing significance of environmentally-friendly production processes
Legal measures
With the SIMATIC Energy Suite you can acquire and archive the energy
consumption of your production plant. You can display the energy data on an HMI
operator panel to give you an additional overview of the current energy
consumption.
CPU
S7-1500
PROFINET IE
Production plant
2 Solution
2.1 Overview
Schematic layout
The figure below shows a schematic illustration of the main components of this
solution.
Figure 2-1
CPU S7-1500
Comfort Panel
Scalance
PROFINET IE
COM800
Runtime Advanced
Siemens AG 2017 All rights reserved
3VA line
Runtime Professional
3VA PAC4200
Advantages
The solution presented here offers the following advantages:
Reducing the engineering effort
Uniform visualization layout
Time and costs savings
Visualizing the SIMATIC Energy Suite energy data
User-defined adjustment of the visualization
Assumed knowledge
Basic knowledge of:
the interaction of controller and HMI.
the configuration of a controller as well as an HMI.
the configuration of SIMATIC Energy Suite
The application example has been created with the following components.
Siemens AG 2017 All rights reserved
Hardware components
Table 2-1
Component Qty. Article number Note
CPU 1513-1 V2.0 1 6ES7513-1AL01-0AB0 Firmware V2.0 required.
Alternatively, any other
CPU from the S7-1500
product family that has
firmware V2.0 (apart from
S7-1500S) can be used.
SIMATIC Memory Card 1 6ES7954-8FL02-0AA0 Alternatively, you can also
(24MB) use SIMATIC memory
cards with other storage
sizes
TP1200 Comfort Panel 1 6AV2124-0MC01-0AX0 Alternatively, any other
Comfort Panel can also be
used.
3VA2 molded-case circuit 1 3VA2225-5KQ32-0AA0 Molded-case circuit breaker
breaker are only supported with
ETU 8 series
COM800 data 3VA9987-0TA10 Alternatively, a COM100
concentrator can also be used.
SENTRON PAC4200 7KM4211-.BA00-.AA0 Switched Ethernet
PROFINET expansion
module required
Software components
Table 2-2
Component Qty. Article number Note
SIMATIC STEP 7 1 6ES7822-1A.04-0YA5 -
Professional V14 SP1
Update 2
WinCC Professional 1 6AV2103-0XA04-0A.5 -
V14 SP1
Update 2
WinCC Runtime 1 6AV2104-0.A04-0A.0 -
Advanced V14 SP1
Update 2
WinCC Runtime 1 6AV2105-0.A04-0A.0 -
Professional V14 SP1
Update 2
SIMATIC Energy Suite 1 6AV2108-0AA04-0A.5 -
V14 SP1
Update 2
Siemens AG 2017 All rights reserved
Note You can generate basic energy data from a tag as well as from the connected
measurement hardware.
In the example project, this has been implemented for WinCC Runtime Advanced
by means of a tag from a global data block.
Every second a random value changes the value of the tags within predefined
limits. All STEP 7 blocks that are required for the energy value simulation can be
found in the controller in “Program blocks” in the folder “Simulation”.
Download the configuration to the “PLCSim Advanced”. In Wincc Runtime
Advanced, you can then test the Energy Suite visualization without measurement
hardware and restriction.
Example project advanced energy data
Note You can generate advanced energy data with the Energy Suite V14 only from a
connected measurement hardware.
In the example project, this has been realized for the Comfort Panel and WinCC
Runtime Professional. To be able to use the visualization without restrictions, you
need real measurement hardware. A simulation is not possible.
The table below shows you the configuration steps that enable you to connect the
visualization examples from this application example with an existing energy
program.
Hinweis To visualize the extended energy data (current, voltage, frequency, ...) on your
operator panel, you must configure an acyclic communication.
For more information, please refer to the “SIMATIC Energy Suite - Getting
Started” application example in chapter 5.4.3 "Configuring acyclic
communication":
https://support.industry.siemens.com/cs/ww/en/view/109739102.
Table 3-2
No. Action
1. Download the “109739775_EnS_Visu_LIB_V14_SP1.zip” library from the entry
page of this application example and save it locally on your computer.
https://support.industry.siemens.com/cs/ww/en/view/109739775
Siemens AG 2017 All rights reserved
No. Action
4. Inserting tag table
Open the “Master copies > EnergySuite >VisuComfort/RT Advanced
>TagTable” folder in the “Global library” (1).
Drag the “EnS_Visu” tag table to the “HMI tags" of the operator panel (2).
Siemens AG 2017 All rights reserved
5. Inserting pop-up
Open the “Master copies > EnergySuite >VisuComfort/RT Advanced >Pop-
up” folder in the “Global library” (1).
Drag both, the “energyBasic_Pop-up” and “energy Adv_Pop-up” into the
“Pop-up screens” of the HMI (2).
Note
For each further energy object, you need to insert a separate pop-up screen.
Before you paste the pop-ups again, change the name of the pop-up screens (3),
otherwise the system function "ShowPopupScreen" will call the wrong pop-up
screen.
No. Action
6. Inserting faceplate
Open the screen in which you would like to place the faceplate for the energy
values.
In this application example the “Topic_001.0” screen (1).
Drag the “EnO_Faceplate” faceplate from the “Faceplate” library folder to the
desired screen (2).
Siemens AG 2017 All rights reserved
No. Action
8. Interconnecting UDTs
Select the faceplate in the screen (1).
Open the “Interface” of the faceplate (2).
Individually drag the UDTs “energyMeta” and “energyBasic” from the detail
view to the interface parameter of the faceplate with the same name, using
drag-and-drop (3).
Siemens AG 2017 All rights reserved
9. Interconnecting UDTs
In the CPU in “Energy Suite - program”, select the
“Energy_Filling_Comfort_Adv" data block (1).
Select the faceplate in the work area (2).
From the “Details view” of the data block, drag the “advData” UDT to the
“energyAdv” interface parameter.
No. Action
10. Optional: Adjusting the pop-up call
If you visualize seveal energy objects, you have to adjust the name of the
corresponding pop-up (from step 5) in the pop-up events.
Note
If you visualize several energy objects, you may have to adjust the system
function "ShowPopupScreen" for the button which shows/hides the advanced
energy data ( 4 ). The system function parameter "Name of the screen" must be
identical to the pop-up screen name "energyAdv_Pop-up"/"energyBasic_Pop-up"
of the energy object.
energyBasic_Pop-up energyAdv_Pop-up
4 4
No. Action
12. Adjusting object references
Enter “EnO_Name” in the “Find in reference” field (1).
Replace the name of the “Energy_Filling_Comfort” energy object (2).
Make sure the spelling of the energy object is identical to that in the energy
object table of the controller.
Click on “Replace all” (3).
Siemens AG 2017 All rights reserved
Close the dialog with “OK” once all 15 object references have been changed.
13. Adjusting object references
Repeat steps 10 and 11 for the “energyAdv_Pop-up” pop-up.
Note
When you have adjusted all objects successfully, you will get an information box
“Number of replaced elements: 57”.
No. Action
14. Optional: Changing the time interval of the trend display
Select the trend display (1).
Open the “time axis” entry in the properties (2).
Enter the new duration in seconds in the entry field next to “Time interval” (3).
Siemens AG 2017 All rights reserved
Note:
An adjustment of the time interval is recommended as soon as you select an
archiving period that is unequal 15 minutes.
15. Save your project.
16. Transfer the configuration to your operator panel, or start WinCC Runtime
Advanced.
The table below shows you the configuration that enables you to connect the
visualization examples with an existing energy program.
Note Make sure that you have also installed “SIMATIC Energy Suite Runtime Toolbox
V14” for WinCC Runtime Professional.
More information on the “SIMATIC Energy Suite Runtime Toolbox V14” can be found in
the application example “SIMATIC Energy Suite – Getting Started” in chapter 4.3.
https://support.industry.siemens.com/cs/ww/en/view/109739102
Table 3-3
No. Action
1. Download the “109739775_EnS_Visu_LIB_V14_SP1.zip” library from the entry
page of this application example and save it locally on your computer.
https://support.industry.siemens.com/cs/ww/en/view/109739775
2. Unzip the zip file.
3. Open the “Libraries” task card in the TIA Portal (1).
Click on “Open global library” (2).
Navigate to the unzipped “EnS_Visu” library and select it (3).
Click on “Open” to open the library in your project (4).
Siemens AG 2017 All rights reserved
No. Action
4. Inserting tag table
Open the “Master copies > EnergySuite >VisuRuntimeProf >TagTable” folder
in the “Global library” (1).
Drag the “EnS_Visu” tag table to the “HMI tags" of the operator panel (2).
Siemens AG 2017 All rights reserved
5. Inserting screens
Open the “Types” folder in the library (1).
Drag the screens below to the “Screens” of WinCC RT Professional.
– "energyAdv_Screen"
– "energyBasic_Screen"
– "energyBasicPerData_Screen"
Note
In the library in the folder “Templates > EnergySuite > VisuRuntimeProf >
Screens”, you can also find those three screens without typing.
No. Action
6. Inserting screen window
Open the screen in which you would like to place the energy values. In this
application example in “Screen_1” (1).
Drag the “EnO_ScreenWindow” screen window to the work area of the
screen (2).
Siemens AG 2017 All rights reserved
Note:
The screen window only has to be placed once in the screen, even for several
energy objects.
In Runtime, the screen window automatically adjusts itself to the size of the
screens from step 5 and the energy data is therefore displayed in the appropriate
screen.
7. Inserting faceplate
Drag the “EnO_Faceplate” faceplate to “Screen_1”.
No. Action
8. Detail view of the energy object - opening data block
Open the folder of the energy object to be visualized in the CPU in “Program
blocks > Energy Suite – program > EnS – energy objects”. In this application
example “EnO – Energy_line1_RT_Prof” (1).
Select the "Energy_line1_RT_Prof" data block (2).
The “Details view” of the data block opens in the project navigation.
Siemens AG 2017 All rights reserved
9. Interconnecting UDTs
Select the template in the work area (1).
Open the “Interface” of the faceplate in “Properties” (2).
Individually drag the UDTs “energyMeta” and “energyBasic” from the detail
view to the interface parameter of the faceplate with the same name, using
drag-and-drop (3).
No. Action
10. Interconnecting UDTs
In the CPU in “Energy Suite - program”, select the
“Energy_line1_RT_Prof_Adv" data block (1).
Select the faceplate in the work area (2).
From the “Details view” of the data block, drag the “advData” UDT to the
“energyAdv” interface parameter.
Siemens AG 2017 All rights reserved
Note:
The screen tags (from step 5) are supplemented via a script by the name entered
for the energy object in the “EnO_Name” field (tag prefix). With this step, all tags
of the screens are interconnected with the parameters of the energy program.
12. Save your project.
13. Start Runtime Professional.
Advantage
Your Energy Suite V14 configuration is available for further use
Via the advanced energy data, you can easily expand your visualization
Prerequisite
Prior to changing your visualization to Energy Suite V14 SP1, you first need to
generate your energy program with the Energy Suite V14 SP1 and configure an
acyclic communication for the extended energy data. For more information, please
refer to the “Energy Suite - Getting Started” application example in the chapter
“Generating the program code”:
https://support.industry.siemens.com/cs/ww/en/view/109739102
The following table shows you which alterations are necessary to adjust your
visualization to the latest version.
Siemens AG 2017 All rights reserved
Table 3-4
No. Action
1. Download the “109739775_EnS_Visu_LIB_V14_SP1.zip” library and unzip the
file.
Open the library in TIA Portal (see steps 1 to 3 in Table 3-2).
2. Replacing the pop-up
Open the “Master copies > EnergySuite >VisuComfort/RT Advanced >Pop-
up” folder in the “Global library” (1).
Drag both, the “energyBasic_Pop-up” and “energy Adv_Pop-up” into the
“Pop-up screens” of the HMI (2).
No. Action
3. Select the "Replace existing objects and move to this location" option (1).
Confirm the selection with “OK” (2).
5. Select the devices for which you want to update the faceplate type and confirm
the selection by clicking “OK”.
All existing faceplate instances in the project have been updated to the latest type
and the interfaces have been adopted.
Note
If your project has not been updated to TIA Portal V14 SP1 yet, a note appears
asking you to confirm the update.
6. Proceed with the further configurations as described in Table 3-2 , starting from
step 9.
The following table shows the necessary steps to update the Energy Suite V14
visualization examples to the latest version.
Table 3-5
No. Action
1. Download the “109739775_EnS_Visu_LIB_V14_SP1.zip” library and unzip the
file.
Open the library in TIA Portal (see steps 1 to 3 in Table 3-3).
2. Select the “energyBasic_Screen” screen in Runtime Professional and delete it.
Siemens AG 2017 All rights reserved
No. Action
4. Updating the faceplate instance
Open the types of the “Global libraries” (1).
Right-click the “EnO_FaceplateProf” type (2).
Select the “Update > Project" option (3).
Siemens AG 2017 All rights reserved
5. Select the devices for which you want to update the faceplate type and confirm
the selection by clicking “OK”.
All existing faceplate instances in the project have been updated to the latest type
and the interfaces have been adopted.
Note
If your project has not been updated to TIA Portal V14 SP1 yet, a note appears
asking you to confirm the update.
6. Proceed with the further configurations as described in Table 3-3 , starting from
step 10.
7 Graphic display with current power and average power of the last period
2
3
Faceplate
Figure 4-4
3 Current power
6 History
Table 6-1
Version Date Modifications
V1.0 11/2016 First version
V2.0 06/2017 Description for "Advanced energy data" added
V2.1 08/2017 Adjust to TIA Portal V14 SP1 Update 2
Step "Removing/Hiding elements for advanced energy data"
deleted