You are on page 1of 60

WinCC V7.

0
Whats new?

Workshop: Graphics

Agenda
Designs Central Color Palette New Graphics Objects New Windows-like Objects Faceplates / Type-Instance Concept Animation Trigger Independent Screen Windows Deactivatable Prefixes Text Distributor / Text Library Tag Management WinCC as Service Setup / Licenses

SIMATIC WinCC V7.0 New Design in the WinCC Editor


User interface Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Graphics Designer User Administrator Structure Types Tag Logging Text Library

Adapted corporate design for modern look & feel


WinCC V7.0 Industry Sector

SIMATIC WinCC V7.0 - Designs


interface User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Various new options for the graphical project creation


Color gradients, shadows, transparency, new objects, hover effect Utilization of the new Vista options, e.g. glass effect With the new Vista-like options such as hover & glass, or shadows & transparency, optimal user interfaces can be created

Effects are centrally configurable Can be made dynamic at the object or be deactivated

WinCC V7.0

Industry Sector

Central Color Scheme and Color Palette


interface User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Desire a design change in the project?


With the central scheme, even already completed plants/systems can quickly be adapted to a customer-specific design.

Design settings, shadows, hover effects, as well as colors


WinCC V7.0 Industry Sector

Changing the project at the push of a button With the central scheme, even already completed plants/systems can quickly be adapted to a customer-specific design. E.g. shadow & hover effects, colors. How is this done? In the project properties, the scheme for the central color palette, shadows, and hover effects can be set. At the object in the Graphics Designer, Yes or No can then be selected for the properties of the object.

WinCC Designs
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Additional graphical customizing options for projects


Design selection from predefined and user-created designs Colors, patterns, and other optical effects are defined by the design Definition of a global design in the project properties

Advantages
WinCC projects can quickly be adapted to a customer-specific design Uniform appearance of WinCC objects throughout the project Creation of own designs with diverse parameterization options

WinCC V7.0

Industry Sector

The setting of the design usually applies to all objects in the project But it can also be deactivated at the object Designs created by yourself can be edited as desired. In particular, the following settings can be individually defined: Global shadow effect Hover effect Style of an object group Color scheme of an object group

WinCC Designs State of the Art


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Various new options for the graphical project creation


Color gradients, shadows, transparency, new objects, hover effect Utilization of the new Vista options, e.g. glass effect Effects are centrally configurable, but can of course also be made dynamic at the object or be deactivated With the new Vista-like options such as hover & glass, or shadows & transparency, optimal user interfaces can be created

WinCC V7.0

Industry Sector

WinCC Designs
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Global shadow for objects


Different options for depicting shadows at objects Can be made dynamic and deactivated at the object

Hover effect
Different depiction as long as the mouse pointer is over a dynamic object Brightness, inner glow, outer glow Improved depiction of the operating possibilities
WinCC V7.0 Industry Sector

The "Global shadow" attribute defines whether the object will be displayed with the shadowing defined in the active design. Yes No Uses the global shadowing defined for this object type. No shadowing.

The attribute "Global shadow" can be made dynamic with the name "GlobalShadow". Hover effect: Increase brightness - when the mouse pointer moves over the object, the entire object becomes brighter Inner glow - when the mouse pointer is moved over the object, the inside of the object glows in the selected color Outer glow - when the mouse pointer is moved over the object, the edge of the object glows in the selected color

SIMATIC WinCC V7.0 Usage of Design and Color palette


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

The global design settings can be individually turned on or off at the object All design options are also individually configurable at the specific objects
WinCC V7.0 Industry Sector

Exercise: WinCC Designs


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Exercise
Creation of a new design Configuration of the individual parameters of the design Activation of the shadows & hover functionality Import / export of designs

Result

WinCC V7.0

Industry Sector

Procedure: Open project properties of the WinCC project, choose tab User Interface and Design Task is to replace the current design with a self-created All parameters should be modified / changed Use the Shadow and Hover effects as well An example of a self-created design you see above E.g. change the properties of the Menu & Toolbar E.g. change the properties of the RT controls (connection between Design and properties of the Alarm control)

It should be made clear which new possibilities WinCC designs offer and which WinCC object is related to which group in the design configuration Information about youll find also in the WinCC Information System -> Working with WinCC -> Working with projects -> Determining the Global Design -> The Elements of the Global Design On the next slide you find the exercise for the use of the Global Design

10

Exercise: WinCC Designs


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Exercise
Add objects to the picture WS_V7_Design.pdl Check the parameter Global color scheme for the objects Start WinCC Runtime to see the configured Design Implement the transparency functionality, e.g. with a Slider object Change the Global Design See the changes in WinCC Runtime

Result

WinCC V7.0

Industry Sector

