You are on page 1of 45

CGSE Control System WinCC Manual

Table of Contents
1System Function................................................................................................................................2 1.1 Main Interface.......................................................................................................................3 1.2 Sub Interfaces........................................................................................................................4 2 Interface Implementation.................................................................................................................7 2.1 Switch between Interfaces....................................................................................................8 2.2 Picture Window...................................................................................................................10 2.3 Exit WinCC Runtime..........................................................................................................12 3 Tag Management............................................................................................................................15 3.1 Add New Driver..................................................................................................................15 3.2 Channel unit PROFIBUS................................................................................................16 3.3 Creating Tags.......................................................................................................................18 3.4 Creating an I/O Field and making it dynamic.....................................................................20 4 Process Value Output in Process Displays.....................................................................................21 5 Archiving Process Values...............................................................................................................24 6 Setting up an alarm system............................................................................................................27 6.1 The "Flashing" Property......................................................................................................27 6.2Alarm Logging.....................................................................................................................28 6.3WinCC Alarm Control.........................................................................................................32 7 Report System................................................................................................................................36 8 Client-Server system......................................................................................................................39 9 Redundant system..........................................................................................................................43

1System Function
The Graphics System

It displays static and operator-controllable picture elements, such as texts, graphics or buttons It updates dynamic picture elements, e.g. modifies the length of a bar graph in relation to a process value It reacts to operator input, e.g. the clicking of a button, or the entry of a text in an input field It writes the process values that have to be archived to the process value archive in runtime It reads the archived process values from the process value archive when needed It outputs the time course of process values in a picture It prints out process values from the archive database as a report It provides the operator with information relating to the operating status and the fault status of the process. It informs the operator of critical situations at a very early stage and help to eliminate idle time.

Archiving System

Alarm Logging System

The system runtime interfaces are shown as follows.

2/45

1.1 Main Interface

Figure 1-1 Runtime Main Interface

3/45

1.2 Sub Interfaces

Figure 1-2 300K-80K Process

Figure 1-3 80K-4.2K-1.8K Process


4/45

Figure 1-4 Runtime Online Table

Figure1-5 Alarm Logging

5/45

Figure1-6 Legend Description

6/45

2 Interface Implementation
How to start the Graphics Designer is shown as Figure2-1.

Figure2-1 WinCC Graphics Designer The Graphics Designer can only be started for the project currently opened in the WinCC Explorer. Navigation window of the WinCC Explorer, Select the command "Open" in the context-sensitive menu the "Graphics Designer" entry. The Graphics Designer is started and a new picture is opened. The library of the Graphics Designer is versatile tool for saving and managing graphic objects that can be used for creating process pictures. The "Siemens HMI Symbol Library" folder contains a comprehensive symbol library, whose elements can also be inserted in a picture as controls. Shown as Figure 2-2

7/45

Figure2-2 Siemens HMI Symbol Library

2.1 Switch between Interfaces


How to implement Switch Buttons, such as NextPreviousBack. Step1: Configure Object Properties---Mouse Action.

Step2: Open Direct Connection Dialog.

8/45

Step3: Choose the corresponding Picture Name for the Constant shown in Step 2.

9/45

2.2 Picture Window


The picture window offers the option of displaying other pictures that were created with the Graphics Designer in the current picture. For example, with dynamics the contents of a picture window can be continuously updated.

Step1: Inserting a picture window from Object Palette

Step2: Open the "Object Properties" window to change the current values of the desired attributes.

10/45

Step3: Set dynamic value ranges for the Picture Window, an internal variable (Data Type: Boolean) is needed.

Step4: Double-click on the "Picture name" attribute and select a picture of the PDL format that you want to display in the picture window.
11/45

2.3 Exit WinCC Runtime


With the Dynamic Wizard, you can configure an object using C actions. When you execute a wizard, preconfigured C actions and trigger events are defined and transferred to the object properties. Step1: Select the Exit button.

Step2: Run Exit WinCC Runtime in Dynamic Wizard.

12/45

13/45

Then with Left mouse key on the button, WinCC RT is exited.

14/45

3 Tag Management
A connection between WinCC and the automation system will have to be configured before you can access the current process values of the automation system.

3.1 Add New Driver


Step1: select the menu item "Add new driver" in the pop-up menu of the component "Tag Management".

Step2: Select the required channel (SIMATIC S7 PROTOCOL SUITE) in a selection box.

15/45

3.2 Channel unit PROFIBUS


The channel unit is used to connect WinCC to the SIMATIC S7-300 and S7-400 automation systems via a PROFIBUS network. Step1: Select the entry "New Driver Connection" in the pop-up menu of the channel unit "PROFIBUS". The "Connection Properties" dialog will open.

Step2: Click on the "Properties" button to open the "Connection Parameters PROFIBUS" dialog. And set the connection parameters for PROFIBUS.

16/45

17/45

3.3 Creating Tags


Data generated by the automation system or the WinCC project are transferred by means of tags. Step1: Create a Tag Group(The names of tag groups must be unique in the whole project.)

Step2: Create tags in tag groups and set parameters in the tag properties.

18/45

19/45

3.4 Creating an I/O Field and making it dynamic


Step1: From the object palette, select "Smart Objects" "I/O Field". And position the "I/O Field" in the drawing space

Step2: Configure parameters (Tag, update circleetc) in the dialog box "I/O Field Configuration"

