71
1 WinCC V7.0 What’s new? Workshop: Controls

04 WinCC V7 Controls

Embed Size (px)

Citation preview

Page 1: 04 WinCC V7 Controls

1

WinCC V7.0 What’s new?

Workshop: Controls

Page 2: 04 WinCC V7 Controls

2

New configuration options for all WinCC Controls enable an easier and clearer designing of the user interface.

�The toolbar can be placed anywhere in the Control

�Customer-specific icons can be integrated into the toolbar, behind which special functions can be specified

�Uniform configuration dialogs for the Controls of Alarm Logging, Tag Logging, and User Archive

�Uniform reporting functionality – the Controls can be directly inserted into the report

�Skinning / theming: Skinning & theming denote the optical adaptation / change. This, for example, means the changeover of the buttons to the Classic or Vista design. The insertion of icons – for the status or information text in place of words – also belongs to

this subject.

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

SIMATIC WinCC V7.0 – New Controls

� Classic and new controls usable

� Customer-specific icons for own functionality

� Free placement of the toolbar

New controls with common Look & Feel

� Enhanced and consistent functionality

� Uniform configuration and operation of the controls for simplified handling

WinCC Controls

Page 3: 04 WinCC V7 Controls

3

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

SIMATIC WinCC V 7.0 – New WinCC Controls

WinCC Controls

SIMATIC WinCC V 7.0 – New WinCC Controls

All WinCC Controls (Trend and Table Controls, Alarm Control, F(x) Control, User Archive Control) were completely

revised and are now available – next to the previous “classic” Controls – with a uniform look & feel and new functionality

such as export, print function, and user-specific configuration.

In addition, own functions can be integrated as buttons on the toolbar of the Control.

Page 4: 04 WinCC V7 Controls

4

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Agenda – WinCC V7.0 Workshop “Controls”

� General Information

� Alarm Control

� Tag Logging:

� Trend Control

� Table Control

� Function Trend Control

� User Archive Control

� Media Control

� . Net Controls & XAML Controls

WinCC Controls

Page 5: 04 WinCC V7 Controls

5

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

SIMATIC WinCC V7.0 – New Controls WinCC Alarm Control: Overview of the new Functions

User-specific selections / filter matrix / text filters like in Excel

Overview

New functionality in the Alarm Control includes, for example, the user-specific selections.

Besides the familiar, very well executed WinCC message selection, a user-specific selection is now possible as well.

In this case, individual filter criteria are selected and saved as a user filter. These filters can then be, in turn, easily

selected from a selection window. If two or more filters are selected at the same time, a conjunction of the data is

formed (logic AND). By cleverly selecting individual filters, a filter matrix can be created. E.g. one filter containing the

error location (cleaning system, bottling plant, labeler) and another filter on the type (alarm, error, warning).

Page 6: 04 WinCC V7 Controls

6

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

SIMATIC WinCC V7.0 – New Controls WinCC Alarm Control: Overview of the new Functions

1. Freely configurable status bar

2. Connection and disconnection of swapped databases

3. Information text as icon

4. Status as icon

5. Over 1000 messages per message window

1

234

5

Overview

1. The status bar is freely configurable in all Controls via uniform dialogs, i.e. individual fields can be added or omitted.

2. Swapped database segments can be connected & disconnected online.

3. The information text can be depicted as an icon – clicking on it displays the information text.

4. The status, too, can be depicted as an icon in place of texts. This facilitates the interpretation in multilingual projects.

5. Over 1000 messages can be listed in one Control.

Page 7: 04 WinCC V7 Controls

7

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

SIMATIC WinCC V7.0 – New Controls WinCC Alarm Control: Overview of the new Functions

New configuration options for all WinCC Controls enable an easier and clearer designing of the user interface.

�Uniform reporting functionality

�Uniform configuration dialog

�Skinning / Theming

�Customer-specific icons

�Free placement of the toolbar

Overview

New configuration options for all WinCC Controls enable an easier and clearer designing of the user interface.

� The toolbar can be placed anywhere in the Control

� Customer-specific icons can be integrated into the toolbar, behind which special functions can be specified

� Uniform configuration dialogs for the Controls of Alarm Logging, Tag Logging, and User Archive

� Uniform reporting functionality – the Controls can be directly inserted into the report

� Skinning / theming: Skinning & theming denote the optical adaptation / change. This, for example, means the

changeover of the buttons to the Classic or Vista design. The insertion of icons – for the status or information text in

place of words – also belongs to this subject.

Page 8: 04 WinCC V7 Controls

8

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

SIMATIC WinCC V7.0 – New Controls WinCC Alarm Control: Overview of the new Functions

Export of selected data as CSV files:

Overview

New functionality for all WinCC Controls enables an easier and clearer editing of the data.

� Export of data as CSV files for editing the data, for example, in Excel.

Here, data can be freely selected and written to a CSV file.

This functionality is available for the Alarm Logging, Tag Logging, and User Archive Controls.

Page 9: 04 WinCC V7 Controls

9

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

WinCC Alarm ControlClassic and New Alarm Control

� More modern design

� New icons

� Not limited to 1000 messages

� New buttons on the toolbar Alarm Control

New configuration options for all WinCC Controls enable an easier and clearer designing of the user interface.

� The toolbar can be placed anywhere in the Control

� Customer-specific icons can be integrated into the toolbar, behind which special functions can be specified

� Uniform configuration dialogs for the Controls of Alarm Logging, Tag Logging, and User Archive

� Uniform reporting functionality – the Controls can be directly inserted into the report

� Skinning / theming: Skinning & theming denote the optical adaptation / change. This, for example, means the

changeover of the buttons to the Classic or Vista design. The insertion of icons – for the status or information text in

place of words – also belongs to this subject.

Page 10: 04 WinCC V7 Controls

10

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

New Functions and Icons on the Toolbar of the Alarm Control

1. Help

2. Export of data

3. Copying of rows

4. Connection or disconnection of backup archives

5. Scrolling in the long-term archive list

6. User-defined button

3 4 51 2 6

Alarm Control

1. Calls the Help for the WinCC Alarm Control.

2. Via this button, all or selected runtime data is exported as a CSV file. If the option “Show Dialog” is activated, a

dialog opens, in which the export settings can be viewed and the export be started. With the appropriate

authorizations, the file and the folder for the export can be specified as well.

If no dialog is displayed, the export of the data immediately starts to the preset file.

3. Copies the highlighted messages. The copy can be pasted into a table editor or text editor.

4. Via this button, a dialog is opened, in which selected backup files can be connected to or disconnected from the

WinCC Runtime.

5. Scrolling in the long-term archive list.

6. Shows the first button function created by the user. The function of the button is user-defined.

Page 11: 04 WinCC V7 Controls