Procedure Open the picture WS_V7_Design.pdl and add different WinCC objects to use the Design, e.g. .: Clock, Alarm Control, Button, Pipe, Round Button, Radio Box, Slider, Text objects As an example see the screenshot on the slide above All objects groups, which can be configured in the Design, should be used Connection between Design and the objetcs via object parameter category Effects You should create objects with and without setting the parameter Global color scheme Also the new transparency property should be configured, e.g. with a direct connection of a slider to another object Note: If nothing else is set in the object properties, the settings of the selected global design apply to all graphical objects in the project. Note As soon as an attribute is determined by a global design, it remains static and can no longer be made dynamic. Even a dynamization that has already been performed remains without effect. If nothing else is set in the object properties, the settings of the selected global design apply to all graphical objects in the project.

11

Central Color Palette


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Centrally defined colors for the WinCC project


Assignment of choice colors to specific indexes Assignment of color indexes to objects just like the usual explicit colors Creation of up to 10 color scales with up to 20 colors

Advantages:
Creation of a project-wide, central color palette Changing of the colors of many objects in just a few steps Changing the central color palette affects all objects with colors assigned from the central color palette
WinCC V7.0 Industry Sector

Prerequisites for central color palette or central changing of colors: As the global design, not WinCC Classic has been set Central color palette has been set up At Display in the object properties, the attribute Global Color Scheme has been set to No In the object properties, colors from the central color palette have been selected As soon as the central color palette is changed in the project settings, this will affect those object elements in the objects, to which colors from the central color palette have been assigned. Notes: A color palette does not have to be completely defined.

12

Central Color Palette


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Working with the central color palette


Creating and applying of the color palette (by default, none exists) Colors of the color palettes can be added or changed at any time When selecting the color for an object, a color index can be picked from the palette Changing the color of an index results in a project-wide change

Color palettes can be exported and imported (XML format)

WinCC V7.0

Industry Sector

13

Exercise: Central Color Palette


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Exercise
Creation of your own color palette and definition of your own colors for it Assignment of colors from your own central color palette to objects in the screen WS_V7_Palette.pdl Checking of the results in runtime Changing of color indexes of your own palette Export / import of the (changed) central color palette

Result
Central management of colors in the project Easy changeability to adapt project

WinCC V7.0

Industry Sector

Switching of the global design Central color palette has been set up At Display in the object properties, the attribute Global Color Scheme has been set to No In the object properties, colors from the central color palette have been selected Following the changes, the screen has to be called again

14

New Graphics Objects


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Additional design options with new graphics objects


Various pipe objects for a realistic plant visualization

Multi-line text Can be made dynamic for text input and text output in runtime

WinCC V7.0

Industry Sector

A polygon pipe can have various bends just like a polygon Use the "Line connection type" attribute under "Styles" to set the type of corner display (Square, Round) Use the "Line weight" attribute under "Styles" to set the width of tube display. It is one object and can be made dynamic with different actions

15

Exercise: Graphics Objects


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Exercise
Expansion of the screen WS_V7_NewObjects.pdl by a plant section with pipe objects and valves, see image section below Addition: Make this plant section dynamic so that the pipes change color when the valve is opened Addition of a multi-line text field

Result

WinCC V7.0

Industry Sector

Procedure Add and arrange pipe objects Valve objects can be found in the library Note on color change: The object property Global Color Scheme is available

16

New Graphics Objects II


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

New Windows-like objects for intuitive operation


Combo box selection of texts from a list for display and input purposes
Tag connection of the texts via indexes Dynamics are added via indexes or texts

List box selection of texts from a list with corresponding actions


Tag connection or dynamics of the texts via indexes If the list is longer than the list field is high -> two scrolling arrows at the right With corresponding text tags, dynamics are added to the specified texts

WinCC V7.0

Industry Sector

Quasi-replacement of the Microsoft Controls frequently used in previous versions

17

Exercise: Graphics Objects


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Exercise
Expansion of the screen WS_V7_NewObjects.pdl by a list box object This list box object is to offer three screens for selection, which when selected are displayed in a screen window Configuration of list box object with dynamics to the screen window

Result

WinCC V7.0

Industry Sector

Procedure Add the list box object from the object palette (Smart Objects) At object properties -> miscellaneous, fill the indexes 1 to 3 Pick Selected Field, e.g. 1, then specify the screen name at Selected Text WS_V7_nopicture.pdl for index 1 WS_V7_NewObjects.pdl for index 2 WS_V7_Animationcycle.pdl for index 3

So that the screen name can be transferred, a direct connection is set up between the selected text and the screen window.

18

SIMATIC WinCC V7.0 New centrally changeable Objects


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Efficiency through Reusability and central Changeability


New, additional type / instance concept Standardized screen object for an object-oriented configuration Type-specific and instance-specific properties Centrally stored type is used as faceplate instance in the screens

Advantages
Reduction of the configuration work Multiple use in screens Instances are centrally changed via the faceplate type Easy copying between projects