20/45

4 Process Value Output in Process Displays


You can output archived and current process values in runtime. To do this, WinCC provides you with two ActiveX controls which you can insert in a process display: a table window and a trend window. Step1: Start Graphics Designer and open a new picture. Click on the object "WinCC Online Table Control" (or WinCC Online Trend Control) in the object palette on the "Controls" tab. Then position the mouse cursor on a location on the picture where you wish to insert the Control.

Step2: Configure parameters in the dialog box Properties of WinCC Online Table Control (or Properties of WinCC Online Trend Control)

21/45

22/45

23/45

5 Archiving Process Values


WinCC allows you to save the process values in the process value archive. The archive can, for example, be used at a later point in time to display and evaluate the temporal development of the process values. Step1: Start Tag Logging via the pop-up menu in WinCC Explorer. As with WinCC Explorer, Tag Logging also has its own navigation and data window.

Step2: The Archive Wizard can be accessed via the pop-up menu for the entry "Archive" in the Tag Logging navigation window. The Archive Wizard will guide you through the required steps.

24/45

Step3: Creating a new Archive Tag

Step4: Configure the new archive tag.

Process value archiving is controlled by cycles and events. The acquisition and archiving cycles enable continuous acquisition and archiving of process values. Furthermore, process value archiving may also be triggered or ended by events.
25/45

26/45

6 Setting up an alarm system


The message system processes results from functions which monitor actions in the process, on the automation level and in the WinCC System. The message system indicates alarm events recorded both visually and acoustically and archives them electronically and on paper. Freely selectable access to the messages and supplementary information on individual messages ensure that faults are localized and cleared quickly.

6.1 The "Flashing" Property


The attribute "Flashing" shows whether in Runtime the value of the analog display appears flashing or not. Step1: Set up Flashing Flags Create flashing flags (Type: Boolean) both in PLC programs and in WinCC. When the process value reaches alarming point, the corresponding flashing flag is set to True (1) ;when the value returns to normal range, the flag is set to False (0).

Step2: Configure the "Flashing Text Active" attribute Open the I/O Field properties dialog box. Dynamic the Flashing Text Active attribute with the corresponding flashing flag.

27/45

6.2Alarm Logging
The analog alarm allows you to set any number of limit values for a tag. A message is generated in runtime if one of the limit values is exceeded. Step1: Integration of the analog alarm

28/45

Step2: Setting the tag to be monitored

Step3: Defining a limit value to be monitored

29/45

Note: When configuring the limit value monitoring, the automatically generated messages must not be additionally created via the Table Window of the Alarm Logging. After Alarm Logging is restarted, the messages are visible and can be modified in the Table Window.

Step4: Configure Single message parameters.

30/45

31/45

6.3WinCC Alarm Control


WinCC Alarm Control is used as a message window to display message events. Step1: Double-click in the object palette on the "Controls" tab control on "WinCC Alarm Control". Control will be inserted into the picture.

Step2: Double click on the control to open the "WinCC Alarm Control Properties" dialog.

32/45

Step3: On the "Message Blocks" tab control, select system block "Time" and both
33/45

user text blocks "Message Text" and "Point of error".

Step4: On the "Message Lists" tab control, specify the message blocks and their order
34/45

to be displayed in the message window.

35/45

7 Report System
You can print out process values from the archive database as a log. In this output form, you can choose between tabular form and trends. Both output forms are available to you as ready-prepared layouts in the Report Designer. The following prepared layouts are available for process value output in the log:

@CCTlgRtCurves.RPL: process value output as a trend @CCTlgRtTables.RPL: process value output as a table

Step1: In WinCC Explorer under "Report Designer" select the entry "Layouts" and double-click on the entry "@CCTlgRtTables.RPL". The Report Designer is opened and the selected layout is displayed.

Step2: Double-click on "Tag Logging Runtime. Tag-Table" to open the "Object Properties" dialog. Set the parameters on the Connect tab.

36/45

Step3: Configure a Print Job for Log Output.

37/45

On the Printer Setup tab select the output medium ("Printer" and/or "File").

Step4: Execute the print job cyclically or manually.

38/45

8 Client-Server system
WinCC can be used to configure Client-Server systems, thus enabling the system operation and monitoring features to be distributed to several clients and servers. Step1: Creating a new project, of the "Multi-User Project" type, on the server.

Step2: Including clients which are supposed to configure or be monitored remotely into the computer list at the server.

39/45

Step3: Assigning operating rights for clients to enable remote configuration.

40/45

Note: Activate the "Configure Remote" authorization and "Activate Remote" for a user who should be assigned full authorizations to the server project. Step4: Activating the automatic package update at the server.

41/45

Step5: Start up the client and log in on the server.

42/45

9 Redundant system
Two server computers are coupled together and operate in parallel. If a server suffers a disturbance, it is automatically switched over. This increases the availability of WinCC and of the plant as a whole.

Step1: Right click on the "Redundancy" editor. In the context menu which appears, click "Open". Configure general settings for the redundancy system.

43/45

Step2: Duplicate the Project with the "WinCC Project Duplicator".

44/45

Step3: Activate the Redundancy Server. Activate initially the configured Master Server. Next, start its existing clients. Once they are active, activate the second server and its existing clients. The first synchronization will then be performed.

45/45