11

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons on the Toolbar���� Operation of the Alarm Control in Runtime

7Displays the message blocks and the statistical

information that has been configured in the tab“Hit List” of the Alarm Control.

Hit List

5Displays the archived messages of the long-termarchive list.

Long-Term Archive List

4Displays the archived messages of the short-termarchive list.

Short-Term Archive List

3Displays the currently pending messages. Alarm List

IDDescription FunctionIcon

(Classic)

Icon

Lists in the Message Window

Alarm Control

Lists in the Message Window

� You have the possibility of displaying six different lists in the message window:

� Alarm list – to display the currently pending messages.

� Short-term archive list – to display archived messages. The display is immediately updated, if new messages come

in.

� Long-term archive list – to display archived messages.

� Lock list – to display the currently messages.

� Hit list – to display statistical information.

� List of messages to be hidden – to display the messages that are being archived, but are not visible.

Page 12: 04 WinCC V7 Controls

12

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons on the Toolbar���� Operation of the Alarm Control in Runtime

Alarm Control

18Emergency acknowledgement of a message requiring

acknowledgement. With this function, the acknowledgement signal of a selected single message

is directly sent to the automation system, even if the message is not pending. The acknowledgement of

messages not pending only applies to chronologically configured messages.

Emergency

Acknowledgement

11Acknowledgement of all pending, visible, and acknowledgement-requiring messages in the

message window, provided that they are not requiring single acknowledgements. If you are using the

multiple selection, all highlighted messages will be acknowledged, even if the messages are not visible.

Group Acknowledgement

10Acknowledgement of a highlighted, visible single

message. If you are using the multiple selection, the highlighted messages requiring single

acknowledgements will not be acknowledged.

Single Acknowledgement

IDDescriptionFunctionIcon

(Classic)

Icon

Acknowledgement

Page 13: 04 WinCC V7 Controls

13

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons on the Toolbar���� Operation of the Alarm Control in Runtime

Alarm Control

31Opens a dialog for setting the time base of the timestamps indicated in the messages.

Time Base Dialog

30Opens a dialog for setting a user-defined sorting of the

displayed messages. - A user-defined sorting has a higher priority than the sorting

by the attribute "MsgCtrlFlags".

Sorting Dialog

14Definition of the messages to be displayed in the message window.

- If the option “All Messages” is activated, the message window will display hidden as well as unhidden messages.

- If the option “Only unhidden Messages” is activated, the message window will only display unhidden messages.

- If the option “Only hidden Messages” is activated, the message window will only display hidden messages.

Display Options Dialog

13Definition of the selection criteria for the messages to be displayed in the message window. The messages not meeting

these criteria will not be displayed, but still be archived.

Selection Dialog

2Opens the configuration dialog, in which the properties of the Alarm Control can be changed.

Configuration Dialog

IDDescriptionFunctionIcon

(Classic)

Icon

Dialogs and Settings

Page 14: 04 WinCC V7 Controls

14

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons on the Toolbar���� Operation of the Alarm Control in Runtime

Alarm Control

29Unhides the message that has been selected in the “List of

Messages to be hidden” and displays it again in the message list, short-term archive list, or long-term archive

list. The message will removed from the ““List of Messages to be hidden”.

Unhide Message

28Hides the message that has been selected in the message list, short-term archive list, or long-term archive list. The

message will be entered in the “List of Messages to be hidden”.

Hide Message

8In the “List of Messages to be hidden”, all messages are displayed that are no longer visible in the message list

due to the automatic and manual hiding.

List of Messages to be hidden

27Releases a message highlighted in the lock list. Release Message

26The message will be locked in the message list and the message archive lists.

Lock Message

15Definition of the lock criteria. All messages meeting these

criteria will not be displayed and not be archived.

Lock Dialog

6Displays all messages that are locked in the system. Lock List

IDDescriptionFunctionIcon

(Classic)

Icon

Locking and Hiding of Messages

Page 15: 04 WinCC V7 Controls

15

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons on the Toolbar���� Operation of the Alarm Control in Runtime

Alarm Control

22The last of the currently pending messages is selected. If

necessary, the visible area of the message window is moved. The button is only operable, if the function “Auto-Scrolling”

has been deactivated.

Last Message

21In relation to the selected message, the next message is selected. If necessary, the visible area of the message

window is moved. The button is only operable, if the function “Auto-Scrolling” has been deactivated.

Next Message

20In relation to the selected message, the previous message is

selected. If necessary, the visible area of the message window is moved. The button is only operable, if the function

“Auto-Scrolling” has been deactivated.

Previous Message

19The first of the currently pending messages is selected. If necessary, the visible area of the message window is moved.

The button is only operable, if the function “Auto-Scrolling”has been deactivated.

First Message

12If “Auto-Scrolling” is activated, the chronologically newest message is always selected in the message window. If

necessary, the visible area of the message window is moved. If “Auto-Scrolling” is not activated, a newly appearing

message will not be selected. The visible area of the message window will not be changed.

Auto-Scrolling

IDDescriptionFunctionIcon (Classic)

Icon

Navigating in the Alarm Window

Page 16: 04 WinCC V7 Controls

16

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons on the Toolbar���� Operation of the Alarm Control in Runtime

39Scrolls to the last page in the long-term archive list. The button is only available, if scrolling in the long-

term archive list is permitted. The setting is activated in the tab “General” of the configuration

dialog.

Last Page

38Scrolls to the next page in the long-term archive list. The button is only available, if scrolling in the long-

term archive list is permitted. The setting is activated in the tab “General” of the configuration

dialog.

Next Page

37Scrolls to the previous page in the long-term archive

list. The button is only available, if scrolling in the

long-term archive list is permitted. The setting is activated in the tab “General” of the configuration

dialog.

Previous Page

36Scrolls to the first page in the long-term archive list.

The button is only available, if scrolling in the long-term archive list is permitted. The setting is

activated in the tab “General” of the configuration dialog.

First Page

IDDescriptionFunctionIcon

(Classic)

Icon

Navigating in the Long-Term Archive List

New Function

Alarm Control

Page 17: 04 WinCC V7 Controls

17

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons on the Toolbar���� Operation of the Alarm Control in Runtime

32Copies the highlighted messages. The copy can be

pasted into a table editor or text editor.

Copy Rows

35Via this button, all or selected runtime data is

exported as a CSV file. If the option “Show Dialog”is activated, a dialog opens, in which the export

settings can be viewed and the export be started. With the appropriate authorizations, the file and the

folder for the export can be specified as well. If no dialog is displayed, the export of the data

immediately starts to the preset file.

Export Data

Function for creating a documentation with

configurable selection of the messages.

Print Message Report

17Starts the printout of the messages of the selected list. The print job used for the printout is defined in

