Calculator en
Calculator en
Calculator for
SIMATIC HMI Panels
WinCC V13 SP1
http://support.automation.siemens.com/WW/view/en/106226404
Warranty and Liability
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 will be excluded. Such an exclusion will 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
deficiency or breach of a condition which goes to the root of the contract
Siemens AG 2015 All rights reserved
Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, solutions, machines, equipment and/or
tion networks. They are important components in a holistic industrial security
concept. With this in mind, Siemens’ products and solutions undergo continuous
development. Siemens recommends strongly that you regularly check for
product updates.
For the secure operation of Siemens products and solutions, it is necessary to
take suitable preventive action (e.g. cell protection concept) and integrate each
component into a holistic, state-of-the-art industrial security concept. Third-party
products that may be in use should also be considered. For more information
about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a product-
specific newsletter. For more information, visit
http://support.automation.siemens.com.
Table of Contents
Warranty and Liability ................................................................................................. 2
1 Task ..................................................................................................................... 4
2 Solution............................................................................................................... 5
2.1 Overview............................................................................................... 5
2.2 Hardware and software components ................................................... 5
2.2.1 Validity .................................................................................................. 5
2.2.2 Components used ................................................................................ 6
3 Basics ................................................................................................................. 7
3.1 Libraries ................................................................................................ 7
3.2 Faceplates ............................................................................................ 7
4 Configuration ..................................................................................................... 8
4.1 Opening the library ............................................................................... 8
4.2 Integrating calculator into your configuration ....................................... 9
5 Operating the Application ............................................................................... 11
6 References ....................................................................................................... 13
7 History............................................................................................................... 13
Siemens AG 2015 All rights reserved
1 Task
Introduction
You are directly in front of a production plant and you have to make a calculation.
A calculator would be helpful for the calculation.
The aim is to reproduce a “calculator” for an HMI panel with which this calculation
is possible.
Requirements
The calculator is to include the usual standard functions such as, e.g. “+” / “-”, etc.
Siemens AG 2015 All rights reserved
2 Solution
2.1 Overview
The enclosed download file “106226404_Calculator.zip” includes a library file in
which the calculator, displayed below, is located.
You can directly test the functionality of the calculator with the example project
“106226404_ExampleProject.zip”.
How to integrate the calculator into your own project and what requirements have
to be met, is explained in the chapters below.
Figure 2-1
Siemens AG 2015 All rights reserved
The application was created with WinCC Comfort V13 SP1. A TP900 Comfort
Panel was used as operator panel.
Table 2-1
Component Note
106226404_Calculator.zip Library
106226404_ExampleProject.zip Example project
106226404_Calculator_en.pdf This document
Siemens AG 2015 All rights reserved
3 Basics
3.1 Libraries
In WinCC (TIA Portal) there is a project library and global libraries. The data of the
global libraries are by default located in the following directory:
“C:\Users\Username\MyDocuments\Automation”
You can check the storage path as follows.
• Open your WinCC (TIA Portal) configuration.
• Open the "Libraries" task card (1).
• Open the “Global libraries” tab (2).
• Click the icon to open a global library (3).
A window opens. This is where you can read the current file path (4).
Figure 3-1 4
3 2
Siemens AG 2015 All rights reserved
3.2 Faceplates
With “faceplates” the TIA Portal offers a concept for generating and managing
modules for the HMI configuration.
Faceplates are groups of display and control objects that are stored in libraries.
The faceplates are provided with configurable interfaces, with the help of which you
can exchange data with the rest of the project. This enables the easy multiple use
of faceplates within one project as well as the transfer of blocks between different
projects. An integrated version management guarantees the traceability of
changes. The library concept permits either the central change of a block for all
applications or the change of just one single instance used.
In \5\ or \6\ you can find further information on the faceplates.
4 Configuration
4.1 Opening the library
Table 4-1
No. Action
1. Download the “106226404_Calculator.zip” library and unzip the file to the project
directory of the global libraries.
2. Open your WinCC (TIA Portal) configuration.
3. Open the “Global libraries” tab in the “Libraries” task card.
4. Click on the second icon from the left to open a global library.
Siemens AG 2015 All rights reserved
5. Select the “Calculator.al13” file and open the library with the “Open” button.
3. Drag the “Calculator_9” faceplate (for smaller display sizes) or “Calculator_19” (for
larger display sizes) via drag & drop to the screen.
Siemens AG 2015 All rights reserved
No. Action
4. Open the “Properties > Interface” tab of the faceplate.
The faceplate has three parameters
• Calculation
This tag includes the result of the calculator. Thus, you can use the result of
your calculations further.
• Text_Format_Display_M
The calculator can be used for HMI panels with different display sizes. With
these parameters you can adjust the font size of the top row of the display
(1).
• Text_Format_Display
With these parameters you can adjust the font size of the bottom row of the
display (2).
2
Siemens AG 2015 All rights reserved
Alternatively: Click in the bottom area of the operator panel, in order to open the
bottom slide-in window. Click the calculator icon.
No. Action
5. The calculator opens as pop-up window and you can operate it the usual way.
Siemens AG 2015 All rights reserved
6 References
Table 6-1
Topic Title
\1\ Siemens Industry http://support.automation.siemens.com
Online Support
\2\ Download page of the http://support.automation.siemens.com/WW/view/en/106226404
entry
\3\ Manual WinCC http://support.automation.siemens.com/WW/view/en/109091876
Advanced V13.0 SP1
\4\ What are the http://support.automation.siemens.com/WW/view/en/40227286
functional differences
between the different
SIMATIC panels?
\5\ Configuration http://support.automation.siemens.com/WW/view/en/68014632
instructions for
creating faceplates for
WinCC Runtime
Advanced and
Comfort Panels
\6\ TIA Portal: Time http://support.automation.siemens.com/WW/view/en/78380998
Savers - HMI
faceplates
Siemens AG 2015 All rights reserved
7 History
Table 7-1
Version Date Modifications
V1.0 02/2015 First version