0% found this document useful (0 votes)
38 views13 pages

Calculator en

Uploaded by

dema
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views13 pages

Calculator en

Uploaded by

dema
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Application Example  02/2015

Calculator for
SIMATIC HMI Panels
WinCC V13 SP1

http://support.automation.siemens.com/WW/view/en/106226404
Warranty and Liability

Warranty and Liability


Note The Application Examples are not binding and do not claim to be complete with
regard to configuration, equipment or any contingencies. The Application
Examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are responsible for the correct
operation of the described products. These Application Examples do not relieve
you of the responsibility of safely and professionally using, installing, operating
and servicing equipment. 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 and without prior notice. If there are any
deviations between the recommendations provided in this Application Example
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 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

(“wesentliche Vertragspflichten”). The compensation for damages due to a breach


of a fundamental contractual obligation is, however, limited to the foreseeable
damage, typical for the type of contract, except in the event of intent or gross
negligence or injury to life, body or health. The above provisions do not imply a
change of the burden of proof to your detriment.
Any form of duplication or distribution of these Application Examples or excerpts
hereof is prohibited without the expressed consent of Siemens AG.

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.

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 2
Table of Contents

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

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 3
1 Task

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

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 4
2 Solution
2.1 Overview

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

2.2 Hardware and software components


2.2.1 Validity

This application is valid for


• WinCC (TIA Portal) V13 SP1 or higher
• All operator panels that support the faceplates:
– OP277, TP277
– Multi Panels (apart from MP177)
– Comfort Panels
– Mobile Panels (apart from Mobile Panel 177)

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 5
2 Solution
2.2 Hardware and software components

2.2.2 Components used

The application was created with WinCC Comfort V13 SP1. A TP900 Comfort
Panel was used as operator panel.

Example files and projects


The following list includes all files and projects that are used in this example.

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

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 6
3 Basics
3.1 Libraries

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.

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 7
4 Configuration
4.1 Opening the library

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.

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 8
4 Configuration
4.2 Integrating calculator into your configuration

4.2 Integrating calculator into your configuration


Table 4-2
No. Action
1. Add a new screen to your configuration.
2. Open the “Copy templates” folder of the “Calculator” library.
Drag the “TagTable_Calculator” tag table via drag & drop into the “HMI tags”
folder.

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

The faceplate is automatically created as type in your project library.

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 9
4 Configuration
4.2 Integrating calculator into your configuration

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

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 10
5 Operating the Application

5 Operating the Application


Table 5-1
No. Action
1. Open the example project “106226404_ExampleProject” that you have
downloaded on the download page of this entry
(http://support.automation.siemens.com/WW/view/en/106226404).
2. Download the “HMI_1” configuration to your operator panel.
3. Click the “Application example” button
 Siemens AG 2015 All rights reserved

4. Click the “Open/Close” button in the “Calculator” area.

Alternatively: Click in the bottom area of the operator panel, in order to open the
bottom slide-in window. Click the calculator icon.

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 11
5 Operating the Application

No. Action
5. The calculator opens as pop-up window and you can operate it the usual way.
 Siemens AG 2015 All rights reserved

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 12
6 References

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

Taschenrechner HMI Panels


Entry ID: 106226404, V1.0, 02/2015 13

You might also like