the tab “General” of the configuration dialog.

Print

IDDescriptionFunctionIcon (Classic)

Icon

Printing or Exporting

New Function

Alarm Control

Page 18: 04 WinCC V7 Controls

18

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Export of selected Data as CSV Files

Alarm Control

New functionality for all WinCC Controls provides for an easier and clearer editing of the data.

� Export of data as CSV files for editing the data, for example, in Excel.

Here, data can be freely selected and written to a CSV file. This functionality is available for the Alarm Logging, Tag Logging, and User Archive Controls.

How to configure the operation of the data export:

1. Go to the tab “Export”.

2. At the “Data Export – Settings”, specify the file name and the folder for the export file.

3. As the data format, the CSV format is available at this time. Click on “,” to define the separator in the CSV file.

4. Determine the scope of the data export:

� All runtime data is exported.

� Selected runtime data is exported; this data export is only possible in the WinCC Controls with table display.

5. Configure the operation of the data export in runtime. Define:

� Whether the user can change the file name or the folder.

� Whether the dialog “Data Export – Settings” is displayed in runtime.

6. If the option “Show Dialog” is deactivated, the data is immediately exported to the specified export file when executing the button

function “Export Data”.

7. Save the configuration.

8. Go to the tab “Toolbar” to activate the button function “Export Data” for runtime.

Page 19: 04 WinCC V7 Controls

19

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons on the Toolbar���� Operation of the Alarm Control in Runtime

25For the highlighted message, displays a

picture/screen or triggers a script.

Loop in Alarm

24Opens a text editor for the entry of comments. Comment Dialog

23Open a dialog for the display of information texts. Information Text Dialog

IDDescriptionFunctionIcon (Classic)

Icon

Lists in the Massage Window

Alarm Control

Page 20: 04 WinCC V7 Controls

20

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons on the Toolbar���� Operation of the Alarm Control in Runtime

1001Shows the first button function created by the user.

The function of the button is user-defined.

User-defined 1

34Via this button, a dialog is opened, in which

selected backup files can be disconnected from WinCC Runtime.

Disconnect Backup

33Via this button, a dialog is opened, in which

selected backup files can be connected with WinCC Runtime.

Connect Backup

1Calls the Help for the WinCC Alarm Control. Help

IDDescriptionFunctionIcon (Classic)

Icon

New Functions on the Toolbar

New Function

Alarm Control

Page 21: 04 WinCC V7 Controls

21

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Configuration of the Toolbar / Toolbar of the WinCC Alarm Control

The alignment of the toolbar in the Alarm Control is adjustable

Alarm Control

Hot to configure the toolbar:

1. Go to the tab “Toolbar” of the Alarm Control.

2. In the list of keyboard functions, activate the buttons that you require for the operation of the WinCC Control in

runtime. Information on the function of the individual buttons can be found in the description of the respective WinCC

Control at “Operation in Runtime”.

3. Define the display order of the button functions on the toolbar. Select the button function from the list and move it via

“Up” and “Down”.

4. If required, define hotkeys for the button functions of the toolbar.

5. If operator authorizations are assigned to the individual button functions, the button function will only be enabled in

runtime for users possessing the appropriate authorization.

6. If the option “Active” is deactivated for a button function, the activated button function is displayed in runtime, but is

not operable.

7. Between the individual button functions, separators can be placed. Activate the option “Separator” for the button

function that is to be delimited by a separator.

8. Configure the general properties of the toolbar, e.g. the alignment or the background color.

Page 22: 04 WinCC V7 Controls

22

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Configuration of the Toolbar

1. Insert the Alarm Control into the screen “WS_Alarm.pdl”.

2. In the list of button functions, activate the following buttons:Help, Message List, Short-Term Archive List, Long-Term Archive List, the Navigation Buttons of the Long-Term Archive List, Export Data,

Copy Rows, User-defined Button

Result:

Alarm Control

Configuration of the user-defined button:

Evaluate ID 1001 using a VBScript and activate the dialog for the export via ID 35.

How to make the toolbar of the Alarm Control dynamic:

With the WinCC Controls from V7.0, special functions are no longer needed to implement an operation of the Control via a dynamictoolbar. The previously used standard functions “AXC_OnBtn...” and “OnBtn...” are no longer supported. If you do not want to operate the message window via the toolbar, the “ID” of the desired button can be written to the object property “SymbolleisteButtonClick” via any method of adding dynamics.

The “ID” of a toolbar button is determined via the table on the pages “Operation of the Alarm Control in Runtime”, or via the field “Object ID” in the tab “Toolbar” of the Alarm Control’s configuration dialog. Example: Opening the configuration dialog of the Control To open the configuration dialog of the Control, you have the following options for adding dynamics: VBScript:

� ScreenItems("Control1").SymbolleisteButtonClick = 2

� As an alternative to the property “SymbolleisteButtonClick”, methods for the operation of the toolbar are also available in VBS: ScreenItems("Control1").ShowPropertyDialog

� Or in the following notation supported by “Intellisense”: Dim objSet obj = ScreenItems("Control1")obj.ShowPropertyDialog

C script:

� SetPropWord(lpszPictureName, "Control1", "SymbolleisteButtonClick", 2);

Direct connection:

� In the dialog of the direct connection, enter “2” as the constant for the source.

� For the the destination “Object in Screen”, select the property “SymbolleisteButtonClick” for the object “Control1”.

Page 23: 04 WinCC V7 Controls

23

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Status Bar – A quick Overview of the Alarm Control Contents

Freely configurable status bar

1. Number of pending, hidden messages

2. Connection status

3. Time base

1 2 3

Alarm Control

Pending Messages

Indicates the number of current messages in the message list.

Pending, to be acknowledged Messages

Indicates the number of pending, acknowledgement-requiring messages.

Number of pending, hidden Messages

Indicates the number of pending messages that have been hidden.

Messages in the List

Indicates the number of messages in the current message window. The hidden messages, not visible in the message

list, are counted as well.

Page 24: 04 WinCC V7 Controls

24

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons of the Status Bar ���� A quick Overview of the Alarm Control Contents

Indicates the system time. Time

Indicates the system date. Date

Indicates the number of messages in the current

message window. The hidden messages, not visible in the message list, are counted as well.

Messages in the List

Indicates the number of pending messages that have been hidden.

Number of pending, hidden Messages

Indicates the number of pending, acknowledgement-requiring messages.

Pending, to be acknowledged Messages

Indicates the number of current messages in the

message list.

Pending Messages

Description NameIcon

(Classic)

Icon

New Function

Alarm Control

Page 25: 04 WinCC V7 Controls

25

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

The new Icons of the Status Bar ���� A quick Overview of the Alarm Control Contents

Shows the time base that is used for displaying