WinCC V7.0

Industry Sector

This new object type is similar to the faceplate or customized object (grouping) in WinCC. A faceplate resides inside a screen window and can be linked with different structure tags via the tag prefix. If the underlying screen is changed, all stored instances change. It always resides in its own screen window. A customized object is a grouping of a number of objects, in which not all properties & events but only specifically selected properties & events appear in the properties/events. If the underlying object is changed, there are no changes to the copies of the object previously inserted into the screens. The new centrally changeable object combines the two familiar procedures. The object is built in an editor (Graphics Designer) and sent to the library as an instance. The object does not have to run in a screen window. It does not require a tag prefix. It can be integrated into the screens multiple times. If the central object is then expanded, for example by an I/O field that displays an additional value, this change is applied to all objects integrated in the screen.

19

Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Central changeability of objects


New, additional type / instance concept Standardized screen object for an object-oriented configuration Type-specific and instance-specific properties Centrally stored type is used as faceplate instance in the screens Creation of faceplate types in the Graphics Designer

Advantages
Reduction of the configuration work Multiple use in screens

example.fpt

Instances are centrally changed via the faceplate type Easy copying between projects

WinCC V7.0

Industry Sector

WinCC stores the faceplate type in an fpt file Faceplate type is inserted as faceplate instance into a process screen Faceplate instance is edited just like a single object in the Graphics Designer Faceplate types posses two kinds of properties and events: Type-specific properties and events These properties and events can only be changed in the faceplate type; properties and events are not configurable in the faceplate instances Instance-specific properties and events These properties and events are configured in the faceplate instances When creating the faceplate type, it is specified whether a property is type-specific or instance-specific

20

Configuration of Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Configuration of faceplates
Create faceplate type with individual objects Configure faceplate type Create faceplate tags Add dynamics to faceplate type

1) Create faceplate type in the Graphics Designer


Add individual objects from the object palette of the Graphics Designer Configure the individual objects; i.e. the type-specific properties / events

WinCC V7.0

Industry Sector

Notes: The object types connector, user object, application window, screen window, and faceplates cannot be used The following menu functions of the Graphics Designer are not available when editing the faceplate type: Activate runtime User object Tag connections

21

Configuration of Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

2) Configure faceplate type


In the configuration dialog of the faceplate type it is specified, what is to be configured in the instances Instance-specific property and event nodes are configured Configuration of property nodes with properties via drag & drop Analogous for events

WinCC V7.0

Industry Sector

Notes: The following properties of the individual objects may not be assigned to a property node: "OutputFormat of the I/O field Layer at all objects Notes: In the property node, group the properties of the individual objects in a meaningful manner. For example, line weight should not be grouped together with background color. Assign a unique name to the property node. There are no language-dependent names for the property node. Notes: Each property of an individual object may only be assigned to one property node. In the faceplate type, only the properties of an individual object not assigned to a property node may be made dynamic. Only the properties of an individual object that have not been made dynamic in the faceplate type may be assigned to a property node.

22

Configuration of Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

3) Create faceplate tags


Faceplates can only be made dynamic with faceplate tags Valid only for this faceplate type, also only editable in this faceplate No access to the WinCC Tag Management

WinCC V7.0

Industry Sector

The following can be configured for the tags: Name Data type Start value Low limit High limit

23

Configuration of Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

4) Add dynamics to faceplate type


Two options: Tag connection and VBScript Restriction: Only faceplate tags, not all WinCC dynamics New SmartTags object instead of HMIRuntime for VB programming

WinCC V7.0

Industry Sector

Adding dynamics with VBScript With VBScript, data outside of the faceplate type cannot be accessed. Consequently no access to HMIRuntime within a faceplate type. Debugging is not possible for scripts in faceplate types. The new component SmartTags has been added to the faceplate type. The faceplate tags and the properties of the faceplate type can be accessed with SmartTags. See also VBS reference in the chapter SmartTags Object. Adding dynamics through a tag connection For the tag connection, only the faceplate tags can be used. Procedure follows that of a regular tag connection.

24

Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Using a faceplate instance


Inserting of a faceplate instance into a process screen New object Faceplate in the object palette

Configuration of the instance-specific properties in the process screen

WinCC V7.0

Industry Sector

Notes: If no or an invalid faceplate type is selected, the faceplate object will be deleted from the screen. Changing of faceplate types Changes made to type-specific properties in the faceplate type will not be updated in the faceplate instances, if the corresponding process screen of the faceplate instance is open. The changes are applied to the instances by closing the corresponding process screen and then loading it again.

25

Exercise: Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Adapt Faceplate
Open the existing Faceplate Stirrer.FPT in the Graphic Designer. Add a Rectangle, a Static Text and an I/O Field into this faceplate. Switch off the global color scheme at these objects.

Result

WinCC V7.0

Industry Sector

