HMIi Wincc v6 2 Getting Started en
HMIi Wincc v6 2 Getting Started en
Introduction
WinCC V6.2
Getting Started
Manual
Order number
6ZB5370-0CM02-0BA5
Release 12/06
A5E00238517
Safety Guidelines
This manual contains notices which you should observe to ensure
your own personal safety, as well as to protect the product and
connected equipment. These notices are marked as follows according
to the level of danger:
Danger
indicates an imminently hazardous situation which, if not avoided, will result in
death or serious injury.
Warning
indicates a potentially hazardous situation which, if not avoided, could result in
death or serious injury.
Caution
used with the safety alert symbol indicates a potentially hazardous situation
which, if not avoided, may result in minor or moderate injury.
Caution
used without safety alert symbol indicates a potentially hazardous situation
which, if not avoided, may.
Attention
indicates that unwanted events or status can occur if the relevant information
is not observed.
Note
draws your attention to particularly important information on the product,
handling the product, or to a particular part of the documentation.
Qualified Personnel
Only qualified personnel should be allowed to install and work with
this software. Qualified personnel within the meaning of the safety
notices of this documentation are persons capable of giving due
consideration to safety engineering standards when using this
software on systems.
Trademarks
The registered trademarks of the Siemens AG can be found in the
preface.
Impressum
Editor and Publisher: A&D AS SM ID 5
Exclusion of liability
We have checked the content of this publication for compliance with the
described hard and software. However, discrepancies cannot be
excluded, with the result that we assume no guarantee for total
compliance. The information in this publication is checked regularly, and
any necessary corrections are included in the following editions. We
would be grateful for any suggestions for improvement.
Siemens AG
Bereich Automation & Drives
Geschftsgebiet SIMATIC HMI
Postfach 4848, D-90327 Nuernberg
Siemens AG 2003-2006
Technical data subject to change.
Siemens Aktiengesellschaft
07.03
Introduction
Introduction
Welcome to WinCC - the Windows Control Center for Windows XP Professional and
Windows 2000.
WinCC is powerful HMI system for use under Microsoft Windows 2000 and
Windows XP. HMI stands for "Human Machine Interface", i.e. the interface
between the human (the operator) and the machine (the process). The actual
control over the process is performed by the automation system. WinCC
communicates with both the operator and the automation system(s).
The graphics system - the editor for creating the screens is the Graphics
Designer.
The alarm system - the editor for configuring the alarms is named Alarm
Logging.
The archiving system - the editor for specifying the data to be archived is
named Tag Logging.
The report system - the editor for creating the report layouts is the Report
Designer.
Archiving of the current runtime data such as process values and alarm events.
Introduction
07.03
Notation
This documentation uses the following notation:
Symbol
Description
Indicates a click with the left
mouse button.
Indicates a click with the right
mouse button.
Indicates a double-click with the
left mouse button.
Indicates an operation while the
left mouse button is kept
pressed.
Indicates an input via the
keyboard.
"File"
#1
ii
"New"
07.03
Contents
Contents
1
iii
Contents
07.03
4.5.1
4.5.2
4.6
4.7
4.8
iv
07.03
This chapter describes the WinCC hardware and software requirements as well as the
installation procedure from the CD-ROM.
For the Getting Started, you will create a single-user project. The project runs on a
computer that functions as the server for processing the data and as the operator
station. Other computers cannot access the project.
Operating System
User Rights
Video Resolution
Internet Explorer
SQL Server
Required Restart
07.03
Error Messages
If one of these requirements is not satisfied, the WinCC installation will be
cancelled and an error message displayed. The following table contains
information about the various error messages.
Error Message
Explanation
07.03
1.1
Recommended
CPU
Intel Pentium 4,
1400 MHz
Main Memory
Server: 512 MB
Server: 1 GB (1024
MB)
700 MB
1 GB
1.5 GB
10 GB
Virtual Memory
100 MB
> 100 MB
Video Card
16 MB
32 MB
Color Depth
256
True Color
Resolution
800 * 600
1024 * 768
1)
The hard disk on which the operating system is installed must have a minimum of
100 MB of available space for additional system files. In most cases, the operating
system is located on drive "C:".
2)
Depending on the project size as well as the size of the archives and packages.
For the activation of a project, a minimum of 100 MB must be available in addition.
3)
As the "Paging file size for a selected drive" use the recommended value from
the field "Total paging file size for all drives". Enter the recommended value in the
fields "Initial size" and "Maximum size".
4)
WinCC requires the Windows printer spooler to detect printer errors. For this
reason, no other printer spooler must be installed.
1.2
07.03
Introduction
For the installation of WinCC, certain requirements with regard to the operating
system and the software configuration have to be met. Before the installation of
WinCC, the MS Message Queuing Services and the SQL Server 2000 instance
"WinCC" need to be installed.
Caution
WinCC has been approved for operation in a domain or working group.
However, please note that the domain group guidelines and domain restrictions
could hinder the installation. In this case, delete Microsoft Message Queuing,
Microsoft SQL Server 2000 and WinCC from the domains from the computer prior
to the installation. Following a successful installation, the WinCC computer can be
readmitted to the domain. If the domain guidelines and domain restrictions do not
interfere with the installation, the computer need no be removed from the domain
during installation.
Please note that the domain group guidelines and domain restrictions could also
interfere with the operation. If these restrictions cannot be cleared, operate the
WinCC computer in a working group.
If necessary, contact the domain administrator.
Operating System
Single-user systems of a project must either be operated with Windows XP
Professional or with Windows 2000.
WinCC V6.0 runs under Windows XP Professional and Windows 2000.
Operating
System
Configuration
Comments
Windows XP
Windows 2000
07.03
If you want to use the HTML Help of WinCC to its full extent, Java scripts have to
be enabled on the Internet Explorer under "Internet Options".
1.3
07.03
Introduction
WinCC employs the Message Queuing Services of Microsoft. This component is
part of the operating system. However, MS Message Queuing is not a default
setting of the Windows installation and has to be added if necessary.
For the installation, the Windows installation CD-ROM is required.
Caution
WinCC as well as the required software must not be installed on a computer which
is operated in a domain.
Procedure in Windows XP
Steps
10
From the Windows "Start" menu, go to "Settings" > "Control Panel" >
"Add/Remove Programs".
07.03
Steps
and acknowledge with "OK".
6
If the dialog box "Files Needed" opens, insert the requested Windows
installations CD-ROM. Click on the button "OK".
The MS Message Queuing Services will be installed.
From the Windows "Start" menu, go to "Settings" > "Control Panel" >
"Add/Remove Programs".
Select the MSMQ type "Independent Client". Click on the button "Next".
Select the setting "Message Queuing Services do not access the active
directory". Click on the button "Next".
If the dialog box "Files Needed" opens, insert the requested Windows
installations CD-ROM. Click on the button "OK".
The MS Message Queuing Services will be installed.
11
1.4
07.03
Introduction
This chapter describes how the Microsoft SQL Server 2000 SP3 is installed for
WinCC V6.0. For this, use the supplied CD-ROM.
During the installation, a new SQL Server instance ("WinCC") with the required
settings will be created.
Requirements
Procedure
Steps
1
12
07.03
1.5
To install WinCC, click on the text "Install SIMATIC WinCC". The Installation
Wizard will then guide you step-by-step through the installation procedure.
In the following dialog window, click on the button "Next" to go to the next
steps.
Read and accept the license conditions by clicking on "Yes".
13
1.5.1
07.03
14
07.03
1.5.2
15
1.5.3
07.03
In the dialog box "Select Components", choose the components that you want
to install. For this, click on the desired component in the left window - their
elements will then be displayed in the right window. In the right window, the
individual elements can then be selected. To select components/elements, click on
the check-box in front of the desired component/element. Selected
components/elements are indicated by a check-mark. The required space will be
displayed as well as the available space.
16
07.03
17
1.5.4
07.03
Installation: Authorization
The dialog box "Authorization" displays a list of required authorizations based
on the selected components. Since the authorization can also be performed later,
select "No, the authorization is performed at a later time". Please note that without
an authorization, WinCC only runs in a demo mode and automatically shuts down
after one hour.
18
07.03
1.6
Introduction
You can completely deinstall WinCC from your computer or remove individual
components or languages.
Procedure
Steps
1
From the Windows "Start" menu, go to "Settings" > "Control Panel" >
"Add/Remove Programs".
Maximum log size (system log/application log): 1024 KB (default setting: 512
KB)
Following the deinstallation of WinCC, these settings are not restored. These
settings can be adjusted in the Window Event Viewer.
From the Windows "Start" menu, go to "Settings" > "Control Panel" >
"Administrative Tools" > "Event Viewer". In the left side of the window, right-click on
the logs "System" and "Application" (Windows XP) or "System Log" and
"Application Log" (Windows 2000).
From the pop-up menu, select the entry "Properties" and restore the old settings.
19
20
07.03
07.03
This chapter introduces you to the basic components of WinCC and explains how to set
up and edit a WinCC project by means of simple examples.
Components of WinCC
The basic components are the configuration software and the runtime software.
The WinCC Explorer is the core of the configuration software. In the WinCC
Explorer, the entire project structure is displayed and the project managed. To
develop and configure projects, special editors are provided that can be accessed
from the WinCC Explorer. With each editor, a specific subsystem of WinCC is
configured.
With the runtime software, the operator can run and monitor the process.
21
2.1
07.03
"WinCC"
6.0".
Illustration 2.1: WinCC Project "Qckstart"; Starting WinCC from the Windows "Start" Menu
22
07.03
2.2
The left side of the window contains the navigation window, which leads to the
individual project steps. Subfolders are indicated by the symbol . To make them
visible, click on this symbol.
23
07.03
The right side of the window shows the elements belonging to the selected editor
or folder.
In the left side of the WinCC Explorer window, click on the icon "Computer"
. In the right side of the window, you should then see a server computer with your
computer name (the NetBIOS name). Right-click on this computer and select
"Properties" from the displayed pop-up menu. In the following dialog box, you can
set the properties of the WinCC runtime, including which runtime components are
to be started upon project activation, which language is to be used, which buttons
are to be deactivated, etc.
Note
If your computer does not possess a NetBIOS name, the name "DEFAULT" will be
used.
24
07.03
2.3
In the dialog box "Add new Driver", select one of the displayed drivers (e.g.
"SIMATIC S7 Protocol Suite") and click on the button "Open". The selected driver
will then be displayed in the subfolder of Tag Management.
To create a new connection, click on the icon
- all the available channel units will be displayed.
25
07.03
In the following dialog box "Connection Properties", enter "PLC1" in the name
field.
Click on the button "OK".
26
07.03
27
2.4
07.03
28
07.03
2.4.1
29
07.03
All internal tags created will be listed in the right side of the WinCC Explorer
window.
This is how easy a tag can be created. For each additional tag required, simply
repeat these steps. You can also "copy", "cut" and "paste" tags. These commands
can be accessed from the pop-up menu (right-click on the desired tag) or called
using standard Microsoft key combinations (<CTRL+C> = copy, <CTRL+V> =
paste).
30
07.03
2.4.2
31
07.03
In the dialog box "Tag Group Properties", enter a group name in the name
field.
32
07.03
2.4.3
33
07.03
34
07.03
35
07.03
Note
If you want to use positive and negative numbers for the process value range, a
signed tag must be specified as the data type and "Signed" be selected in the field
"Format Adaptation".
36
07.03
2.5
2.5.1
37
07.03
38
07.03
2.5.2
39
07.03
Color Palette
Assignment of colors to selected objects. In addition to the 16 standard colors, you
can also define custom colors.
Object Palette
Contains the Standard Objects (Polygon, Ellipse, Rectangle, etc.), Smart Objects
(OLE Control, OLE Element, I/O Field, etc.) and Windows Objects (Button, CheckBox, etc.).
Style Palette
Changes the appearance of a selected object. Depending on the object, you can
change the line or border type, the line or border width, the line end style, or the fill
pattern.
Alignment Palette
Allows you to change the absolute position of one or more objects, change the
position of selected objects relative to each other or unify the height and width of
several objects.
Zoom Palette
Sets the zoom factor (in percent) for the active window. Via buttons, several default
zoom factors can be set.
Menu Bar
Contains all available menu commands of the Graphics Designers. Commands
that can currently not be activated are grayed out.
Toolbar
Contains buttons to quickly perform common commands.
Font Palette
Changes the font type, size and color of text objects as well as the line color of
standard objects.
Layer Bar
Selects which of the 32 layers will be visible. Layer 0 is selected by default.
40
07.03
To learn more about the displayed objects, first click on the icon
and then on
the desired object. For additional information, please refer to the WinCC
Information System or the WinCC V6 user manual.
Note
To specify which bars or palettes are to be displayed in the Graphics Designer,
"Toolbars". In the dialog box
click on the menu bar commands "View"
"Toolbars", mark which bars/palettes you want to have displayed and then click on
the button "OK".
41
2.5.3
07.03
42
07.03
2.5.4
In the drawing space, position the button with a mouse click and then drag it while keeping the mouse button pressed - to the desired size.
After releasing the mouse button, the dialog box "Button Configuration" will
open. In the field "Text", enter a name. For example, the name of the screen you
wish to switch to: "SAMPLE".
To select the screen you wish to switch to, click on the icon
field "Change Picture on Mouse Click".
next to the
Close the dialog box "Button Configuration" and save the screen "START.pdl"
by clicking on the button
43
07.03
Note
Use the arrow keys to move an object in small steps.
Use SHIFT + arrow keys to move an object in large steps.
44
07.03
2.5.5
"Library", or
Double-click on "Global Library" and then - in the right side of the window - on
the folder "Plant Elements".
Double-click on the folder "Tanks".
Click on the library toolbar icon
Note
Via the buttons
can be changed.
and
Click on "Tank 1" and drag it into the drawing space while keeping the left
mouse button pressed.
The black blocks surrounding the tank allow it to be resized. Position the
mouse pointer on one of the black blocks and drag the tank to the desired size
while keeping the left mouse button pressed.
45
07.03
"Static Text".
Position the object in the upper, right corner of the drawing space and drag it
to the desired size while keeping the mouse button pressed.
Enter the title "Atlanta Water Supply".
Set the font size to "20". To do so, click on the toolbar arrow button next to the
current font size
To adjust the frame to the text, click on the text and drag the black blocks until
the desired size is reached.
46
07.03
2.5.6
Note
With the "Pin"
icon located on the toolbar of the object properties window, this
window can be permanently pinned down in the Graphics Designer. If you now
select a different object, its properties will be automatically be shown in the
window. To turn this function off, click on the "Pin"
icon again.
47
07.03
In the object properties window, attributes can be defined or changed. You can, for
example, change colors and geometric properties (such as the width and the
height), and set the minimum or maximum value.
In the left side of the window, click on "Tag Assignment".
In our project, the tag "TankLevel" created by you will set (make dynamic) the
fill level of the tank. In the right side of the window, right-click on the transparent
light bulb next to "Fill Level".
From the pop-up menu, select "Tag".
In the dialog box "Tags - Project", click on the tag "TankLevel" from the folder
"List of all Tags". Click on the button "OK". The transparent light bulb will turn
green.
In the column "Update Cycle (Current)" and the row "Fill Level", right-click on
the displayed cycle (2 sec.).
In the pop-up menu, click on the entry "Upon Change".
48
07.03
The default settings for the minimum and maximum values of the fill level display
are 0 and 100 respectively.
Note
A green light bulb indicates that a tag is linked to this attribute. In our project, the
tag "TankLevel" was linked to the attribute "Fill Level".
A property shown in bold indicates that a tag is linked to an attribute of this
property.
49
07.03
50
07.03
2.5.7
"I/O Field".
Position the "I/O Field" in the drawing space and drag it to the desired size
while keeping the mouse button pressed. Afterwards, the dialog box "I/O Field
Configuration" will be displayed.
To select a tag, click on the icon
and, in the following dialog box, select
the tag "TankLevel" from the folder of internal tags.
Select "500 ms" as the update cycle. To do so, click on the arrow icon next to
the field "Update" and select "500 ms" from the drop-down list.
51
07.03
Note
If you accidentally exit the I/O field configuration dialog box - or any other object
configuration dialog box - before completing all settings, proceed as follows:
Right-click on the I/O field and select "Configuration Dialog" from the displayed
pop-up menu.
Making an I/O Field dynamic
The properties of the I/O field can be changed in the object properties window.
Right-click on the just created "I/O Field".
In the pop-up menu, click on the entry "Properties".
In the left side of the window, click on the property "Limits".
In the right side of the window, double-click on "Low Limit Value".
In the following dialog box, enter "0". Click on the button "OK".
In the right side of the window, double-click on "High Limit Value".
In the following dialog box, enter "100". Click on the button "OK".
Note that a tag is linked to the property "Input/Output" (indicated by the bold type).
If you click on the property "Input/Output", you will see that the tag "TankLevel" with
an update cycle of "500 ms" has been linked to it. You made these settings in the
"I/O Field Configuration Dialog".
Save the screen "START.pdl" by clicking on the icon
Graphics Designer.
52
07.03
2.6
Click on "OK" to close the properties window. You are now ready to work in
runtime!
53
2.7
07.03
Note
Click on the "Activate" toolbar button of the Graphics Designer to immediately view
changes that you have made to a screen.
After a brief loading time, you should see the following:
54
07.03
2.8
In the simulator dialog window, select the tag that you want to simulate. For
"New Tag".
this, click on "Edit"
In the dialog box "Tags - Project", select the internal tag "TankLevel" and click
on "OK".
In the tab "Properties", click on the simulation mode "Inc".
Enter a start value of "0" and a stop value of "100".
Select the check-box "active".
In the tab "Tags", click on the button "Start Simulation". The table "Tags" will
then display the tag "TankLevel" with its changing values.
55
07.03
If you go back to the runtime window, you will see how the simulator supplies your
screen with "real" values.
Deactivate your WinCC project by clicking on the WinCC Explorer menu bar
"Activate". The check-mark next to "Activate" will disappear.
commands "File"
56
07.03
This chapter introduces you to the basic components of the archiving system and
describes the configuration with the Tag Logging editor. In runtime, the progression of
the process values is displayed in table and trend windows.
Tasks of the Archiving System
You can display current process values at any time. However, if you want to
display the chronological progression of a process value, e.g. in a diagram or table,
you will need access to past process values. These values are stored in process
value archives.
Components of the Archiving System
The process value archiving system consists of configuration and runtime
components:
The configuration component of the archiving system is the Tag Logging editor. In
there, you can configure process value and compressed archives, define
acquisition and archiving cycles and select the process values to be archived.
The runtime component of the archiving system is responsible for writing the
process values to be archived to the process value archive during runtime. Vice
versa, Tag Logging Runtime is also responsible for reading the archived process
values from the process value archive, if - for example - the chronological
progression of the process values is to be graphed or shown in table form in a
screen.
Configuring the Archiving System
To configure the Tag Logging, proceed as follows:
1. Open the Tag Logging editor.
2. Configure a timer.
3. Create an archive using the Archive Wizard.
4. Configure the created archive.
5. Create a trend window in the Graphics Designer.
6. Create a table window in the Graphics Designer.
7. Define the startup parameters.
8. Activate the project.
57
3.1
07.03
58
07.03
3.2
59
07.03
Note
Acquisition or archiving cycles are derived from the multiplication of the base and
the factor.
60
07.03
3.3
Illustration 3.3.1: WinCC Project "Qckstart"; Archive Wizard - Configuration of the Archive
61
07.03
Click on the button "Select" and pick the tag "TankLevel" in the following
dialog box. Confirm your entries by clicking on the button "OK".
Click on the button "Apply" to complete the configuration with the Archive
Wizard.
62
07.03
3.4
63
07.03
This concludes the configuration of the process value archive. The tag "TankLevel"
will be acquired every second and archived as the tag "TankLevel_Arch". The
archiving takes place in the main memory and the archived process values are
only available while runtime is active.
Click on the button
to save the configuration. The settings will become
effective the next time runtime is activated.
Close the Tag Logging editor.
64
07.03
3.5
Illustration 3.5.1: WinCC Project "Qckstart"; General Properties of the Trend Control
65
07.03
66
07.03
3.6
Illustration 3.6.1: WinCC Project "Qckstart"; General Properties of the Table Control
67
07.03
68
07.03
and minimize
69
3.7
07.03
70
07.03
3.8
"New Tag".
In the dialog box "Tags - Project", select the internal tag "TankLevel" and click
on "OK".
In the tab "Properties", click on the simulation mode "Inc".
Enter a start value of "0" and a stop value of "10".
Select the check-box "active".
In the tab "Tags", click on the button "Start Simulation". The table "Tags" will
then display the tag "TankLevel" with its changing values.
In WinCC runtime, the trend and table windows will now display the progression of
the tag "TankLevel".
71
07.03
Illustration 3.8: WinCC Project "Qckstart"; Trend and Table Windows in Runtime
Deactivate your WinCC project by clicking on the WinCC Explorer menu bar
"Activate". The check-mark next to "Activate" will disappear.
commands "File"
72
07.03
This chapter introduces you to the basic components of the alarm system and describes
the configuration of an alarm system with the Alarm Logging editor.
73
4.1
07.03
74
07.03
4.2
Illustration 4.2.1: WinCC Project "Qckstart"; System Wizard - Selecting the Alarm Message Blocks
75
07.03
In the dialog box "System Wizard: Presetting Classes", select the setting
"Class of Error with Types Alarm, Failure and Warning (Incoming
Acknowledgement)".
76
07.03
4.3
Changing the Length of the User Text Blocks "Message Text" and "Point of Error"
In the navigation window, click on the icon
77
07.03
78
07.03
79
4.4
07.03
Illustration 4.4.1: WinCC Project "Qckstart"; Configuring the Alarm Message Colors
In the following dialog box, the text and background colors of your alarm messages
can be configured based on the state of the alarm.
Configure these colors for your messages of the message type "Alarm":
In the preview area, click on "Came in" (alarm has been activated).
Click on the button "Text Color".
In the color selection dialog box, select the color "White" and click on "OK".
Click on the button "Background Color".
In the color selection dialog box, select the color "Red" and click on "OK".
In the preview area, click on "Went out" (alarm has been deactivated).
Click on the button "Text Color".
80
07.03
In the color selection dialog box, select the color "Black" and click on "OK".
Click on the button "Background Color".
In the color selection dialog box, select the color "Yellow" and click on "OK".
81
4.5
4.5.1
07.03
Analog Alarm
"Add
The AnalogAlarm component will be displayed in the navigation window below the
"Message Classes".
82
07.03
In the dialog box "Properties", the tag to be monitored and the type of monitoring
will be defined.
83
07.03
Note
If you activate the check-box "a message for all limit values", the same message
will be displayed in runtime regardless of whether the upper or lower limit is
violated (you must then specify a message number).
In the delay time field, a delay can be set. An alarm message will then only be
displayed after the delay time has expired (this prevents alarms from being
displayed, if the limit value violations are only of a very brief duration).
84
07.03
In the dialog box "Tag Selection", select an existing tag or create a new one. For
our project, we will create a new tag.
In the left side of the tag selection dialog box, click on "Internal Tags" and then
on the button
In the dialog box "Tag Properties", enter "AnalogAlarm" as the name of the
new tag.
In the dialog box "Tag Properties", select "Unsigned 16-Bit Value" as the data
type.
Confirm your entries by clicking on the button "OK".
In the right side of the tag selection dialog box, click on "AnalogAlarm".
85
4.5.2
07.03
86
07.03
Illustration 4.5.6: WinCC Project "Qckstart"; Configuring the Upper Limit Value
87
07.03
88
07.03
4.6
Illustration 4.6.1: WinCC Project "Qckstart"; Quick Configuration WinCC Alarm Control
89
07.03
"Smart Objects"
"I/O Field".
In the drawing space, position the I/O field with a mouse click and then drag it
- while keeping the mouse button pressed - to the desired size.
Use the button
in the dialog box "I/O Field Configuration" to select the
tag to which the I/O field should be linked.
In the field "Update", select the update cycle 500 ms.
Illustration 4.6.2: WinCC Project "Qckstart"; Making the I/O Field dynamic
90
07.03
Configuring a Slider
From the object palette, select
"Windows Objects"
"Slider".
In the drawing space, position the slider with a mouse click and then drag it while keeping the mouse button pressed - to the desired size.
Use the button
in the dialog box "Slider Configuration" to select the tag
to which the slider should be linked.
In the field "Update", select the update cycle 500 ms.
In the field "Alignment", click on "horizontal".
and minimize
91
4.7
07.03
92
07.03
4.8
"New Tag".
In the dialog box "Tags - Project", select the internal tag "TankLevel" and click
on "OK".
In the tab "Properties", click on the simulation mode "Random".
Enter a minimum value of "0" and a maximum value of "100".
Select the check-box "active".
If you do not want to control the limit value monitoring of the tag "AnalogAlarm" via
the I/O field or the slider, connect this tag to the simulator as well.
Click on "Edit"
"New Tag".
93
07.03
WinCC runtime will display the incoming messages in the message window. You
can also enter values in the I/O field or move the slider to trigger alarm messages
of the monitored tag "AnalogAlarm". For this, the tag "AnalogAlarm" has to be
deleted from the "Edit" menu.
94
07.03
This chapter introduces you to the basic components of the Report Designer and
describes the creation of an alarm message sequence report aided by a template. The
subject of issuing print jobs will also be addressed.
95
5.1
07.03
96
07.03
5.2
Introduction
The page layout editor is a component of the Report Designer and provides objects
and tools for creating page layouts.
97
07.03
98
07.03
5.3
99
07.03
Make sure that the field "Current Column Sequence" contains all message
blocks that are to be printed in the message sequence report.
To make the width of the message blocks fit onto a DIN A4 page, we will need to
change the column width of the message blocks "Number" and "Point of Error".
Select the message block "Number" and then click on the button "Properties".
Enter the value "9" in the field "Number of Places". Do the same for the message
block "Point of Error". Enter the value "20" in the field "Length".
Click on the button "OK".
100
07.03
To edit the properties of the layout, click on a blank space outside of the table.
In the left side of the dialog box, click on "Geometry" and make sure that the
page format "A4" is selected in the right side.
101
5.4
07.03
Illustration 5.3.1: WinCC Project "Qckstart"; Defining the Print Job Properties
Note
If the check-box "Line Layout for Line Printer" is activated, the above layout cannot
be selected. Deactivate the check-box to output the message sequence report for
this project in page format.
102
07.03
and minimize
103
5.5
07.03
104
07.03
5.6
"New Tag".
In the dialog box "Tags - Project", select the internal tag "TankLevel" and click
on "OK".
In the tab "Properties", click on the simulation mode "Random".
Enter a minimum value of "0" and a maximum value of "100".
Select the check-box "active".
In the tab "Tags", click on the button "Start Simulation". The table "Tags" will
then display the tag "TankLevel" with its changing values.
In the message window, click on the button "Message List" to view the list of
incoming messages.
Enter appropriate values in the I/O field to also trigger alarm messages of the
monitored tag "AnalogAlarm".
To start the printout of the messages displayed in the message window, click
on the button
105
106
07.03
07.03
This chapter shows you how to create a report that outputs Tag Logging runtime data in
a table. In runtime, you will use the "Preview Print Job" function.
107
6.1
6.1.1
07.03
To display the date and the time in the layout, click on the object palette's
"Date/Time".
"System Objects"
Position the object in the upper left corner drag it to the desired size while
keeping the mouse button pressed.
Right-click on the object "Date/Time".
In the pop-up menu, click on the entry "Properties".
Click on the icon
Make sure that you are in the tab "Properties". In the left side of the window,
click on "Font".
In the right side of the window, double-click on "X Alignment" and select "Left".
In the right side of the window, double-click on "Y Alignment" and select
"Centered".
Follow the above steps and add the system object "Project Name". With regard to
the alignment, make the same changes as for the object "Date/Time".
Continue by adding the system objects "Page Number" and "Layout Name" to the
upper right corner. Change the "X Alignment" to "Right" and the "Y Alignment" to
"Centered".
You can change more attributes to improve the appearance. For example, you can
remove the frame around the inserted system objects.
Select the system object to be changed and click on "Styles" in the left side of
the tab "Properties".
In the right side, double-click on "Line Type" and select "Without Line" from
the drop-down list.
108
07.03
6.1.2
In the tab "Runtime Documentation" of the object palette, select the object
"Tag Table" from the folder "Tag Logging RT".
In the dynamic section of the page layout, drag the object to the desired size.
Open the object properties dialog box by double-clicking on the object and
select the tab "Connect".
In the right side of the tab "Connect", click on "Tag Selection" and then on the
button "Edit".
109
07.03
In the dialog box "Tag Logging Runtime: Tag Selection for Reporting", click on
the button "Add...".
In the left side of the dialog box "Archive Selection", click on the icon
"Qckstart" or the computer name.
before
110
07.03
Select the format "Integer". For the number of digits, enter the value "3", and
for the decimal places, the value "0".
111
07.03
To edit the properties of the layout, right-click on a blank space outside of the
table.
In the left side of the dialog box, click on "Geometry" and make sure that the
page format "A4" is selected in the right side.
112
07.03
6.2
Illustration 6.3: WinCC Project "Qckstart"; Defining the Print Job Properties
113
6.3
07.03
114
07.03
In the preview, you can change the display via the buttons "Zoom In", "Zoom Out"
or "Two Pages".
115
116
07.03
07.03
Index
Index
A
Activating
54
Activating the Project
54, 71, 114
Adding a Communication Driver
25
Adding a PLC Driver
25
Alarm Control
89
Alarm Logging
73, 74
Opening Alarm Logging
74
Analog Alarm
82
Monitored Tag
82
Setting Limit Values
86
Authorization
18
Installation
18
Graphics Designer
Alignment Palette
Color Palette
Font Palette
Layer Bar
Menu Bar
Object Palette
Opening
Style Palette
Toolbar
Toolbars displayed
Zoom Palette
Communication Drivers
Configuring a Slider
Configuring Acquisition Timers
Configuring Alarm Message Colors
Configuring Alarm Message Texts
Configuring Alarms
Configuring Archiving Timers
Configuring User Text Blocks
Connecting the Dynamic Table
Creating a Button
Creating a Page Layout
Creating a Process Tag
Creating a Project
Creating a Static Text
Creating an Alarm Message Window
Creating an Alarm System
Creating an Archive
Creating an Internal Tag
8
89
59
80
77
73
59
77
109
43
96
33
23
45
89
75
61
29
D
Defining the Print Job Parameters
Defining the Runtime Propertie
Defining the Runtime Properties
Deinstallation
Perform
113
53
70
19
19
E
Editing the Layout
Editing the Page Layout
Event
Hardware
Requirements
39
39
39
39
39
39
39
37
39
39
39
39
5
5
I
I/O Field
Configuring an I/O Field
Creating an I/O Field
Making an I/O Field dynamic
Installation
Authorization
Database System
Microsoft SQL Server 2000
Perform Deinstallation
Requirements
Select Components
Select Languages
User Registration
Installation of WinCC
Internet Explorer
51
89
51
51
12, 13
18
12
12
19
8
16
15
14
13
8
M
Making an Object dynamic
47
Making the Fill Level Display dynamic 47
Message
75
Message Archive
75
Long-Term Archive
75
Short-Term Archive
75
Message Class
75
Microsoft Message Queuing Services 10
Microsoft SQL Server 2000
12, 19
Index-1
Index
07.03
10
O
Online Table Control
67
Online Trend Control
65
Opening the Page Layout
99, 108
Operating
5
Operating System
8
Requirements
5
Outputting a Tag Logging Runtime Report
107
Installation
Select Languages
Installation
Simulator
Single-User Project
Software
SQL Database
SQL Server
SQL Server Instance
Starting the System Wizard
Starting WinCC
16
15
15
55
23
8
12
12
12
75
22
T
P
Pinning down the Object Properties
Window
47
Print
113
Print Job
Preview
114
Printing out Process Values
107
Process Screen
21, 42
Configuring the Process Screen
45
Creating Process Screens
37
Process Screen Creation
21
Process Value
57
Creating a Table Window
67
Creating a Trend Window
65
Displaying Process Values
57
Process Value Archive
61
Creating an Archive
61
Program
5
Program Group
Icons of the Program Group
5
97
97
97
97
97
97
97
97
97
5
8
8
67
67
67
28
33
29
33
25, 29
28, 31
57, 58
58
25, 29
55
55
28
65
65
65
U
User Registration
Installation
R
Report Designer
Alignment Palette
Color Palette
Font Palette
Menu Bar
Object Palette
Style Palette
Toolbar
Zoom Palette
Requirements
Operating System
Software
Table Window
Creating a Table Window
Preview
Tag
Creating a Process Tag
Creating an Internal Tag
Linear Scaling
Tag Properties
Tag Groups
Tag Logging
Opening Tag Logging
Tag Management
Tag Simulator
Using the Simulator
Tags
Trend Window
Creating a Trend Window
Preview
14
14
W
WinCC
i
Microsoft SQL Server 2000 Installation12
Perform Deinstallation
19
Requirements for the Installation
8
WinCC Instance
12
Windows
8
Microsoft Message Queuing Services 10
Windows 2000
8
Windows Event Viewer
19
Windows XP
8
S
Scaling
Select Components
Index-2
25
16