times

Shows the first user-created status field.

Time Base

User-defined Text

� All connections are faulty

� Faulty connections existing

� No faulty connections

Indicates the connection status to the Alarm

servers:

Connection Status

Hidden messages are pending. Pending, hidden

Messages

The locking of messages is set. Locked

The filter criterion is in effect. The option “Display all Messages” or “Only display hidden Messages”

is currently active.

Display Options

A selection of the messages is present. Selection

Description NameIcon(Classic)

Icon

New Function

Alarm Control

Page 26: 04 WinCC V7 Controls

26

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Status Bar of the WinCC Alarm Control

1. Open the screen “Alarm.pdl” and go to the status bar.

2. In the list of status bar elements, activate the following elements: Number of pending, hidden Messages, Connection Status, Time Base

Result:

Alarm Control

How to configure the status bar:

1. Go to the tab “Status Bar”. Here, for example, in the WinCC Alarm Control.

2. In the list of status bar elements, activate the elements that you require in runtime. Information on the status bar

elements can be found in the description of the respective WinCC Control at “Overview of the Alarm Control

Contents”.

3. Define the display order of the elements on the toolbar. Select the element from the list and move it via “Up” and

“Down”.

4. If you want to adjust the width of a status bar element, deactivate the option “Automatic” and specify a pixel value for

the width.

5. Configure the general properties of the status bar, e.g. the alignment or the background color.

Page 27: 04 WinCC V7 Controls

27

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

WinCC Alarm ControlOperator Input Messages of the Alarm Control

Operator input messages can be triggered for the following events:

� Locking of a message

� Releasing of a message

� Acknowledging of a message

� Hiding of a message

� Unhiding a message

The message number can be freely assigned

Alarm Control

When handling a message, an operator input message may be triggered. Operator input messages can be triggered for

the following events:

� Locking of a message

� Releasing of a message

� Acknowledging of a message

� Hiding of a message

� Unhiding of a message

How to configure operator input messages:

1. Go to the tab “Operator Input Messages”.

2. In the list “Operator Input Messages when:”, activate the events that trigger an operator input message.

3. If you are not using operator input messages from WinCC, enter the message number of the message that has been

configured for the event.

4. Assign the message blocks of the handled message to the process value blocks of the operator input message. The

message blocks must be selected in the tab “Message Blocks”.

5. Specify whether the content is to be transferred as a text or a value for a proper further processing.

Page 28: 04 WinCC V7 Controls

28

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Operator Input Messages of the Alarm Control

1. Open the screen “Alarm.pdl” and go to the tab “Operator Input Messages”.

2. In the list, activate operator input messages for the following events: Locking of a Message, Releasing of a Message

Result:

Alarm Control

How to configure operator input messages:

1. Go to the tab “Operator Input Messages”.

2. In the list “Operator Input Messages when:”, activate the events that trigger an operator input message.

3. If you are not using operator input messages from WinCC, enter the message number of the message that has been

configured for the event.

4. Assign the message blocks of the handled message to the process value blocks of the operator input message. The

message blocks must be selected in the tab “Message Blocks”.

5. Specify whether the content is to be transferred as a text or a value for a proper further processing.

Page 29: 04 WinCC V7 Controls

29

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

WinCC Alarm ControlIcons for Status, Comment, Information Text, etc.

Configuration as icon or in the Classic view possible

Alarm Control

1. Icon for status

2. Icon for existing comment

3. Icon existing information text

4. Icon for Loop in Alarm

1 2 3 4

How to configure existing message blocks:

1. In the Alarm Control, go to the tab “Message Blocks”. The list “Existing Message Blocks” contains all message

blocks configured in the editor “Alarm Logging”. Also included are the message blocks for the hit list.

2. If the option “Apply Project Settings” is activated, the messages blocks and their properties configured in “Alarm

Logging” are applied to the Alarm Control. The message blocks are displayed with these properties in the message

window, and can only be changed through “Alarm Logging”. The message blocks of the hit list are independent of

“Alarm Logging”. These message blocks can therefore be freely configured.

3. If you want to add or remove message blocks to/from the message lists, or want to configure the properties of the

message blocks, deactivate the option “Apply Project Settings”. The changed properties will be saved in the screen.

If you change properties in “Alarm Logging”, they will not be applied to this Control.

4. If you want to use a message block in the message window, activate the message block in the list “Existing

Message Blocks”.

5. If the option “Selectable in the Selection Dialog” is activated for the selected message block, this message block can

be selected as criterion in the selection dialog.

Page 30: 04 WinCC V7 Controls

30

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

WinCC Alarm ControlDirect Opening of Comment, Information Text or Execution of Jump from Row

Configuration of the behavior when opening

Alarm Control

Action when double-clicking:

Defines the action that is executed, if the message row is double-clicked in runtime.

The following settings are available:

0 No action is executed

1 The function “Loop in Alarm” is called

2 The button function “Comment Dialog” is called

3 The button function “Information Text Dialog” is called

4 The executed action is determined by the column, which has been double-clicked

Page 31: 04 WinCC V7 Controls

31

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Icon for Status, Information Text & Direct Opening of Comment, Information Text or Execution of Jump from Row

1. Open the screen “Alarm.pdl” and go to the tab “General”.

2. Defines the action that is to be executed, if the message row isdouble-clicked in runtime.

Result:

Alarm Control

Note:

Should the message blocks “Comment”, “Information Text”, and “Loop in Alarm” not yet have been added to the Alarm

Control, they can be added via the tabs “Message Blocks” and “Message Lists”.

Page 32: 04 WinCC V7 Controls

32

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

New convenient Selection Dialog of the WinCC Alarm Control

New selections / filter matrix / text filters like in Excel

Alarm Control

New functionality in the Alarm Control includes, for example, the user-specific selections.

Besides the familiar, very well executed WinCC message selection, a user-specific selection is now possible as well.

In this case, individual filter criteria are selected and saved as a user filter. These filters can then be, in turn, easily

selected from a selection window. If two or more filters are selected at the same time, a conjunction of the data is

formed (logic AND). By cleverly selecting individual filters, a filter matrix can be created. E.g. one filter containing the

error location (cleaning system, bottling plant, labeler) and another filter on the type (alarm, error, warning).

Page 33: 04 WinCC V7 Controls

33

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Alarm Filter Configuration of the WinCC Alarm Control

Configuration of the alarm filter in CS and RT

Alarm Control

Introduction

The messages to be displayed in the message window can be stipulated in runtime via the selection dialog. In the

selection dialog, new selection criteria are defined or an already existing selection is specified.

New Features of the Selection Dialog

The selection dialog was made more convenient and offers the following new features:

� Clear entry of the selection criteria for a selection.

� The wildcards “*” and “?” are supported in the setting for a criterion.