Start Graphics Designer and open the Faceplate type Stirrer.FPT Add individual objects from the object palette of the Graphics Designer to the Faceplate type: Add a "Static Text" object into the Faceplate and center the font to the middle. Insert an I/O field object and center the font to the middle too. Insert the Rectangle object and switch off the global color scheme, otherwise no background color can be apply.

26

Exercise: Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Create faceplate internal tags


Open the menu Edit Faceplate Tags out of the menu Create an unsinged 32-bit value called status with the following properties: - Start Value: 11974326 - Low limit: 0 - High limit: 16777215 Assign the tag to the BackColor of the Rectangle3

Result

WinCC V7.0

Industry Sector

Create a Faceplate internal tag: Select the menu entry Edit and press Edit Faceplate Tags to open the Tag dialog Double Click the Add Cell to create a new faceplate internal tag and double click it to rename to status Change the data type to unsigned 32-bit value Choose the data type and set the limits (start value: 11974326, low limit: 0, high limit: 16777215) Assign the tag to property: Select the Stirrer (Group1) and assign the status tag to the Background Color of the Rectangle3

27

Exercise: Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Configure Interface
Open the menu Configure Faceplate Type out of the menu Add the following Properties to the interface: - IOField1.OutputValue - Rectangle1.BackColor - StaticText1.Text Change to the Events tab and add the Button1.Click Event to the interface of the faceplate type.

Result

WinCC V7.0

Industry Sector

Add properties to the Faceplate interface Open the menu entry Edit and select the Configure Faceplate Type Select the IOField1 in the middle column and add the OutputValue to the interface on the left side by Drag and Drop Mark the Property name OutputValue in the Selected Properties column and rename it by the help of the context menu > rename (into Speed) Also add the BackColor- property of Rectangle1 and the Text- property of StaticText1 to the interface Add events to the Faceplate interface Switch to the Events tab and add the Click Event of Button1 to the interface via Drag and Drop Rename this events to MotorStatus

28

Exercise: Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Access to faceplate internal tags


Add a VBS-Action at the Button1- Press left Event To access the tag use the SmartTag(TagName) Method and trigger the value between gray and Green.

Result

WinCC V7.0

Industry Sector

Trigger the faceplate internal tag via VBScript: The status tag should represent the color of the status, therefore trigger it between green and gray by clicking the Button1 To achieve this aim, only VBScript can be used. To get access on Faceplate internal tags use the SmartTags() Method. Dim s Set s = SmartTags(status) If s.value = vbGreen Then s.value = RGB(182,182,182) Else s.value = vbGreen End If

create object reference on the tag if the actual color is green there exists no constant for gray

29

Exercise: Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Insert the Faceplate as Instance


Open the picture Faceplates.pdl and insert The Faceplate instance 3 times, choose Stirrer.FPT. Assign values and tags to the interfaces of the faceplate instance and Trigger The state- bit at the faceplate event Click.

Result

WinCC V7.0

Industry Sector

Open the picture Faceplates.pdl to insert a faceplate instance of the Stirrer.FPT Insert 3 times a faceplate instance and select the Stirrer.FPT Assign the WinCC SpeedX tag to the Speed Property Assign the WinCC ColorX tag to the BackColor Property Add the following C- Script to the Event of the Faceplate instance //WINCC:TAGNAME_SECTION_START #define state state3 //WINCC:TAGNAME_SECTION_END SetTagBit(state,!GetTagBit(state)); // Comment for Cross-Reference // Wincc Tag

//Trigger Bit to show state of Stirrer

30

Exercise: Faceplates
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Change the faceplate type


Open the Faceplate type Stirrer.FPT Open the settings and select the checkbox Display information in case in the option tab. Add or remove a property of the interface and save the faceplate. See what happens in the Faceplates.pdl picture and in Runtime

Result

WinCC V7.0

Industry Sector

To get notified when the interface has changed, display faceplate information Open the Tools menu entry and select Settings, change to Options tab and check the Display information in case option Change the Faceplate interface and save the changes Take a look at the Faceplate.pdl in Runtime and Graphics Designer Take also a look on the Pictures in the WinCC Explorer

31

Animation Trigger
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

New trigger for animations via VBScript


Shorter cycle time: 125 ms High Performance cycle Selection in VBS via Animation Cycle Trigger can be started and stopped while in runtime For this, the object ScreenItems has implemented the new methods ActivateDynamic and DeactivateDynamic As before, the animation is connected to object properties

HMIRuntime.ScreenItems MyObject. ActivateDynamic Property, CycleTime125ms


WinCC V7.0 Industry Sector

Notes: Scripts should not be too long, otherwise the 125 ms cycle cannot be guaranteed WinCC tags requested from a script by the Data Manager with a 125 ms trigger are registered there in a 250 ms cycle! The trigger is deactivated during a Open Picture
Cycle names: CycleTime125ms CycleTime250ms CycleTime500ms CycleTime1s CycleTime2s CycleTime5s CycleTime10s CycleTime1min CycleTime5min Cycletime10min CycleTime1h CycleUser1 CycleUser2 CycleUser3 CycleUser4 CycleUser5 CyclePicture CycleWindow

