Calendar en
Calendar en
Calendar en
Calendar 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
4 Configuration ..................................................................................................... 8
4.1 Opening the library ............................................................................... 8
4.2 Integrating calendar into your configuration ......................................... 9
5 Operating the Application ............................................................................... 10
6 References ....................................................................................................... 12
7 History............................................................................................................... 12
Siemens AG 2015 All rights reserved
1 Task
Introduction
In order to coordinate the production and to allocate employees you need a
calendar. For this purpose, you do not wish to use the calendar provided in the
control panel (date/time properties). The calendar is to be accessed directly via a
page on the HMI panel.
Requirements
The calendar is to be output in the form of a “monthly overview” which outputs the
individual days incl. the current weekday and the calendar week. Furthermore, the
dates of the following month are also to be shown.
Siemens AG 2015 All rights reserved
2 Solution
2.1 Overview
The enclosed download file includes a library file in which the calendar, displayed
below, is located.
You can directly test the functionality of the calendar with the example project
“106226404_ExampleProject.zip”.
How to integrate the calculator into your 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 (TIA Portal) V13 SP1. A TP900 Comfort
Panel was used as operator panel.
Table 2-1
Component Note
106226404_Calendar.zip Library
106226404_Calendar_v10_e.pdf This document.
106226404_ExampleProject.zip Example project
Siemens AG 2015 All rights reserved
3 Basics
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 the 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
4 Configuration
4.1 Opening the library
Table 4-1
No. Action
1. Download the “106226404_Calendar.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 the 2. Click the icon on the left to open a “Global library”.
Siemens AG 2015 All rights reserved
5. Select the “106226404_Calendar.al13” file and open the library with the “Open”
button.
4. Open the “Properties > Interface” tab of the screen in which you have added the
calendar.
Call the “Script_Calendar” script with the “Loaded” event.
5. Open the drop-down list next to the “ScreenName” parameter and select “String”.
Enter the name of the screen in which the calendar is shown.
No. Action
5. You can see the monthly overview of the current and the coming month. The
current date is displayed red.
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?
7 History
Table 7-1
Version Date Modifications
Siemens AG 2015 All rights reserved