� The saving of a selection enables the reuse of the selection without having to enter the selection criteria again.

� Creation of multiple selections.

� Copying of a configured selection.

� Linking of individual selections in terms of an “OR” operation.

� A fixed selection is available that cannot be changed in runtime. The fixed selection and the active user-defined

selection are linked with an “AND” operation.

� All users have full access to all user-defined selections.

� The SQL statements – created by script or entered into the object property “MsgFilterSQL” – are added to the list of

selections and commented.

Page 34: 04 WinCC V7 Controls

34

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Alarm Filter Configuration of the WinCC Alarm Control

1. Open the screen “Alarm.pdl” and go to the tab “Message Lists”.

2. Open the selection dialog and configure the following selection:1. Name WinCC Workshop

2. Comment My Selection

3. Filter Alarm Class Alarm

4. Message Text contains Workshop

Result:

Alarm Control

Page 35: 04 WinCC V7 Controls

35

You want to compare production data?

Example: For a production, you have recorded the temperature, pressure and moisture level as trend curves. Now you

want to compare the batch from yesterday with the master batch.

�Any orientation and assignment of the trend curves

- E.g. 6 trend curves, 3 value axes, 2 time axes

In addition, the following options are available:

- Besides the standard scaling, the axes can also be scaled in percent.

- The trend curves/axes can be touched with the mouse and shifted.

- The Trend Control possesses an adjustable background grid.

- In a Control, the trend curves can be distributed among multiple trend curve windows.

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

SIMATIC WinCC V7.0 – New Controls Tag Logging (Trend Control / F(x) / Table Control)

You want to compare production data?

Temperature, pressure and moisture level of two batches.

�Scaling in percent

�Shifting of the trend curves

�Background grid for the Trend Control

�Multiple trend curve windows in one Control

Overview

Page 36: 04 WinCC V7 Controls

36

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

SIMATIC WinCC V7.0 – New Controls Tag Logging (Trend Control / F(x) / Table Control)

You want to analyze production data?

Powerful analysis functionality, also for the further processing.

�Continuous zooming

�Integral calculation

�Export of statistical values

�Import/export of swapped archives

�Parallel display of defined desired value trend curves

Overview

You want to analyze production data?

Example: For a production, you have recorded the power consumption (in KW) of a machine as a trend curve. Now you

want to compare the power consumption of different products that were made (brown bread, white bread). For this,

the integral calculation is now available.

� In addition, all data can be exported as CSV files.

� Swapped archives can be connected & disconnected.

� Defined desired value trend curves can be displayed.

Page 37: 04 WinCC V7 Controls

37

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Trend ControlClassic and New Trend Control

Trend Control

The new WinCC Online Trend Control offers the following innovations compared to the classic Online Trend

Control from Version 6:

� Freely configurable toolbar, which can be docked at the top, bottom, left, or right.

� Adding of own functions (VBScript) in the form of buttons on the toolbar.

� Freely configurable status bar with user-definable elements.

� Displayable grid for the easier determination of values.

� Shifting of the display area and the axis area with the mouse.

� Display of a relative value axis (lower limit and upper limit of the trend curves correspond to 0 – 100%).

� Depiction of multiple trend curve windows with separate value range and time range in one Control.

� Connection and disconnection of backed up archives.

Page 38: 04 WinCC V7 Controls

38

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Configuration of New WinCC Online Trend Control

Trend Control

1. In the Graphics Designer, create a new screen named “WS_Trend.pdl”.

2. In the screen, add a new WinCC Online Trend Control(object palette, tab: Controls, ActiveX Controls).

3. Close the properties dialog with the button “OK”.

Result:

Page 39: 04 WinCC V7 Controls

39

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Depiction of the Trend Curve in RT

Adjustable line and dot types:

� Trend curve type

� No trend curve

� Linear connection of dots

� Step curve

� Lines

� Solid

� Dashed

� Dotted

� Dash-dotted

� Dash-dot-dot

� Dots

� No dots

� Dots

� Squares

� Circles

Trend Control

Configuration: Tab “Trends”

Configuration of:

� Number and order of the visible trend curves

� Assignment of trend curve window, time axis, value axis

� Data connection (archive tags, online tags)

� Depiction (trend curve type, line type, dot type, trend curve color, line weight, dot size, dot color, fill color)

Page 40: 04 WinCC V7 Controls

40

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise: Configuration of a Trend Curve

Trend Control

1. Open the properties dialog of the Control in the screen “WS_Trend.pdl”.

2. Switch to the tab “Trends”.

3. Edit the existing trend curve “Trend 1” with the following properties:

� Trend Window: Trend window 1; Time Axis: Time axis 1; Value Axis: Value axis 1

� Data Source: Archive tag; Tag Name: “Messwerte\T01”.

� Trend Type: Step trend

� Line Type: Solid; Weight: 1

� Dot Type: Circles; Size: 3

Result:

Page 41: 04 WinCC V7 Controls

41

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Individual Number of XY Axes

Free assignment of the trend curves to

time and value axes.

Trend Control

In the Control, any number of time and value axes can be configured. In the tab “Trends”, these axes can then be

assigned to the corresponding trend curves.

Configuration: Tab “Time Axes”

Configuration of:

� Number and order of the time axes

� Displayed time range, or start and stop times

� Time/date format as well as color of the depiction

� Assignment to a configured trend curve window

Configuration: Tab “Value Axes”

Configuration of:

� Number and order of the value axes

� Value range (manual or automatic)

� Depiction of the values (decimal places, exponential notation) and color

� Individual scaling of the value range

� Labeling of specific value ranges

Page 42: 04 WinCC V7 Controls

42

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Individual Number of Trend Curve Windows in one Control

In the Control, multiple trend curve windows with own time range and value range can be displayed.

Trend Control

Example: Binary values can be inserted in a separate trend curve window.

Configuration: Tab “Trend Window”

Configuration of:

� Number and order of the trend curve windows

� Area allocation (relation of the trend curve window sizes to each other)

� Display of ruler

� Grid lines

Exercise!

Create a second trend curve window with the following properties:

� Object Name: Trend window 2; Area Allocation: 1; Level of the Rulers: In front of trends

Page 43: 04 WinCC V7 Controls

43

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Configuration of a 2nd Trend Curve Window with own Trend Curve

Trend Control

1. Open the properties dialog of the Control in the screen “WS_Trend.pdl”.

2. Switch to the tab “Trend Window”.

3. With the button “New”, add a new trend curve window named “Trend window 2”, and accept the default settings.

4. Create a new time axis and value axis each, and assign them to the trend curve window “Trend window 2”. Accept the default settings.

5. Create a new trend curve