125 ms 250 ms 500 ms 1s 2s 5s 10 s 1 min 5 min 10 min 1h User cycle 1 User cycle 2 User cycle 3 User cycle 4 User cycle 5 The picture cycle of the screen The window cycle of the screen

32

Exercise: Animation Trigger


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows

Exercise
Screen WS_V7_Animationtrigger.pdl is to be expanded by an object, which is moving from left to right in a 125 ms cycle Once the object reaches the X position 800, the animation starts again from X position 50 Starting and stopping of the animation via start and stop buttons For comparison, creation of a another animation with 500 ms cycle

Result
Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Objects move in a 125 ms or 500 ms cycle

WinCC V7.0

Industry Sector

Procedure Adding of an object, which is to be animated, e.g. a circle Adding of two buttons for the start / stop functionality For the property Position X (left) of the animation object, a VBScript is created By means of an if-else function, the current position is queried, and if the X position is less than 800, then the object is moved to the right by 2 pixels The trigger for this VBScript is Animation cycle For the start button, a VBScript is created at the event Mouse Click, which starts the animation For this, the animation object is defined and its method .ActivateDynamic used Note: The method .ActivateDynamic has to address the property for the animation

For the stop button, a VBScript is created at the event Mouse Click, which stops the animation (see Start script, but instead of the Active you must use the Deactivate method ellipse.DeactivateDynamic "Left) The above steps need to be repeated for a second animation with a 500 ms cycle The parameter for the cycle is CycleTime500ms

33

Independent Screen Windows


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

WinCC Runtime as multi-instance


Not quite, but WinCC permits multiple independent screen windows I.e. depiction of the runtime on multiple monitors Can also be interrupted by other applications More sophisticated and more comprehensive representation of processes

WinCC

Customer Application

WinCC

Implementation of seemingly multiple instances of the WinCC Runtime Can be parameterized at the computer properties and the screen window properties
WinCC V7.0 Industry Sector

34

Independent Screen Windows


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Mode of operation
Hideable main window Start screen has to exist, but is hidden In this main window, the independent screen windows can then be created

Three new screen window properties Independent window, window mode, monitor number

WinCC V7.0

Industry Sector

Configuration In the main window, the independent screen windows are created They have the attributes Independent window, Window mode, and Monitor number The main window, in which the individual screen windows were created, is then no longer needed It is hidden to obtain multiple independent runtime windows Theoretically, there is no limitation with regard to the number of independent screen windows except concerning the clarity/visibility

35

Exercise: Independent Screen Windows


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Exercise
After the start of runtime, three independent and operable screen windows are to be displayed, i.e. implementation of seemingly multiple instances of the WinCC Runtime The independent screen windows are to depict the screens WS_V7_Animationstrigger.pdl WS_V7_Palette.pdl WS_V7_NewObjects.pdl

Result
In runtime, the selected process screens appear in multiple screen windows that can be operated independently from each other

WinCC V7.0

Industry Sector

Procedure Open the screen V7_WS_Independent.pdl In this screen, add three screen windows with the corresponding process screens At the properties of each screen window, the following parameters have to be set: Attribute Independent window to yes Attribute Window mode to Default Attribute Monitor to 1 In addition, attributes such as Heading, Movable, Adapt Picture, etc. should be activated In the next step, the screen V7_WS_Independent.pdl has to be set as the start screen At the computer properties -> Graphics Runtime, the checkbox Hide Main window has to be activated Result In runtime, the selected process screens appear in multiple screen windows that can be operated independently from each other See also next slide

36

Exercise: Independent Screen Windows


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Exercise

WinCC V7.0

Industry Sector

Result

37

Deactivatable Tag and Server Prefixes


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows

Simplified working with screens / screen windows and prefixes


For screen windows, a tag prefix can be assigned In a multi-station system, a server prefix can be employed Up to now, the prefix within the screen / screen window could not be deactivated This is sometimes required to access tags outside of a structure In V7, the prefixes can be deactivated, i.e. the tags are requested without prefix
Server 1 Client 1 Server 1:: Screen 1

Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Screen 1

Application examples
In a screen window with tag prefix, a tag is to be displayed without prefix In a distributed system, where the server screen is displayed on the clients in a screen window, the local user @CurrentUser is to be displayed
WinCC V7.0 Industry Sector

38

Deactivatable Tag and Server Prefixes


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Deactivation of the prefix


With the appropriate tags, the following additions can be used: @NOTP deactivates the tag prefix @NOSP deactivates the server prefix @NOP deactivates the tag prefix and the server prefix The additions are available for all dynamics types Example of a tag connection:

Example in a VBScript:

WinCC V7.0

Industry Sector

Notes: (Unofficially, @local could be used in the past to deactivate the prefix) Additions cannot be used in the properties TagPrefix or ServerPrefix of a screen window or basic screen The deactivation of the server prefix is only useful for clients with own project If a standard server is set up in a multi-station system, the additions @NOP and @NOSP cannot be used for the deactivation The setting of the prefix only becomes effective after the screen name has been provided again Thus, either the prefix has to be set before the screen selection, or the screen name has to be provided again, if the screen is not changed

39

Exercise: Deactivatable Prefixes


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Exercise
Main screen WS_V7_Prefix_main is expanded by an I/O field with project-wide value Screen window screen WS_V7_Prefix is to depict the value by means of a C script, tag connection, and dynamic dialog In doing so, the tag prefix of the screen windows has to be deactivated

Result
The traffic lights switched in the main screen are depicted differently in the screen windows The project-wide value is the same everywhere, due to the deactivated prefix

WinCC V7.0

Industry Sector

Procedure In the screen WS_V7_Prefix_main, add an I/O field; connect the internal tag value99 (the tag is located in Tag Management in the group Workshop) In the screen WS_V7_Prefix, add three I/O fields and make them dynamic accordingly - be sure to deactivate the tag prefix: At the first I/O field, connect the tag by means of a C script

At the second I/O field, connect the tag directly

At the third I/O field, connect the tag by means of the dynamic dialog

When the screen is called in runtime via the menu item Deactivated Prefix, two screen windows connected via tag prefix to different tags are displayed. The new I/O fields, however, show the value of the main screen. Result See slide

40

Text Distributor
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Simplified multilingual configuration with WinCC


New central editor for the export and import of all texts Configuration of the WinCC project in a familiar language, then export of all texts, translation, and import of the translated texts Previously, no central tool for all texts (Text Library, Easy Language)

Now a convenient tool in the Text Distributor For the export and import of all language-dependent texts

Individual languages, individual objects, or groups of objects can be selectively exported and imported
WinCC V7.0 Industry Sector

See also WinCC Information System, chapter Configuration for multiple Languages

41

Text Distributor
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

WinCC V7.0

Industry Sector

42

Text Distributor
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Working with the Text Distributor


Started via the WinCC Explorer, Text Library, or Graphics Designer Manages texts of the Text Library, Graphics Designer, and menus & toolbars Subdivides / exports texts according to editors / applications, into separate files each
E.g. DemoprojectV7_MenueToolbars.txt

Exports as CSV or TXT file with freely selectable file prefix; when importing, filtering according to this prefix Status list for the export and import Selection according to texts not used or not existing
WinCC V7.0 Industry Sector

Notes: Exportable Languages The Text Distributor only offers those languages for the export that originate from the same language area and use the same code page I.e. if Asian texts are to be exported, the corresponding operating system language also has to be set in the operating system Only then will the associated languages be offered for the export For further information concerning file structure, etc. see also the chapter Text Export and Text Import with the Text Distributor in the WinCC Help

43

Exercise: Text Distributor


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Exercise
Texts of the screen WS_V7_Prefix_main.pdl are to be exported with the aid of the Text Distributor

Result
Exported CSV file

WinCC V7.0

Industry Sector

Procedure Start the Text Distributor via the WinCC Explorer Deselect all components except for the Graphics Designer Select the export path and the file format (.txt is recommended) In the screen selection dialog, select the screen WS_V7_Prefix_main In the language selection dialog, select the languages to be exported (German and English) Export the texts

44

Text Library
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Library Tag Management WinCC as Service Setup / Licenses

Expansion of the Text Library functionality


New filter mechanisms and functions in the Text Library For a simplified management of texts Finding of inconsistencies in the configuration by means of filter functions
Display of unused texts Points out deleted text IDs that are still used in the project

Find & replace functionality Text Distributor as central tool

WinCC V7.0

Industry Sector

Inconsistencies in your configuration can be determined using the filter function and the "Missing text" function. Text that is not used The "Not system text" setting in the filter function indicates that a text exists in the Text Library but is not used in the configuration. Note The text records are used e.g. in Global Script, is also output with filter setting "Not system text"

Missing text You are presented with the IDs of the text records that are deleted in the Text Library but are used in the configuration with the "Missing text" function. The application point is also indicated. The "Missing Text ID" dialog is displayed. The IDs of the text records that do not exist but are used in the configuration are listed. In order to recreate the marked text entry, click on the "Create" button. The respective Text ID is created again and you can enter the respective text in the generated line.

45

Tag Management - New Channels and expanded communication


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

New channel drivers


Allen-Bradley Ethernet IP Link options via the following channel units:
Allen-Bradley E/IP PLC5 Allen-Bradley E/IP SLC50x Allen-Bradley E/IP ControlLogix

Modbus TCP/IP

Expanded communication possibilities


For ALARM_S/SQ the maximum data length for all attended tags is 12 BYTE Today, these 12 BYTE can be used only as 6 WORD. With V7.0 youre able to use the complete 12 BYTE with a mix of different data types for attended tags

WinCC V7.0

Industry Sector

46

Internal Tags
User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Persistence of internal tags


Internal tags do not have a connection to the process They are used to manage data within a project With the new property Runtime Persistence, the value of the tag is retained after ending the runtime If the runtime is restarted, the stored value is used as the start value

WinCC V7.0

Industry Sector

47

Exercise: Internal Tags


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Exercise
In the screen WS_V7_Prefix_main.pdl, the internal tags connected to the traffic lights are to be configured as persistent

Result
After ending and restarting the WinCC Runtime, the last traffic light switching is retained

WinCC V7.0

Industry Sector

Procedure Identification of the relevant tags Traffic_light_4 Traffic_light_5 In the tag properties, activate the parameter Runtime persistence Check the persistence by ending and restarting the WinCC Runtime

48

SIMATIC WinCC V7.0 WinCC as a Service


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management als Service WinCC as Service Setup / Licenses

The WinCC server is located in a separate room No user needs to be logged in Monitoring and control of the WinCC project from the clients / Web clients

WinCC V7.0

Industry Sector

Server Farms / Servers in secure Rooms Result: Security & reliability Requires: Service account, project without interactive user inputs Tool: Script parser, since it can call dialog boxes, external programs, etc.

49

SIMATIC WinCC V7.0 - WinCC in ServiceMode


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger

WinCC Service Project

<< noninteractive >>


Services

<< interactive >>


Applications

ProjectManager
Screen Windows Deactivatable Prefixes Text Distributor Tag Management als Service WinCC as Service Setup / Licenses

Graphics RT UserAdmin RT LTO Editor

DataManager Alarmlogging RT

WinCC V7.0

Industry Sector

WinCC Service Project: As a general rule, a user is not logged in to a server with an activated service project. WinCC Runtime starts as a service. A service project is started automatically or manually. Automatic Start With automatic start, WinCC Runtime is automatically start when the server is turned on and the set project is activated. The automatic start can be performed without an interactive user being logged in. Manueller Start With a manual start, the user must log into the server and then activate the project. When the user logs off the server, WinCC Runtime continues to be active.

Noninteractive Part of the Wincc project which runs as service without an logged in user. Interactive Part of the Wincc project which can restarted from an logged in user for changing settings or confugurations of the project.

50

SIMATIC WinCC V7.0 - WinCC in ServiceMode


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management als Service WinCC as Service Setup / Licenses

Configuration Examples
WinCC server with Windows Server 2003 WinCC server with Windows XP with a maximum of 3 clients WinCC WebNavigator server or dedicated Web server DataMonitor server or dedicated DataMonitor server

WinCC V7.0

Industry Sector

WinCC server with Windows Server 2003 Clients with Windows XP Clients with Windows Vista WinCC server with Windows XP with a maximum of 3 clients Clients with Windows XP Clients with Windows Vista WinCC WebNavigator server or dedicated Web server WinCC Web clients DataMonitor server or dedicated DataMonitor server DataMonitor clients

51

SIMATIC WinCC V7.0 - WinCC in ServiceMode


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management als Service WinCC as Service Setup / Licenses

settings
Local Windows user The user must be a member of the local "SIMATIC HMI" user group on all the computers in the network. The password for this user must be identical on all computers. Windows domain user The user is a member of the local "SIMATIC HMI" user group on all computers. The user is a member of a group which is in turn a member of the local "SIMATIC HMI" user group. For accepting the settings the project have to be reopened

WinCC V7.0

Industry Sector

Converting a Standard Project to a Service Project: To change the project into the service mode open the project settings and check the Service checkbox in the operation mode tab. For accepting the settings the project have to be reopened.

52

SIMATIC WinCC V7.0 - WinCC in ServiceMode


User Interface Central Color Palette Graphics Objects Faceplates The use of the WinCC/Connectivity Pack option is not released for a service project Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management als Service WinCC as Service Setup / Licenses After converting the service project to a standard project and vice-versa, you must reconfigure Autostart As a general rule, a user is not logged in to a server with an activated service project. WinCC cannot show diagnostics information on the server. WinCC thus forwards diagnostics information to the clients. With a service project, you cannot add additional programs and tasks to the startup list. The already existing startup list will be deactivated while mode change.

Tips and Tricks


Check scripts for user inputs by dint of the ScriptInstector

WinCC V7.0

Industry Sector

Tips and Tricks: Scripts Since an interactive user is not normally logged into service projects, C scripts and VB scripts e.g. lead to problems in the following cases:
-If -If

you require interactions, e.g. inputs. you display message boxes. you can check your project by dint of the ScriptInspector. Please find the ScriptInspector in the uTools

User Login and Logoff While the service project is active, interactive users can log in and off the server at any time.

53

SIMATIC WinCC V7.0 WinCC installation


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Easy package installation

WinCC V7.0

Industry Sector

The package installation describes the very easy installation of WinCC V7.0 WinCC V7.0 DVD contains the complete basis software, SQL server, as well as WinCC option packages WebNavigator, DataMonitor, Connectivity Pack and SIMATIC Logon. SIMATIC NET will also provided on the DVD. Easier installation: a few clicks at the beginning of the installation is all that is required

54

SIMATIC WinCC V7.0 Client Installation without SQL Server


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

You want to set up a WinCC operator terminal on less powerful hardware to utilize existing equipment? A WinCC client can now be installed without SQL Server.
WinCC Client without project

Takes up less disk space Faster installation Fewer tasks Less maintenance

WinCC Server

WinCC V7.0

Industry Sector

The SQL Server is only needed where project data is recorded. I.e. on single workstations, servers, or multi-clients. The SQL Server is not required on a simple client, since no project data is located on it Consequently, it is now possible to install a client without SQL Server.

55

SIMATIC WinCC V7.0 Windows XP for WinCC Server - Client


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Usage of Windows XP for WinCC server


Small server / client structure with XP Released for a server with up to 3 clients

Limitation
Engineering on the server only

WinCC Client Windows XP Prof

WinCC Client Windows XP Prof

Windows XP Prof
WinCC V7.0

WinCC Server

Industry Sector

56

SIMATIC WinCC V7.0 WinCC goes Vista


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management

VISTA functionality with WinCC


PCs with preinstalled operating systems, e.g. for WinCC clients in an office environment Latest VISTA functionality, like glass effects WinCC V7.0 tested on Windows Vista: Ultimate Enterprise Business

Certainly proven operating systems like


WinCC as Service Setup / Licenses

Windows XP Windows 2003 Server


WinCC V7.0 Industry Sector

Are you buying PCs with preinstalled operating systems, e.g. for WinCC clients in an office environment? Do you want the latest functionality? WinCC V7.0 tested on Windows Vista Enterprise, Business & Ultimate. The Web client and DataMonitor client can also run on the Vista Home edition. You want to employ proven operating systems, e.g. in the production or on the server? WinCC V7.0 can also run on Windows XP SP2 as well as Windows 2003 Server SP2 and Windows 2003 Server R2 SP2. Other operating systems can, for example, be used via the Web server with Terminal Services on thin clients.

57

SIMATIC WinCC V7.0 Licenses and Upgrades


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management WinCC as Service Setup / Licenses

Licenses and upgrades


V7.0 licenses can be used for V6.2 and V6.0 SP3/4 V7.0 archive licenses are only usable on V6.2 V6.2 archive licenses are usable on V7.0

WinCC SUS includes all options except: ODK SIMATIC BATCH (for WinCC) SIMATIC Maintenance Station Upgrades available for: V6.0 SQL 2000 V7.0 SQL Server 2005 SP2 V7.0 SQL Server 2005 SP2 V6.2 SQL 2005 SP1 No direct upgrade for V5
WinCC V7.0

V7
Industry Sector

WinCC V7.0 now comes with 512 PowerTags. The 1024 version as well was doubled to 2048 PowerTags. In addition, SIMATIC Logon for the central user administration is now included in V7.0.

58

SIMATIC WinCC V7.0 WinCC Licenses


User Interface Central Color Palette Graphics Objects Faceplates Animation Trigger Screen Windows Deactivatable Prefixes Text Distributor Tag Management

Additional software as well as increased tag packages


More WinCC for the same money 512 & 2048 PowerTags SIMATIC Logon included

WinCC V6 256k 150k 100k 64k 8k 1024 256 128 power tags

WinCC V7 256k 150k 100k 64k 8k 2048 512 128 power tags

New communication drivers:


WinCC as Service Setup / Licenses

Allen-Bradley Ethernet IP Modbus TCP/IP

WinCC V7.0

Industry Sector

Instead of 256, WinCC V7.0 now comes with 512 PowerTags, and the 1024 version as well was doubled to 2048 PowerTags. The customer receives twice the number of tags for the same price. In addition, SIMATIC Logon for the central user administration is now included free of charge in V7.0. This is a plus especially for plants in the FDA environment or with a domain structure, in which a Central User Administration and an Automatic Logout of the users are required. Two new Ethernet drivers were installed: Allen-Bradley Ethernet IP (only for Control Logix PLC) Modbus TCP/IP As a result, a connection to these PLCs is possible through the regular Ethernet / RJ45 connector of the PC. On the WinCC side, there are no additional costs for PCI cards, etc.

59

Thank You

60

You might also like