Professional Documents
Culture Documents
Basics 2
Configuring the time
3
SIMATIC HMI model.
Configuring a calendar 4
WinCC Unified
Calendar - Defining schedules for Configuring a calendar
5
production control
Compiling configuration
System Manual
data and loading it into 6
Runtime
Validation of the
configuration of plant 7
objects
Online documentation
06/2021
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Upgrade project
1. Open your V16 project in TIA Portal V17.
The "Open project" dialog opens:
Note
When a product is used in the V16 project but is not installed, an upgrade is not possible.
Install the missing product and then perform the upgrade.
2. Click "Upgrade".
The upgrade will take a few minutes.
The project is opened.
Result
• The contents of the V16 project are saved in a new project with the V17 project version.
• The original project is not overwritten and can still be edited with TIA Portal V16.
Introduction
SIMATIC WinCC Unified Calendar is an option package of the Plant Intelligence options of TIA
Portal. With Calendar, you create schedules for the production lines and stations of your
plant.
You make preparations for the scheduling during the engineering in TIA Portal. You perform
the scheduling itself in runtime in the calendar control.
Functional scope
TIA Portal:
• You define a time model whose time categories are available in the option packages
Calendar and Performance Insight.
• You configure the calendar and the calendar control with which you define templates and
create schedules in runtime.
Runtime:
• You define and manage templates for typical shifts, days and actions that can be used as
often as desired in the schedules. You create the templates from different time categories
defined centrally in TIA Portal, e.g. break, work and maintenance.
• From the templates, you create production schedules for the future which implement the
requirements for production and work planning.
• You can adapt the schedules to changed requirements at any time during production.
Examples:
– Move a planned maintenance activity to achieve a new setpoint number.
– Respond to events in the production sequence, such as unplanned maintenance work
or a staff meeting called at short notice.
• You define actions that access member tags of the plant model during a shift (internal
tags or PLC tags). You define the starting point of the action relative to the starting point
of your shift.
In this way, you can control the production process already during scheduling. For
example, you can switch on the lights in the production hall via Calendar half an hour
before the first day shift begins.
Benefits
• You plan based on the created plant view and the time categories centrally managed in
TIA Portal and thus guarantee data consistency.
• You speed up your scheduling by using centrally managed templates:
– With a few clicks, you define templates that you can adapt flexibly to the specific
production requirements.
– You can forward changes to the templates automatically to the schedules.
• You react during production to changed boundary conditions and adapt your schedules on
location.
• You collect basic data for additional evaluations and actions related to the shift, such as
quantity statistics and production overviews.
2.2 Requirements
Introduction
You use SIMATIC WinCC Unified Calendar to configure schedules for the production lines. You
require a license to use this option. You can find information on licenses in the Plant
Intelligence Options Installation Guide, section "Licensing PI Options".
Software requirements
To use Calendar both in the engineering system and in runtime, you need the following
products:
• TIA Portal V17 or higher with STEP 7 Professional
• WinCC Unified Runtime/PC V17
• WinCC Unified Calendar option package
See also
Configuring the time model. (Page 13)
Plant-based planning
The plant is the basis of the scheduling. In the engineering system, the plant model is
mapped in a tree in the plant view. The tree root represents the plant view, while the nodes
represent the plant objects.
Plant objects have internal tags and tags for communication with a controller. Each plant
object has access to its own tags as well as to the tags of its lower-level objects.
Plant objects also have different functional facets. These facets include the calendar object.
Plant Intelligence options for WinCC Unified work in a common plant view. It is defined with
Common Plant Model.
Note
Data losses in Runtime due to changes in engineering
• Deleting or moving a plant object with the calendar
Or
Deleting a calendar from the plant view:
The data that is created in runtime for the calendar is deleted. If the calendar was passed
on to lower-level plant objects and overwritten there, this data is also deleted.
• Inserting a new calendar at a plant object:
If the plant object has inherited and overwritten a calendar in runtime, this data is deleted.
If the calendar was passed on to lower-level plant objects and overwritten there, this data
is also deleted.
• Changes to tag access of the calendar
When a member tag that is used by an action element in runtime is disabled, its status is
set to "Undefined" in the calendar after the next compile and load. See also section
Defining tag access of the calendar (Page 22).
Calendar control
The calendar control is the HMI control with which schedules are created in runtime.
The calendar control must be linked to a plant object. The link allows the calendar control to
show the calendar of the linked plant object and to access the following tags in runtime:
• The member tags of the plant object
• The member tags of all plant objects subordinate to the plant object
You can limit the tag access in the engineering system via the calendar settings.
The link between the calendar control and plant object can be set as follows:
• Dynamic in runtime by selecting a plant object in the "Plant overview" control
Requirement: The plant overview is configured as companion control in the properties of
the calendar control.
• By a static entry in the properties of the calendar control
• By a script
See also section Defining tag access of the calendar (Page 22).
See also
Configuring a calendar control (Page 25)
Requirement
• No root time category is created in the time model editor.
Procedure
1. Select the "Plant objects" tab.
2. In the "Common data" folder, double-click the node "Time model".
3. In the time model editor, double click the "Add new" cell.
The root time category is created.
Requirement
• The root time category is created in the time model editor.
Procedure
1. In the "Common data" folder, double-click the node "Time model".
2. You have the following options:
– Select the root time category.
– In the time model editor, expand the time model and select a time category.
The "Expand all" button extends the tree so that you can see all categories, "Collapse
all" reduces it.
3. Click the "Add time category" button or select "Add time category" from the shortcut menu.
4. Enter the name of the category.
5. Configure additional properties of the new time category, either directly in the editor or in
the Inspector window.
See also
Editing properties of a time category (Page 15)
Editing the tree structure of the time model (Page 16)
Importing time categories (Page 18)
Requirement
• The time model editor is open.
• At least one time category has been created.
Procedure
1. Select the required time category.
2. Select "Delete" in the shortcut menu.
Result
After the next save, compile and load, the time category is no longer available to users in
Runtime for planning.
Note
Time categories used in Runtime
If the deleted time category is used in a calendar in Runtime, time intervals with this time
category are marked with an "*". Users using this category must replace the time intervals
that are in the future.
Requirement
• A time model is created on the "Plant objects" tab.
• The time model has user-defined time categories.
Procedure
1. In the "Common data" folder, double-click the node "Time model".
2. In the time model editor, expand the time model and select a time category.
The "Expand all" button extends the tree so that you can see all categories, "Collapse all"
reduces it.
3. Click on a time category.
4. Configure its properties, either directly in the editor or in the Inspector window.
Property Description
Properties
Name Assign a unique name.
Language-neutral
Unsupported special characters:
: :: . #\ / % [ ] $ "
Display name Localizable
Description Localizable
Color Color for visualizing the category in the Plant Intelligence options.
Relevance
Calendar In the time model, select the check box of a category so that it can be
used in the calendar control.
When you activate a category, the hierarchically higher-level and low-
er-level categories are deactivated.
Default setting of new categories: Deactivated
Note
Data losses in runtime through changes to the time model
If the time model is changed in TIA Portal after templates and schedules have been created in
runtime, this can lead to data losses.
You can edit the tree structure of the time model as follows:
• Creating time categories
• Deleting time categories
• Moving time categories
You can move a lower-level node or a higher-level node including all its children.
• Sorting time categories
Requirement
• A time model is created on the "Plant objects" tab.
• The time model has user-defined time categories.
The time category and its children are sorted above the second category.
Requirements
• A time model is created on the "Plant objects" tab.
• The time model has time categories.
Procedure
1. In the "Common data" folder, double-click the node "Time model".
2. Click the "Export" button.
3. Define the export path and the file name.
4. Click "Export".
Result
An Excel file is created. The time categories are exported into the "TimeCategories"
worksheet.
Note
Do not rename the sheet if you are planning on a reimport.
Requirements
• The Excel file has a "TimeCategories" worksheet. The worksheet has the required format.
Result
If a time model already exists, the time categories are imported from the Excel file into the
time model.
If no time model exists yet, a time model and the base time category are created. The time
categories are imported from the Excel file into the time model.
Requirements
• A plant object has been created in the plant view.
• A plant object has no calendar.
Result
A Calendar object is created and is loaded for editing into the "Calendar" tab in the work area.
If you select the plant object in the "Plant objects" tab, you see the calendar object in the
detail view.
With a complete download, the changes become immediately visible in Runtime. In the case
of a delta download, the changes become visible after a screen change or a browser refresh.
Unsaved changes to the calendar are lost on screen change and browser refresh.
See also
Basics on scheduling in the WinCC Unified Calendar (Page 10)
Requirements
A plant object has a calendar.
Procedure
1. Select the plant object in the "Plant objects" tab.
2. Select "Open" in the detail view in the shortcut menu of the calendar
or double-click the calendar in the detail view.
Result
The calendar editor opens.
See also
Configuring the basic settings of the calendar (Page 20)
Requirement
A plant object in the "Plant objects" tab has a calendar.
Procedure
1. Open the calendar.
2. Select the "Calendar" tab.
3. Configure the general calendar properties under "Settings".
4. Under "Permitted interface tags", configure which of the member tags available in principle
can be accessed via the calendar.
5. Save your project.
Settings
Under "Settings", you define the general calendar settings:
Permitted tags
Under "Permitted interface tags", use the "Permitted" check box to configure the tags to
which the calendar has access. See section Defining tag access of the calendar (Page 22).
Result
With a complete download, the changes become visible immediately in runtime. In the case
of a delta download, the changes become visible after a screen change or a browser refresh.
Unsaved changes to the calendar are lost on browser refresh.
Note
Deactivate weekdays of a calendar used in runtime
If you deactivate weekdays for a calendar used in runtime, shifts scheduled for those
weekdays are not displayed in the working week view. The days are still executed in runtime.
The planned shifts are not deleted.
See also
Opening a calendar (Page 20)
Basics on scheduling in the WinCC Unified Calendar (Page 10)
Requirement
A plant object has a calendar.
Procedure
Proceed as follows to determine which tags the calendar can access in runtime:
1. Open the calendar.
2. Select the "Calendar" tab.
Under "Permitted interface tags", you can see all member tags that were defined for the
plant object and its lower-level objects in the "Interface" tab. The member tags have the
"permissible" check box.
3. Select or clear the check boxes as required.
Note
Deactivating tags used in runtime
When you disable a tag that is used by an action element in runtime, its status is set to
"Undefined" in the calendar after the next compile and load.
Result
Your settings for tag access are available in runtime as soon as you have compiled them and
loaded them into the device. All tags with selected check box can be assigned to action
elements in runtime.
With a complete download, the changes become visible immediately in runtime. In the case
of a delta download, the changes become visible after a screen change or a browser refresh.
Unsaved changes to the calendar are lost on browser refresh.
See also
Opening a calendar (Page 20)
Basics on scheduling in the WinCC Unified Calendar (Page 10)
See also
Basics on scheduling in the WinCC Unified Calendar (Page 10)
Requirements
A plant object in the "Plant objects" tab has a calendar.
Procedure
1. Double-click the plant object or select "Open" in the shortcut menu.
The editor for plant objects opens.
2. Select the "Calendar" tab.
3. Click "Remove calendar".
The calendar is deleted.
See also
Basics on scheduling in the WinCC Unified Calendar (Page 10)
Procedure
1. Select the HMI device on the "Devices" tab.
2. Open the "Screens" folder.
3. Open the screen.
4. In the "My Controls" pane, select the calendar control and place it on the screen.
Requirement
• A plant object from the plant hierarchy has a calendar.
• The screen of an HMI device has a calendar control.
• Optional: A plant overview is inserted in the screen.
Procedure
1. Open the screen.
2. Select the calendar control in the screen.
3. In the Inspector window, click on the "Properties" tab.
4. Open the "Properties" node.
5. In "Active view", select the view with which the control starts in runtime.
6. Set a link to the plant object whose calendar the control should display in runtime.
Select one of the following options:
Note
Alternative for a link by script
Instead of adding the script to the "Plant object" property, you can also configure a button
and add the script to an event of the button.
Note
Transferring changes to Runtime
The changes to the calendar are only available in runtime after you have compiled them and
loaded them into the device.
Introduction
You can set up access control for the calendar control. With this you determine which rights
the runtime user gets for the control. To do this, you can assign predefined or user-specific
runtime rights to the properties "Action edit", "Planning edit" or "Full access".
Property Description
Action edit With this right, the Runtime user can edit actions in the "Planning" tab. Edit-
ing shifts and templates is not possible.
Planning edit With this right, the Runtime user can edit actions and shifts in the "Planning"
tab. Creating new plans and editing templates is not possible.
Full access With this right, the runtime user can fully operate the Control (change and
create actions, shifts, templates) and delete runtime data.
If no function right is assigned to a property, all runtime users have the right.
Action edit Planning Full access Function rights of the runtime user
edit
X X X User has only read rights. Operation is not possible.
✓ X X The user has the "Action edit" right.
X/✓ ✓ X The user has the "Planning edit" right.
X/✓ X/✓ ✓ The user has the "Full access" right.
Legend:
X = The runtime user does not have the function right that is set in the property.
✓ = The runtime user has the function right that is set in the property.
Or the property is empty.
Requirement
• In the security settings, you have configured "Users and roles" in accordance with your
needs.
You can find more information in the section "Configuring users and roles" in the WinCC
Unified help.
• The "Allow operator control" option is activated in the control properties under "Security".
• The "Authorization" option is empty in the control properties under "Security".
• In the control properties under "Properties > Miscellaneous > Interface", the "Require
explicit unlock" option is disabled under the property "Action edit", "Planning edit" and
"Full access".
This control property is for multipoint touch displays and is not supported in V17.
Procedure
1. Select the desired control in the screen.
2. Expand the property "Action edit", "Planning edit" or "Full access" under "Properties >
Miscellaneous > Interface".
3. Expand the drop-down list in the "Static value" column under "Authorization".
The function rights are displayed.
4. Select a function right.
5. If necessary, repeat steps 2-4 to configure the additional properties.
If a green arrow is displayed in the "Go to" column for a message, you can go directly
to the appropriate tab for correcting the cause of the alarm.
3. Select the green arrow .
The tab in which corrections are expected is displayed. The corresponding property is
selected.
8.1.1 Introduction
Introduction
SIMATIC WinCC Unified Calendar is an option package of the Plant Intelligence options of TIA
Portal.
With Calendar, you create schedules for the production lines and stations of your plant.
Functional scope
• You define and manage templates for typical shifts, days and actions that can be used as
often as desired in the schedules. You create the templates from different time categories
defined centrally in TIA Portal, e.g. break, work and maintenance.
• From the templates, you create production schedules for the future which implement the
requirements for production and work planning.
• You can adapt the schedules to changed requirements at any time during production.
Examples:
– Move a planned maintenance activity to achieve a new setpoint number.
– Respond to events in the production sequence, such as unplanned maintenance work
or a staff meeting called at short notice.
• You define actions that access member tags of the plant model during a shift (internal
tags or PLC tags). You define the starting point of the action relative to the starting point
of your shift.
In this way, you can control the production process already during scheduling. For
example, you can switch on the lights in the production hall via Calendar half an hour
before the first day shift begins.
Benefits
• You speed up your scheduling by using centrally managed templates:
– With a few clicks, you define templates that you can adapt flexibly to the specific
production requirements.
– You can forward changes to the templates automatically to the schedules.
• You react during production to changed boundary conditions and adapt your schedules on
location.
• You plan based on the created plant hierarchy and the time categories centrally managed
in TIA Portal and thus guarantee data consistency.
• You collect basic data for additional evaluations and actions related to the shift, such as
quantity statistics and production overviews.
8.1.2 Requirements
Calendar
A calendar saves all data that are relevant for the schedules of a plant object and its lower-
level plant objects. In engineering, a plant model defines which plant objects have a separate
calendar and which inherit their calendar from a higher-level plant object.
Changes to a calendar or the plant model are passed on to runtime by loading them into a
device. With a complete download, the changes become visible immediately in runtime. In
the case of a delta download, the changes become visible after a screen change or a browser
refresh.
Note
Loading changes to the plant model
Use complete download to load changes to the plant model into a device.
Note
Data losses in runtime due to changes in engineering
When a calendar or plant model is changed in engineering after schedules have been created
in runtime in the calendar, this can lead to data loss:
• Deleting or moving a plant object with the calendar
The data that is created in runtime for the calendar is deleted. If the calendar was passed
on to lower-level objects and overwritten there, this data is also deleted.
• Inserting a new calendar at a plant object
If the plant object has inherited and overwritten a calendar in runtime, this data is deleted.
If the calendar was passed on to lower-level objects and overwritten there, this data is also
deleted.
• Deleting a calendar from the plant model
The data that is created in runtime for the calendar is deleted. If the calendar was passed
on to lower-level objects and overwritten there, this data is also deleted.
• Changes to tag access of the calendar
When a member tag that is used by an action element in runtime is disabled, its status is
set to "Undefined" in the calendar after the next compile and load.
Calendar control
The calendar control is the HMI control with which you create schedules in runtime.
The calendar control has access to the time categories defined in engineering.
Each calendar control has a link to a plant object. The link allows the calendar control to
access the following in runtime:
• The calendar of the linked plant object
The calendar can be created or inherited at the plant object.
• The member tags of the plant object and its lower-level plant objects
Template types
Before you create schedules, you define templates. The following types of templates are
available:
Action templates
In action templates, you define access to the member tags of the plant objects using action
elements.
Shift templates
With shift templates, you define typical shifts, for example early shift and night shift.
You create shift templates by:
• Adding time intervals to the desired time categories.
• (Optional) Instantiating action templates in the shift template.
Day templates
With day templates, you define typical sequences of shifts.
You create day templates by:
• Instantiating shift templates
• (Optional) Instantiating action templates.
Template type Shift definition view Day definition view Planning views
Action templates X X X
Shift templates - X X
Day templates - - X
Edit templates
If you edit a template that already has instances, you decide whether the changes are
adopted by the instances.
Editing instances
You can edit instances so that they deviate from their templates. For example, you can
extend a time period in a shift or add another action element to an action.
Shifts are marked with the following note: "<Template name> (customized)"
Availability of templates
Templates are available only in the calendar in which they were defined and in the inheriting
calendars.
Actions
Actions are used to control the member tags of the plant objects to which the calendar has
access. Actions contain action elements at which you define which tag accesses the action
and which value you assign to it.
Actions are also instantiated in a shift. The system uses the anchor of the action and the
offset of the action element to calculate when the tag will be set in the shift in runtime.
Working days
In the properties of a calendar object, you define which days in this calendar are working
days. Working days can be business days and weekend days.
See also
Inheritance of calendars (Page 39)
Defining tag access of the calendar (Page 22)
Definition
A plant object that has a calendar passes the calendar on to its lower-level plant objects
recursively. The calendar is visible in runtime at the lower-level objects, but initially read-only.
Inherited shifts are shown hatched.
The lower-level objects can add to and overwrite the inherited calendar data. When you edit a
shift in an inherited calendar, for example by extending it, you overwrite the shift.
Overwriting interrupts the inheritance.
The shift is executed in runtime as it has been defined at the lower-level object.
Note
No inheritance of actions
Actions cannot be inherited.
Example
1. A scheduler instantiates, in a calendar of a plant, a day template consisting of early shift,
midday shift and late shift. The unit of the plant inherits the calendar.
2. At the unit, the scheduler shortens by 30 minutes the midday shift inherited from the plant.
3. Another scheduler extends the early shift at the plant by one hour.
During saving, a prompt informs the scheduler that these changes will lead to
inconsistencies in inheriting calendars. A visual note about the shift overlap appears in the
calendar of the unit.
At the end of the early shift and the start of the midday shift, defined calendars are read out
during runtime from the calendars defined at the unit and entered accordingly in the context
log.
See also
Basics on scheduling in the WinCC Unified Calendar (Page 36)
Editing inherited shifts (Page 90)
See also
Shift properties (Page 78)
Introduction
Users with the following roles participate in the creation of schedules with WinCC Unified
Calendar:
• Template designers
Template designers create action templates, shift templates and day templates in the
template views, or change existing templates.
• Schedulers
Schedulers instantiate the templates in the planning views. They thus create schedules for
the plant which implement specifications of the plant management.
If necessary, they change the instances so that they differ from their templates. For
example, they can extend or shorten time periods, move shifts or add an action.
• Operators
Operators inform you during the operation about the pending schedules and
requirements. The operators check during the operation whether changes to the
schedules are necessary and carry them out.
The following example illustrates which tasks these users carry out in runtime.
Example
An automotive supplier initially creates schedules for their plant with WinCC Unified Calendar.
• The plant manufactures side view and rearview mirrors. It is configured with the following
plant view in TIA Portal:
"Plant"
> "SideViewMirror"
> "Line_LeftMirror"
> "Line_RightMirror"
> "RearViewMirror
> "Line_RearViewMirror"
• "Plant" has a calendar which is passed on to the "SideViewMirror" and "RearViewMirror". It
can be overwritten at the plant objects below "Plant".
• The process pictures were configured in TIA Portal so that users select via the plant view
control which calendar is displayed in runtime in the calendar control.
Note
Edit templates and update instances
When the template designer changes a template that already has instances, the designer
decides during saving whether the changes are adopted or not by the instances.
Note
Check for inconsistencies when a calendar is changed
During saving the system check whether the elements changed in the calendar were
overwritten by plant objects below them. If yes, the scheduler receives a prompt that
inconsistencies arise during saving. The scheduler must then check and eliminate these
inconsistencies.
Note
Change instances and interrupt inheritance
Through the change the inherited shift instances are overwritten and the inheritance
interrupted.
If one of the shifts is changed later at a plant object above the production line, this change is
not displayed in the calendars of the production lines. Data inconsistencies arise. If the
planning view shows the calendar defined on "Line_LeftMirror" or "Line_RightMirror", visual
highlighting draws the scheduler's attention to the inconsistency.
The definition that was defined further down in the hierarchy continues to apply in runtime
as long as the inconsistency exists. In the example, this is the definition of the production
lines.
3. For the last week of the planning period the quantity is so high that it can only be reached
by means of a third shift.
– The scheduler deletes the "Early shift" and "Late shift" shifts for each working day in
this week.
The connection to the day template is lost as a result.
– Creates instances of the "3-shift day" day template.
4. For the entire planning period the scheduler enters the planned quantity for this shift in the
"Quantity" action at each shift instance.
See also
Creating and deleting shift templates (Page 53)
Creating and deleting action templates (Page 57)
Creating and deleting day templates (Page 55)
Changing templates (Page 79)
Renaming a template (Page 78)
Adding and deleting days (Page 82)
Editing days (Page 84)
Working with shifts (Page 72)
Working with time periods (Page 67)
① Toolbar
② Tab for scheduling and for template planning
Each tab has the following elements:
③ • Toolbar
④ • Work area
⑤ • Selection area
⑥ In the day view and the week views in the "Planning" tab: Input panel for action elements
⑦ Status bar
"Expand" / "Collapse" The planning view is displayed in full-screen mode. / The full-
screen mode is closed.
The button is only available in the planning view.
Status bar
The status bar offers the following information:
• Connection information
• Button for displaying the calendar settings
• Date information
See also
"Planning" and "Templates" tabs (Page 47)
Buttons
The following buttons are available in the "Planning" and "Templates" tabs:
"Day" Opens the respective planning view in which you then plan
shifts.
"Working week"
"Week"
"Month"
"Select day" Opens the date window in which you switch to a specific day.
Views
There are template views and planning views in the calendar control:
• You can find the planning views in the "Planning" tab. You define your schedules using
templates in these schedules.
Day view
Week view
Month view
• You can find the template views in the "Templates" tab. You define templates in the
template views.
The contents of the work area and selection area depend on the selected view.
Selecting a view
Proceed as follows to select a view:
1. Select the "Planning" or "Template" tab in the calendar control.
2. In the toolbar of the tab, click on the view button.
Work area
In the template views, the work area contains the following:
• The templates already created
• An empty header for creating an additional template
In the planning views, the work area contains a calendar section:
• The selected view determines which calendar section you see (day, week, month).
• You scroll to earlier or later planning data using the and buttons or the mouse wheel.
Selection area
The following panes are visible in the views:
You show or hide the selection area using the following buttons:
Unsaved data
Unsaved data is marked with an * and displayed transparently.
Example:
• Shift template with new time period before saving:
Inherited shifts
In the planning view, shifts from inherited calendars are shown hatched.
You can edit the shift and thereby overwrite the inherited data. See section Editing inherited
shifts (Page 90).
Overlapping shifts
In the inherited calendars, shifts can overlap, for example when a shift is inserted that adjoins
an inherited shift and the inherited shift is then moved in the original calendar. In the
inherited calendar such overlaps are visually highlighted:
Selection
Selected time periods and shifts have a dashed border:
Mouse-over behavior
If you hover with the cursor over a day in week views and in the month view, the day has a
light gray border:
If you hover with the cursor over one of the following elements, the following tooltips are
displayed above and next to the element:
Day view, week views, shift definition and day definition: Time
• Offset in minutes
• Path to linked tag and the value to be set
Current time
The current time is displayed as follows in the planning view:
Current day
The current day is displayed as follows in the planning view:
Flagged day
The day flagged for tracking is marked as follows in the planning view:
Day instances
For day instances that have not been edited, the name of the day template is displayed in the
week views and day view in the right-hand margin next to the date.
Procedure
1. Select the "Templates" tab.
2. Click "Shift definition".
In the selection area, you see the available categories.
You can see the available shift templates in the working area. You see an empty header in
the row at the very bottom.
3. Add a time period to the empty header.
See also section Adding and deleting time periods (Page 67).
4. In the "Shift properties" dialog, enter the name of the shift.
5. Optional: Enter a display name and a description and change the shift duration.
6. Click "OK".
A new shift template with this time period is created.
Result
• The shift template is saved in the calendar and transferred to the server. It is automatically
available in the other clients.
• You can use the template in this calendar:
– Defining day templates
– In the planning view for the scheduling
• You can edit the template at any time.
See also
Adding or deleting actions (Page 62)
Renaming a template (Page 78)
Creating and deleting day templates (Page 55)
Editing days (Page 84)
Changing templates (Page 79)
Requirement
• At least one shift template is available.
Procedure
1. Select the "Templates" tab.
2. Click "Day definition".
In the selection area, you see the available categories and shift templates.
You can see the available day templates in the working area. You see an empty header in
the row at the very bottom.
3. Add a shift to the empty header.
See also section Adding and deleting shifts (Page 72).
4. Enter the name of the template in the "Day properties" dialog.
5. Optional: Enter a display name and a description.
6. Click "OK".
A new day template with this shift is created.
When the shift template you are using has an action, the shift also has an action.
7. Add additional shifts to the day template.
8. Optional: Edit the shifts. You have the following options:
– Adding or deleting time periods
– Shortening or extending time periods
– Moving time periods
– Adding, deleting or moving shifts
– Shortening or extending a shift duration
– Moving shifts
– Adding, deleting or moving actions
9. Click "Save".
Result
The template is saved and transferred to the server. It is automatically available in the other
clients.
The template can be used in the planning view for the scheduling.
You can edit the template at any time.
See also
Adding or deleting actions (Page 62)
Renaming a template (Page 78)
Adding and deleting time periods (Page 67)
Shortening or extending time periods (Page 71)
Moving time periods (Page 69)
Shortening or extending shifts (Page 76)
Moving shifts (Page 75)
Changing templates (Page 79)
Procedure
1. Select the "Templates" tab.
2. Click "Action definition".
You can see the available action templates in the working area. You see an empty header in
the row at the very bottom.
3. In the selection area, click an action element and keep the left mouse button pressed.
Each action element represents a tag to which the calendar has access.
4. Move the mouse cursor to the empty header, to the left or right of the anchor of the action
and release the mouse cursor.
5. Enter the name of the template in the "Action properties" dialog.
6. Optional: Enter a display name and a description.
7. Click "OK".
The action template is created.
1 Action name
2 Anchor of the action
3 Action element
4 Offset of the action element
The distance to the anchor determines the duration of the offset.
Note
Maximum of five action elements
An action template can have a maximum of five action elements.
10.Click "Save".
Result
• The template is saved and transferred to the server. It is automatically available in the
other clients.
• You can use the template for shift definition, for day definition as well as for scheduling in
the planning view.
• You can edit the template at any time.
See also
Adding or deleting action elements (Page 60)
Editing action elements (Page 61)
Renaming a template (Page 78)
Changing templates (Page 79)
Editing days (Page 84)
Saving
To transfer your changes in the current template view to the server and save them, follow
these steps:
1. Click "Save" in the toolbar.
The "Unsaved changes" dialog opens.
Result
The changes are transferred to the server and are automatically available at the clients.
When the calendar control is opened in other browser windows, it is automatically updated.
Your changes are available to other users.
Note
Overwriting of unsaved changes
If users work in different browser windows in the same view, unsaved changes can be lost.
The user who saves first overwrites the unsaved changes of the second browser window.
Note
Inconsistencies due to interrupted inheritance
If a shift changed by you has been overwritten in an inheriting calendar, the system notifies
you that inconsistencies will arise from the saving. Check and rectify the inconsistencies.
If an overwritten and an inherited shift overlap, an optical note is shown under the shift at
the inherited calendar.
Discarding
To discard changes, click "Discard" in the toolbar.
Requirement
• An action template exists.
Note
Maximum offset
The maximum offset of an action element is +/- eight hours in relation to its anchor.
See also
Editing action elements (Page 61)
Introduction
You can change the following properties:
• Offset
Note
Maximum offset
The maximum offset of an action element is eight hours.
• Action element
• Tag value
Note
As soon as you make changes, the instance is decoupled from the template. Changes in the
template then no longer affect the instance.
Requirement
• An action template exists.
Procedure
1. Select an action.
The input panel is expanded in the lower area.
2. Change the properties.
Alternative procedure
1. Select the "Templates" tab.
2. Click "Action definition".
3. Click "Select tag" in an action template in the shortcut menu of an action element.
The "Action properties" dialog opens.
4. Change the properties.
5. Click "OK".
Note
No actions in the month view.
You cannot add or see actions in the month view.
Note
No inheritance of actions
Actions are not passed on to the underlying calendar.
Requirement
• At least one action template exists
• When you are working in a day template or in the planning views: A shift exists in the
view.
• To add an action to a day template or shift template: The respective template exists.
• When the shift is inherited, you must first select "Edit" in the shortcut menu of the shift.
The shift then overwrites the inherited shift and you can edit it.
Add action
1. Select the desired view in the calendar control.
2. In the selection area, click an action template and keep the left mouse button pressed.
3. Move the cursor to the header of the desired shift to the place where you want to anchor
the action in the shift.
Note
Time of value assignment in runtime
A tag is assigned to each action element of an action. In runtime, the system calculates
when the tag value will be set based on the start time of the shift, the offset between shift
start and anchor of the action, and the offset of the action element.
Note
Maximum five actions
A shift can have a maximum of five actions.
Deleting an action
Select "Delete" in the shortcut menu of the action.
Displaying actions
Actions are only visible while their shift is selected. The month view show no actions.
See also
Adding and deleting shifts (Page 72)
Editing actions (Page 64)
Edit action elements in shifts (Page 66)
Note
No actions in the month view.
You cannot see or modify actions in the month view.
Note
As soon as you make changes, the instance is decoupled from the template. Changes in the
template then no longer affect the instance.
Requirement
• The desired view is open.
• A shift with action exists in the view.
2. Move the cursor to the anchor point of the action displayed in the shift register.
3. Keeping the left mouse button pressed, move the anchor point to the left or right until the
desired position.
The anchor of the action is moved and with it its action elements.
See also
Adding or deleting action elements (Page 60)
Edit action elements in shifts (Page 66)
Note
Actions not visible in the month view
You cannot see or modify actions in the month view.
Note
Maximum offset
The maximum offset of an action element is +/- eight hours in relation to its anchor.
• Action element
• Tag value
Note
As soon as you make changes, the instance is decoupled from the template. Changes in the
template then no longer affect the instance.
Requirement
• The desired view is open.
• A shift with action exists in the view.
Modify properties
1. Select an action.
The input panel is expanded in the lower area.
2. Change the properties.
Alternative procedure
1. Click "Select tag" in an action in the shortcut menu of one of your action elements.
The "Action properties" dialog opens.
2. Change the properties.
3. Click "OK".
2. To activate the action element again, select the "Enable" command in the shortcut menu.
Note
Not available in the month view
You cannot add time periods in the month view.
Requirement
• For the work in the planning views or the day definition view:
A shift exists in the work area.
• For the work in the planning views:
If the shift in which you want to add or delete time periods is inherited, you must first
select "Edit" in the shortcut menu of the shift. The shift then overwrites the inherited shift
and you can edit it.
Procedure
1. Select the desired view.
2. The shift must have an empty period that is long enough for the new time period. If
appropriate, shorten or delete a time period already included, extend the overall duration of
the shift or move the time periods to create space.
3. Select a calendar-relevant category in the selection area.
Note
Calendar-relevant categories
The selection area shows the entire category tree defined in engineering. Categories that
are not relevant for calendar are grayed out in runtime.
4. Move the cursor in the work area onto an empty period of the shift.
5. Keep the mouse button pressed and draw in the starting point and the end point of the time
period.
Note
Selecting the starting point and the end point
The new starting point or end point cannot overlap with other time periods or extend
beyond the shift limit.
The added time period has the name and color of the category.
See also
Moving time periods (Page 69)
Shortening or extending shifts (Page 76)
Shortening or extending time periods (Page 71)
Note
Not available in the month view
You cannot move time periods in the month view.
Requirement
• A shift that has time periods exists in the desired view.
• To move a time period whose shift is inherited, you must first select "Edit" in the shortcut
menu of the shift. The shift then overwrites the inherited shift and you can edit it.
• When placing in an empty period, the empty period has to be at least as long as the time
period.
Result
• The time period is moved to the new position.
• When you have moved the time period to the last time period of the shift, the time period
is always positioned after the other time period; otherwise, it is positioned beforehand.
• If shifts lie to the right of the time period insertion point, they are moved to the back.
Shortcut Description
Left arrow Shift left - by 10 minutes
Right arrow Shift right - by 10 minutes
Ctrl+Left arrow Shift left - by 1 minute
Ctrl+Right arrow Shift right - by 1 minute
Note
Limitation
You can move the time period at the most to the next adjacent time period. The time
periods cannot be swapped.
Note
Not available in the month view
You cannot change time periods in the month view.
Requirement
• A shift that has time periods exists in the desired view.
• For the work in the planning views:
If the shift in which you want to add or delete time periods is inherited, you must first
select "Edit" in the shortcut menu of the shift. The shift then overwrites the inherited shift
and you can edit it.
• To extend a time period, the time period must adjoin an empty period that is sufficiently
long.
If required, create space by reducing, deleting or moving an adjacent time period.
3. Hold down the left mouse button and drag the frame to the left or right until the tooltips
show the desired values.
Note
Limitation
The new starting point or end point cannot overlap with other time periods or extend
beyond the shift limit.
Shortcut Description
Shift+Left arrow Extend by 10 minutes
Shift+Right arrow Shorten by 10 minutes
Ctrl+Shift+Left arrow Extend by 1 minute
Ctrl+Shift+Right arrow Shorten by 1 minute
Note
Restriction for extending
You can extend the time period at the most to the next adjacent time period.
See also
Moving time periods (Page 69)
Adding and deleting time periods (Page 67)
Introduction
Shifts are instances of shift templates. You add shifts in the following cases:
• When creating or editing a day template
Use a shift template.
• During shift planning in the planning view
Select one of the following options:
– Use shift templates
– Use day template that instantiates shifts
See section Adding and deleting days (Page 82).
– Copy the planned shift
– Make a recurrence from a planned shift
See section Creating a recurrence for a shift (Page 86).
Requirement
At least one shift template is available in the calendar displayed in the calendar control.
Insertion permitted
Note
Extend empty time
You can only insert the shift if the empty time after the insertion position is at least as
long as the shift. If necessary, move or delete a shift that has already been added.
Note
No shift overlaps
If the insertion location is selected so that the shift overlaps with the next shift, it will not be
inserted.
Result
The shift is inserted into the day template or the day. It receives the same name as its
template. When the shift template you are using has an action, the shift also has an action.
Deleting shifts
Select "Delete" in the shortcut menu of the shift header.
Or select the shift in the work area and press Del.
Note
Restoring an inherited shift
You can restore a deleted, inherited shift by resetting the day.
See also
Moving shifts (Page 75)
Shortening or extending shifts (Page 76)
Adding and deleting time periods (Page 67)
Moving time periods (Page 69)
Shortening or extending time periods (Page 71)
Restoring days (Page 85)
Shift properties (Page 78)
Note
Limitation
You can move a shift at the most until the next adjacent shift.
Requirement
• A shift exists in the desired view.
• An inherited shift must first be released from its write protection by clicking "Edit" in the
shortcut menu of the shift.
The shift then overwrites the inherited shift and you can edit it.
Note
Moving a shift into an empty period
Make sure that the empty period is long enough.
Select the new start time so that the end of the shift does not overlap the adjacent shift or
extend beyond the day end.
The view is moved to the new position. If shifts lie to the right of the insertion point, they are
moved to the back.
Shortcut Description
Left arrow Move 10 minutes earlier
Right arrow Move 10 minutes later
Ctrl+Left arrow Move 1 minute earlier
Ctrl+Right arrow Move 1 minute later
See also
Restoring days (Page 85)
Note
Restrictions
• You cannot change the shift duration in the month view.
• You can shorten the shift at the most until its first or last time period.
• In the day definition view and in the planning views, you can extend the shift at the most
until the next adjacent shift or until the end of the day.
• Shifts have a minimum duration of two hours.
Note
As soon as you make changes, the instance is decoupled from the template. Changes in the
template then no longer affect the instance.
Requirement
• For the shift definition view: There is a shift template.
• For the day definition view: There is a day template with a shift.
• For the planning views:
– A shift that has time periods exists in the desired view.
– For an inherited shift, you must first select "Edit" in the shortcut menu of the shift. The
shift then overwrites the inherited shift and you can edit it.
• In order to extend a shift, the shift must adjoin an empty period that is sufficiently long.
If required, create space by shortening, deleting or moving an adjacent shift.
Shortcut Description
Shift+Left arrow Shorten by 10 minutes
Shift+Right arrow Extend by 10 minutes
Ctrl+Shift+Left arrow Shorten by 1 minute
Ctrl+Shift+Right arrow Extend by 1 minute
See also
Restoring days (Page 85)
Properties
Property Description
"Name" Name of the shift template
Read-only
"Duration (min.)" The duration is automatically updated when the
shift duration is edited in the work area.
"Comment" Comment field for the user
"Shift ID" Only in the planning views
For the unique identification of the shift in the
context logging.
Enter a number between 1 and 99.
Preset value: 1
Note
Overwriting of unsaved changes
If users work in different browser windows in the same view, unsaved changes can be lost.
The user who saves first overwrites the unsaved changes of the second browser window.
Note
Automatic name application on name change
If you rename a template, the name is updated automatically in the instances. This also
applies if you specify, when saving the template or when exiting the template view, that the
instances should not be updated.
See also
Renaming a template (Page 78)
Adding and deleting time periods (Page 67)
Shortening or extending time periods (Page 71)
Moving time periods (Page 69)
Adding and deleting shifts (Page 72)
Shortening or extending shifts (Page 76)
Moving shifts (Page 75)
Note
As soon as you make changes, the instance is decoupled from the template. Changes in the
template then no longer affect the instance.
See also
Adding and deleting days (Page 82)
Editing days (Page 84)
Working with shifts (Page 72)
Requirement
At least one day template is available.
Procedure
1. Select the "Planning" tab.
2. Click on the button of a planning view.
3. In the selection area, click a day template and keep the left mouse button pressed.
4. Move the cursor in the work area onto an empty day.
A tooltip shows whether the day template may be inserted at this position:
Insertion is permitted.
Result
• The day template is instantiated, and the day instance is placed at a pre-defined start of
the day.
For day instances that have not been edited, the name of the day template is displayed in
the week views and day view in the right-hand margin next to the date.
• When the day template you are using has an action, the day also has an action.
You can adapt the day at any time, for example, by moving shifts or adding actions.
Note
Update of customized day instances
Updates of day templates cannot be used for customized day instances.
Copying days
You can reuse days that have already been planned:
1. Select the "Planning" tab.
2. Select one of the week views.
3. In the work area, right-click on a date and select "Copy".
4. Right-click on another date and select "Paste".
A view change is not possible.
The day is copied and inserted.
If the copied day is based on a day template and does not deviate from it, the name of the
day template for the pasted day is also displayed in the week views in the right-hand margin
next to the date.
Deleting days
To delete a day instance, delete all shifts of the day.
To delete all shifts of a day at once, select "Delete day" in the shortcut menu of a day.
See also
Saving or discarding changes (Page 89)
Editing days (Page 84)
Restoring days (Page 85)
Note
As soon as you make changes, the instance is decoupled from the template. Changes in the
template then no longer affect the instance.
Requirements
Planning data is present in the planning view.
See also
Adding and deleting shifts (Page 72)
Moving shifts (Page 75)
Shortening or extending shifts (Page 76)
Adding and deleting time periods (Page 67)
Moving time periods (Page 69)
Shortening or extending time periods (Page 71)
Creating a recurrence for a shift (Page 86)
Restoring days (Page 85)
Adding or deleting actions (Page 62)
Editing actions (Page 64)
Edit action elements in shifts (Page 66)
Saving or discarding changes (Page 89)
Inheritance of calendars (Page 39)
Requirement
Shifts that were inherited and overwritten exist in the planning view.
Procedure
In the planning view, select "Reset day" in the shortcut menu of the day.
Result
All shifts of the day are reset to the inherited state.
See also
Saving or discarding changes (Page 89)
Requirement
• A shift is planned in the planning view.
Procedure
1. Select the "Planning" tab.
2. Select one of the week views or the day view.
3. Right-click on the header of a shift and select "Recurrence".
4. In the "Recurrence" dialog, specify the pattern and time period of the recurrence.
The following entry limitations apply:
– Start date / end date: Maximum difference of 1 year
– Monthly: 1 to 99
– Weekly: 1 to 99
– Daily: 1 to 999
5. Confirm your entries.
Result
In accordance with the pattern, shifts are inserted into the calendar in the time period
defined by you.
Note
Behavior in case of overlap
If the recurrence leads to overlaps with shifts already scheduled, the entire recurrence will
fail.
Requirement
• One or more shifts are planned for this day in the planning view.
• All changes for this day have already been saved.
Procedure
1. Select the "Planning" tab.
2. Select one of the week views or the day view.
3. Right-click on a date and select "Recurrence".
4. In the "Recurrence" dialog, specify the pattern and time period of the recurrence.
The following entry limitations apply:
– Start date / end date: Maximum difference of 1 year
– Monthly: 1 to 99
– Weekly: 1 to 99
– Daily: 1 to 999
5. To overwrite planned days, enable the "Overwrite" option.
6. Confirm your entries.
Result
The recurrence is added as defined to the calendar.
Note
Behavior in case of overlap and partial shifts
When the "Overwrite" option is not selected and there are overlaps with planned shifts, the
entire recurrence will fail.
When a shift extends over two days in which one day is included in the recurrence and the
other is not, the entire recurrence will fail. Overwriting is only possible when the existing
shifts are completely contained within the days of a recurrence.
Example
The following table is an example of the use cases for recurrences on planned days.
The figure illustrates the various use cases from the example.
Saving
To transfer your changes in the current planning view to the server and save them, click
"Save" in the toolbar.
Result
The changes are transferred to the server and are automatically available at the clients.
When the calendar control is opened in other browser windows, it is automatically updated.
Your changes are available to other users.
Note
Overwriting of unsaved changes
If users work in different browser windows in the same view, unsaved changes can be lost.
The user who saves first overwrites the unsaved changes of the second browser window.
Note
Inconsistencies due to interrupted inheritance
If a shift changed by you has been overwritten in an inheriting calendar, the system notifies
you that inconsistencies will arise from the saving. Check and rectify the inconsistencies.
If an overwritten and an inherited shift overlap, an optical note is shown under the shift at
the inherited calendar.
Discarding
To discard changes, click "Discard" in the toolbar.
You can edit the shift and thereby overwrite the inherited data.
Requirement
• The calendar displayed in the control is inherited.
• The planning view contains an inherited shift.
Procedure
1. Right-click on the inherited shift.
2. In the shortcut menu, select "Shift edit".
3. Edit the shift, for example, by shortening it.
Result
The inherited shift is overwritten.
See also
Inheritance of calendars (Page 39)
Introduction
You can clear the runtime data. The following deletion processes are possible:
• Clear entire planning data (with or without inherited calendar)
• Clear planning data (with or without inherited calendar) that is in a specific time period.
• Clear all (planning, templates, inheritance)
Note
Only runtime users with the "Full access" right are allowed to delete runtime data.
You can create a backup of the runtime data before you delete it. The backup is done by
exporting the runtime data to the client.
Note
Inherited calendars are not backed up. However, you can export (Page 92) the instances
before deleting them.
Procedure
1. Click "Clear" in the toolbar.
The "Runtime configuration" dialog opens.
Requirement
Planning data or templates are available.
Procedure
1. Click "Export" in the toolbar of the Calendar control.
2. To export templates, follow the steps below:
– Select the "Template" check box.
– Select the check box of the template types you want to export.
3. To export planning data, follow the steps below:
– Select the "Planning" check box.
– Set a start date and an end date.
4. Enter the name of the export file.
5. Click "Export".
Result
The data is exported and saved as CSV file on the device. You can edit the file outside the
runtime environment with a third-party program.
Note
The following data is exported for inherited calendars:
• Data that overwrites the inherited information
• Data that has been newly added
Requirement
• A CSV file with planning data or templates is available. The file has the necessary format.
See section Structure of the CSV file (Page 94).
• Time intervals used in the file are available in the calendar.
• Tags linked to action elements used in the file are available in the calendar.
• To import planning data based on templates: The corresponding templates are already
available in the calendar or their template types are also selected for import in the import
dialog.
Procedure
1. Click "Import" in the toolbar of the calendar control.
2. To import templates, follow the steps below:
– Select the "Template" check box.
– Select the check box of the template types you want to import.
3. To import planning data, follow the steps below:
– Select the "Planning" check box.
4. Optional: To backup the existing planning data or templates before performing the import,
select the "Export" check box.
5. Select the import file.
6. Click "Import".
Result
• When the "Export" check box is selected, a CSV file with a complete backup of the
planning data or templates is created before the start of the import.
• The data is imported to the calendar.
Note
Restrictions
• If a complete import is not possible, the entire import is canceled.
• The same rules and restrictions apply to the imported data as for the data created in the
calendar in runtime. See section Structure of the CSV file (Page 94).
• Avoid major changes to the exported CSV file. If you use invalid values for action
elements, such as values outside of the range, mismatched data type values, etc., they are
not checked during import and this may cause undesired behavior in runtime.
Structure
You can edit the CSV file generated by the export. For a re-import of the file, observe the
editing restrictions listed below.
The file has a tree structure. It has the following setup:
Processing restrictions
• Offset of action elements: Maximum +/- 8 hours
• Shift duration: Between 2 and 24 hours
• Date information: In UTC
• Time information: In seconds
• The times of elements of the same type must not overlap, for example two time intervals
or two days.
If necessary, correct the start time or duration of the element.
Note
Editing the import file in MS Excel
Depending on your Excel settings, manually editing the import file can result in violations of
the date and time format. The import could fail.
When changing shift and day instances in the XML file manually, the "IsCustomized" flag must
be set. Otherwise, inconsistencies can occur after reimporting when you save or update
planning data that are based on a template.
9.1.1 Introduction
When the Calendar option package is installed, you can generate reports of shifts in Runtime
with WinCC Unified Reporting. You can then continue to edit the data in Excel or save the
report as PDF and distribute or archive it.
9.1.2 Requirements
To create reports with Calendar, the Excel add-in must be installed. In addition, you must be
familiar with the basic operation of WinCC Unified Reporting. The documentation for this can
be found in the TIA Portal Help under "Creating production logs".
9.2 Procedure
Requirement
• The Calendar option package is installed.
• Position the "Reports" control in a screen of a WinCC Unified device.
• The same requirements apply to the use of Reporting with the WinCC Unified basic
installation.
Run sequence
1. Define a report template for your jobs in the Excel add-in.
2. Define a trigger for the reports in the "Reports" control.
Introduction
You can create a report template of the plant object on which a calendar is configured.
You define report templates with hierarchical view in the Excel add-in.
Requirement
• Microsoft Excel is open and the "WinCC Unified" tab is visible.
• The server on which an active runtime project with Calendar configuration is running is
selected in the "WinCC Unified" tab under "Connections".
• The list of options that is called from the server includes "Calendar".
5. Under "Context definition", select the plant object for which the report is to be created.
Multiple selection is possible if you want to create a report on several plant objects.
Adjusting columns
1. Select the "Edit" button of the data source item.
2. Select the desired columns.
3. Make your changes.
4. Confirm your entries with "OK".
The template is updated.
• Display in a row
Procedure
1. Click the "Edit" button next to the created hierarchical segment.
2. Under "Indent", select the "By level" option for hierarchical display or "By attribute" for display
in a row.
Introduction
Before you create a report, create a report job in the "Reports" control and define a trigger. If
required, download the report as an XLSX file or PDF file.
Requirement
• A report template with a time series segment has been created in Excel.
• The "Reports" control is being used in Runtime.
Note
Generating reports
The execution of a report job generates a report. Report jobs are executed automatically
when the trigger defined in their job parameters is initiated. You also have the option to
execute report jobs manually.
Downloading a report
1. A new entry has been created in the "Reports" control under "Reports".
2. Select the file format.
3. Click "Export".
The file is downloaded to the download directory of the browser.
4. To display the report, open the file.