� Assign the trend curve window “Trend window 2”, the time axis “Time axis 2”, and the value axis “Value axis 2” to the trend curve.

� Connect the trend curve with the archive tag “Messwerte\T02”.

� Configure the same effects as for “Trend 1”.

Result:

You also can test the binary tag “Simulation\Start_Plant_Simulation” in the 2nd curve window

Please test the function of the right mouse click in the control

Result:

Values are shown directly on the tool tip

Page 44: 04 WinCC V7 Controls

44

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Grid Lines

To better read the values of the

points in runtime, grid lines can be

placed behind the displayed trend curves.

The configuration is performed

separately for each trend curve

window.

Trend Control

Benefits:

� Improved readability of the displayed values.

Configuration: Tab “Trend Window”

The following grind lines can be displayed:

� Main scaling including display color

� Secondary scaling including display color

� For the value axes

� For the time axes

� Only for the foreground trend

Page 45: 04 WinCC V7 Controls

45

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Shifting and Zooming of the Trend Curves in the Window

Original View

Shifting of Trend Curve Area

Shifting of Axis Area

Trend Control

Zooming of Section

Zooming +/-

Zooming +/- of Time Axis

Zooming +/- of Value Axis

Buttons: Zooming / Original View

� Zooming of section: Define an area to be zoomed by clicking & dragging with the mouse.

� Zooming +/-: Enlarges (left-click) or reduces (right-click) the visible area.

� Zooming +/- of time axis: Enlarges (left-click) or reduces (right-click) the time axes in the trend curve window.

� Zooming +/- of value axis: Enlarges (left-click) or reduces (right-click) the value axes in the trend curve window.

� Original view: Returns to the original view from the enlarged display of a trend curve

Button: Shifting of Axis Area

� Axes can be shifted independent of each other.

� The shifting of axes is always possible.

� To be able to shift the time axes, the updating has to be stopped beforehand.

Button: Shifting of Trend Curve Area

� When using the button “Shifting of Trend Curve Area”, the updating automatically stops.

� Via this button, the trend curves in the trend curve window are shifted along the time axis and the value axis.

Page 46: 04 WinCC V7 Controls

46

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Shifting of the Axes

Trend Control

1. Open the properties dialog of the Control in the screen “WS_Trend.pdl”.

2. Deactivate the trend curve window “Trend window 2” by removing the checkmark next to it in the tab “Trend Window”.

3. Assign the value and time axes “Value axis 2” and “Time axis 2” to the trend curve window “Trend window 1”.

4. Assign the trend curve window “Trend window 1”, the time axis “Time axis 2”, and the value axis “Value axis 2” to the trend curve “Trend 2”.

5. Stop the updating and activate the function “Shifting of Axis Area”.

6. Test the function by arbitrarily shifting the time and value axes.

Result:

Page 47: 04 WinCC V7 Controls

47

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Scaling in Percent

Trend Control

Activation of relative Axis

� The relative axis can only be generated while in runtime via the button “%”.

� In addition to the absolute depiction, the relative value axis is displayed at the right edge.

� The lower limit and the upper limit of the trend curves correspond to the range 0 – 100%.

� A separate shifting of the value axes is then no longer possible.

Page 48: 04 WinCC V7 Controls

48

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Toolbar

New Functions:

1. Shifting of Trend Curve Area

2. Shifting of Axis Area

3. Connection of Backup

4. Disconnection of Backup

5. User-defined Button Functions

1 2 3 4 5

Expanded Functions:

6. Display of relative Axis

6

6

Trend Control

New Functions in V7:

� Shifting of trend curve area: The visible trend curve area can be adjusted with the mouse (click & drag).

� Shifting of axis area: Each axis can be separately moved with the mouse.

� Connection of backup: This button opens a dialog, in which selected archives are connected with WinCC Runtime.

� Disconnection of backup: This button opens a dialog, in which selected archives are disconnected from WinCC

Runtime.

� User-defined button functions: Own functions can be added to the toolbar.

Expanded Functions in V7:

Display of relative Axis

The following limitations no longer apply to the new Control:

� All displayed trend curves must have a fixed value range.

� The trend curves may not have a user-defined scaling.

� The trend curves are linearly scaled.

� The relative value axis replaces the absolute value axis.

Page 49: 04 WinCC V7 Controls

49

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Status Bar

Available Elements for the Status Bar:

� Connection Status

� Date

� Time

� Time Base (local time, UTC)

� User-defined Elements

Trend Control

Creation of a user-defined Element for the Status Bar:

User-defined elements can be supplied with values – for example – by a VBScript.

Example:

A user-defined object named “MyStatus” has been created in the tab “Status Bar” of the WinCC Online Trend Control.

The following VBScript is configured at the event “Open Picture” of the screen containing the WinCC Online Trend

Control “Control1”:

Sub OnOpen()

Dim objTrend

Dim sbElement

Set objTrend = ScreenItems.Item("Control1")

Set sbElement = objTrend.GetStatusbarElement("MyStatus")

sbElement.text = "User defined Text"

End Sub

Page 50: 04 WinCC V7 Controls

50

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Statistics Control

If a “WinCC Ruler Control” is connected with the “WinCC Online Trend Control”, the

statistics functions of the Control can be utilized:

Trend Control

Clicking the button “Select Statistics Area” opens the WinCC Ruler Control and displays the area selection lines in the trend curve window.

Clicking the button “Calculate Statistics” returns statistics on the selected area.

Connection of the WinCC Ruler Control:

To connect the WinCC Ruler Control with the WinCC Online Trend Control, create the WinCC Ruler Control in the

same screen, and at “Properties” in the tab “General”, select the desired WinCC Online Trend Control as the source.

Free Placement of the Control

The tab “General” also contains the option “Automatic Positioning”. If this is activated, the Statistics Control is displayed

at the bottom edge of the Trend Control. Otherwise, the Control can be freely positioned in the screen.

Page 51: 04 WinCC V7 Controls

51

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Statistics Control – Views

Trend Control

Ruler: This view shows the current timestamp and the value of the ruler position in the WinCC Online Trend Control

Statistics Area: This view shows the current timestamp and the value of the first and last values of the selected areas

Statistics: This view shows the statistical values of the selected area

Selection of the displayed Columns

The displayed columns can be set in the properties dialog of the WinCC Ruler Control.

Configuration: Tab “Columns”

� Existing columns: With the arrow keys, the highlighted columns are added to the selected ones.

� Selected columns: With the arrow keys, the highlighted columns are removed. With “Up” and “Down”, the order of the

columns is specified.

� Window: Here, the view to be configured is selected.

Page 52: 04 WinCC V7 Controls

52

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Configuration of the Statistics Window

Trend Control

1. Open the properties dialog of the Trend Control in the screen “WS_Trend.pdl”

2. Deactivate the objects “Trend 2”, “Time axis 2”, and “Value axis 2” by deselecting the respective checkboxes, and confirm the changes with “OK”.

3. In the screen, create a new “WinCC Ruler Control”.

4. At “Properties” in the tab “General”, select the Trend Control “Control1” as the source. Confirm the changes with “OK”.

5. Start WinCC Runtime from the Graphics Designer.

6. With the button “Select Statistics Area”, open the statistics window.

7. With the button “Calculate Statistics”, the statistics values are updated and the statistics view is displayed.

Result:

Page 53: 04 WinCC V7 Controls

53

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Export of the Statistics Files

Export of the Data from the WinCC Online Trend Control:

Trend Control

Clicking on this button opens a dialog, in which the file name, storage location, export data scope (with graphical Controls, only the selection “All” is available),

and file format are selected.

Export of the Data from the WinCC Ruler Control:

Here, too, a dialog for the export of data opens.

Export of the Data from the WinCC Online Trend Control:

Exported are always all data records of the visible trend curves – over the configured time period in case of 1:1 view. A

data record is composed of the timestamp and the corresponding value.

� With the setting “Time Period”: Exported are the data records of the configured time period up to the time of the last

updating.

� With the setting “Start to End Time”: Exported are the data records of the set time period.

� With the setting “Number of Measuring Points”: Exported is the number of measuring points up to the time of the last

updating.

Note!: The export depends on the currently selected depiction (zoom, shifted axes).

Export of the Data from the WinCC Ruler Control:

Exported is the data in the display area of the WinCC Ruler Control.

Exercise!!!

Page 54: 04 WinCC V7 Controls

54

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Table Control Classic – New

Table Control

The new WinCC Online Table Control offers the following innovations compared to the classic Online Table

Control from Version 6:

� Freely configurable toolbar, which can be docked at the top, bottom, left, or right.

� Adding of own functions (VBScript) in the form of buttons on the toolbar.

� Freely configurable status bar with user-definable elements.

� Second color for the rows for the easier assignment of values.

� Definition of different time columns, and assignment of value columns to the time columns.

� Creation of statistics, and export from selected rows.

� Connection and disconnection of backed up archives.

Page 55: 04 WinCC V7 Controls

55

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Table Control Toolbar and Status Bar

Table Control

New Toolbar Functions:

1. Export of Data

2. Connection of Backup

3. Disconnection of Backup

4. User-defined Button Functions

1 2 3

5 6

4

New Status Bar Functions:

5. Display of selected Row, Connection Status, Date, and Time

6. Display of user-defined Information

Creation of a user-defined Element for the Status Bar:

User-defined elements can be supplied with values – for example – by a VBScript.

Example:

A user-defined object named “MyStatus” has been created in the tab “Status Bar” of the WinCC Online Table Control.

The following VBScript is configured at the event “Open Picture” of the screen containing the WinCC Online Table

Control “Control1”:

Sub OnOpen()

Dim objTrend

Dim sbElement

Set objTrend = ScreenItems.Item("Control1")

Set sbElement = objTrend.GetStatusbarElement("MyStatus")

sbElement.text = "User defined Text"

End Sub

Adjust script to Table Control.

Page 56: 04 WinCC V7 Controls

56

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Table Control Statistics

Table Control

If a “WinCC Ruler Control” is connected with the “WinCC Online Table Control”, the

statistics functions of the Control can be utilized:

Clicking the button “Select Statistics Area” opens the WinCC Ruler Control and calculates the highlighted area.

Clicking the button “Calculate Statistics” returns statistics on the highlighted area.

Connection of the WinCC Ruler Control:

To connect the WinCC Ruler Control with the WinCC Online Table Control, create the WinCC Ruler Control in the same

screen, and at “Properties” in the tab “General”, select the desired WinCC Online Table Control as the source.

Free Placement of the Control

The tab “General” also contains the option “Automatic Positioning”. If this is activated, the Statistics Control is displayed

at the bottom edge of the Trend Control. Otherwise, the Control can be freely positioned in the screen.

Page 57: 04 WinCC V7 Controls

57

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

XY Control

Function Trend Contr.

The new WinCC Function Trend Control offers the following innovations compared to the classic Function

Trend Control from Version 6:

� Freely configurable toolbar, which can be docked at the top, bottom, left, or right.

� Adding of own functions (VBScript) in the form of buttons on the toolbar.

� Freely configurable status bar with user-definable elements.

� Displayable grid for the easier determination of values.

� Shifting of the display area and the axis area with the mouse.

� Depiction of multiple trend curve windows with separate value range in one Control.

� Connection and disconnection of backed up archives.

For the depiction of trend curves in the WinCC Function Trend Control, the following applies:

� In one WinCC Function Trend Control, any number of trend curves can be depicted. Recommended is the

configuration of up to 8 trend curves.

� In each trend curve, up to 10000 value pairs can be depicted.

� Online tags, archive tags, or data from user archives can be used for the trend curves.

� The online tags of a trend curve must have the same update cycle.

� The archive tags of a trend curve must have the same update cycle and be acquired cyclic-continuously.

� The depiction of tags as a function of time is only possible, if the values of the trend curves are supplied via the API

interface. To depict tags as a function of time, use the WinCC Online Trend Control.

Exercise

Page 58: 04 WinCC V7 Controls

58

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Creation of a VBScript for a Desired Value Trend Curve

1. Open the properties dialog of the Control in the screen “WS_FunktionTrendControl.pdl”.

2. Switch to the tab “Toolbar”.

3. Add with the button “New”.

4. Create a VBScript at the event “OnSymbolleisteButtonClicked”.

5. The VBScript is to receive the following functionality:

� Evaluation of the button ID.

� Insertion of a desired value trend curve

Result:

Function Trend Contr.

Example Script:

Sub OnToolbarButtonClicked(Byval Item, Byval lId)

If lID = 1001 Then

Dim lngIndex

Dim dblAxisX(100)

Dim dblAxisY(100)

Dim objTrendControl

Dim objTrend

Set objTrendControl = ScreenItems("Control1")

Set objTrend = objTrendControl.GetTrend("Trend1")

For lngIndex = 0 To 100

dblAxisX(lngIndex) = CDbl(lngIndex * 0.8)

dblAxisY(lngIndex) = CDbl(lngIndex)

Next

objTrend.InsertData dblAxisX, dblAxisY

End If

End Sub

Page 59: 04 WinCC V7 Controls

59

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

New Controls: User Archive Control

Unlimited number of data records …

Overview

� More data records in the Control – no limitation.

� However, there is no form view.

Page 60: 04 WinCC V7 Controls

60

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

New Controls: User Archive ControlClassic and New User Archive Control

User Archive Control

The new WinCC User Archive Control offers the following innovations:

� More data records in the Control, since the limitation (the product of the “number of fields” and the “number of data

records” must not exceed the cell count of 320,000) no longer applies.

� However, there is no form view.

Page 61: 04 WinCC V7 Controls

61

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

New Toolbar and Status Bar in the User Archive Control

New Toolbar Functions:

1. Cutting of Rows

2. Copying of Rows

3. Pasting of Rows

4. User-defined 1

1 2 3 4

5 6

Trend Control

New Status Bar Functions:

5. User-defined Status Bar

6. Time Display (System Time, System Date and Time Zone)

New Functions in V7:

1. The content of the highlighted rows is cut.

2. The content of the highlighted rows is copied.

3. The content of the copied or cut rows is pasted starting at the highlighted row.

4. Shows the first button function created by the user. The function of the button is user-defined.

Page 62: 04 WinCC V7 Controls

62

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:Configuration of the New User Archive Control

1. In the Graphics Designer, open the screen named “WS_User_Archive.pdl”.

2. In the screen, add a new WinCC User Archive Control(object palette, tab: Controls, ActiveX Controls).

3. As source of the display, select the user archive “Brewery”.

4. Close the properties dialog with the button “OK”.

Result:

5. Start WinCC Runtime and test the functions of the new User Archive Control.

User Archive Control

Page 63: 04 WinCC V7 Controls

63

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Using the New Controls in the Report Designer

Standardized WinCC Control Runtime Provider in the Report Layout

Controls in the

Report Designer

Page 64: 04 WinCC V7 Controls

64

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Using the New Controls in the Report Designer

Standardized WinCC Control Runtime Provider in the Report Layout

Controls in the

Report Designer

Page 65: 04 WinCC V7 Controls

65

Controls in .Net and XAML Controls are supported by WinCC V7.0.

In addition, animated GIFs and AVIs can also be played back ...

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

SIMATIC WinCC V7.0 – New Controls: Media Control

Control for animated GIFs and AVIs, also Support of .NET and XAML Controls

Overview

Page 66: 04 WinCC V7 Controls

66

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

New Media Control

Display / Playback of Media Files in WinCC Screens

� New Control for a wide variety of media files

� Display of: Animated GIF, BMP, JPG, JPEG, PNG

� Playback of: ASF, WMV, AVI, MPG, MPEG, MP4, QT, MOV

� With the Media Control, media files can be safely

displayed or played back in runtime

� Multiple parameterization options, e.g. hiding of

control elements, dynamic file assignment, etc.

� After adding the Control by means of a double-click,

the dialog for the parameterization opens

Media Control

Page 67: 04 WinCC V7 Controls

67

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:New Media Control

Exercise

� Integration of the Media Player Control

� Selection of different files to be played back by the Control

� Selection of the files via the new combo box object

� (Addition: Operation of the Control from “outside” by means of buttons)

Result

Media Control

Procedure

� Drag & drop the Media Player Control into the screen “WS_V7_New_Media.pdl”.

� Place a combo box object from the object palette in the screen.

� At “Miscellaneous” of the combo box object properties, fill the indexes 1 to 3:

� Pick a “Selected field”, e.g. 1, then specify a media file at “Selected text” (media files are located in the GraCS

folder); use these media files: “WinCC_V7.wmv” for index 1, “WinCCV7_Options.avi” for index 2,

“Maintenance_Station.wmv” , etc.

� For the file name to be transferred, configure a direct connection at the event “Object Change” of the combo box

object.

� The property “Selected text” of the combo box is connected with the “FileName” of the control.

Addition: Example Script:

Page 68: 04 WinCC V7 Controls

68

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

. Net Controls & XAML Controls

Together with WinCC, the .NET Framework by Microsoft is installed as well.

You can therefore integrate .NET applications (assemblies) as Controls into your screens.

.Net Controls

XAML Controls

Configuration of .NET Objects and XAML Objects:

1. Open the tab “Controls”. From the pop-up menu of the folder “.NET Controls” or the folder “XAML Controls”, select

the entry “Add/Remove”.

The dialog “Select .NET Object” or “Select XAML Object” opens.

In the area “Available Controls (Number)”, all .NET objects or WPF objects present on your computer are displayed.

The exact number is shown in the title of the area. A red checkmark indicates the Controls that are available in the

tab “Controls” of the object palette. The assembly, .NET version, and path of the selected object are displayed in

the area “Details”.

2. To add a Control to the object palette, activate the desired Control in the area “Available Controls”.

A red checkmark indicates that the Control has been added to the tab “Controls” of the object palette.

3. To remove a Control from the object palette, deactivate the respective Control in the area “Available Controls”.

The red checkmark will be removed.

4. Confirm the changes with “OK”.

Page 69: 04 WinCC V7 Controls

69

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

. Net Controls & XAML Controls

Together with WinCC, the Windows Presentation Framework 3.0 by Microsoft is installed as well.

You can therefore integrate XAML files as Controls into your screens.

.Net Controls

XAML Controls

Configuration of .NET Objects and XAML Objects:

1. Open the tab “Controls”. From the pop-up menu of the folder “.NET Controls” or the folder “XAML Controls”, select

the entry “Add/Remove”.

The dialog “Select .NET Object” or “Select XAML Object” opens.

In the area “Available Controls (Number)”, all .NET objects or WPF objects present on your computer are displayed.

The exact number is shown in the title of the area. A red checkmark indicates the Controls that are available in the

tab “Controls” of the object palette. The assembly, .NET version, and path of the selected object are displayed in

the area “Details”.

2. To add a Control to the object palette, activate the desired Control in the area “Available Controls”.

A red checkmark indicates that the Control has been added to the tab “Controls” of the object palette.

3. To remove a Control from the object palette, deactivate the respective Control in the area “Available Controls”.

The red checkmark will be removed.

4. Confirm the changes with “OK”.

Page 70: 04 WinCC V7 Controls

70

Industry SectorWinCC V7.0

WinCC Controls

Overview

Alarm Control

Trend Control

Table Control

Function Trend Contr.

User Archive Control

Controls in the

Report Designer

Media Control

.Net Controls

XAML Controls

Exercise:. Net Controls & XAML Controls

Exercise

� Inserting a XAML control

� Add the control "System.Windows.Controls.Button" in the XAML object

� Drag the control to the desired size with the mouse into the picture “WS_XAML.pdl“

� Add under the Events „MouseHover“ a VBS-Aktion which opens a MessageBox

Result

.Net Controls

XAML Controls

Add the control "System.Windows.Controls.Button" in the XAML object

Add under the Events „MouseHover“ a VBS-Aktion which opens a MessageBox

Example Script:

MsgBox "Mouse Hover!"

Page 71: 04 WinCC V7 Controls

71

Thank You