WinCCInformationSystemWorking en US
WinCCInformationSystemWorking en US
SIMATIC HMI
WinCC V7.0 SP1
MDM - WinCC: Working with WinCC
System Manual
11/2008
Documentation of
Configuration and Runtime
Data
Setting Up Multilingual
Projects
10
11
Integration of WinCC in
SIMATIC Manager
12
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the corresponding information is not taken into account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be
used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property
damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation for the specific task, in particular its warning notices and safety
instructions. Qualified personnel are those who, based on their training and experience, are capable of identifying
risks and avoiding potential hazards when working with these products/systems.
Trademarks
All names identified by are registered trademarks of the SiemensAG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described.
Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in
this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
Siemens AG
Industry Sector
Postfach 48 48
90026 NRNBERG
GERMANY
08/2009
Table of contents
1
Resources...................................................................................................................................29
1.1
1.2
1.3
1.4
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.5
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.5.1
1.5.5.2
1.5.5.3
Project Types...............................................................................................................................46
Project Types...............................................................................................................................46
Single-User Project......................................................................................................................46
Multi-User Project........................................................................................................................47
Client Project...............................................................................................................................48
Changing Project Type................................................................................................................49
Changing Project Type................................................................................................................49
How to Change a Single-User Project into a Multi-User Project.................................................50
How to Change a Multi-User Project to a Single-User Project....................................................50
1.6
1.6.1
1.6.2
1.6.3
1.6.4
1.6.5
1.6.6
1.6.6.1
1.6.6.2
1.6.6.3
1.6.6.4
1.6.6.5
1.6.7
1.6.8
1.6.8.1
1.6.8.2
1.6.8.3
1.6.8.4
1.6.8.5
1.6.8.6
1.6.8.7
Table of contents
1.7
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.8
1.8.1
1.8.2
1.8.3
1.8.4
1.8.5
1.8.5.1
1.8.5.2
1.8.5.3
1.8.5.4
1.8.5.5
1.8.5.6
1.8.5.7
1.8.5.8
1.8.5.9
1.8.5.10
1.9
1.9.1
1.9.2
1.9.3
1.9.4
Activating Project.......................................................................................................................132
Activating Project.......................................................................................................................132
How to Start Runtime................................................................................................................132
How to Set Up Autostart............................................................................................................135
How to Exit Runtime..................................................................................................................137
1.10
1.10.1
1.10.2
1.10.3
1.10.4
1.11
1.11.1
1.11.2
1.11.3
1.11.4
1.11.5
Appendix....................................................................................................................................146
Editors and Functions in WinCC Explorer.................................................................................146
WinCC status and control in the system tray.............................................................................149
WinCC diagnostics window and license information.................................................................151
Illegal Characters.......................................................................................................................152
File Structure of a Project..........................................................................................................155
Resources.................................................................................................................................159
2.1
2.2
Tag management......................................................................................................................159
2.3
2.3.1
2.3.2
2.3.2.1
2.3.2.2
Table of contents
2.3.2.3
2.3.2.4
2.3.2.5
2.3.3
2.3.4
Internal Tags..............................................................................................................................166
Structure Types and Structure Tags..........................................................................................167
Tag Groups................................................................................................................................170
Tag Selection Dialog.................................................................................................................171
Communication Driver...............................................................................................................174
2.4
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.4.9
2.4.10
2.4.11
2.4.12
2.4.13
Tag Types..................................................................................................................................174
Tag Types..................................................................................................................................174
Text Reference..........................................................................................................................176
Binary Tags...............................................................................................................................176
Signed 8-bit value......................................................................................................................177
Unsigned 8-bit value..................................................................................................................178
Signed 16-bit value....................................................................................................................179
Unsigned 16-bit value................................................................................................................180
Signed 32-bit value....................................................................................................................181
Unsigned 32-bit value................................................................................................................183
Floating-point number 32-bit IEEE 754.....................................................................................184
Floating-Point Number 64-Bit IEEE 754....................................................................................185
Text Tag 8-Bit Character Set and Text Tag 16-Bit Character Set.............................................187
Raw Data Tag............................................................................................................................187
2.5
2.5.1
2.5.2
2.5.3
2.5.4
2.5.4.1
2.5.4.2
2.5.4.3
2.5.5
2.5.6
2.5.7
2.5.8
Creating Tags............................................................................................................................188
Creating Tags............................................................................................................................188
How to Create a Process Tag...................................................................................................189
Creating Internal Tags...............................................................................................................190
Creating Structure Types...........................................................................................................192
Creating Structure Types...........................................................................................................192
How to Create a Structure Tag..................................................................................................192
How to Use Structure Types......................................................................................................195
How to Create a Tag Group......................................................................................................197
How to Set Limit Values............................................................................................................198
How to Define a Substitute Value..............................................................................................199
How to Define Linear Scaling....................................................................................................200
2.6
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
Editing Tags...............................................................................................................................202
Editing Tags...............................................................................................................................202
Copying, Moving and Deleting Tags..........................................................................................202
How to Rename Tags................................................................................................................204
Editing Tags in Runtime............................................................................................................206
Status Information of Tags in Runtime......................................................................................207
Resources.................................................................................................................................209
3.1
3.2
3.3
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
Table of contents
3.3.7
3.4
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.5.1
3.4.5.2
3.4.5.3
3.4.5.4
3.4.5.5
3.4.5.6
3.4.5.7
3.4.5.8
3.4.5.9
3.4.5.10
3.4.5.11
3.4.5.12
3.4.6
3.4.6.1
3.4.6.2
3.4.6.3
3.4.7
3.4.7.1
3.4.7.2
3.4.7.3
3.4.7.4
3.4.7.5
3.4.7.6
3.4.7.7
3.4.7.8
3.4.8
3.4.8.1
3.4.8.2
3.4.8.3
3.4.8.4
3.4.8.5
3.5
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.5.6
3.5.7
3.5.8
3.5.9
3.5.10
3.5.11
3.5.12
Table of contents
3.5.12.1
3.5.12.2
3.5.12.3
3.5.13
3.5.13.1
3.5.13.2
3.5.13.3
3.5.13.4
3.6
3.6.1
3.6.2
3.6.3
3.6.4
3.6.5
3.6.6
3.6.7
3.6.8
3.6.9
3.6.10
3.6.11
3.6.12
3.6.13
3.6.14
3.7
3.7
3.7.1
3.7.2
3.7.3
3.7.4
3.7.5
3.7.6
3.7.7
3.7.8
3.7.9
3.7.10
3.7.11
3.7.11.1
3.7.11.2
3.7.11.3
3.7.11.4
3.7.11.5
3.7.11.6
3.7.12
3.7.13
3.8
3.8.1
3.8.2
3.8.3
3.8.3.1
3.8.3.2
3.8.3.3
Table of contents
3.8.3.4
3.8.3.5
3.8.3.6
3.8.3.7
3.8.3.8
3.8.3.9
3.8.3.10
3.8.3.11
3.8.3.12
3.8.3.13
3.8.3.14
3.8.3.15
3.8.3.16
3.8.3.17
3.8.3.18
3.8.4
3.8.4.1
3.8.4.2
3.8.4.3
3.8.4.4
3.8.4.5
3.8.4.6
3.8.4.7
3.8.4.8
3.8.4.9
3.8.5
3.8.5.1
3.8.5.2
3.8.5.3
3.8.5.4
3.8.6
3.8.6.1
3.8.6.2
3.8.6.3
3.8.6.4
3.8.6.5
3.8.6.6
3.8.7
3.8.7.1
3.8.7.2
3.8.7.3
3.8.7.4
3.9
3.9.1
3.9.2
3.9.3
3.9.4
3.9.4.1
3.9.4.2
3.9.4.3
3.9.4.4
3.9.4.5
Table of contents
3.9.4.6
3.9.4.7
3.9.5
3.9.5.1
3.9.5.2
3.9.5.3
3.9.6
3.9.6.1
3.9.6.2
3.9.6.3
3.9.6.4
3.9.6.5
3.9.6.6
3.10
Object properties.......................................................................................................................684
3.10
Resources.................................................................................................................................684
3.10.1 "Axis" Property Group................................................................................................................684
3.10.1.1 Axis Section (AxisSection).........................................................................................................684
3.10.1.2 Alignment...................................................................................................................................684
3.10.1.3 Bar Scaling (ScalingType)........................................................................................................685
3.10.1.4 Label Each (Long StrokesText Each)........................................................................................685
3.10.1.5 Exponent Display (Exponent)....................................................................................................686
3.10.1.6 Large Tick Marks (LongStrokesBold)........................................................................................686
3.10.1.7 Large Tick Marks Length (LongStrokesSize)............................................................................686
3.10.1.8 Decimal Places (RightComma).................................................................................................686
3.10.1.9 Zero Point (ZeroPoint)...............................................................................................................686
3.10.1.10Only Large Tick Marks (LongStrokesOnly)................................................................................687
3.10.1.11Scale (Scaling)..........................................................................................................................687
3.10.1.12Scale Marks (ScaleTicks)..........................................................................................................687
3.10.1.13Digits to the Left of the Decimal Point (LeftComma).................................................................687
3.10.2 "Output / Input" Property Group.................................................................................................688
3.10.2.1 Number of Visible Lines (NumberLines)....................................................................................688
3.10.2.2 Output Format (OutputFormat)..................................................................................................688
3.10.2.3 Output Value (OutputValue)......................................................................................................688
3.10.2.4 Bit Number (BitNumber)............................................................................................................688
3.10.2.5 Data Format (DataFormat)........................................................................................................689
3.10.2.6 Input value.................................................................................................................................689
3.10.2.7 Field Type (BoxType)................................................................................................................689
3.10.2.8 List Type (ListType)...................................................................................................................689
3.10.2.9 Clear on Invalid Input (ClearOnError)........................................................................................690
3.10.2.10Clear on New Input (ClearOnNew)............................................................................................690
3.10.2.11Selected Boxes (Process).........................................................................................................690
3.10.2.12Selected Box (Process).............................................................................................................690
3.10.2.13Apply on Exit (AssumeOnExit)..................................................................................................690
3.10.2.14Apply on Complete Input (AssumeOnFull)................................................................................691
3.10.2.15Hidden Input (HiddenInput).......................................................................................................691
3.10.2.16Assignments (Assignments)......................................................................................................691
3.10.3 "Picture" Property Group...........................................................................................................692
3.10.3.1 Picture (PictureName)...............................................................................................................692
3.10.3.2 Picture Referenced (PicReferenced).........................................................................................692
3.10.3.3 Picture Transparent Color (PicTransColor)...............................................................................692
3.10.3.4 Picture Transparent Color On (PicUseTransColor)...................................................................693
3.10.4 "Pictures" Property Group.........................................................................................................693
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
Table of contents
10
Table of contents
11
Table of contents
12
Table of contents
13
Table of contents
14
Table of contents
Resources.................................................................................................................................815
4.1
4.2
Types of Dynamization..............................................................................................................815
4.3
4.4
4.4.1
4.4.2
4.4.3
4.4.4
Trigger Types............................................................................................................................819
Trigger Types............................................................................................................................819
Cyclic Triggers...........................................................................................................................819
Tag Triggers..............................................................................................................................820
Event-Driven Triggers................................................................................................................822
4.5
4.5.1
4.5.2
4.5.3
4.5.4
4.5.5
4.5.6
4.5.7
4.5.8
Dynamic Wizard........................................................................................................................822
Dynamizing Using Dynamic Wizard..........................................................................................822
Picture Functions.......................................................................................................................824
Picture Components..................................................................................................................827
Import Functions........................................................................................................................828
Standard Dynamics...................................................................................................................829
Color Dynamics with Table........................................................................................................833
System Functions......................................................................................................................835
SFC...........................................................................................................................................836
4.6
4.6.1
4.6.2
4.6.3
4.7
4.7.1
4.7.2
15
Table of contents
16
4.7.3
4.7.4
4.8
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.8.8
4.9
4.9.1
4.9.2
4.9.3
4.9.4
4.9.5
4.9.6
4.10
4.10.1
4.10.2
4.10.3
4.10.4
4.10.5
4.10.6
Resources.................................................................................................................................887
5.1
5.2
5.3
5.3.1
5.3.2
5.3.3
5.3.3.1
5.3.3.2
5.3.3.3
5.3.3.4
5.3.3.5
5.4
5.4.1
5.4.2
5.4.3
5.4.3.1
5.4.3.2
5.4.3.3
5.4.3.4
5.4.3.5
5.4.4
Table of contents
5.4.4.1
5.4.4.2
5.4.4.3
5.4.4.4
5.4.4.5
5.4.4.6
5.4.4.7
5.4.4.8
5.4.4.9
5.4.4.10
5.4.5
5.4.5.1
5.4.5.2
5.4.5.3
5.4.5.4
5.4.5.5
5.4.5.6
5.4.5.7
5.4.5.8
5.4.5.9
5.4.5.10
5.4.5.11
5.4.5.12
5.4.5.13
5.4.5.14
5.4.6
5.4.6.1
5.4.6.2
5.4.6.3
5.4.6.4
5.4.6.5
5.4.6.6
5.4.6.7
5.4.7
5.4.7.1
5.4.7.2
5.4.7.3
5.4.7.4
5.4.7.5
5.4.7.6
5.4.7.7
5.5
5.5
5.5.1
5.5.2
5.5.2.1
5.5.2.2
5.5.2.3
5.5.2.4
5.5.2.5
5.5.2.6
5.5.3
Message Archiving....................................................................................................................994
Resources.................................................................................................................................994
Message Archiving in WinCC....................................................................................................994
Configuration of Message Archiving..........................................................................................995
Configuration of Message Archiving..........................................................................................995
How to Configure Messages for Archiving................................................................................997
How to Configure a Message Archive.......................................................................................998
How to Configure the Archive Backup.....................................................................................1000
How to Link an Archive Backup...............................................................................................1002
How to Disconnect an Archive Backup....................................................................................1004
Output of Message Archive Data.............................................................................................1004
17
Table of contents
18
5.5.3.1
5.5.3.2
5.5.3.3
5.5.3.4
5.5.3.5
5.5.4
5.6
5.6
5.6.1
5.6.2
5.6.2.1
5.6.2.2
5.6.2.3
5.6.2.4
5.6.2.5
5.6.2.6
5.6.2.7
5.6.2.8
5.6.2.9
5.6.2.10
5.6.2.11
5.6.3
5.6.3.1
5.6.3.2
5.6.3.3
5.6.3.4
5.6.3.5
5.6.3.6
5.6.4
5.6.4.1
5.6.4.2
5.6.4.3
5.6.4.4
5.6.4.5
5.6.4.6
5.6.4.7
5.7
5.7
5.7.1
5.7.2
5.7.2.1
5.7.2.2
5.7.2.3
5.7.2.4
5.7.2.5
5.7.2.6
5.7.2.7
5.7.3
5.7.3.1
5.7.3.2
5.7.3.3
Table of contents
5.7.3.4
5.7.3.5
5.7.3.6
5.7.3.7
5.7.3.8
5.7.4
6
Resources...............................................................................................................................1115
6.1
6.2
6.3
6.3.1
6.3.2
6.3.3
6.3.3.1
6.3.3.2
6.3.3.3
6.3.3.4
6.3.3.5
6.3.4
6.3.4.1
6.3.4.2
6.3.4.3
6.3.4.4
6.3.4.5
6.3.4.6
6.3.4.7
6.3.5
6.3.6
6.3.7
6.4
6.4.1
6.4.2
6.4.3
6.4.3.1
6.4.3.2
6.4.3.3
6.4.4
6.4.4.1
6.4.4.2
6.4.4.3
6.4.4.4
6.4.4.5
6.4.4.6
6.4.5
6.4.6
6.4.7
6.4.8
6.4.9
19
Table of contents
20
6.4.10
6.5
6.5.1
6.5.2
6.5.2.1
6.5.2.2
6.5.2.3
6.5.2.4
6.5.3
6.5.3.1
6.5.4
6.5.4.1
6.5.4.2
6.5.4.3
6.5.4.4
6.6
6.7
6.7.1
6.7.2
6.7.3
6.7.4
6.7.5
6.7.6
6.7.6.1
6.7.6.2
6.7.6.3
Resources...............................................................................................................................1431
7.1
7.2
7.3
7.4
7.5
7.5.1
7.5.2
7.5.3
7.5.4
7.6
7.6.1
7.6.2
7.6.3
7.6.4
7.6.5
7.6.6
7.6.7
7.6.8
7.6.9
Project Documentation............................................................................................................1445
Introduction to Project Documentation....................................................................................1445
How to Output Project Documentation....................................................................................1446
How to Open a Project Documentation Preview.....................................................................1448
How to Create a New Print Job...............................................................................................1450
How to Change an Existing Print Job......................................................................................1452
Project Documentation in the WinCC Explorer........................................................................1454
Project Documentation in the Graphics Designer....................................................................1455
Project Documentation in Alarm Logging................................................................................1457
Project Documentation in Tag Logging...................................................................................1459
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
Table of contents
7.6.10
7.6.11
7.6.12
7.6.13
7.6.14
7.6.15
7.6.16
7.6.17
7.6.18
7.7
7.7.1
7.7.2
7.7.3
7.7.4
7.7.5
7.7.6
7.7.6.1
7.7.6.2
7.7.6.3
7.7.6.4
7.7.7
7.7.8
7.7.9
7.7.9.1
7.7.9.2
7.7.9.3
7.7.9.4
7.7.9.5
7.7.9.6
7.7.9.7
7.7.9.8
7.7.9.9
Runtime Documentation..........................................................................................................1469
Introduction to Runtime Documentation..................................................................................1469
How to Create Layouts for Runtime Documentation...............................................................1473
How to create print jobs for the Runtime documentation.........................................................1474
How to Change Output Options in Runtime............................................................................1476
Dynamizable Parameters for Runtime Documentation...........................................................1479
Reporting Messages in Runtime.............................................................................................1484
Reporting Messages in Runtime.............................................................................................1484
How to Output Runtime Data from the Message Lists............................................................1485
How to Output Online Data with Message Sequence Report..................................................1486
How to Create a User-Defined Message Sequence Report....................................................1489
Reporting Process Values in Runtime.....................................................................................1490
How to Output Data from User Archives.................................................................................1491
Reporting Data from Other Data Sources...............................................................................1492
Reporting Data from Other Data Sources...............................................................................1492
How to Output Data from an ODBC Database in a Report.....................................................1493
How to Output Data from a CSV Table in a Log......................................................................1495
Example of the Output of CSV Files in a Report.....................................................................1496
Requirements to be Met by a CSV File for Reporting.............................................................1498
How to Output a Hard Copy by Means of a Log Object..........................................................1501
How to Output a Hard Copy by Means of a Key Combination................................................1502
Output Parameters for Hard Copy...........................................................................................1504
How to Output Data from a COM Server in a Report..............................................................1509
7.8
7.8.1
7.8.2
7.8.3
Appendix..................................................................................................................................1510
System Layouts for Project Documentation............................................................................1510
System Layouts and Print Jobs for Runtime Documentation..................................................1513
Filter criteria for alarm output...................................................................................................1515
Resources...............................................................................................................................1519
8.1
8.2
8.3
8.3.1
8.3.2
8.3.3
8.3.3.1
8.3.3.2
8.3.3.3
8.3.3.4
8.3.3.5
21
Table of contents
22
8.3.4
8.3.5
8.3.6
8.3.7
8.3.8
8.3.9
8.3.10
8.3.10.1
8.3.10.2
8.3.10.3
8.3.10.4
8.3.10.5
8.3.10.6
8.4
8.4.1
8.4.2
8.4.3
8.4.4
8.4.5
8.5
8.5.1
8.5.2
8.5.3
8.5.4
8.5.5
8.5.6
8.5.6.1
8.5.6.2
8.5.6.3
8.5.7
8.5.7.1
8.5.7.2
8.5.7.3
8.5.7.4
8.5.7.5
8.5.7.6
8.5.7.7
8.5.7.8
8.5.7.9
8.5.7.10
8.5.8
8.5.8.1
8.5.8.2
8.5.8.3
8.5.8.4
8.5.8.5
8.5.9
8.5.9.1
8.5.9.2
8.5.9.3
8.5.9.4
Table of contents
10
Appendix..................................................................................................................................1696
Requests to a CSV File for Reporting.....................................................................................1696
Filter Criteria for the Alarm Output...........................................................................................1699
Resources...............................................................................................................................1701
9.1
9.2
9.3
9.3.1
9.3.2
9.3.3
9.3.4
9.3.5
9.3.6
9.4
9.4.1
9.4.2
9.4.3
9.4.4
9.4.5
Resources...............................................................................................................................1717
10.1
23
Table of contents
10.2
10.2.1
10.2.2
10.2.3
10.2.4
10.2.5
10.2.6
10.2.7
10.2.8
10.2.9
10.3
10.3.1
10.3.2
10.3.3
10.3.4
10.3.4.1
10.3.4.2
10.3.4.3
10.3.4.4
10.3.4.5
10.3.5
10.3.6
10.4
Text Management with the "Text Library" Editor.....................................................................1747
10.4.1 Text management with the "Text Library" editor......................................................................1747
10.4.2 How to export texts from the Text Library for the translation...................................................1749
10.4.3 How to import texts from the Text Library for the translation...................................................1751
10.4.4 Operator's overview of the Text Library...................................................................................1753
10.4.5 Working with the Text Library..................................................................................................1756
10.4.5.1 How to Add New Lines into the Text Library...........................................................................1756
10.4.5.2 How to Set the Language Font................................................................................................1756
10.4.5.3 How to Create a New Language.............................................................................................1756
10.4.5.4 How to Delete a Language......................................................................................................1758
10.4.5.5 How to copy cells or lines........................................................................................................1758
10.4.5.6 How to delete cell contents......................................................................................................1759
10.4.5.7 How to delete lines or areas....................................................................................................1760
10.4.5.8 How to find and replace text....................................................................................................1760
10.4.5.9 How to filter the display in the "Text Library" editor.................................................................1762
10.4.5.10How to find inconsistencies in the configuration......................................................................1763
10.4.5.11How to change the settings of the text library..........................................................................1764
24
10.5
10.5.1
10.5.2
10.5.3
10.5.4
10.5.5
10.6
10.6.1
10.6.2
10.6.3
10.6.4
Table of contents
11
10.7
10.7.1
10.7.2
10.7.3
10.7.4
10.7.5
10.7.6
10.8
10.9
10.9.1
10.9.2
10.9.3
Languages in Runtime.............................................................................................................1795
Languages in Runtime.............................................................................................................1795
How to Set the Runtime Computer Starting Configuration......................................................1796
Configuring Language Changes..............................................................................................1797
10.10
10.10.1
10.10.2
10.10.3
10.10.4
10.10.5
Example of Configuration........................................................................................................1798
Example of Configuration........................................................................................................1798
Example: How to Configure a Multilingual Graphic Object......................................................1799
Example: How to Configure Language Changes....................................................................1800
Example: How to Change Language in Runtime.....................................................................1802
Example: How to translate the text records in different linguistic regions...............................1807
Resources...............................................................................................................................1809
11.1
11.2
11.3
11.4
11.4.1
11.4.2
11.4.3
11.4.3.1
11.4.3.2
11.4.3.3
11.4.3.4
11.4.3.5
11.4.3.6
11.4.3.7
11.4.3.8
11.4.4
11.4.4.1
11.4.4.2
11.4.4.3
11.4.4.4
11.4.5
11.4.6
11.4.6.1
11.4.6.2
11.4.6.3
11.4.6.4
11.4.6.5
25
Table of contents
12
26
11.4.7
11.4.8
11.4.8.1
11.4.8.2
11.4.8.3
11.4.8.4
11.4.8.5
11.4.9
Toolbar....................................................................................................................................1826
The Project Window................................................................................................................1827
The Project Window................................................................................................................1827
Navigation Window..................................................................................................................1827
Table Window..........................................................................................................................1827
How to Set an Automatic Logout for a User............................................................................1829
How to Activate the "Login Only Via Chipcard" Function for a User........................................1829
Status bar................................................................................................................................1830
11.5
11.5.1
11.5.2
11.5.3
11.6
11.6.1
11.6.2
11.6.2.1
11.6.2.2
11.6.2.3
11.6.2.4
11.6.3
11.6.4
11.6.4.1
11.6.4.2
11.6.4.3
11.6.4.4
11.6.4.5
11.6.4.6
11.6.4.7
11.7
11.7.1
11.7.2
11.7.3
11.7.4
Overview of Authorizations......................................................................................................1851
Default Authorizations.............................................................................................................1851
System authorizations.............................................................................................................1853
Basis Process Control Authorizations.....................................................................................1854
PCS7 System Authorizations..................................................................................................1855
Resources...............................................................................................................................1857
12.1
12.2
12.3
12.3.1
12.3.2
12.3.2.1
12.3.2.2
12.3.2.3
12.3.2.4
12.3.2.5
12.3.2.6
12.3.3
12.3.3.1
Table of contents
12.3.3.2
12.3.3.3
12.3.3.4
12.3.3.5
12.3.4
12.3.5
12.3.6
12.3.7
12.3.7.1
12.3.7.2
12.3.7.3
12.3.7.4
12.3.7.5
12.3.7.6
12.3.8
12.3.9
12.4
12.4.1
12.4.2
12.4.2.1
12.4.2.2
12.4.2.3
12.4.2.4
12.4.3
12.4.4
12.4.5
12.5
12.6
12.6.1
12.6.2
12.6.2.1
12.6.2.2
12.6.2.3
12.6.2.4
12.6.3
12.6.3.1
12.6.3.2
12.6.3.3
12.7
12.7.1
12.7.2
12.7.2.1
12.7.2.2
12.7.2.3
12.7.3
12.7.4
12.7.4.1
12.7.4.2
12.7.4.3
Diagnostic Support..................................................................................................................1935
Diagnostic Support..................................................................................................................1935
Network Entry Jump................................................................................................................1935
Network Entry Jump................................................................................................................1935
Requirements for the Network Entry Jump..............................................................................1936
How to Configure the Network Entry Jump.............................................................................1937
Network Return........................................................................................................................1941
Jump to Hardware Diagnosis..................................................................................................1943
Jump to Hardware Diagnosis..................................................................................................1943
Prerequisites for Jump to Hardware Diagnosis.......................................................................1944
How to Configure the Entry Jump into the Hardware Diagnostics...........................................1944
Index.......................................................................................................................................................1951
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
27
Resources
1.1
Content
Before you can monitor and control a process, you must first create a project in WinCC. You
define all necessary elements and settings in this project.
This section shows you
How to open and close WinCC and the WinCC Explorer
The structure of the WinCC Explorer
The types of project in WinCC
How to create a project and work with it
How to activate and deactivate a project
How to copy a project
1.2
Introduction
When you start WinCC, the WinCC Explorer normally is opened.
After installation, WinCC is entered in the start menu of the operating system. WinCC can be
started with the "WinCC V7.0" command.
The WinCC Explorer can also be opened from the desktop or using the Windows Explorer.
Note
If you only have a Runtime license installed on a computer, you can only work in the WinCC
Explorer or in a WinCC editor for one hour. If the WinCC Explorer or a WinCC editor remains
open for more than one hour, WinCC changes to the demonstration mode.
29
Principle
You can open the WinCC Explorer in the following ways:
from the Windows Start menu
by clicking the WinCCExplorer.exe file in the Windows Explorer
using a shortcut from the Windows Desktop
in the Windows Explorer using the <PROJECT>.MCP
with Autostart
with a project that opens in Autostart
You can start WinCC only once on a computer. If you attempt to open the WinCC Explorer
when it is already open, this will be prevented without an error message. You can continue to
work normally in the open WinCC Explorer.
Activated Project
If the project was activated when you exited WinCC Runtime, it will be opened in Runtime
again when you restart WinCC.
If you close a project and open another project that was opened the last time in the activated
state, WinCC once again opens the project in Runtime.
With the key combination <SHIFT> + <CTRL>, you can prevent WinCC activating Runtime
immediately. Press the <SHIFT> key and the <CTRL> key while WinCC is opening. Keep the
keys pressed until the project is open and displayed fully in the WinCC Explorer. WinCC opens
the last project without starting Runtime.
30
Windows Explorer
You can start WinCC with the WinCCExplorer.exe start file. The WinCCExplorer.exe file can
be found in the Windows Explorer in your installation path in WinCC\bin.
Windows Desktop
You can create a shortcut for the WinCCExplorer.exe file. You then place this shortcut on the
desktop of the computer.
Autostart
You can also start WinCC using Autostart when the computer starts up. Create a shortcut to
the WinCCExplorer.exe file and move this shortcut to the Autostart folder of your computer.
Each time you start the Windows system, WinCC will also be started automatically.
Open project
File > Open
In the WinCC Explorer, you open a project with the Open command in the File menu. In the
Open window, select the project folder and open the <PROJECT>.MCP project file.
31
"Open" Button
You can open a project with the
See also
Editors and Functions in WinCC Explorer (Page146)
Elements of the WinCC Explorer (Page35)
How to Start Runtime (Page132)
Closing WinCC Explorer (Page32)
1.3
Introduction
When you close the WinCC Explorer, you normally close the project that was last open at the
same time.
If Runtime is activated, or if you have opened a WinCC editor, you can close the WinCC
Explorer separately. The project remains open and active if it was already active. Open editors
are not closed. You can open the WinCC Explorer again from the Windows Start menu or from
a shortcut on the desktop.
You can close the WinCC Explorer regardless of whether a project is open. The relevant
WinCC processes continue to run in the background. When you open the WinCC Explorer
again, WinCC does not need to reload the project data and the Explorer takes less time to
open.
Principle
You can exit WinCC in the following ways:
With the Exit command in the WinCC Explorer menu bar
With the Shut Down command in the WinCC Explorer menu bar
With the Close button
32
WinCC Action
Only the WinCC Explorer closes. The project remains open and
active if it was already active. WinCC editors remain open.
Close Button
You can close the WinCC Explorer with the
Exiting Windows
When you exit Windows or log off the current user, WinCC closes completely.
33
See also
Elements of the WinCC Explorer (Page35)
How to Exit Runtime (Page137)
Opening WinCC Explorer (Page29)
1.4
1.4.1
Introduction
When you start WinCC, the WinCC Explorer is opened. With the WinCC Explorer, you can
Create a project
Open a project
Manage project data and archives
Open editors
Activate or deactivate a project.
See also
Activating Project (Page132)
Editors and Functions in WinCC Explorer (Page146)
Elements of the WinCC Explorer (Page35)
Closing WinCC Explorer (Page32)
Opening WinCC Explorer (Page29)
34
1.4.2
Title bar
Menu bar
Toolbar
Navigation window
Data Window
Status bar
35
See also
Opening WinCC Explorer (Page29)
Editors and Functions in WinCC Explorer (Page146)
Search Function (Page44)
Windows of the WinCC Explorer (Page41)
Status Bar and Title Bar of WinCC Explorer (Page40)
Toolbar of the WinCC Explorer (Page39)
Menu Bar of the WinCC Explorer (Page36)
1.4.3
Introduction
The menu bar of the WinCC Explorer includes most of the commands that you can use in the
Windows Explorer. Commands that you cannot use in the current situation are disabled
(displayed in gray).
Some commands are available only when you open the Pop-up menu of an element in a
window.
Some commands can be activated using the key combinations (shortcut keys) familiar from
Windows.
The following tables provide brief information on the commands in the menu bar. The Online
Help (Chapter) column indicates the relevant chapters in the WinCC Information System that
contain more detailed information.
File Menu
The File menu includes the following commands:
Command
Key combination
Function
New
<CTRL+N>
Open
<CTRL+O>
Close
---
Activate
---
Print Project
Documentation
---
Documentation of
Configuration and Runtime
Data > Project Documentation
View Project
Documentation
---
Documentation of
Configuration and Runtime
Data > Project Documentation
36
Key combination
Function
Project Documentation
- Setup
---
Documentation of
Configuration and Runtime
Data > Project Documentation
Recent File
---
Displays the most recently opened projects Working with Projects >
up to a maximum of eight. You can select Creating and Editing Projects
one of the projects and open it.
Exit
<ALT+F4>
Shut Down
---
Exits WinCC and shuts down the computer. Working with projects >
Closing the WinCC Explorer
Edit Menu
The Edit menu includes the following commands:
Command
Key combination
Function
Undo
<CTRL+Z>
---
Cut
<CTRL+X>
---
Copy
<CTRL+C>
---
Paste
<CTRL+V>
---
Delete
<DEL>
---
Properties
---
View Menu
The View menu includes the following commands:
Command
Key combination
Function
Toolbars
---
Status Bar
---
---
---
List
---
---
Details
---
Refresh
<F5>
---
37
Tools Menu
The Tools menu includes the following commands:
Command
Key combination
Function
Language
---
Structure of Multi-language
Projects > Language Support in
WinCC
Status of
Driver
Connections
---
Communication Diagnostics>
Channel Diagnostics
Status of
Server
Connections
---
---
Help Menu
The Help menu includes the following commands:
Command
Key combination
Function
Contents
and Index
<F1>
---
Direct Help
<SHIFT+F1>
---
38
Key combination
Function
Use Help
---
---
About
WinCC
Explorer
---
---
See also
Editors and Functions in WinCC Explorer (Page146)
Activating Project (Page132)
Closing WinCC Explorer (Page32)
Opening WinCC Explorer (Page29)
Windows of the WinCC Explorer (Page41)
Status Bar and Title Bar of WinCC Explorer (Page40)
Toolbar of the WinCC Explorer (Page39)
1.4.4
Introduction
Using the buttons in the toolbar, you can activate commands. You can also hide the toolbar
in the WinCC Explorer by selecting the View menu in the menu bar and clicking the Toolbar
command.
The toolbar in the WinCC Explorer contains buttons with the following functions:
Icon
Tooltip
Description
New
Open
Opens a project.
Deactivate
Exits Runtime.
Activate
Cut
Cuts a selected object. The object is deleted at its original location as soon
as it is pasted elsewhere.
Copy
Copies an object to the clipboard. The object can be duplicated at the same
location or a comparable location in the path.
Paste
39
Tooltip
Description
Large
Symbols
Small
Symbols
List
Details
Elements in the data window are displayed as a list with detailed information.
Properties
Help
Activates the direct help for an element you then left click.
See also
Activating Project (Page132)
Opening WinCC Explorer (Page29)
Windows of the WinCC Explorer (Page41)
Status Bar and Title Bar of WinCC Explorer (Page40)
Menu Bar of the WinCC Explorer (Page36)
1.4.5
Introduction
The status bar and title bar contain general information on the project and settings in the editor.
Title bar
The current path of the open WinCC project is displayed.
Status bar
40
Description
Status
Object(s)
CAPS
NUM
SCRL
See also
Windows of the WinCC Explorer (Page41)
Toolbar of the WinCC Explorer (Page39)
Menu Bar of the WinCC Explorer (Page36)
1.4.6
Introduction
In the WinCC Explorer, you work in the navigation window and in the data window.
In these windows, you can open the context-sensitive help for each element with the right
mouse button. If a project is active in Runtime, a tooltip is available for elements of the tag
management in the data window.
41
Menu bar
Toolbar
Navigation window
Tooltip
Data Window
Status bar
Navigation window
The navigation window contains the list of editors and functions in the WinCC Explorer. You
can open an element in the navigation window by double-clicking it or using the pop-up menu.
You open the pop-up menu with the right mouse button. The Open command is displayed.
Additional commands for selection are displayed depending on the element.
For the editors Graphics Designer and ReportDesigner > Layouts you can show the
Information column of the data window using the Display Column Information option. The entry
in this column shows how the corresponding object was created.
42
<No entry>
Object has been created using SIMATIC Manager. Created by SIMATIC Manager
If you click the plus character in front of the Tag Management or Structure Tag entries, you
expand the folder tree. In these folders, you can navigate, create, or move objects.
The Graphics Designer and Global Script editors also have subdirectories. If you click one of
these editors, WinCC displays these directories. The Report Designer contains the two folders
Layouts and Print Job. Global Script contains the two folders Actions and Standard Functions.
For more detailed information on the editors, refer to the relevant sections of the WinCC
Information System.
Data Window
If you click an Editor or a folder in the navigation window, the data window displays the elements
belonging to the editor or folder. The information displayed varies from editor to editor.
Double-click an element in the data window to open it. Depending on the element, WinCC
performs one of the following actions:
Opens an object in the appropriate editor.
Opens the Properties dialog of an object.
Displays the next level of a folder path.
Right-click an element to call up the pop-up menu where you can select the Properties dialog
of the element. With some editors, other commands are displayed that you can select.
You can rename the elements in the data window with the <F2> key or by clicking the selected
name.
Tooltips
If Runtime is activated, WinCC displays information on tags and connections in the form of a
tooltip. For more detailed information, refer to the WinCC Information System under Working
with Tags.
See also
Editors and Functions in WinCC Explorer (Page146)
Status Bar and Title Bar of WinCC Explorer (Page40)
Toolbar of the WinCC Explorer (Page39)
Menu Bar of the WinCC Explorer (Page36)
Search Function (Page44)
43
1.4.7
Search Function
Searchable elements
You can search for the following elements in a project:
Client computers
Server computers
Driver connections
Channel units
Connections
Tag groups
Tags
44
Searching by Name
On the Name tab, you can enter the name of the required element in the Find What list box.
If you have made several searches, you can display the list of terms you have searched for in
the Find What list box.
The entries you make for searches are not case-sensitive.
Wildcard
The "*" character can be used as a wildcard. This replaces any number of characters at the
beginning or end of the name.
If you enter "var*", all elements whose names start with "var", are displayed, e.g.
"Variable_2" tag,
"variablegroup_tank" tag group,
a computer with the name "VAR0516".
In the same way, you could enter "*tank" to search for all elements whose name ends with
"tank".
Searching by Date
In the Date of Change tab, you can search for elements created or modified during a specific
period.
45
See also
Editors and Functions in WinCC Explorer (Page146)
Windows of the WinCC Explorer (Page41)
Status Bar and Title Bar of WinCC Explorer (Page40)
Toolbar of the WinCC Explorer (Page39)
Menu Bar of the WinCC Explorer (Page36)
1.5
Project Types
1.5.1
Project Types
Introduction
There are three types of project available in WinCC:
Single-user project
Multi-user project
Client project
See also
Changing Project Type (Page49)
Client Project (Page48)
Multi-User Project (Page47)
Single-User Project (Page46)
1.5.2
Single-User Project
Introduction
If you only want to work with one computer in a WinCC project, create a single-user project.
The WinCC project runs on one computer that functions as the server for processing the data
and as an operator input station. Other computers cannot access the project.
Principle
The computer on which you create the single-user project is configured as a server.
The computer is connected to the programmable controller via the process communication.
46
Redundancy
You can also create a single-user project as a redundant system. In this case, you configure
a single-user project with a second redundant server.
Archive Server
You can also create an archive server for a single-user project. In this case, you configure a
single-user project and a second server on which the data of the single-user project is archived.
See also
Changing Project Type (Page49)
Multi-User Project (Page47)
1.5.3
Multi-User Project
Introduction
If you only want to work with several computers in a WinCC project, create a multi-user project.
For a multi-user system, there are two basic options:
Multi-user system with one or more servers:
Several servers with one or more clients. One client accesses several servers. The Runtime
data is distributed on different servers. The configuration data is on the servers and on the
clients.
Multi-user system with only one server:
One server with one or more clients. All data is on the server.
Principle
You create a multi-user project on the server. The server is connected to the programmable
controller via the process communication.
In the multi-user project, you configure the clients that access the server. In a second step,
you create the required client projects on the relevant computers.
If you want to work with several servers, duplicate the multi-user project on the second server.
Adapt the duplicated project accordingly. You can also create a second multi-user project on
the second server that is independent of the project on the first server.
A server can also access another server in the role of client. You can use this option, for
example, when you use an archive server or a file server.
47
See also
Changing Project Type (Page49)
Single-User Project (Page46)
Client Project (Page48)
1.5.4
Client Project
Introduction
If you create a multi-user project, you must then create the clients that access the server. You
create a client program on the computer that will be used as a client.
For a WinCC client, there are two basic options:
Multi-user system with one or more servers:
The client accesses several servers. The Runtime data is distributed on different servers.
The configuration data on the multi-user projects is on the relevant servers. There may be
local configuration data in the client projects on the clients: Pictures, scripts and tags.
Multi-user system with only one server:
The client only attempts to access one specific server. All data is located on the server and
is referenced on the clients.
An archive server or a file server can also access another server in the role of client.
Note
The WinCC client replaces the clients and multi-clients that were used in WinCC up to version
V5.1. Depending on the configuration, a WinCC client takes over the role of a V5.1 client or
a V5.1 multi-client.
Principle
You create a multi-user project on the server. The server is connected to the programmable
controller via the process communication. In the multi-user project, you create the clients that
access the server.
If you configure a multi-user system with only one server, you do not create a separate client
project on the WinCC client.
If you configure a multi-user system with several servers, you must create a separate client
project on each client. This also applies when you only want to access one server but require
additional configuration data on the client.
48
Web Client
You can configure a client that accesses the server over the intranet or over the Internet. If
you require this type of access, you create a Web client with the WinCC Web Navigator option.
See also
Changing Project Type (Page49)
Multi-User Project (Page47)
1.5.5
1.5.5.1
Introduction
If the configuration in your project changes, you can adapt the project type:
You want a single-user project to run on a server as a multi-user project.
You want a multi-user project to run as a single-user project without clients.
See also
How to Change a Multi-User Project to a Single-User Project (Page50)
How to Change a Single-User Project into a Multi-User Project (Page50)
49
1.5.5.2
Introduction
You can change a project you created as a single-user project to a multi-user project.
This can, for example, be useful when you want to create and test an entire project before
running it in a multi-user system.
Procedure
1. Select the project name in the navigation window of the WinCC Explorer. Open the Project
Properties dialog in the pop-up menu.
2. Go to the General tab and select the Multi-User Project project type in the Type list box.
Click OK to confirm.
3. The Change Project Type dialog is opened with the message: The project type has been
changed. Do you want to delete the startup list?
If you want to include the startup list in the modified project, select No.
If you want to create a new startup list, select Yes. After changing the project type, create
the startup list.
4. A dialog is opened with the message: The changes to the project type will take effect when
the project is closed and reopened on all computers on which the project is currently open.
Click OK to confirm.
5. Close the project in the WinCC Explorer and open it again. WinCC then accepts the
changed project type.
6. Create the required clients under the Computer component. Create the WinCC clients you
require and adapt the configuration.
See also
How to Change a Multi-User Project to a Single-User Project (Page50)
How to Set Up a Startup List (Page107)
Single-User Project (Page46)
Multi-User Project (Page47)
1.5.5.3
Introduction
You can change a project you created as a multi-user project to a single-user project. The
clients you created are not included because only one computer is created in a single-user
project.
This can, for example, be useful when you want to use an existing configuration for a new
project.
50
Procedure
1. Select the project name in the navigation window of the WinCC Explorer. Open the Project
Properties dialog in the pop-up menu.
2. Go to the General tab and select the Single-User Project project type in the Type list box.
Click OK to confirm.
3. The Project Properties dialog is opened with the message: A change from a multi-user to
a single-user or client project will delete all configured client computers from the computer
list. Click OK to perform this change or Cancel to keep the multi-user project. Click OK to
confirm.
4. The Change Project Type dialog is opened with the message: The project type has been
changed. Do you want to delete the startup list?
If you want to include the startup list in the modified project, select No.
If you want to create a new startup list, select Yes. After changing the project type, create
the startup list.
5. A dialog is opened with the message: The changes to the project type will take effect when
the project is closed and reopened on all computers on which the project is currently open.
Click OK to confirm.
6. Close the project in the WinCC Explorer and open it again. WinCC then accepts the
changed project type.
7. Adapt the computer properties and the configuration.
See also
How to Change a Single-User Project into a Multi-User Project (Page50)
How to Set Up a Startup List (Page107)
Single-User Project (Page46)
Multi-User Project (Page47)
1.6
1.6.1
Introduction
You don't yet need detailed planning to create a WinCC project. To create the WinCC project
efficiently, you should nevertheless give some initial thought to the structure of the project.
Depending on the size of the planned project and number of configuration engineers involved,
it may be useful to make certain settings and decide on certain rules.
This chapter contains information on some of the elements in a project that you should specify
before you start the configuration work:
51
Project Type
Before you start to plan your project, you should already know whether you require a singleuser system or multi-user system. If you are planning a project with WinCC clients or Web
clients, make sure you know the factors affecting performance.
Project Path
A WinCC project does not need to be created on the same partition on which you installed
WinCC. It is sometimes better to create a separate partition for a project. When you create a
partition, make sure you have adequate space for the anticipated amounts of data. If you
archive a lot of data, the WinCC project can take up several gigabytes of space.
A separate partition also ensures that the WinCC project and all data contained in it are not
lost if there is a system crash.
Note
WinCC projects should not be saved to compressed drives or directories.
Naming Conventions
Using naming conventions can make it easier to handle large projects. You can increase the
clarity in your project particularly if you use conventions for naming tags, pictures, or functions
in your project. Note the restrictions applying to names outlined in chapter Illegal Characters.
Project name
Changing the name of a project once it has been created involves a number of steps. It is
advisable to decide on a suitable name before creating the project.
Tags
You can give tags a prefix that identifies the tag type or the connection assigned to the tag.
You could, for example, give all text tags the prefix "txt_" and internal tags the prefix "int_".
If you develop a company standard, the prefixes should be the same for all projects.
52
Pictures
You can specify prefixes for pictures, for example to identify plant pictures and system pictures.
If you create a large number of pictures, you can include continuous numbers in the picture
names.
Functions
With functions, it is useful to introduce a prefix for your company standard. This makes it clear
at a glance which functions are required for the standard.
Tag Groups
To structure tags, you can create tag groups. In WinCC, you cannot nest groups but can only
create one level with tag groups.
Picture Hierarchy
If you want to reduce the configuration time, you should plan the picture hierarchy in your
project before you start the project. It is advisable to work out an overview of the pictures you
need to create. Using a basic picture and the tag prefix, you can structure navigation within
your project.
Faceplate types
You can configure, save and reuse individual objects or groups of objects as faceplate types
in different pictures as faceplate instances. Thus, you can avoid always recompiling and
configuring frequently used picture elements.
Standard project
If you do notwant to repeatedly take data from an existing WinCC project, you should create
a standard project. In this project, you can configure basic project sections to suit your needs.
When you create a new WinCC project, you can simply copy the standard project and then
work with the copy. This saves you time during configuration.
See also
File Structure of a Project (Page155)
Illegal Characters (Page152)
Settings for Runtime (Page105)
53
1.6.2
Introduction
WinCC projects can be created and managed in PCS 7 within the framework of Totally
Integrated Automation. The result is connections between the configuration of operator
stations and automation systems with the WinCC configuration. You run the WinCC
configuration in the SIMATIC Manager and in the WinCC Explorer.
The WinCC Explorer with the "Basic Process Control" option offers various editors, many of
which you use intensively for configuring the operator station (OS). Much data in the WinCC
project is already assigned by the configuration of the engineering station (ES). If necessary,
you can configure the configuration using the editors of the WinCC Explorer.
Requirements
The "Basic Process Control" option must be installed on all computers in a WinCC project
with multiple computers.
54
Time Synchronization - Time synchronization via LAN and Industrial Ethernet Bus
To ensure time synchronization for all operator stations, you have to configure the time
synchronization using the "Time Synchronization" editor for every operator station.
Lifebeat Monitoring - Lifebeat monitoring for all automation systems and operator stations
The lifebeat monitoring function monitors functionality of all automation systems and operator
stations and creates a process control message, if necessary. You configure the lifebeat
monitoring in WinCC using the "Lifebeat Monitoring" editor.
Picture Tree Manager - Management of the system hierarchy with the respective pictures
The "Picture Tree Manager" is used to manage a hierarchy of systems, subsystems and
Graphics Designer pictures. Using the Picture Tree Manager, the hierarchy of the group
displays can also be recalculated or updated.
Component List Editor - Configuration of entry point pictures and areas for the measuring points
You can see all components that you have inserted in the ES configuration in the Component
List Editor. You can create new measuring points yourself using the Component List Editor.
You allocate components to the pictures and areas in the Component List Editor. This allows
the system operator to switch directly to this picture using the "Loop in Alarm" function in the
message list and the "Picture from measuring point" button.
1.6.3
Introduction
If you want to create a new project, you must first make several basic settings in WinCC. Based
on these settings, WinCC creates a project that you can edit immediately.
55
Principle
Follow the steps outlined below when creating a project:
Define project type
Specify the project name and project folder
If required, enter the name of the configuration engineer, the project version, and a comment
Defining computer properties
Specify the settings for Runtime
You can specify the computer properties and the settings for Runtime immediately after
creating the project or during configuration. For more detailed information, refer to chapters
Defining Computer Properties and Settings for Runtime.
56
Procedure
1. In the toolbar of the WinCC, click the
button.
The WinCC Explorer dialog is opened.
3. Enter the project name in the Project Name box. If you want the name of the project folder
to be different from the project name, enter the required folder name in the New Subfolder
box.
4. In the Drive list box under Project Path, select the drive on which you want to create the
project folder.
57
8. In the General tab, you go to the name of the configuration engineer, a project version, and
a comment. Change the project type in the Type list box.
9. Click OK to close the dialog.
Alternative Procedure
You can create a new project in the following ways:
When you first start WinCC
In the menu bar of the WinCC Explorer in the File menu with the New command
With the shortcut key <CTRL+N>
58
Activating Runtime on ES
To activate Runtime for an integrated project on the ES, you can centrally release this option
for the project. In WinCC Explorer, select the Project Properties option in the shortcut menu
of the current project. In the Options tab, enable the checkbox "Allow activation on ES".
For additional information refer the Online help for integrating WinCC in the SIMATIC Manager.
Note
To test integrated WinCC projects, use the "Start OS Simulation" function. This ensures that
the running system operation is not jeopardized.
The activation of integrated WinCC projects on the ES is not suited for this.
See also
Settings for Runtime (Page105)
Project Types (Page46)
Opening WinCC Explorer (Page29)
How to Specify the Computer Properties (Page59)
Preparation to Create a Project (Page51)
Managing WinCC Projects and Objects in the SIMATIC Manager (Page1861)
Starting a Simulation in STEP 7 (Page1898)
1.6.4
Introduction
When you create a project, you must adapt the properties of the computer on which the project
will be activated.
In a multi-user system, you must adapt the properties individually for each computer you create.
59
Procedure
1. Click the Computer component in the navigation window of the WinCC Explorer.
WinCC displays the list of computers in the data window.
2. Select the computer and then click the Properties command in the shortcut menu.
The Computer Properties dialog is opened.
3. Check whether the correct computer is entered in the Computer Name input box. You will
find the name of the computer in the Windows Control Panel under "System" on the
"Computer Name" tab.
60
See also
How to Create a Project (Page55)
Effect of External Applications at Runtime (Page111)
Settings for Runtime (Page105)
Opening WinCC Explorer (Page29)
Project Types (Page46)
1.6.5
Introduction
WinCC supports independent picture windows. Independent picture windows can be can be
used and positioned absolutely without being connected to the respective process picture.
With the respective hardware and the support of the operating system, you can control more
monitors to handle processes with greater scope and differentiation.
For example, you can visualize the process on monitors 1 to 3 and use monitor 4 to display
another view of the process with an Excel list.
The main window, in which you have configured the individual picture window, is no longer
required. You can hide it to increase the impact of more independent runtime windows.
61
Procedure
1. Configure more picture windows with the desired process pictures in the start picture.
2. Open the properties for each picture window with a double click.
The "Object Properties" dialog is opened.
62
7. Activate check box "Hide main window" on the "Graphics Runtime" tab under "Independent
picture window".
Results
In runtime, the selected process pictures appear in several picture windows that are to be
controlled independent of one another.
See also
How to insert a picture window (Page516)
63
1.6.6
1.6.6.1
Introduction
In WinCC Runtime, you can display data with the date/time information in the local valid time
or in coordinated universal time. It is normally practical to display the local time of your
workstation location. If you wish to display a time zone-independent time, use coordinated
universal time.
When you create a new project, WinCC uses the local time zone as the default. Internally,
WinCC works with the coordinated universal time as a time base and converts to the selected
time zone for the displayed time.
You set the time base for the entire project on one computer. In a multi-user system, you can
set the time base individually on each computer.
Additionally, you may configure if the date and time format can be configured at the individual
components or if it should be forced centrally by the WinCC project at all components in ISO
8601 format.
Note
Changing the time zone can have effects on date changes.
The local time zone is displayed in the stations in Los Angeles, New York, and Tokyo.
64
Possible Settings
For Runtime displays, the following settings are available:
Selection
Description
1)
You set the local time zone in the Control Panel of your computer under "Date/Time".
We recommend applying the "Apply Project Settings" setting to all objects and only changing it in
certain cases. This setting facilitates the project-wide conversion of the time zone.
2)
65
See also
Project Types (Page46)
Opening WinCC Explorer (Page29)
Preparation to Create a Project (Page51)
How to Set the Time Base for Communication (Page71)
How to Set the Time Base for Runtime Documentation (Page69)
How to Set the Time Base for Controls (Page67)
How to Set the Time Base in the Project (Page66)
Displaying Regional Date and Time (Page1793)
1.6.6.2
Introduction
The time basis applicable as default setting for the entire project is entered in the Computer
Properties dialog. This setting applies to all objects displayed on this computer in Runtime.
The exceptions to this are objects for which you have set a separate time base.
You may also use this dialog to set whether or not central date and time formatting according
to ISO 8601 should be forced in all components.
66
Procedure
1. Click the Computer component in the navigation window of the WinCC Explorer.
WinCC displays the list of computers in the data window.
2. Select the computer and then click the Properties command in the pop-up menu.
The Computer Properties dialog is opened.
3. Click the Parameters tab.
4. Select required time base in the Time Basis for Time Display in Runtime list box.
5. In the Central Date and Time Formatting area, choose if the format for date and time may
be configured at individual components, such as Alarm Control, or if the format in
accordance with ISO 8601 should be forced at all components.
6. Click OK to close the dialog.
See also
How to Set the Time Base for Runtime Documentation (Page69)
Preparation to Create a Project (Page51)
How to Set the Time Base for Communication (Page71)
How to Set the Time Base for Controls (Page67)
Setting Time in WinCC (Page64)
1.6.6.3
Introduction
For some controls, you can assess the time base individually.
In the default setting, the control takes the time base from the project properties. The Apply
Project Settings setting makes sure that you always see the same time zone in your controls
as in the rest of the project. With this setting, you can change the time base for all controls in
one action in the computer properties.
If you change the time base of a control, the modified setting is retained. You can no longer
change the time base of the controls in one action in the computer properties. To adapt to
control to the display in run-time again, you must modify the properties manually or change
the Apply Project Settings setting.
67
Controls
You can adapt the time base individually for the following controls:
WinCC Online Table Control
WinCC Online Trend Control
WinCC Function Trend Control
WinCC Alarm Control
WinCC User Archive Table Control
Procedure
1. Open the Properties dialog of the control.
2. Select the General tab or the Time Axis tab for the Online Trend Control.
3. Select the required time base in the selection window under Time Base.
4. Click OK to close the dialog.
68
See also
Preparation to Create a Project (Page51)
How to Set the Time Base for Communication (Page71)
How to Set the Time Base for Runtime Documentation (Page69)
How to Set the Time Base in the Project (Page66)
Setting Time in WinCC (Page64)
1.6.6.4
Introduction
In the log system of WinCC, you have dynamic objects available which allow you to output
Runtime data into a report. You can set the time base of the dynamic objects individually in
the properties.
In the default setting, WinCC takes the time base from the project properties. The Apply Project
Settings setting makes sure that you always see the same time zone in your reports as in the
rest of the project. With this setting, you can change the time base for all dynamic objects in
one action in the computer properties.
If you change the time base of a dynamic object, the modified setting is retained. You can no
longer change the time base of the object in one action in the computer properties. To adapt
the reports to the display in Runtime again, you must modify the settings in the object properties
manually or change the Apply Project Settings.
Reports
You can change the time base of the following objects:
Archive reports (Alarm Logging Runtime)
Message reports (Alarm Logging Runtime)
User archive tables (User Archive Runtime)
Tag tables (Tag Logging Runtime)
Trends (Tag Logging Runtime)
Message sequence report tables (in the Line Layout Editor)
Message sequence report tables (in the Page Layout Editor)
69
70
See also
Preparation to Create a Project (Page51)
How to Set the Time Base for Communication (Page71)
How to Set the Time Base for Controls (Page67)
How to Set the Time Base in the Project (Page66)
Setting Time in WinCC (Page64)
1.6.6.5
Introduction
Apart from the time base in Runtime, you can also set the time base for communication with
the programmable controller. You can do this by selecting the PLC Clock Setting:
Project Version
Activated
not activated 1)
UTC
1)
In projects created in WinCC V7.0, WinCC uses UTC as the default setting.
You use V5-compatible communication if your project was originally created and operated with
a WinCC version V5.x. V5-compatible communication allows use of projects that you migrated
to WinCC V6 but the time setting of the programmable controller remains WinCC V5.
You can set the time base for displaying Runtime regardless of the time base for
communication.
Procedure
1. Click the Computer component in the navigation window of the WinCC Explorer.
WinCC displays the list of computers in the data window.
2. Select the computer and then click the Properties command in the pop-up menu.
The Computer Properties dialog is opened.
3. Click the Parameters tab.
4. Under PLC clock setting, activate the PLC is set to the local winter time all year (WinCC
V5 compatibility mode) check box.
5. Click OK to close the dialog.
71
See also
How to Set the Time Base in the Project (Page66)
Preparation to Create a Project (Page51)
How to Set the Time Base for Runtime Documentation (Page69)
How to Set the Time Base for Controls (Page67)
Setting Time in WinCC (Page64)
1.6.7
Online Configuration
Introduction
You can edit a project in a single-user system or a multi-user system during Runtime.
Remember, however, that some configuration tasks are not possible.
WinCC also provides the Load Online Changes function. With the Load Online Changes
function, you can edit a project on one computer while it is running on another computer in
Runtime. When configuring with Load Online Changes, there are other restrictions than those
that apply to online configuration.
Note
In time-critical projects, remember that online configuration can affect the response of your
project over time.
Limitations
For more detailed information on the possibilities for online data editing, refer to the description
of the relevant editor in the WinCC Information System.
You can edit the following elements while the project is activated in Runtime:
72
Element
Create
Delete
Edit
Remarks
Project name /
Project properties
---
---
No
---
Computer
Yes
No
No
---
Computer properties
---
---
Yes
Edit:
Modifications only become effective in
Runtime after the project has been
deactivated and Runtime restarted.
Time base
(computer properties)
---
---
Yes
Edit:
Depending on the configuration, a
modification in a picture is updated in
Runtime after the picture has been
reselected.
Create
Delete
Edit
Remarks
User cycle
(project properties)
---
---
No
---
Tags
(tag management)
Yes
Yes
Yes
Delete/Edit:
Only possible with external tags when
the channel used supports the function.
This currently applies only to the S7
channel
Tag groups
(tag management)
Yes
Yes
Yes
Delete:
Only valid when the contained tags can
be deleted.
Structure types
Yes
Yes
Yes
Delete:
Only possible if the structure type does
not contain structure tags.
Edit:
Only possible as long as no structure
tag has been set up under the structure
type.
Structure tags
(structure types)
Yes
Yes
Yes
Delete:
Only valid when the associated
structure tag elements can be deleted.
Connections
(tag management)
Yes
Yes
Yes
Channels
(tag management)
No
No
No
---
Channel units
(tag management)
No
No
No
---
Text entries
(Text Library)
Yes
Yes
Yes
---
Pictures
(PDL files,
Graphics Designer)
Yes
Yes
Yes
Library, color
palette
(Graphics Designer)
Yes
Yes
Yes
---
Archives, archive
tags
(Tag Logging, User
Archives)
Yes
Yes
Yes
Edit:
Archiving cycle cannot be modified
Reports, layouts
(Report Designer)
Yes
Yes
Yes
Create/Delete/Edit:
Only valid for the Runtime
documentation.
Scripts
(Global Script)
Yes
Yes
Yes
---
Access rights
(User Administrator)
Yes
Yes
Yes
---
Other files
Yes
Yes
Yes
---
73
Create
Delete
Edit
Remarks
Packages
(server data)
Yes
Yes
Yes
---
Messages
(Alarm Logging)
---
---
---
Attribute
Create Delete
Edit
Remarks
Single messages
Yes
Yes
Yes
Edit:
Valid for most attributes.
Exceptions are listed
individually:
---
---
No
---
Number
Group
Class
---
---
Yes
If the acknowledgement
requirement is changed,
the message is
deleted.
If the message category is
changed but not the
acknowledgement
requirement, the message
is updated immediately.
Type
---
---
Yes
Triggered on falling
edge
---
---
Yes
---
---
Yes
Message tag
Message bit
Norm DLL
Info text
---
---
Yes
---
---
Yes
Group messages
No
No
No
---
User-defined
group message
Yes
Yes
Yes
---
Limit value
monitoring
Yes
Yes
Yes
Edit:
If the Message attribute is
modified, the message is
deleted.
74
Attribute
Create Delete
Edit
Remarks
System blocks
Yes
Yes
Yes
Create/Delete/Edit:
A picture is only updated
in Runtime when the
corresponding picture is
reselected.
Create/Delete:
Reconfiguration in OCX
necessary.
Yes
Yes
Yes
Create/Delete/Edit:
A picture is only updated
in Runtime when the
corresponding picture is
reselected.
Create/Delete:
Reconfiguration in OCX
necessary.
Process value
blocks
Yes
Yes
Yes
Create/Delete/Edit:
A picture is only updated
in Runtime when the
corresponding picture is
reselected.
Create/Delete:
Reconfiguration in OCX
necessary.
Message classes
Yes
No
Yes
Edit:
Valid for most attributes.
Exceptions are listed
individually:
---
---
Yes
Class names
Status text
Acknowledgment
theory
---
---
Yes
Message types
Yes
No
Yes
---
Yes
Yes
Yes
Edit/Delete:
The message is deleted.
Tags
---
Yes
Yes
Edit/Delete:
The message is deleted.
See also
Use and Limitations of Load Online Changes (Page80)
Loading Online Changes (Page76)
75
1.6.8
1.6.8.1
Introduction
With the Load Online Changes function, you can edit a project on one computer while it is
running on another computer in Runtime. Load online changes work under multi-user systems
and distributed systems under the same conditions as the use in multi-user systems.
The computer on which you configure will be referred to as the configuring station in the
following description. The computer on which Runtime is activated will be referred to as the
Operator Station.
If you want to use the changes on the operator station, start a download of the changed data.
The project is updated in Runtime.
You can test the modified project on the configuring station before you user modifications in
Runtime. You can update the project at any time.
Working with online downloads of changes is possible only when you maintain a consistent
project.
Note
In time-critical projects, remember that downloading changes online can affect the response
of your project over time.
Application Scenarios
During various phases, for example commissioning, operation, or maintenance, you will
normally find it necessary to make changes to an existing project. These changes can then
be adopted in the activated project; in other words, online.
You can download changes online in the following situations:
76
Principle
A project runs on the operator station during Runtime. Load Online Changes is automatically
activated. The menus for Load Online Changes cannot be operated in WinCC Explorer.
You edit a copy of the project on a second computer, the configuration station. Activate the
load online changes function in the WinCC Explorer on the configuration station. From this
point onwards, WinCC records all changes made in the project. Online configurations on the
configuration station are not, however, recorded.
When you have completed your modifications in the project, start the online download of the
changes. This exports the modified data to the operator station. The project is updated in
Runtime.
I the case of multi-user systems, WinCC generates packages after each download. Depending
on the settings selected, the packages can be automatically imported by the clients.
77
See also
Online Configuration (Page72)
How to Download Load Online Changes (Page87)
How to Reset Load Online Changes (Page91)
How to Activate Load Online Changes (Page85)
Use and Limitations of Load Online Changes (Page80)
Requirements for Loading Online Changes (Page78)
Run Diagnosis of Online Change Loading (Page83)
1.6.8.2
Introduction
Make sure that you use the function for downloading changes online only with consistent
projects:
Before activating the Load Online Changes function, the projects on the configuring station
and on the operator station must be synchronized to the same project state.
The project on the engineering station must be tested and run correctly when Load Online
Changes is started.
You can only configure changes that can be recorded by the Load Online Changes
function.
If the download changes online function cannot record a configuration, a warning is
displayed. If you configure the change despite this warning, the Load Online Changes
function is reset. The changes can no longer be transferred.
If you edit an inconsistent project, you take the risk that the activated project will no longer run
correctly following the download. You can then only correct errors in Runtime in the deactivated
status.
Note
If you edit a WinCC project which was created using the SIMATIC Manager, there will be no
menu item "Load Online Changes" in WinCC Explorer. This also applies to WinCC projects
created in WinCC and subsequently imported into SIMATIC Manager by using the function
"Import WinCC Object". This type of project is also called a TIA project.
If you copy a TIA project with WinCC Explorer and subsequently edit the copy, menu item
Load Online Changes in WinCC Explorer is displayed.
78
Quantity Structure
Using the Load Online Changes function, you should not configure and transfer more than 500
tags, archive tags, and messages. The Load Online Changes function is not intended or
suitable for transferring mass data.
New segments are created in the archive manager if you make changes to existing archive
variables. This can decrease performance of the load online changes feature. No additional
segments are created when adding or removing variables in the TagLogging Editor.
Configure major modifications in several steps. After configuration, transfer each partial
package to the operator station.
Note
Load Online Changes can also be switched off on the configuring station. However, Load
Online Changes should only be switched off when no configuration modifications need to be
carried out online and prefer to execute a complete download onto the OS. Do not select
Turn Off if Load Online Changes should be interrupted. The consistency of the project can
then no longer be guaranteed.
79
See also
How to Activate Load Online Changes (Page85)
How to Download Load Online Changes (Page87)
How to Reset Load Online Changes (Page91)
Use and Limitations of Load Online Changes (Page80)
Run Diagnosis of Online Change Loading (Page83)
1.6.8.3
Introduction
When Load Online Changes is active, not all configurations can be executed which are possible
when Load Online Changes is deactivated.
Basic Limitations
Opened Files
In the case of Load Online Changes, no open files are transferred, e.g. screens which are
open in Graphics Designer at that moment. After the download, an entry is made in the
message window of the Progress Dialog dialog. Close all applications and editors except Load
Online Changes and start the transfer again.
Project in Runtime
The project must not be active in Runtime on the configuring station.
WinCC server
Observe the following procedure during download of Load Online Changes to a server:
The respective WinCC project should be open on all clients with an imported server package.
You can also perform the download if the corresponding project is not open on all clients. You
must then wait at least 10 minutes after confirmation of the last dialog of Load Online Changes
before opening the project on the client.
80
Redundant Systems
You can only use Load Online Changes in redundant systems when certain requirements have
been met. If Load Online Changes should be used in redundant systems, SIMATIC Manager
is required, or STEP7 or PCS7.
You must always start the download of Load Online Changes via the master server. This will
also perform a download of Load Online Changes on the standby server. Starting the download
from the standby server is not possible.
Changes to user archive configuration data, such as deleted fields in the archive, cannot be
transferred with an online download of changes to a redundant server pair.
Create
Delete
Edit
Remarks
---
No
---
Computer
No
No
---
Yes
---
No
---
Time base
(computer
properties)
---
---
No
---
User cycle
(project properties)
---
---
No
---
Tags
(tag management)
Yes
Yes
Yes
Delete/Edit:
Only possible with external tags when
the channel used supports the
function. Currently only valid for the
S7 channel.
Tag groups
(tag management)
Yes
Yes
Yes
Delete:
Only valid when the contained tags
can be deleted.
Structure types
Yes
Yes
Yes
Delete:
Only possible if the structure type
does not contain structure tags.
Edit:
Only possible as long as no structure
tag has been set up under the
structure type.
Structure tags
(structure types)
Yes
Yes
Yes
Delete:
Only possible if the associated
structure tag elements can be deleted.
Connections
(tag management)
Yes
Yes
Yes
Channels
(tag management)
No
No
No
---
81
Create
Delete
Edit
Remarks
Channel units
(tag management)
No
No
No
---
Text entries
(Text Library)
Yes
Yes
Yes
---
Pictures
(PDL files, Graphics
Designer)
Yes
Yes
Yes
Library, color
--palette
(Graphics Designer)
---
No
---
Messages
(Alarm Logging)
Yes
Yes
Yes
Archives, archive
tags
(Tag Logging, User
Archives)
Yes
Yes
Yes
Reports,
layouts
(Report Designer)
Yes
Yes
Yes
---
Scripts
(Global Script)
Yes
Yes
Yes
---
Yes
Yes
---
Other files
Yes
Yes
Yes
82
See also
Online Configuration (Page72)
How to Download Load Online Changes (Page87)
How to Reset Load Online Changes (Page91)
How to Activate Load Online Changes (Page85)
Loading Online Changes (Page76)
Requirements for Loading Online Changes (Page78)
1.6.8.4
Introduction
After downloading changes online, you should check that all changes have been adopted
correctly in the project on the operator station. You can export the error messages that occurred
during download to a diagnosis file.
There are various reasons for a change not being adopted in the activated project.
Procedure / Configuration
Save the script again in the Global Script editor and reselect
the picture in Runtime
Correction required in the configuration If there is an error in the configuration, correct the error on
the configuring station with Load Online Changes activated.
Transfer the corrected project data to the operator station
again with the download changes online function.
Network failure during the download
83
84
3. Click on the "Save" button. The file is written to the selected directory.
See also
How to Download Load Online Changes (Page87)
How to Reset Load Online Changes (Page91)
How to Activate Load Online Changes (Page85)
Use and Limitations of Load Online Changes (Page80)
Requirements for Loading Online Changes (Page78)
1.6.8.5
Introduction
As soon as Load Online Changes has been activated on the configuring station, WinCC detects
all configured changes. If you want to use the changes on the operator station, start a download
of the changed data. The project is updated in Runtime.
Before activating the Load Online Changes, copy the project to the configuring station. Use
the Project Duplicator for this. This prevents inconsistency. The project can be duplicated from
the operator station while Runtime is active. When the copied project is opened on the
configuring station, Runtime is started automatically. If Runtime is terminated, Load Online
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
85
Procedure
1. Right-click Load Online Changes in the navigation window of the WinCC Explorer.
2. When the project has been copied, select the Reset option in the pop-up menu before
starting with the changes.
3. Also select Turn On in the pop-up menu.
Load Online Changes is activated and immediately records all changes made in the project.
If a change is made that cannot be recorded by Load Online Changes, the following dialog is
displayed:
It is possible that the change is necessary and that the project would otherwise be inconsistent
and cause errors in Runtime. In this case, confirm with Yes. Reset the download changes
online function and continue to configure without it.
Note
If you edit a WinCC project which was created using the SIMATIC Manager, there will be no
menu item Load Online Changes in WinCC Explorer. This also applies to WinCC projects
created in WinCC and subsequently imported into SIMATIC Manager by using the function
Import WinCC Object. This type of project is also called a TIA project.
If you copy a TIA project with WinCC Explorer and subsequently edit the copy, menu item
Load Online Changes in WinCC Explorer is displayed.
86
See also
How to Copy a Project (Page139)
How to Download Load Online Changes (Page87)
How to Reset Load Online Changes (Page91)
Use and Limitations of Load Online Changes (Page80)
Loading Online Changes (Page76)
Requirements for Loading Online Changes (Page78)
1.6.8.6
Introduction
If you want to adopt the changes recorded by the download online changes function in an
activated project, start a download. This exports the modified data from the configuring station
to the operator station. The project is updated in Runtime.
The changes can be transferred to several operator stations. A condition for this is that the
same project status prevails on all target systems.
Before downloading, make sure that the modified project is fault-free. Test the changes on the
configuring station in Runtime.
If you are editing a multi-user project, WinCC generates the required packages on the operator
station after each download. The automatic package update is used to by the clients to import
the changes as packages and to load them. To do this, select the "Server data" item in WinCC
Explorer on the OS client, and activate the Notify After Export check box in the Implicit Update
menu.
If the package is changed by the server in a redundant multi-user system, so that the clients
are automatically updated, reregister the preferred server on the clients, or reassign the
preferred server by reloading of the clients.
Requirements
The project was copied from the operator station with the Project Duplicator before
activating the Load Online Changes function.
The project can only be edited with the Load Online Changes function active at all times.
The project on the configuring station is consistent and has been tested in Runtime.
The unchanged project is activated in Runtime on the operator station.
The operator station should perform as few operations as possible while the download of
Load Online Changes takes place. In time-critical projects, remember that Load Online
Changes can affect the response of your project over time.
Use the configuring station to check that the files to be transferred are not open.
All WinCC editors must be closed on the configuring station.
87
Procedure
1. Right-click Load Online Changes in the navigation window of the WinCC Explorer.
2. Select the Start Download command in the pop-up menu.
The Remote Computer dialog is opened.
3. Click the
button to select the operator station on which you want to update the project.
4. To transfer the changes to several operator stations, deactivate the check box "Reset after
download" before the download. After downloading to the first operator station, the same
data are available for a further download.
5. Start the download with OK.
The Progress Dialog dialog is opened. The window contains a progress bar for the entire
download and a second progress bar for the current action.
6. If the Reset After Download check box is selected, a reset occurs after Load Online
Changes.
7. After the download, close the Progress Dialog dialog with OK.
Note
After Load Online Changes has been reset, the file with the recorded data is deleted. If
transfer of the changes should be made to an operator station, the entire project must be
copied from the configuring station. In this case, Runtime must be terminated on the operator
station and WinCC closed.
If you edit a WinCC project which was created using the SIMATIC Manager, there will be no
menu item "Load Online Changes" in WinCC Explorer. This also applies to WinCC projects
created in WinCC and subsequently imported into SIMATIC Manager by using the function
"Import WinCC Object". This type of project is also called a TIA project.
If you copy a TIA project with WinCC Explorer and subsequently edit the copy, menu item
Load Online Changes in WinCC Explorer is displayed.
88
Message no.
Message text
Download started
1012242
Download ended
1012243
89
is set
at the start of the download on the configuration station and on the operator station
at the start of the online change loading on the operator station, directly before sending the
process control message "1012242"
at the finish of the online change loading on the operator station, directly before sending the
process control message "1012243"
On the configuration station, "@DeltaLoaded" is always "0". On the operator station, the value
depends on the delta loading process. The value is not changed during the activation or
deactivation.
@SFCDeltaLoaded
Value
is set
at the start of the transfer of the SFC database on the operator station in the course of the
online change loading
at the finish of the transfer of the SFC database on the operator station in the course of the
online change loading
is set
Initial value
You can monitor the OS compiling of changes using "@DeltaCompiled" system tag.
90
See also
Process Control Runtime: Message system
"Melde-Projektierung" tab
How to Activate Load Online Changes (Page85)
How to Reset Load Online Changes (Page91)
Requirements for Loading Online Changes (Page78)
Loading Online Changes (Page76)
Use and Limitations of Load Online Changes (Page80)
Run Diagnosis of Online Change Loading (Page83)
Integration of WinCC in SIMATIC Manager (Page1857)
1.6.8.7
Introduction
When you deactivate the Load Online Changes function, all changes recorded by the function
are deleted. If you want to record your changes again with the Load Online Changes function,
you must Runtime it again.
By resetting the download changes online function, you avoid an unwanted configuration being
transferred to an operator station. You can undo changes you have made and re-edit your
project with the Load Online Changes function activated.
Procedure
1. Right-click Load Online Changes in the navigation window of the WinCC Explorer.
2. Select the Reset command in the pop-up menu.
The following dialog is displayed:
3. Click on OK to confirm.
The recorded changes are deleted in the download changes online function and can no
longer be downloaded.
91
See also
How to Download Load Online Changes (Page87)
How to Activate Load Online Changes (Page85)
Use and Limitations of Load Online Changes (Page80)
Loading Online Changes (Page76)
Requirements for Loading Online Changes (Page78)
1.7
1.7.1
Introduction
In WinCC, you have numerous options for changing the way your projects appear in Runtime.
To do this, you choose from a series of predetermined and self-created designs. The design
contains colors, patterns and other optical effects.
You determine the global design in the project properties.
Global Designs
WinCC provides the following designs for the projects:
WinCC Classic
The standard design as you know it from WinCC V6.2. This new design does not support
all new program elements as of WinCC V7.0.
WinCC Simple
Simple design in light blue color tones.
92
Design Features
The design contains determinations on the following properties of the objects:
For all objects:
Shadow
Hover (changes the view temporarily, as long as the mouse pointer is over the object)
Different for the different groups of object types:
Style
Color scheme
The design features of the global design cannot be used in full for all object types.
See also
How to make computer-specific settings for runtime (Page128)
93
1.7.2
Introduction
The global design determines the uniform optical design of the process pictures. If you are
designing your own design, you have different options in the individual object groups.
Objects
Style
Color scheme
Simple
Geometric object
(standard objects)
Simple
Tubes
(tube objects)
Windows
Background color
(line color)
Background
(process picture)
Simple
Smart
Windows
94
Text objects
Simple
(I/O field, combo box, list box, multi- Windows
line text)
Style 1
Bar graph
(3D bar)
Simple
Button
Simple
Text color (font color)
Progression Background color
Rectangular
Aero glass
Round Button
Simple
3D style
Aero glass
Ball
Scroll bar
(Slider object)
Simple
Background Color
Progression
Rectangular
Aero glass
Check/radio box
(check box, radio box)
Simple
Objects
Style
Controls
Simple
Text color (font color)
Progression Fill color (fill pattern color)
3D style
Background color
Runtime controls
Simple
Windows
Menus/toolbars
Windows
Progression
Toolbar
1.7.3
Color scheme
Introduction
You can use global designs in WinCC. In addition to the provided designs, the designs that
you create on your own are also available.
95
Procedure
1. Click the project name in the navigation window of the WinCC Explorer and select the
Properties command in the pop-up menu.
The "Project Properties" dialog opens.
2. On the "User Interface and Design" tab, click "Edit" next to "Active Design".
The "Global Design Properties" dialog opens.
96
All existing designs are displayed in the upper bar. The preview shows how the objects will
appear for the selected objects.
Import design
Export design
97
Select design
In order to select a design for the current project, click on its symbol and confirm with "OK".
Import design
In order to integrate another design into WinCC, click on "Import design" and select the desired
design in the file selection dialog.
Export design
In order to use a design in another project, select it, click on "Export design" and save it as an
XML file under a different name.
98
1.7.4
Introduction
You can determine the design of the objects globally, i.e. project-wide. You can select from
provided designs or create and activate your own designs.
The provided designs cannot be changed. You can only edit the designs that you create
yourself.
99
Procedure
1. Click the project name in the navigation window of the WinCC Explorer and select the
Properties command in the pop-up menu.
The "Project Properties" dialog opens.
2. On the "User Interface and Design" tab, click "Edit" next to "Active Design".
The "Global Design Settings" dialog opens.
100
3.
4.
Click on
"Add new design".
A new design appears in the design bar.
Click on
101
102
103
1.7.5
Introduction
You can determine the design of the objects globally, i.e. project-wide. You can select from
provided designs or create and activate your own designs.
Procedure
1. Click the project name in the navigation window of the WinCC Explorer and select the
Properties command in the pop-up menu.
The "Project Properties" dialog opens.
2. On the "User Interface and Design" tab, click "Edit" next to "Active Design".
The "Global Design Properties" dialog opens.
3. Under "Designs", click on the desired design and confirm with "OK".
The selected design is displayed in the preview.
104
1.8
1.8.1
Introduction
When starting Runtime, WinCC uses the settings that have been specified in the Computer
Properties dialog.
WinCC adopts the default settings for Runtime in every project. There are, however, some
settings you must make yourself.
You can change the settings for Runtime at any time. If a project is running in Runtime, while
you edit the settings, you must exit Runtime and restart. The changes are then applied.
Before you activate a project, you can specify the following settings.
Startup Tab
Entry
Function
Additional Tasks/Applications
Parameters Tab
Entry
Function
Runtime language
Start Information
Disable Keys
105
Function
Function
Project file
Start Picture
Window Attributes
Turn Off
Hotkeys
Screen Navigation
Entry
Function
Design Settings
Picture Cache
Mouse Pointer
Monitor Keyboard
Runtime Tab
106
See also
How to Start Runtime (Page132)
How to Set the Time Base in the Project (Page66)
Effect of External Applications at Runtime (Page111)
How to Assign Hotkeys in the Project (Page110)
How to Set Up a Startup List (Page107)
How to Specify the Computer Properties (Page59)
1.8.2
Introduction
When you activate a project, additional program modules required for execution in Runtime
are loaded. In the startup list, you specify which applications will be started when you activate
a project.
Depending on the configuration, WinCC itself enters some applications in the startup list.
Graphics Runtime is always started and is activated by default.
To achieve better performance, you should only start applications that you actually require in
Runtime.
Procedure
1. Click the Computer component in the navigation window of the WinCC Explorer.
WinCC displays the list of computers in the data window.
2. Select the computer and then click the Properties command in the pop-up menu.
The Computer Properties dialog is opened.
107
4. Activate the applications to be loaded when Runtime starts in the Start sequence of the
WinCC Runtime list box.
The activated modules are marked with a check mark in front of the entry in the list. With
the Edit button, you can open a dialog in which you can enter start parameters for an
application.
108
6. Enter the application and the full path in the Application input box. You can locate the file
using the Browse button.
7. If required, select the start parameters, the working folder for the application, and the
window properties.
Click OK to confirm.
The added application is entered in the Additional Tasks/Applications box. With the Remove
button, you can delete an application from the startup list.
8. Select an application and click the Up and Down buttons. This is how you specify the order
in which the applications are started. The list of additional applications is read out from top
to bottom.
9. Click OK to close the dialog.
Multi-user system
In a multi-user system, make sure that you only start tasks on the client that the client really
needs.
See also
How to Specify the Computer Properties (Page59)
How to set up Runtime (Page112)
How to Start Runtime (Page132)
Settings for Runtime (Page105)
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
109
1.8.3
Introduction
You can assign the following hotkeys for your project:
Logon opens a window to log on a user in Runtime
Logoff opens a window to log off a user in Runtime
Hardcopy opens a dialog for printing the screen in Runtime
Procedure
1. Click the project name in the navigation window of the WinCC Explorer and select the
Properties command in the pop-up menu.
The Project Properties dialog is opened.
2. Select the Hotkeys tab and choose the required action in the Actions list box.
3. Click in the Previously Assigned to input box. Press the required key combination.
WinCC displays the keys you pressed.
4. Click the Assign button.
WinCC stores the key combination for calling the action.
5. Assign other shortcut keys to any other actions you require.
6. Click OK to close the dialog.
110
See also
How to Start Runtime (Page132)
Preparation to Create a Project (Page51)
Settings for Runtime (Page105)
1.8.4
Introduction
There are numerous applications that can place a heavy load on a computer. These
applications have nothing to do with WinCC but affect the system resources.
Cyclic Printing
Printing large amounts of data can utilize a lot of resources. You should defined cyclic print
jobs so that they do not all start at the same time in Runtime.
Screen saver
Using a screen saver takes up processor time. This can lead to overload on the system.
There are bad screen savers that do not release parts of the work memory again and
continuously reduce the available work memory.
The Windows Start Action Screen Saver can be used.
111
FindFast.exe
The Microsoft FindFast.exe application is used to accelerate searches for documents.
When configuring with WinCC, it is possible that FindFast.exe takes up a considerable
percentage of processor capacity. You should therefore remove Microsoft Indexing from the
Autostart folder of the operating system.
See also
Preparation to Create a Project (Page51)
Settings for Runtime (Page105)
1.8.5
Setting up Runtime
1.8.5.1
Introduction
To test a WinCC project in Runtime, first setup the project's applications and operator functions
that available in Runtime. These project settings must be adjusted for every computer on which
the project should run.
112
Requirements
A project must be opened.
113
See also
How to change the computer name (Page114)
How to configure the applications available in Runtime (Page116)
How to Specify the Computer Properties (Page59)
How to Set Up a Startup List (Page107)
How to Change the default settings for Language, Time and Key Combinations (Page117)
How to define hotkeys for operation and screen navigation (Page119)
How to define a picture as the start picture in Runtime (Page122)
How to configure the cursor control in Runtime (Page124)
How to Activate Zoom Functions in Runtime (Page126)
How to make computer-specific settings for runtime (Page128)
How to switch off the optimized drawing (Page130)
Activating Project (Page132)
The Graphics Designer in the WinCC Explorer (Page210)
Virtual keyboard - General Information (Page673)
How to set up a picture for mouseless operation (Page677)
Testing Process Pictures in Runtime (Page656)
1.8.5.2
Introduction
To test a WinCC project in Runtime, the local computer name must be entered as a computer
name in the project.
The computer name is changed on the "General" tab in the "Computer properties" dialog.
Requirements
A project must be opened.
The "Computer properties" dialog must be open.
114
Procedure
1. Click the "General" tab.
See also
How to set up Runtime (Page112)
115
1.8.5.3
Introduction
The "Runtime" command is used to load additional program modules, which are required for
the execution of Runtime. To ensure the maximum performance, activate only the applications
that are actually needed in Runtime.
The applications, which will be available in Runtime, are configured on the "Startup" tab in the
"Computer properties" dialog.
116
See also
How to set up Runtime (Page112)
1.8.5.4
How to Change the default settings for Language, Time and Key Combinations
Introduction
The configured language and the display mode for the time can be preset before activating
Runtime. It is also possible to lock specific key-combinations.
The default settings for language, time and key-combinations are configured on the
"Parameters" tab in the "Computer properties" dialog.
117
118
Disable Keys
To prevent operator errors in Runtime, Windows-typical key-combinations can be
locked.
Activate a check box to lock the respective key combination in Runtime.
See also
Setting Time in WinCC (Page64)
How to set up Runtime (Page112)
1.8.5.5
Introduction
Process pictures can also be operated when a mouse is not available. For this purpose, keycombinations must be defined to call the required operator functions.
The most important hotkeys for mouseless operation in Runtime are set on the "Graphics
Runtime" tab in the "Computer properties" dialog.
119
Procedure
1. Click in the entry field for the desired function to activate it for the entry of a hotkey
(combination).
2. Press and hold down the desired combination key .
You can use <CTRL>, <ALT> or <SHIFT> as combination keys.
3. Now also press the key which should call the function.
The selected key combination (such as <ALT+F>) is displayed in the input field.
4. If you want to change your entry, click in the entry field again.
As an alternative, you can enter a single key or a function key <F1> - <F12> instead of a key
combination.
Note
The function key F12 may not be configured as a systemwide hotkey.
120
Hotkey
Changes made to the hotkeys are first effective after the system has been restarted.
Window On Top
This hotkey is used to navigate between multiple picture windows, which are configured in a
main picture. Whenever the hotkey is pressed, the next picture window will be activated for an
operation.
Screen Navigation
In all common Internet browsers, the "Forward" and "Backward" buttons make it easy to switch
between Internet pages, which were recently examined. A similar technique can be
implemented in WinCC to navigate between individual process pictures.
In the "Screen Navigation" area, you can configure hotkeys that will make it easy for you to
switch between the most recently called process pictures in Runtime. Process pictures will be
recorded in a temporary list whenever they are called. With the "Forward" and "Backward"
functions, you can page through this list to, for example, call the last five pictures once again.
The maximum permissible number of entries in this list is set in the field "Picture Buffer Size".
If this number is exceeded, the oldest entry will be replaced when a new picture is called.
You can define hotkeys for the following functions:
"Forward": Retrieves the next configured process picture
"Backward": Retrieves the previous configured process picture
"Start picture": Retrieves the picture that has been defined as the start picture
"Stored Picture": Retrieves the picture that was last marked with the function "Store Picture"
"Store picture": Function for storing the currently displayed picture
121
See also
How to configure the cursor control in Runtime (Page124)
How to set up Runtime (Page112)
Virtual keyboard - General Information (Page673)
How to set up a picture for mouseless operation (Page677)
1.8.5.6
Introduction
Runtime can only be started, when one of the project's process pictures has been defined as
the start picture. This start picture will be displayed when Runtime is activated from WinCC
Explorer.
The start picture is defined on the "Graphics Runtime" tab card in the "Computer properties"
dialog.
122
Requirements
A project must be opened.
The "Computer properties" dialog must be open.
Procedure
In the "Start picture" field, enter the name of the desired picture file in the PDL format or click
the "Find..." button to select it.
Alternative Procedure
1. Click in the navigation window of the WinCC Explorer with the left-hand mouse button on
the entry "Graphics Designer".
All pictures of the current project are displayed in the data window (format PDL).
2. Now right click the desired picture and select "Define screen as start screen".
The selected picture is entered into the "Start picture" field in the tab "Graphics Runtime".
123
See also
How to set up Runtime (Page112)
The pop-up menu in the Data Window (Page221)
1.8.5.7
Introduction
In process pictures with objects arranged in a tabular form, it is possible to define a cursor
control to permit mouseless navigation between the configured objects.
The hotkeys for the cursor control and the behavior of the cursor are set on the "Graphics
Runtime" tab in the "Computer properties" dialog.
Reaction
Specify how the cursor should react in a table of listed objects, once it has reached the last
object in a line or column: This requires all objects are assembled as a complete table. The
124
Normal
The cursor returns to the first object in the same line or column.
Extended
The cursor continues to the first object in the next line or column.
keys
Four hotkeys can be defined here for cursor control in Runtime.
First select the desired combination key by placing a tick in the associated check box. Then
press a key for the desired cursor direction in the corresponding entry field.
Select the option "Turn on during activation", if the hotkeys for cursor control should always
be available in Runtime.
See also
How to set up Runtime (Page112)
Virtual keyboard - General Information (Page673)
125
1.8.5.8
Introduction
Zooming in Runtime is supported by three techniques:
Decluttering
Layers and the objects stored there can be shown and hidden. Limit values for masking
and unmasking of objects are specified in menu "Tools>Settings" on the "Hide/Show" tab
of Graphics Designer.
Extended Zooming
The view of the process picture in Runtime may be zoomed in or out using the mouse wheel.
Hold the <CTRL> key down while turning the mouse wheel. If you turn the mouse wheel
away from the palm of your hand, you increase the zoom factor.
Panning
If a picture has a zoom factor that shows the picture with scrollbars, you can move a picture
cutout within the document. A navigation crosshair appears upon clicking on the mouse
wheel. Moving the mouse pointer scrolls in the desired direction. The distance between
mouse pointer and navigation crosshair determines the scrolling speed. Another click will
deactivate panning.
126
A detailed description of the zoom function may be found in Chapter "Showing and Hiding
Layers and Objects".
Note
WinCC Controls cannot be decluttered, except for "WinCC Slider Control", "WinCC Clock
Control" and "WinCC Gauge Control".
See also
How to set up Runtime (Page112)
Showing and hiding layers and objects (Page264)
Elements and Basic Settings of the Graphics Designer (Page228)
The Zoom Palette (Page243)
127
1.8.5.9
Introduction
Some additional functions for WinCC Runtime can be activated on the "Runtime" tab in the
"Computer Properties" dialog. The settings made on this tab apply for all WinCC projects run
on this computer. The following settings can be made:
Set debug options for Visual Basic scripts in Graphics Designer
Set debug options for Visual Basic scripts in Global Script
Restrict global design effects
Use picture cache
Change mouse pointer
Enable monitor keyboard
128
Start Debugger
If the "Start Debugger" function is activated, the Debugger will be started when the first VB
script is started in Runtime. The prerequisite for this function is that a Debugger for Visual
Basic must have been installed. The function speeds up the troubleshooting during the
planning phase.
The "Start Debugger" function can be configured separately for VB scripts in Graphics
Designer pictures and for VB scripts in Global Script. For this reason, there are separate check
boxes.
Design Settings
The global design requires the recommended hardware equipment. You can improve the
computer's reaction time by switching off certain elements of the global design:
"Use "WinCC Classic" design": WinCC Runtime appears in the WinCC Classic Design
regardless of the settings in the project properties.
WinCC Classic Design does not allow for the use of all new program elements in WinCC.
"Disable shadow": The shadow is generally switched off in the process pictures.
"Deactivate background/progressions": Switches off the background picture and the color
progressions.
Picture Cache
To display the Runtime pictures, WinCC normallly accesses the corresponding WinCC Server
and retrieves the current pictures from it. Using the "Picture cache", it is possible to store the
WinCC pictures locally for display in Runtime. This function is quite useful when working with
WinCC Clients which are e.g. connected to the WinCC Server via a modem. When a Picture
Cache is used, the WinCC Client need not reload the pictures continually. The required pictures
must be manually saved on the computer which should use the Picture Cache. For this create
a folder in the standard directory <"WinCC Installationsverzeichnis"/bin/PDLCache> on this
computer. The name of the folder must have the name of the symbolic computer name of the
package created on the server.
The path to the location where the pictures are stored must be entered in the "Path" editing
field. Enter the path information to the directory where the "PDLCache" folder is located. If you
use the standard directory, you do not need to enter the path.
The following options are available in the "Use Cache" field:
129
Function
not
Preferred
Modified pictures will read from Server, unchanged pictures will be read from the Picture Cache.
always
If a picture is changed on the WinCC Server, this picture must be manually updated in the
Picture Cache.
Note
You must save the pictures in a folder in the "PDL Cache" directory. You must rename the
folder according to the symbolic computer name of the package saved on the server.
If you do not want to save the folder with the pictures in the default directory, you must always
create a "PDL Cache" directory first. You can then create the folder with the pictures in this
directory.
Mouse pointer
In the mouse pointer area, you can configure WinCC Runtime to use a different mouse pointer
button, open the file selection dialog and navigate to the place
in the display. With the
where the cursor is saved. Select the desired cursor. The cursor data must be available in the
"cur" or "ani" file format.
Monitor keyboard
A tick in the "Enable monitor keyboard" check box will cause the virtual keyboard to be activated
when WinCC Runtime is started. For further information, please see the chapter entitled
"Monitor keyboard".
See also
Global Design of the Objects (Page92)
How to set up Runtime (Page112)
Virtual keyboard - General Information (Page673)
1.8.5.10
Introduction
The "Optimized Drawing" setting affects the picture setup in Runtime. When the "Optimized
Drawing" setting is activated, WinCC uses the background buffer. The pictures thus appear
faster and more consistently in Runtime because they displayed in full right away.
The optimized drawing is activated by default. It is however very memory-intensive.
130
Procedure
1. Click "Computer" in WinCC Explorer and select "Properties" in the pop-up menu.
2. Select your computer and click "Properties".
The "Computer Properties" dialog opens.
3. Activate the "Graphics Runtime" tab and check option "Optimized Drawing" under "Turn
Off".
When you activate the option, the optimized drawing is switched off in Runtime.
131
1.9
Activating Project
1.9.1
Activating Project
Introduction
If you wish to operate and observe a process, you must Runtime the respective project. WinCC
starts Runtime and activates communication with the programmable controller. All process
data is stored in the Runtime databases.
In this chapter, you will learn
the settings you can make in Runtime
how to Runtime a project
how to deactivate a project
how to Runtime a project automatically when you boot your computer
Note
When you start WinCC or open a project, holding down the keys <CRTL>+<SHIFT> prevents
WinCC from activating Runtime at the same time.
When starting WinCC, if you hold down the keys <ALT>+<SHIFT>, you prevent WinCC
opening a project at the same time. This also prevents Runtime being started at the same
time.
See also
How to Exit Runtime (Page137)
How to Set Up Autostart (Page135)
How to Start Runtime (Page132)
Settings for Runtime (Page105)
1.9.2
Introduction
When you start Runtime, you activate your project. All configured processes are started and
run if the status of the system permits. You can also activate your project on a test system.
You may receive error messages, however, it processes cannot run as intended on the test
system.
132
Principle
You can start Runtime in several ways:
From the toolbar of the WinCC Explorer
From the menu bar of the WinCC Explorer
When you start WinCC
From Autostart when you start the Windows system
During configuration you can call individual pictures in Runtime:
From the toolbar of the Graphics Designer
From the menu bar of the Graphics Designer
Requirements
The computer must have the required Runtime license installed.
The correct computer name must be entered in the project.
A picture must be specified as the start picture.
Note
On project activating, free memory space of at least 100 MB must be available.
Procedure
1. Open the required project in the WinCC Explorer.
2. In the toolbar, click the
button.
The Activate DATABASENAME dialog is opened. WinCC displays the applications that will
be started. The WinCC Runtime window opens with the settings you selected in the
Computer Properties dialog.
Note
During start of WinCC or during opening of a project, holding down the key combination
<SHIFT>+<CTRL> prevents that WinCC activates the project immediately.
When starting WinCC, if you hold down the keys <SHIFT>+<ALT>, you prevent WinCC
opening a project immediately. This also prevents Runtime being started at the same time.
133
Alternative Procedures
Menu Bar of the WinCC Explorer
Open the File menu in the menu bar and select the Activate command. As long as Runtime is
activated, WinCC displays a check mark beside the Activate command.
Graphics Designer
You can call a picture opened in the Graphics Designer in Runtime. If Runtime is already open,
the picture replaces the current screen.
You can use this function in the following situations:
You want to test a picture in Runtime.
You want to update a picture in an activated project without any delay.
In the toolbar, you can start Runtime by clicking the
button.
In the menu bar, you can start Runtime in the File menu with the Activate Runtime command.
Note
You cannot exit Runtime from Graphics Designer. Exit Runtime in WinCC Explorer.
Multi-User Systems
In a multi-user system you must start Runtime on all servers first. Once all projects are activated
you start Runtime on the WinCC clients.
Redundant Systems
When you start a project in a redundant system, you must first start Runtime on the master
server. You can then start Runtime on the standby server.
134
See also
How to Set Up Autostart (Page135)
How to Exit Runtime (Page137)
Settings for Runtime (Page105)
Opening WinCC Explorer (Page29)
1.9.3
Introduction
When you boot your computer, WinCC can be started with a selected project. Specify the
project to be opened using the "AutoStart Configuration" tool.
Variants of Autostart
When you set up Autostart, you have the following options:
Setting in Autostart
Opening a Project
WinCC starts up. If the project is started in Runtime, you can use
the "Cancel" button to cancel activation of it.
135
Procedure
1. Open the Windows start menu and select "SIMATIC > WinCC" and then the "Autostart"
command.
The "AutoStart Configuration" dialog opens.
2. Select the required project by clicking the
button beside the Project box.
The project file and its full path are entered in the box.
3. If you want the project to be opened in Runtime, check the "Activate project at startup" box.
4. Click the "Activate Autostart" button.
The next time you boot the computer, WinCC starts automatically and the selected project
is opened.
See also
Opening WinCC Explorer (Page29)
How to Start Runtime (Page132)
136
1.9.4
Introduction
When you exit Runtime, you deactivate your project. All active processes are stopped.
Principle
You can exit Runtime in several ways:
From the toolbar of the WinCC Explorer
From the menu bar of the WinCC Explorer
When you close a project
When you close the WinCC Explorer
With a C Action in the activated project
Procedure
1. Change to the WinCC Explorer.
2. Click the
button in the toolbar.
The Deactivate DATABASENAME dialog is opened. WinCC displays the applications that
will be exited. The WinCC Runtime window is closed.
Alternative Procedure
Menu Bar of the WinCC Explorer
Open the File menu in the menu bar and select the Activate command. WinCC removes the
check mark beside the command indicating that Runtime is activated.
137
Multi-User Systems
In a multi-user system, you can deactivate a project in any order on the servers and clients. If
you first exit Runtime on a server, the boxes with the missing process values in the client
projects are deactivated (gray). As soon as you start the corresponding server again, WinCC
adopts the current values in the client project.
See also
How to Start Runtime (Page132)
Closing WinCC Explorer (Page32)
Dynamizing Using Dynamic Wizard (Page822)
1.10
1.10.1
Introduction
You copy or duplicate a project with all important data onto the local or another computer using
the Project Duplicator.
A project can be copied using the "Save As ..." feature in the following cases:
You want the same project to be edited on several computers.
You want a project to run in a multi-user system on several computers.
You want to edit a project and use the download changes online function.
You want to archive a project as a backup.
After you have copied the project, you can save it to a storage medium.
You duplicate a project in the following case:
138
See also
How to duplicate a redundant project at runtime (Page145)
How to Duplicate a Project for Redundant Servers (Page142)
How to Copy a Project (Page139)
1.10.2
Introduction
You can copy the configuration data and the runtime data of a closed project.
Note
The copying of variables or structure types from an open project to another project is not
allowed. For example, you open an old project and copy a structure type and the structure
variables. Then you open a new project and add the structure type and the structure variables.
Make regular backups of a project during configuration. This allows you to go back to a
previous version of the project and continue from there.
If you modify a project later, you should also make a backup on completion of each change.
If necessary, you can then revert to the original version without having to edit the project
again.
Principle
Select the project you want to copy in the Project Duplicator.
Enter the folder into which the project will be copied. In the description below, this folder is
called the target folder.
The target folder can be on the same computer or on another computer in the network for
which you have access rights. The project folder is created in the target folder. When you copy
it, you can change the name of the project. The project folder is created with the project name.
You can only copy the entire project and the entire folder structure. You cannot exclude any
data or folders from the copy operation.
After the project has been copied, you can open and edit or activate it immediately. If you open
the project on another computer, you must change the computer name.
139
Requirements
The project to be copied must be closed. Another project may remain open on the source
computer and may run in Runtime.
The target folder has been created.
You have access rights for the target folder.
No WinCC project must be open on the target computer since write-protected or systemaccessed data cannot be overwritten by the Project Duplicator.
The target computer has enough free space on the hard disk.
140
Procedure
1. In the Windows start menu, select "Project Duplicator" under "SIMATIC > WinCC > Tools".
The WinCC Project Duplicator is opened.
2. Enter the project you want to duplicate in the "Select the source project that is to be
duplicated" field. Enter the path and the <PROJECT>.MCP project file directly or browse
for them by clicking the
button.
3. Click the Save As... button. The "Saves a WinCC project" dialog is opened.
4. Select the folder to which you want to copy your project and enter the name of the project
in the "File name" field.
If you wish to save a copy of the project with a different name, enter the new name. The
project files are renamed accordingly when the project is copied.
5. Click on the "Save" button.
The "Copy ..." window opens. When copying, the Project Duplicator displays the files and
folders with a progress bar. Use the "Cancel" button to stop the copying.
141
Alternative procedure
You can also copy a project in the SIMATIC Manager using the "Download to CPU" feature.
For more detailed information, refer to the WinCC Information System under "Working with
WinCC > Integration of WinCC in the SIMATIC Manager".
1.10.3
Introduction
If you have created a redundant system, you must synchronize the WinCC project on the
redundant servers following any modification.
To transfer the project to a redundant server, you use the WinCC Project Duplicator.
Note
You cannot use Windows Explorer to transfer a project to a redundant server.
Principle
Select the project you want to duplicate in the Project Duplicator.
Specify the computer and folder in which the project will be duplicated. The project folder is
created in this target folder.
You cannot duplicate a project on the local computer. You always duplicate a project on another
computer in the network to which you have access rights. In the description below, this is called
the target computer.
Depending on the status of the project, you can copy the configuration data and the runtime
data into the selected folder:
142
Configuration Data
Runtime Data
Project closed
Project in Runtime
You can only duplicate the entire project and the entire folder structure. You cannot exclude
any data or folders from the duplicate operation.
Requirements
The redundancy option is installed on both computers.
The target folder for the duplication is created on the target computer and is made available
for network access.
You have access rights for the target folder.
The target computer has enough free space on the hard disk.
The correct WinCC version must be installed on the target computer. The computer must
be started.
Runtime is deactivated on the target computer.
The project is closed on the target computer.
143
Procedure
1. In the Windows start menu, select the "Project Duplicator" entry in the "SIMATIC > WinCC
> Tools" folder. The WinCC Project Duplicator is opened.
2. Enter the project you want to duplicate in the "Select the source project that is to be
duplicated" box. Enter the path and the <PROJECT>.MCP project file directly or search by
clicking the
button.
3. Enter the path where the duplicated project will be stored in the "Store duplicated project
for redundancy partner at" box. Enter the folder path and the <PROJECT>.MCP project file
directly or search by clicking the
button.
4. Click the Duplicate button.
The "Copy" window is opened. During duplication, the Project Duplicator displays the files
and folders with a progress bar. Use the "Cancel" button to stop duplication.
After duplicating the "Notes on the Project Duplicator" window is opened. WinCC indicates
the settings that you still need to check.
5. Close the Project Duplicator with the Close button.
6. Check the settings in the duplicated project and change them if necessary.
7. Check the following:
The computer name.
The settings in the Redundancy Editor.
If necessary, the settings in the editors.
Note
If you duplicate an open WinCC project on the source computer, no progress bar will
be displayed.
144
1.10.4
Introduction
If you edit a redundant project, you can also update the project on the redundant server during
operation.
You can save minor changes with the Save Online Changes function and then transfer them
to the servers. You should also refer to the documentation on the topic of "Load Online
Changes".
Requirements
The target folder has been created.
You have access rights for the target folder.
The redundant server on which the copied project will be stored has enough free hard disk
space.
Procedure
This chapter describes how to use this function in a redundant system with the two servers
Server1 and Server2.
1. Exit Runtime on the redundant Server1 and close the project.
2. Make the configuration changes on Server2 in Runtime and save the changes.
3. Start the Project Duplicator on Server2.
4. Use the "Duplicate" button to duplicate the project on Server1 to the target folder of the
project deactivated under "1." and overwrite it.
5. Open the project on Server1.
6. Check the settings.
7. Start Runtime and wait for the redundancy synchronization.
145
1.11
Appendix
1.11.1
Introduction
You can see the installed WinCC editors and functions in the navigation window of the WinCC
Explorer. The editor belonging to an option is only visible in the navigation window when the
option is installed.
Some tools and some WinCC options are not displayed in the WinCC Explorer. You can open
the tools in the Windows Start menu in the Simatic folder under WinCC > Tools. You can open
some of the editors of the WinCC options independently of WinCC. For more detailed
information, refer to the help on the specific options.
Opening an Editor
You can open an editor in the WinCC Explorer in the following ways:
Using the pop-up menu of the editor in the data window or in the navigation window
By double-clicking the editor in the navigation window
146
Usage
Online Help 1)
Import/Export
Tools
Language
Switching
Online
Configuration
Computer
---
Yes
Yes 2)
Tag Management
Tag Management:
Creating and editing tags
and Communication
drivers
WinCC
Configuration
Tool
---
Yes 2)
Structure Tag
Process picture
dynamics
WinCC
Configuration
Tool
---
Yes 2)
Creating Process
Pictures
Export function
of the editor
Yes
Yes
Menus and
toolbars
Configure user-defined
menus and toobars for
process pictures
Creating Process
Pictures
---
Yes
Yes
Alarm Logging
Configuring messages
and archiving events
Setting up an Alarm
System
WinCC
Configuration
Tool
Yes
Yes 2)
Text Library
Tag Logging
WinCC
Configuration
Tool
---
Yes
Report Designer
Documentation of
Configuration and
Runtime Data
---
Yes
Yes 2)
Global Script
Export function
of the editor
Yes
Yes
Text Library
Setting up multilingual
projects
Export function
of the editor
Yes
Yes
Text Distributor
Setting up multilingual
projects
Export and
Import function
of the Editor
Yes
Yes
Setting up user
administration
Text Library
Yes
Yes
Cross Reference
---
---
Yes
Load online
changes
---
---
Yes 2)
Server data
Configurations >
Multi-user Systems
---
---
Yes
You will find the chapters listed in the WinCC Information System in the book Working with
WinCC.
1)
147
with restrictions
Options
148
Object
Usage
Online Help
Import/
Export
Tools
Language
Switching
Online
Configurati
on
WebNavigator
Operating and
monitoring using
Internet/intranet
Options >
WebNavigator
---
Yes
---
DataMonitor
WebEdition
Displaying archive
values in Internet/
intranet
Options >
WebNavigator >
DataMonitor
---
Yes
---
Redundancy
Configurations >
Operating two
servers at the same Redundant
time in a redundant Systems
system
---
---
Yes
User Archive
Configurable
database system
for data from
technical
processes, for
example for
recipes and
setpoints
Text
Library
Yes
Yes
OS Project Editor
Initializing and
configuring the
Runtime user
interface and alarm
systems in PCS 7
Options for
Process Control
> OS Project
Editor
---
---
---
Options for
Process Control
> Time
synchronization
---
---
Yes
Horn
Indicating
message-relevant
events on signal
modules and PC
sound cards
Options for
Process Control
> Audio alarm
---
---
Yes
Options for
Process Control
> Picture Tree
Manager
Text
Library
Yes
Yes
Lifebeat monitoring
Options for
Process Control
> Lifebeat
Monitoring
---
---
---
Permanent
monitoring of the
system
Usage
Online Help
Import/
Export
Tools
Language
Switching
Online
Configurati
on
Component List
Editor
Allocating entry
point pictures and
areas to the
measuring points
Options for
Process Control
> Component
List Editor
---
---
---
ProAgent
Configuring
process
diagnostics to
detect and
eliminate problems
Options >
ProAgent
---
---
Yes
See also
Windows of the WinCC Explorer (Page41)
Elements of the WinCC Explorer (Page35)
1.11.2
Introduction
WinCC shows the "SIMATIC WinCC" symbol in the Taskbar Notification Area, the so-called
tray area. This symbol provides information on the project status. The WinCC project can be
activated and deactivated via the symbol's pop-up menu.
Project status
The following table shows which project status goes with which symbol:
SIMATIC WinCC symbol
Status
WinCC is not active.
No project is open.
WinCC changes the status:
WinCC opens a project.
WinCC activates a project.
WinCC deactivates a project.
WinCC closes a project.
Project is open.
The project is activated.
149
Computer List
The computer list contains all computers on the network. If the project is activated, the
connection status of all existing computers is shown.
The following table shows the icons of the connection status and their meaning:
Icon
Status
No connection
Connection disconnected
Local computer
Redundant partner server
150
Status
Connected
With standby server
With master server, but standby server is the preferred server
Connected
With master server
With standby server as preferred server
1.11.3
Introduction
The diagnostics window provides information on the diagnostics of the local computer and
connected servers.
The "WinCC Diagnostics" dialog shows WinCC e.g. invalid licenses of the local computer and
the connected servers.
Diagnostics Window.
Open the diagnostics window using the pop-up menu of the
151
Control Options
Use the "Computer" and "Diagnosis type" buttons to sort the contents of the displayed
diagnostics.
For detailed information on a message, double-click on the desired message.
You can only use the "Details" button locally on the computer with the invalid license.
Use the "Details" button to start the Automation License Manager. The Automation License
Manager provides further information and installs the required licenses.
1.11.4
Illegal Characters
Introduction
Depending on the language and components, only certain characters are permitted in names.
In WinCC, you can use all characters of the ASCII character set. We do, however, recommend
that you avoid special national characters. Above all, you should avoid special characters in
object names, if the object names are used in scripts.
The following table lists the characters that must not be used in WinCC components, identifiers,
and names.
152
Illegal characters
WinCC project:
Names of WinCC projects
. , ; : ! ? " '
+ = / \ @ *
[ ] { } < >
Space
Case-sensitive
Tags:
Tag names
: ? " '
\ * $ %
Space
Not case-sensitive
@ is used only in system tags.
The period is used as a separator in structure tags.
Tags:
Names of process tags in Tag Logging
: ? " '
\ * % >
Space
Tags:
Names of archive tags in Tag Logging
: ? " '
\ * % >
Space
Tags:
Names of tag groups
? '
\
Space
Not case-sensitive
Structure types:
Names of structure types, structure
elements and structure instances
. : ? '
\ @ * %
Space
Graphics Designer:
Names of pictures (PDL files)
: ? " '
/ \ *
<>
Graphics Designer:
Names of objects in pictures
Graphics Designer:
Text list object type
Graphics Designer:
Names in the Dynamic Wizard
Graphics Designer:
Faceplate
153
Illegal characters
Alarm Logging:
Names of message blocks, message
classes, message types and message
texts
'
ENTER key
line feed
Tag Logging:
Archive name
. , ; : ! ? " ' ^ ` ~
- + = / \ * # % &
( ) [ ] { } < >
Space
Report Designer:
: ? "
Names in the page layout and line layout / \ *
<>
User Administrator:
User names
'
\
Not case-sensitive
User Administrator:
passwords
'
\
Not case-sensitive
User Administrator:
User authorizations
'
\
User archives:
Names for archives, fields, views and
columns
. , ; : ! ? " ' ^ ` ~
- + = / \ @ * # $ % &
( ) [ ] { } < >
Space
The first character must be a letter.
Server data:
Names of packages
,
/\
National special characters, for example umlauts (, etc.)
are not permitted.
Illegal characters
Computer name
. , ; : ! ? " ' ^ ` ~
- + = / \ @ * # $ % &
( ) [ ] { } < >
Space
only uppercase relevant
The first character must be a letter.
154
, ; : ! ? " ' ^ ` ~
_ + = / \ @ * # $ % &
( ) [ ] { } < >
Space
Folder path:
Names of folders
: ? " '
/ *
<>
WinCC Explorer
Illegal characters
Communication:
Names of connections under a channel
unit
Communication / OPC:
Used names
. : ? " '
\ * %
Space
Web client:
Used names
. , ; : ! ? " ' ^ ` ~
- + = / \ @ * # $ % &
( ) [ ] { } < >
Space
Illegal characters
SIMATIC Manager:
Names of WinCC projects
. , ; : ! ? " '
+ = / \ @ * %
[ ] { } < >
Space
OS compilation:
AS-OS connection names
. : ? " '
\ * %
Space
PCS7:
Hierarchy folder
. "
/\%
See also
Preparation to Create a Project (Page51)
File Structure of a Project (Page155)
1.11.5
Introduction
In a WinCC project, you find additional information in certain folders and files. By default,
WinCC projects are stored in the path Siemens\WinCC\WinCCProjects\<Project>.
Imported Files
Imported files, for example graphics, scripts, texts, programs, OCS files are located within the
folder structure.
155
Data Storage
The table lists the most important data and folders.
156
Path
File
Type
Function
<Project folder>
---
Folder
Contains all
files created
for the project.
<Project folder>\GraCS
---
Folder
Contains all
pictures and
picture files of
a project.
<Project folder>
\CommonArchiving
---
Folder
Contains all
databases for
archiving.
<Project folder>
<Project>.MCP
Project
file
Starts WinCC
and opens the
project in the
WinCC
Explorer.
<Project folder>
<Project>.MDF
Database Configuration
database
<Project folder>
<Project>RT.MDF
Database Runtime
database,
database
management
(master
database)
<Project folder>
<Computer>_<Project>_ALG_JJJJMMT
THHMM.MDF
<Project folder>
<Project folder>
Siemens\WinCC\bin
WinCC_SQL.MDF
Database Empty
Runtime
database that
can, when
necessary, be
copied to the
project and
renamed.
Created when
you create a
new project.
File
Type
Function
Siemens\WinCC
*.LOG
Log files
Reports:
setup, system
status, error
messages.
<Project folder>
UAEditor.loc
See also
Preparation to Create a Project (Page51)
157
Resources
2.1
Content
This chapter contains all important items of information about tags:
Tag Management and tag selection dialog
Tag Types
Create and edit tags
Create and edit tag groups
Create and edit structure types
Logging tags in Runtime
2.2
Tag management
Introduction
Tag Management administers the tags and communication drivers used in the project. You
will find Tag Management in the navigation window of WinCC Explorer.
Usage
Tags with values supplied by the process are referred to as process or external tags in WinCC.
In the case of process tags, Tag Management determines the communication driver by means
of which WinCC is connected to the automation system and how the exchange of data is taking
place. The associated tags are created in the directory structure of this communication driver.
Tags not supplied with values by the process, known as the "internal tags", are created in the
"Internal Tags" directory.
To provide a better overview, you can arrange the tags in Tag Management in groups.
Creating tags in Tag Management leads to a directory structure in which you can navigate in
a manner similar to Windows directories.
159
Menu bar
Toolbar
Navigation Window
Tooltip
Data Window
Status bar
Navigation Window
You will find Tag Management in the navigation window of WinCC Explorer.
Internal tags and associated tag groups will be found in the "Internal Tags" directory.
WinCC creates a new directory in Tag Management for each communication driver that is set
up. Under the communication driver you will find a channel unit, its connections and associated
tag groups and process tags.
Tag Management uses the following icons:
160
Description
Tag management
Internal Tags
Communication Drivers
Channel Unit
Connection
Tag group
Tag
Structure type
Data Window
The data window of WinCC Explorer shows you the contents of the directory you selected in
the navigation window.
Tooltip
In Runtime you can view the status information on connections and tags as a tooltip. To view
it, move the mouse pointer in the data window to the connection or tag you want.
The tooltip contains the following information:
with a connection, brief information about the state
the current process value of a tag
the quality code of a tag
the date on which a tag was last changed
Note
A tooltip is displayed on a WinCC client only when no standard server is defined for tags.
Menu bar
At "Edit" you can cut, copy, paste and delete tags and tag groups. At "Edit" > "Properties" you
can view the properties of the selected tag, the communication driver, the channel unit or
connection.
At "View" you can modify the way in which objects are presented in the data window and update
the display.
Toolbar
For tags and tag groups you can use the "Cut", "Copy", "Paste" and "Properties" buttons.
You can modify the display in the data window by means of the "Large Icons", "Small Icons",
"List" and "Details" buttons.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
161
Status bar
The status bar can display the following information, regardless of the operated object:
current directory path in the project and tips on operation
External tags: Number of configured process tags
License: Number of licensed process tags (power tags)
Searching
In Tag Management you can open the search function from the shortcut menu.
You can search for tags, tag groups, connections, channel units and communication drivers.
See also
Tags (Page163)
2.3
2.3.1
Introduction
Communication between WinCC and the automation system takes place by means of
communication drivers. Data generated by the automation system or the WinCC project are
transferred by means of tags.
This chapter provides information on managing tags and on the different types of tags.
See also
Communication Driver (Page174)
Tag Selection Dialog (Page171)
Tags (Page163)
Tag management (Page159)
162
2.3.2
Tags
2.3.2.1
Tags
Introduction
Data are passed on in a WinCC project by means of tags. A tag has a data address and a
symbolic name, which is used in the project. The data address is used in communication with
the automation system.
WinCC works with two kinds of tags:
Process Tags
Internal Tags
WinCC simplifies tag handling by means of two other object types:
Tag Groups
Structure types
Naming Conventions
When naming tags, you must respect certain conventions:
Tag names must be unique throughout the project. When tags are created, WinCC does
not distinguish between upper and lower case characters in a name.
Tag names must not be longer than 128 characters. In the case of structure tags, this limit
applies to the whole expression structure tag name + dot + structure tag element name.
You must not use certain characters in tag names. You will find the characters you must
not include in a name in the WinCC Information System at Working with projects >
Authorized characters
Note
You must not create tags whose name starts with an '@'. Tags with an @ prefix are created
only by WinCC and PCS 7.
Remember that WinCC distinguishes between upper and lower case characters in a
configuration. If you change upper and lower case characters in a tag name, you must adapt
your configuration accordingly.
Updating Tags
In the case of process tags, the current tag values are transferred over the communication
connection between WinCC and the connected automation systems in Runtime. In this
instance, WinCC accesses the data area on the automation system that is defined in the tag
properties. The current value of the process tag is made available by WinCC in Tag
Management after it has been transferred for further processing and evaluation. Conversely,
WinCC can also write data back to the automation system.
163
Importing Tags
You can also create tags external to WinCC and import them into your project.
For example, you can establish a connection to the WinCC configuration tool for your project
and create the tags with the help of the configuration tool in an Excel table. You assign certain
properties to these tags in the table. WinCC can use the configuration tool to read in the data
and then automatically creates the tags with the specified properties.
See also
Tag Selection Dialog (Page171)
Tag management (Page159)
Tag Groups (Page170)
Structure Types and Structure Tags (Page167)
Internal Tags (Page166)
Process Tags (Page164)
2.3.2.2
Process Tags
Definition
You use process tags for communication between WinCC and the automation system.
The properties of process tags depend on the communication driver being used. Therefore,
create process tags in Tag Management also under a specific communication driver, its
channel unit and its connections.
You can set the following properties for process tags:
Name
Data type
Address on the channel unit
Type Conversion
Limit values
Start value
Replacement value
Scaling
Note
Process tags are also referred to "external tags" on the system.
164
See also
Tag Types (Page174)
Tag Groups (Page170)
Structure Types and Structure Tags (Page167)
Internal Tags (Page166)
Editing Tags (Page202)
How to Create a Process Tag (Page189)
165
2.3.2.3
Internal Tags
Definition
Internal tags are not connected to the process.
You use Internal tags to manage data within a project or to transfer data to an archive.
A corresponding setting of the "Runtime persistency" property lets you set retention of the
internal tags on closing Runtime. The value saved is used as start value for the restart of
Runtime.
You can set the following properties for internal tags:
Name
Data type
Updates project-wide/on local computers (only relevant with multi-user projects without
additional client projects)
Limit values
Start value
Runtime persistency
Tag synchronization (Online synchronization the internal tags in the server project with the
redundant partner)
166
System tags
WinCC applications create tags required for internal administration of the project. The names
of these tags begin with an "@" character. You cannot delete or rename these tags. You can
evaluate, but not change, the value of the tag.
Exceptions to this rule are tags created with the "Redundancy" option. They can be set by
means of scripts, for example:
@RM_MASTER
@RM_MASTER_NAME
Note
You must not create tags whose name starts with an '@'. Tags with an @ prefix are created
only by WinCC and PCS 7.
See also
Tag Groups (Page170)
Structure Types and Structure Tags (Page167)
Process Tags (Page164)
Editing Tags (Page202)
Tag Types (Page174)
Creating Internal Tags (Page190)
2.3.2.4
Definition
WinCC Structure types simplify the creation of several tags having identical properties.
Name
Definition
Displayed in...
Component Structure
Types
Structure
element
Component Structure
Types > Structure Type >
Structure Properties dialog
167
Definition
Structure tag
Component Tag
Management > Internal
Tags or a connection,
under which the structure
The name of a structure tag consists of the name of the
structure instance and the name of the structure element tags were created with the
being used. Both parts of the name are separated by a dot. help of structure type.
Displayed in...
Structure
instance
If the tags defined in a structure type are created with the Component Structure
help of the structure type, a structure instance occurs. The Types > Structure Type
structure instances created with the same structure type
are displayed under this structure type in the data window.
Principle
You define a certain tag structure when you create a structure type.
You create a structure type in WinCC Explorer. You create a structure element for each tag.
You assign the properties to a structure element which the tag created by that should possess.
When creating a tag, assign a created structure type as data type. The structure types are
displayed in the Data Type selection window according to standard data types. WinCC creates
a structure instance under the associated structure type and the structure tags in Tag
Management. The created structure tags are defined by the structure elements of this type.
In the same structure type, you can define structure elements for internal tags and process
tags. When a structure instance is created under the connection of a communication driver,
the process tags defined in the structure type are created under the connection. The internal
tags, however, are created in Tag Management at Internal tags.
Usage
If a certain tag configuration occurs several times in your system, use structure types. In this
instance, for example, several temperature controllers can be involved that are always set up
according to the same principle.
Consider which tags you require for the temperature controller.
Then create a TEMPERATURE structure type in which each tag is represented by a structure
element, for example ELEMENT_1, ELEMENT_2, ELEMENT_3. Each time you create a new
structure instance with this structure type, WinCC automatically generates all structure tags
for the corresponding temperature regulator.
168
Naming Conventions
When naming, you must respect certain conventions:
Tag names must be unique throughout the project. When tags are created, WinCC does
not distinguish between upper and lower case characters in a name.
Tag names must not be longer than 128 characters. In the case of structure tags, this limit
applies to the whole expression structure tag name + dot + structure tag element name.
There are certain characters which you cannot use in the names of structure types, structure
elements and structure tags. You will find the characters you must not include in a name
in the WinCC Information System at Working with projects > Non-authorized characters
Note
You must not create tags whose name starts with an '@'. Tags with an @ prefix are created
only by WinCC and PCS 7.
Remember that WinCC distinguishes between upper and lower case characters in a
configuration. If you change upper and lower case characters in a tag name, you must adapt
your configuration accordingly.
169
See also
Tag Groups (Page170)
Internal Tags (Page166)
Process Tags (Page164)
Editing Tags (Page202)
Creating Structure Types (Page192)
2.3.2.5
Tag Groups
Definition
You can sort your tags into tag groups in Tag Management.
Create a tag group as directory under "Internal Tags" or under the connection to a channel
unit. Subgroups are not possible.
Usage
When creating a large number of tags in your project, you can combine them in groups
according to subject.
You can create, for example, a tag group for every picture in your project. You create the tags
you use in one of your pictures in the appropriate group.
In this way WinCC makes it easier for you to assign and retrieve tags.
Naming Conventions
The names of tag groups must be unique in the whole project. You must not use the same
name simultaneously for tags and tag groups. When tags and tag groups are created, WinCC
does not distinguish between upper and lower case characters in a name.
You must not use certain characters in the names of tag groups. You will find a list of characters
that are not permitted in a name in the WinCC Information System under "Working with
Projects" > "Disallowed Characters".
Note
Remember that WinCC distinguishes between upper and lower case characters in a
configuration. If you change upper and lower case characters in a tag name, you must adapt
your configuration accordingly.
170
See also
How to Create a Tag Group (Page197)
Structure Types and Structure Tags (Page167)
Internal Tags (Page166)
Process Tags (Page164)
Editing Tags (Page202)
2.3.3
171
Attribute
I/O Field
Output value
Bar
Status display
Current status
Text list
Output value
Check box
Selected fields
Option button
Selected fields
Slider object
Filter
Using the filter function, you can reduce the selected number of tags or symbols so as to search
more efficiently.
When searching, you can use the placeholders * and ?. You can only use alphanumeric
characters when searching for names. WinCC saves the last 20 search criteria you entered.
Example
The following internal tags have been created in WinCC, for example: var1; var2; var3; smv2
and apm1. As a search criterion, enter a* and exit the filter function with the <TAB> key. WinCC
then shows all the tags whose name starts with a. In this case, the tag 'apm1' in the 'List of all
Tags' folder.
Note
The search operation in the tag selection dialog can take some time when there is a large
number of tags. Searching lasts about one minute with 15,000 tags.
It is sensible to arrive at a preselection in the tag selection dialog by means of the filter.
Data Source
This function is available when you are working with WinCC integrated in STEP 7.
In this box you can select the data source from which you would like to attach a tag.
172
You can use this button to update the CFC/SFC connections. CFC/SFC stands for Continuous
Function Chart/Sequential Function Chart. When you extend STEP 7 connections, you can
update the corresponding engineering station with this function.
button is available to you after selecting the STEP 7 Symbols data source.
The Transfer Data function is used by WinCC to apply the selected symbols or parameters of
data blocks to the WinCC database.
See also
Creating Tags (Page188)
Tag management (Page159)
173
2.3.4
Communication Driver
Establishing Communication
A communication driver is used for communication by WinCC with the connected automation
system. You will find the communication drivers supported by WinCC in the WinCC Information
System at Communication.
The documentation on the different channels contains detailed information about creating
channel units and connections.
See also
How to Create a Process Tag (Page189)
2.4
Tag Types
2.4.1
Tag Types
Introduction
When you create a tag, you assign one of the possible data types to the tag.
This data type depends on the type of data for which you would like to use the tag.
174
Adapting Format
The data type of a tag in WinCC can differ from the data type used in the automation system.
You can then set that WinCC converts the data type of a tag for transfer to the automation
system.
Tag types with type conversion
Text reference
Binary Tags
Structure types
You will find detailed information about type conversion in the WinCC Information System at
Communication > Process Communication > WinCC Process Communication > External Tags.
See also
Signed 8-bit value (Page177)
Tags (Page163)
Raw Data Tag (Page187)
Text Tag 8-Bit Character Set and Text Tag 16-Bit Character Set (Page187)
Floating-Point Number 64-Bit IEEE 754 (Page185)
Floating-point number 32-bit IEEE 754 (Page184)
Unsigned 32-bit value (Page183)
Signed 32-bit value (Page181)
Unsigned 16-bit value (Page180)
Signed 16-bit value (Page179)
Unsigned 8-bit value (Page178)
Binary Tags (Page176)
Text Reference (Page176)
175
2.4.2
Text Reference
Definition
With tags having the Text reference data type, you refer to an entry in the WinCC Text Library.
You can only configure text references as internal tags.
You use text references, for example, when you want to display different blocks of text
alternately. You assign the corresponding text ID of the entry in the Text Library to the tag.
Adapting Format
Type conversion does not take place for the Text Reference data type.
See also
Tag Types (Page174)
2.4.3
Binary Tags
Definition
The "Binary tag" data type corresponds to a bit. A binary tag can assume the values TRUE or
"0" and FALSE or "1".
The binary tag is stored as a byte on the system.
Note
Some communication drivers cannot transfer single bits. The use of binary tags can result in
degraded performance with these communication drivers. Take note of the help for the
different communication drivers in the WinCC Information System at Communication.
176
Bit
The "Binary Tag" data type is also referred to as "Bit".
Adapting format
For "Binary Tag" data type, the format cannot be adapted.
See also
Tag Types (Page174)
2.4.4
Definition
The "Signed 8-bit value" data type is one byte long and is signed (plus or minus).
Char/Signed Byte
The "Signed 8-bit value" data type is also referred to as "Char" or "Signed byte".
Adapting Format
If you create a new tag with the "Signed 8-bit value" data type, the "Type Conversion" box will
display the CharToSignedByte by default. The range of numbers is -128 to +127.
The following type conversions are possible for the "Signed 8-bit value" data type:
Adapting format
Number range
CharToSignedByte
-128...+127
(no conversion)
CharToUnsignedByte
0...127
CharToUnsignedWord
0...127
CharToUnsignedDword
0...127
CharToSignedWord
-128...+127
CharToSignedDword
-128...+127
CharToMSBByte
-128...+127
CharToMSBWord
-128...+127
CharToMSBDword
-128...+127
CharToBCDByte
0...99
CharToBCDWord
0...127
CharToBCDDword
0...127
CharToSignedBCDByte
-9...+9
CharToSignedBCDWord
-128...+127
177
Number range
CharToSignedBCDDword
-128...+127
CharToExtSignedBCDByte
-79...+79
CharToExtSignedBCDWord
-128...+127
CharToExtSignedBCDDword
-128...+127
CharToAikenByte
0...99
CharToAikenWord
0...127
CharToAikenDword
0...127
CharToSignedAikenByte
-9...+9
CharToSignedAikenWord
-128...+127
CharToSignedAikenDword
-128...+127
CharToExcessByte
0...99
CharToExcessWord
0...127
CharToExcessDword
0...127
CharToSignedExcessByte
-9...+9
CharToSignedExcessWord
-128...+127
CharToSignedExcessDword
-128...+127
See also
Tag Types (Page174)
2.4.5
Definition
The "Unsigned 8-bit value" data type is one byte long and is not signed.
Byte/Unsigned Byte
The "Unsigned 8-bit value" data type is also referred to as "byte" or "unsigned byte".
Adapting Format
If you create a new tag with the "Unsigned 8-bit value" data type, the Type Conversion box
will display the ByteToUnsignedByte by default. The range of numbers is 0 to 255.
The following type conversions are possible for the "Unsigned 8-bit value" data type:
178
Adapting format
Number range
ByteToUnsignedByte
0...255
(no conversion)
ByteToUnsignedWord
0...255
ByteToUnsignedDword
0...255
Number range
ByteToSignedByte
0...127
ByteToSignedWord
0...255
ByteToSignedDword
0...255
ByteToBCDByte
0...99
ByteToBCDWord
0...255
ByteToBCDDword
0...255
ByteToAikenByte
0...99
ByteToAikenWord
0...255
ByteToAikenDword
0...255
ByteToExcessByte
0...99
ByteToExcessWord
0...255
ByteToExcessDword
0...255
See also
Tag Types (Page174)
2.4.6
Definition
The "Signed 16-bit value" data type is two bytes long and is signed (plus or minus).
Short/Signed Word
The "Signed 16-bit value" data type is also referred to as "short" or "signed word".
Adapting Format
If you create a new tag with the "Signed 16-bit value" data type, the Type Conversion box will
display the ShortToSignedWord by default. The range of numbers is -32768 to +32767.
The following type conversions are possible for the "Signed 16-bit value" data type:
Adapting format
Number range
ShortToSignedWord
-32768...+32767
(no conversion)
ShortToUnsignedByte
0...255
ShortToUnsignedWord
0...32767
ShortToUnsignedDword
0...32767
ShortToSignedByte
-128...+127
ShortToSignedDword
-32768...+32767
ShortToMSBByte
-127...+127
179
Number range
ShortToMSBWord
-32767...+32767
ShortToMSBDword
-32768...+32767
ShortToBCDByte
0...99
ShortToBCDWord
0...9999
ShortToBCDDword
0...32767
ShortToSignedBCDByte
-9...+9
ShortToSignedBCDWord
-999...+999
ShortToSignedBCDDword
-32768...+32767
ShortToExtSignedBCDByte
-79...+79
ShortToExtSignedBCDWord
-7999...+7999
ShortToExtSignedBCDDword
-32768...+32767
ShortToAikenByte
0...99
ShortToAikenWord
0...9999
ShortToAikenDword
0...32767
ShortToSignedAikenByte
-9...+9
ShortToSignedAikenWord
-999...+999
ShortToSignedAikenDword
-32768...+32767
ShortToExcessByte
0...99
ShortToExcessWord
0...9999
ShortToExcessDword
0...32767
ShortToSignedExcessByte
-9...+9
ShortToSignedExcessWord
-999...+999
ShortToSignedExcessDword
-32768...+32767
See also
Tag Types (Page174)
2.4.7
Definition
The "Unsigned 16-bit value" data type is two bytes long and is not signed.
Word/Unsigned Word
The "Unsigned 16-bit value" data type is also referred to as "word" or "unsigned word".
Adapting Format
If you create a new tag with the "Unsigned 16-bit value" data type, the Type Conversion box
will display the WordToUnsignedWord by default. The range of numbers is 0 to 65535.
180
Number range
WordToUnsignedWord
0...65535
(no conversion)
WordToUnsignedByte
0...255
WordToUnsignedDword
0...65535
WordToSignedByte
0...127
WordToSignedWord
0...32767
WordToSignedDword
0...65535
WordToBCDByte
0...99
WordToBCDWord
0...9999
WordToBCDDword
0...65535
WordToAikenByte
0...99
WordToAikenWord
0...9999
WordToAikenDword
0...65535
WordToExcessByte
0...99
WordToExcessWord
0...9999
WordToExcessDword
0...65535
WordToSimaticCounter
0...999
WordToSimaticBCDCounter
0...999
See also
Tag Types (Page174)
2.4.8
Definition
The "Signed 32-bit value" data type is four bytes long and is signed (plus or minus).
Adapting Format
If you create a new tag with the "Signed 32-bit value" data type, the Type Conversion box will
display the LongToSignedDword by default. The range of numbers is -2147483647 to
+2147483647.
The following type conversions are possible for the "Signed 32-bit value" data type:
181
Number range
LongToSignedDword
-2147483647...+2147483647
(no conversion)
LongToUnsignedByte
0...255
LongToUnsignedWord
0...65535
LongToUnsignedDword
0...2147483647
LongToSignedByte
-128...+127
LongToSignedWord
-32768...+32767
LongToMSBByte
-127...+127
LongToMSBWord
-32767...+32767
LongToMSBDword
-2147483647...+2147483647
LongToBCDByte
0...99
LongToBCDWord
0...9999
LongToBCDDword
0...99999999
LongToSignedBCDByte
-9...+9
LongToSignedBCDWord
-999...+999
LongToSignedBCDDword
-9999999...+9999999
LongToExtSignedBCDByte
-79..+79
LongToExtSignedBCDWord
-7999...+7999
LongToExtSignedBCDDword
-79999999...+79999999
LongToAikenByte
0...99
LongToAikenWord
0...9999
LongToAikenDword
0...99999999
LongToSignedAikenByte
-9...+9
LongToSignedAikenWord
-999...+999
LongToSignedAikenDword
-9999999...+9999999
LongToExcessByte
0...99
LongToExcessWord
0...9999
LongToExcessDword
0...99999999
LongToSignedExcessByte
-9...+9
LongToSignedExcessWord
-999...+999
LongToSignedExcessDword
-9999999...+9999999
LongToSimaticTimer
10...9990000
LongToSimaticBCDTimer
10...9990000
See also
Tag Types (Page174)
182
2.4.9
Definition
The "Unsigned 32-bit value" data type is four bytes long and is not signed.
Adapting Format
If you create a new tag with the "Unsigned 32-bit value" data type, the Type Conversion box
will display the DwordToUnsignedDword by default. The range of numbers is 0 to 4294967295.
The following type conversions are possible for the "Unsigned 32-bit value" data type:
Adapting format
Number range
DwordToUnsignedDword
0...4294967295
(no conversion)
DwordToUnsignedByte
0...255
DwordToUnsignedWord
0...65535
DwordToSignedByte
0...127
DwordToSignedWord
0...32767
DwordToSignedDword
0...2147483647
DwordToBCDByte
0...99
DwordToBCDWord
0...9999
DwordToBCDDword
0...99999999
DwordToAikenByte
0...99
DwordToAikenWord
0...9999
DwordToAikenDword
0...99999999
DwordToExcessByte
0...99
DwordToExcessWord
0...9999
DwordToExcessDword
0...99999999
DwordToSimaticTimer
10...9990000
DwordToSimaticBCDTimer
10...9990000
See also
Tag Types (Page174)
183
2.4.10
Definition
The "floating-point number 32-bit IEEE 754" data type is four bytes long and is signed (plus or
minus).
Float
The "floating-point number 32-bit IEEE 754" data tape is also referred to as "float".
Adapting format
If you create a new tag with the "Floating-point number 32-bit IEEE 754" data type, the Type
Conversion box will display the FloatToFloat by default. The number range is +-3.402823e+38.
Note
For every FloatTo...Dword type conversion, only the first seven places are considered. The
float data type only allows seven digits. If you have an S7 connection, the range of numbers
for the FloatToFloat type conversion is +-3.402823e+38.
The following type conversions are possible for the "floating-point number 32-bit IEEE 754"
data type:
184
Adapting format
Number range
FloatToFloat
+-3.402823e+38
(no conversion)
FloatToUnsignedByte
0...255
FloatToUnsignedWord
0...65535
FloatToUnsignedDword
0 to 4.294967e+09
FloatToSignedByte
-128...+127
FloatToSignedWord
-32768...+32767
FloatToSignedDword
-2.147483e+09 to +2.147483e+09
FloatToDouble
+-3.402823e+38
FloatToMSBByte
-127...+127
FloatToMSBWord
-32767...+32767
FloatToMSBDword
-2.147483e+09 to +2.147483e+09
FloatToBCDByte
0...99
FloatToBCDWord
0...9999
FloatToBCDDword
0 to 9.999999e+07
FloatToSignedBCDByte
-9...+9
FloatToSignedBCDWord
-999...+999
FloatToSignedBCDDword
-9999999...+9999999
FloatToExtSignedBCDByte
-79...+79
FloatToExtSignedBCDWord
-7999...+7999
Number range
FloatToExtSignedBCDDword
-7.999999e+07 to +7.999999e+07
FloatToAikenByte
0...99
FloatToAikenWord
0...9999
FloatToAikenDword
0 to 9.999999e+07
FloatToSignedAikenByte
-9...+9
FloatToSignedAikenWord
-999...+999
FloatToSignedAikenDword
-9999999...+9999999
FloatToExcessByte
0...99
FloatToExcessWord
0...9999
FloatToExcessDword
0 to 9.999999e+07
FloatToSignedExcessByte
-9...+9
FloatToSignedExcessWord
-999...+999
FloatToSignedExcessDword
-9999999...+9999999
FloatToS5Timer
10...9990000
FloatToS5Float
+-1.701411e+38
FloatToSimaticTimer
10...9990000
FloatToSimaticBCDTimer
10...9990000
See also
Tag Types (Page174)
2.4.11
Definition
The "Floating-point number 64-bit IEEE 754" data type is eight bytes long and is signed (plus
or minus).
Double
The "Floating-point number 64-bit IEEE 754" data type is also referred to as "Double".
Type conversion
If you create a new tag with the "Floating-point number 64-bit IEEE 754" data type, the "Type
Conversion" box will display the "DoubleToDouble" by default. The number range is
+-1.79769313486231e+308.
185
186
Type conversion
Number range
DoubleToDouble
+-1.79769313486231e+308
(no conversion)
DoubleToUnsignedByte
0...255
DoubleToUnsignedWord
0...65535
DoubleToUnsignedDword
0...4294967295
DoubleToSignedByte
-128...+127
DoubleToSignedWord
-32768...+32767
DoubleToSignedDword
-2147483647...+2147483647
DoubleToFloat
+-3.402823e+38
DoubleToMSBByte
-127...+127
DoubleToMSBWord
-32767...+32767
DoubleToMSBDword
-2147483647...+2147483647
DoubleToBCDByte
0...99
DoubleToBCDWord
0...9999
DoubleToBCDDword
0...99999999
DoubleToSignedBCDByte
-9...+9
DoubleToSignedBCDWord
-999...+999
DoubleToSignedBCDDword
-9999999...+9999999
DoubleToExtSignedBCDByte
-79...+79
DoubleToExtSignedBCDWord
-7999...+7999
DoubleToExtSignedBCDDword
-79999999...+79999999
DoubleToAikenByte
0...99
DoubleToAikenWord
0...9999
DoubleToAikenDword
0...99999999
DoubleToSignedAikenByte
-9...+9
DoubleToSignedAikenWord
-999...+999
DoubleToSignedAikenDword
-9999999...+9999999
DoubleToExcessByte
0...99
DoubleToExcessWord
0...9999
DoubleToExcessDword
0...99999999
DoubleToSignedExcessByte
-9...+9
DoubleToSignedExcessWord
-999...+999
DoubleToSignedExcessDword
-9999999...+9999999
DoubleToS5Timer
10...9990000
DoubleToS5Float
+-1.701411e+38
Number range
DoubleToSimaticTimer
10...9990000
DoubleToSimaticBCDTimer
10...9990000
See also
Tag Types (Page174)
2.4.12
Text Tag 8-Bit Character Set and Text Tag 16-Bit Character Set
Definition
Text tags are distinguished by the character set that has to be displayed:
With the "text tag 8-bit character set" data type, each of the characters that has to be
displayed in this tag is one byte long. With the 8-bit character set, the ASCII character set
can be displayed for example.
With the "text tag 16-bit character set" data type, each of the characters that has to be
displayed in this tag is two bytes long. You require a tag of this type to display the Unicode
character set, for example.
Adapting Format
There is no type conversion for the "text tag 8-bit character set" and "text tag 16-bit character
set" data types.
See also
Tag Types (Page174)
2.4.13
Definition
External and internal Raw Data Type tags can be created in WinCC's Tag Management. The
format and the length of a raw data tag are not fixed. Its length can be in the range from 1 and
65535 bytes. It is either defined by the user or results from a specific application.
187
Address Properties
In the case of external Raw Data tags the Address Properties dialog is not identical for all
communication drivers, since the parameters of the tag address and the supported raw data
tag types depend on the communication driver being used.
Adapting Format
Type conversion is not possible in WinCC for the raw data type.
See also
Tag Types (Page174)
2.5
Creating Tags
2.5.1
Creating Tags
Introduction
This chapter describes how you create tags and structures:
Process tags
Internal tags
188
See also
How to Define Linear Scaling (Page200)
How to Define a Substitute Value (Page199)
How to Set Limit Values (Page198)
How to Create a Tag Group (Page197)
Creating Structure Types (Page192)
Creating Internal Tags (Page190)
How to Create a Process Tag (Page189)
2.5.2
Introduction
You use process tags for communication between WinCC and the automation system.
You can create process tags in tag groups, too, or move them to tag groups once they have
been created.
Note
Before creating a process tag, you must install a communication driver and create at least a
connection.
Procedure
1. In Tag Management of WinCC Explorer, open the communication driver for which you would
like to create a process tag.
2. Select the channel unit you require and the corresponding connection.
3. Choose the "New Tag" option from the shortcut menu for the connection. The "Tag
Properties" dialog is opened.
4. At "Name" on the General tab, enter a name for the tag. In doing so, pay due consideration
to the name conventions in the chapter "Tag Management and Tags" > "Tags".
5. Set the "raw data type" data type in the "Data type" field.
6. If necessary, modify the set type conversion and set Linear Scaling if required.
189
Note
If a starting value has been configured, the starting value is returned at the first reading of
the used process tags, even if a process value already exists. This accelerates the opening
of the picture when Runtime is started and the picture is changed. To bypass this process,
you need to run a direct read call using the corresponding functions in VBS and C.
If you want to set both a start value and a substitute value, check the settings in the "Use
substitute value" segment.
See also
How to Create a Tag Group (Page197)
How to Define Linear Scaling (Page200)
How to Define a Substitute Value (Page199)
How to Set Limit Values (Page198)
Tags (Page163)
2.5.3
Introduction
You use internal tags to transfer data within your project.
190
Procedure
1. Open the "Internal" Tags directory in the Tag Management of WinCC Explorer.
2. Select the "New Tag" entry in the shortcut menu of the connection. The "Tag Properties"
dialog opens.
3. Enter the tag name in the "Name" field of the General tab. Observe the naming conventions
defined in the "Tag Management and Tags" > "Tags" chapter.
4. Set the data type.
5. On the Limits/Reporting tab, set limit values, limit values and the start value as necessary.
6. Activate the "Runtime persistency" option to retain the value of the internal tag on closing
Runtime.
The value saved is used as start value for the restart of Runtime. The start value configured
is only used at the first start of Runtime and after the data type was changed.
7. Click "OK" to close the dialog.
See also
How to Define Linear Scaling (Page200)
How to Define a Substitute Value (Page199)
How to Set Limit Values (Page198)
How to Create a Tag Group (Page197)
Tags (Page163)
191
2.5.4
2.5.4.1
Introduction
This chapter describes how to
Create a structure type and the associated elements
Use the structure types when creating tags
See also
Creating Internal Tags (Page190)
How to Create a Process Tag (Page189)
Copying, Moving and Deleting Tags (Page202)
How to Rename Tags (Page204)
Structure Types and Structure Tags (Page167)
How to Use Structure Types (Page195)
How to Create a Structure Tag (Page192)
2.5.4.2
Introduction
You create structure types external to Tag Management at "Structure types".
When creating a structure type, create the different structure elements. You can assign the
created structure type as data type when creating tags and thereby create all tags defined in
the structure type.
192
Procedure
1. Click in WinCC Explorer on "Structure types" and select the option "New Structure Type..."
from the shortcut menu. The "Structure Properties" dialog box opens.
2. Change the standard name "NewStructure" and assign the structure name with a useful
name. To do this mark the element and select "Rename" on the pop-up menu. Pay due
consideration to the name conventions when doing so.
3. Click the "New Element" button. WinCC creates a new element with the tag type "Short"
and the name "New Tag". Select the element and choose the "Rename" option from the
shortcut menu. Enter a useful name instead of "New Tag". Pay due consideration to the
name conventions when doing so.
4. Set whether the element creates an internal tag or a process tag. The process tag is termed
an "external tag" in the dialog box. Choose the required data type on the shortcut menu of
the structure element.
5. Check the offset value at Process tags in the "AS" segment. This value specifies the spacing
of the structure element from the start address in bytes. The offset value of a new or copied
element is incremented automatically. Adjust the settings as necessary.
6. For process tags, set Linear scaling as necessary.
193
Data Types
The data type for the tag automatically precedes the name of a structure element in WinCC.
This data type corresponds to a certain tag type, e.g. the BYTE data type, the tag type Unsigned
8 Bit Value.
If you want to address a structure tag with a script, then you have to use the C function for this
data type.
The following designations are used:
194
Tag type
Data type
Associated C function
Binary tag
BIT
GetTagBit
CHAR
GetTagSByte
BYTE
GetTagByte
SHORT
GetTagSWord
WORD
GetTagWord
LONG
GetTagSDWord
DWORD
GetTagDWord
FLOAT
GetTagFloat
DOUBLE
GetTagDouble
TEXT8
GetTagChar
TEXT16
GetTagChar
TEXTREF
GetTagChar
See also
How to Create a Process Tag (Page189)
Tag Types (Page174)
Creating Internal Tags (Page190)
Copying, Moving and Deleting Tags (Page202)
How to Rename Tags (Page204)
Structure Types and Structure Tags (Page167)
How to Use Structure Types (Page195)
2.5.4.3
Introduction
Using structure types, you create several tags simultaneously as structure types in just one
action. You can create internal tags and process tags in doing so.
When configuring in the editors, structure tags do not differ from other tags.
195
Procedure
1. In the tag management select the position at which you want to create the tag.
2. Choose the New Tag option from the shortcut menu. The Tag Properties dialog opens.
3. Choose the required structure type in the Data type selection box.
4. Enter a name. This name is used as a tag prefix when creating the tag. WinCC creates a
structure instance under this name. The structure instance is located in WinCC Explorer at
Structure Types under the structure type being used.
5. Confirm with OK.
6. For every element created in the structure type, WinCC generates structure tag with the
appropriate properties. The name of the structure tag is composed of the name of the
structure instance and the name of the structure element, separated by a dot.
Note
Perform all settings before applying the structure type for creating tags. You can then modify
the properties of the created structure tags later.
To modify the properties of a structure type, you must first delete all associated structure tags.
Update
If you create internal structure tags in a multi-user project, then you can use the Project-wide
update or Computer-local update setting. This setting is only then relevant if you do not create
an individual client project on the WinCC clients.
Define the required update with the created structure tags. The setting in the structure instance
is not transferred when creating the associated structure tag.
See also
Creating Internal Tags (Page190)
How to Create a Process Tag (Page189)
Copying, Moving and Deleting Tags (Page202)
How to Rename Tags (Page204)
Structure Types and Structure Tags (Page167)
How to Create a Structure Tag (Page192)
196
2.5.5
Introduction
You create tag groups in Tag Management. You create tag groups for internal tags directly in
the Internal Tags directory. You create tag groups for process tags in the communication driver
directory under the connection.
You can only create tags in a tag group. A tag group cannot contain another tag group.
Procedure
1. Navigate in Tag Management to the position at which you wish to create the tag group.
2. Choose the New Group option from the shortcut menu for the connection. The Tag Group
Properties dialog opens.
3. At Name on the General tab, enter a meaningful name. In doing so, pay due consideration
to the name conventions in the chapter Tag Management and Tags > Tag Groups.
4. Click the OK button to conclude the dialog.
See also
Creating Internal Tags (Page190)
How to Create a Process Tag (Page189)
Tag Groups (Page170)
197
2.5.6
Introduction
When using limit values, you prevent the value of a tag from being outside the defined limits.
You can set an upper limit value and a lower limit value. If, for example, a process value
exceeds the upper limit value, WinCC grays out the value and does not process it any more.
If you define a substitute value, WinCC sets the substitute value in the event of the limit being
violated.
Procedure
1. Select a process tag and open the "Tag Properties" dialog box.
2. On the Limits/Reporting tab, select the "Upper limit" check box and enter the desired value.
3. On the Limits/Reporting tab, select the "Lower limit" check box and enter the desired value.
4. Define a substitute value, if necessary, and activate the At Upper Limit or At Low Limit
check box.
5. Click OK to close the dialog.
198
See also
How to Define Linear Scaling (Page200)
How to Define a Substitute Value (Page199)
2.5.7
Introduction
You can define a specific value as a substitute value for a tag.
In the "Use Substitute Value" segment you define when you want WinCC to use this substitute
value. The current process value is then not accepted from the automation system.
As start value
WinCC sets the substitute value when the project is activated and there is no current process
value.
If a start value has already been defined, it is not possible to select "Replacement value as
start value".
199
At upper limit
If you have set an upper limit for the tag, WinCC sets the substitute value as soon as the
process value exceeds this upper limit.
At lower limit
If you have set a lower limit for the tag, WinCC sets the substitute value as soon as the process
value falls below this lower limit.
Procedure
1. Select a process tag and open the "Tag Properties" dialog box.
2. On the Limits/Reporting tab, select the "Substitute value" check box and enter the desired
value.
3. In the "Use Substitute Value" segment, select when you want WinCC to use this substitute
value in the tag.
4. Click OK to close the dialog.
Note
If you have set an upper or lower limit in an input/output field, you cannot enter any value
outside these limits.
WinCC ignores incorrect entries and therefore does not set a substitute value. The substitute
value is only set by WinCC when an incorrect process value is read.
See also
How to Define Linear Scaling (Page200)
How to Set Limit Values (Page198)
2.5.8
Introduction
When using linear scaling, you can map values of process tags in WinCC to any second range
of values.
Linear scaling is only available for process tags. Internal tags cannot be scaled.
200
Usage
You use linear scaling when you want to display a process value differently from how it was
supplied by the automation system. The process value itself is not modified.
This can be practical if you want to use the process value as a percentage or for calculations.
Example
A temperature sensor measures the resistance in the system and transfers the value in ohms.
Certain resistance values correspond to specific temperatures. When using linear scaling, you
can automatically convert the resistance values to the temperature scale. This ensures that
the measured resistance is immediately displayed as a temperature in the project.
In the Tag Properties dialog, this resistance value corresponds to the details at Process value
range. The temperature corresponds to the details at Tag value range.
Procedure
1. Select a process tag and open the Tag Properties dialog.
2. On the General tab, select the Linear scaling check box.
3. In the Process Value Range segment, enter as Value 1 the value from which linear scaling
should apply. Enter for example "0". In the Process Value Range segment, enter as Value
2 the value to which linear scaling should apply. Enter for example "100".
4. In the Tag Value Range segment, enter as Value 1 the value to which Value1 of the process
should correspond. Enter for example value "0". Enter as Value 2 a value which should
correspond to value2 of the process. Enter for example value "10". This ensures that the
process values between 0 and 100 in the project are only displayed in increments of ten
on a scale from 0 to 10.
5. Click the OK button to conclude the dialog.
Note
The values entered for scaling do not restrict the display. If you scale the values from 0 to
100, values greater than 100 or less than 0 will still be displayed. You configure necessary
limits on the Limits/Reporting tab.
See also
How to Define a Substitute Value (Page199)
How to Set Limit Values (Page198)
201
2.6
Editing Tags
2.6.1
Editing Tags
Introduction
This chapter informs you of the possibilities of editing tags, tag groups and structure types:
Copy
Move
Delete
Rename
Edit in Runtime
Call status information
Note
If a tag was created in WinCC using SIMATIC Manager with Translate OS, you cannot edit
the tag in WinCC Explorer.
See also
Creating Tags (Page188)
Status Information of Tags in Runtime (Page207)
Editing Tags in Runtime (Page206)
How to Rename Tags (Page204)
Copying, Moving and Deleting Tags (Page202)
2.6.2
Introduction
The shortcut menu and the toolbar can be used to perform the following operations on tags,
tag groups and structure types:
Cut
Copy
Paste
Delete
202
Examples
Original tag
Copied tag
VarOne
VarOne_1
VarOne_2
VarOne01
VarOne01_1
VarOne01_2
VarOne_01
VarOne_1
VarOne_2
VarOne_2
VarOne_3
VarOne_4
VarOne_5
VarOne_1
VarOne_3
VarOne_4
VarOne_7
(the values in between are not assigned)
VarOne_2
VarOne_5
VarOne_6
VarOne_8
Note
If a tag was created in WinCC using SIMATIC Manager with Compile OS, you cannot copy
or delete the tag in WinCC Explorer.
203
See also
Creating Tags (Page188)
Editing Tags in Runtime (Page206)
How to Rename Tags (Page204)
2.6.3
Introduction
You can rename the following elements in Tag Management:
Tags
Tag groups
Structure types
Structure instance
Example
If you would like to change a lower case character to an upper case character in the tag name,
you have to rename the tag in a roundabout manner. If tag "Varone" should really be called
"VarOne", change the name first to "Varne" or "1Varone". You can then change the name a
second time to "VarOne".
Note
Remember that WinCC distinguishes between upper and lower case characters in a
configuration. If you change upper and lower case characters in a tag name, you must adapt
your configuration accordingly.
204
Procedure
1. Select a tag or a tag group.
2. Choose the Properties option from the shortcut menu.
The Tag Properties or the Tag Group Properties dialog opens.
3. Modify the name of the tag or tag group. Pay due consideration to the name conventions
when doing so.
4. Click the OK button to conclude the dialog.
Alternative Procedure
You can rename selected tags, tag groups and structure tags with F2.
Example
A structure instance Furnace1 includes the structure tags Furnace1.pressure_actual,
Furnace1.pressure_set and Furnace1.temperature.
If you change the name of the structure instance to Furnace_one, the structure tags will be
changed to Furnace_one.pressure_actual, Furnace_one.pressure_set and
Furnace_one.temperature.
Note
If a tag was created in WinCC using SIMATIC Manager with Compile OS, you cannot edit
the tag in WinCC Explorer.
205
See also
Creating Tags (Page188)
Editing Tags in Runtime (Page206)
Copying, Moving and Deleting Tags (Page202)
2.6.4
Introduction
If you have activated a project, you can edit tags in parallel. There are a few constraints,
however.
Editing in Runtime
You can edit the following elements in Runtime:
Tags
Tag groups
Structure types
Structure
instances
Create
Address
---
---
Cut
Yes 2)
---
---
---
Copy
Yes2)
Paste
Delete
---
Modify properties
X3)
Rename
---
1) 2)
1) 2)
1)
Possible with external tags only if the channel being used supports the function. This currently
applies only to the SIMATIC S7 Protocol Suite channel.
1)
2)
3)
Note
If a tag was created in WinCC using SIMATIC Manager with Compile OS, you cannot edit
the tag in WinCC Explorer.
See also
Creating Tags (Page188)
How to Rename Tags (Page204)
Copying, Moving and Deleting Tags (Page202)
206
2.6.5
Introduction
In Runtime you can view information on connections and tags as a tooltip.
Connections
The tooltip of a connection specifies:
The status of a connection
Tags
The tooltip of a tag specifies:
The status of a connection
The current process value of a tag
The quality code of a tag
The date on which a tag was last changed
This status display similarly applies to structure tags.
Quality Codes
Quality codes provided encoded information about the status and quality of a tag.
You will find a list of quality codes in the WinCC Information System at Communication >
Communication Diagnostics > Quality codes of tags.
See also
Tag management (Page159)
207
Resources
3.1
Contents
The Graphics Designer is an editor for creating process pictures and making them dynamic.
This chapter will show you
how to use the "Graphics Designer" editor
how to create and edit process pictures
how to adapt the object properties to the requirements of your project
how to configure and use objects of the Object Palette and library
how to combine and configure objects of the Object Palette
how to integrate and configure controls in process pictures
how to test process pictures in Runtime
Chapter "Object properties" describes the properties of the objects of the Graphics Designer.
How to make process pictures dynamic is described in detail in the chapter "Making Process
Pictures Dynamic".
3.2
Introduction
The Graphics Designer can only be started for the project currently opened in the WinCC
Explorer.
209
Requirements
A project must be opened.
Procedure
The Graphics Designer can be opened in the following ways:
Navigation window of WinCC Explorer
Select the command "Open" in the pop-up menu of the entry "Graphics Designer".
The Graphics Designer is started and a new picture is opened.
Data window of WinCC Explorer
Select the entry "Graphics Designer" in the navigation window. The pictures available in
the project are shown in the data window. Select the command "Open picture" in the popup menu of a picture.
The Graphics Designer is started and a new picture is opened.
See also
The pop-up menu in the Data Window (Page221)
The shortcut menu in the Navigation window (Page212)
The Graphics Designer in the WinCC Explorer (Page210)
3.3
3.3.1
Introduction
The Graphics Designer is an editor for creating process pictures and making them dynamic.
The Graphics Designer can only be started for the project currently opened in the WinCC
210
For working with the Graphics Designer, the WinCC Explorer offers the following functions and
configuration options:
Starting Graphics Designer
Opening, creating, renaming and deleting a picture
Properties of the picture
Configuring object libraries and ActiveX controls
Converting libraries and pictures from older program versions
Configuring and starting Runtime
You can call commands via the toolbar and the shortcut menus in the navigation and data
windows.
Note
If you rename a picture in the WinCC Explorer, you use a picture name once only. The
software does not check for whether the new name already exists. Duplicate picture names
can lead to conflicts in accessing via VBA or in making dynamic.
211
You can find additional information on faceplate types in the section "Working with faceplate
types".
See also
This is how you configure the Control selection of the Object Palette (Page218)
This is how to configure the object selection (Page216)
Displaying the properties of a picture file (Page224)
Displaying the configured dynamics of a process picture (Page226)
How to start the Graphics Designer (Page209)
How to set up Runtime (Page112)
How to activate / deactivate Runtime (Page657)
The shortcut menu in the Navigation window (Page212)
The pop-up menu in the Data Window (Page221)
3.3.2
Introduction
A pop-up menu permits rapid access to frequently required functions. All of the functions listed
in the pop-up menu can also be started using the menu bar.
The navigation window is the left-hand window in the WinCC Explorer. The pop-up menu can
be used to modify the components of the opened project. The pop-up menu of the Graphics
Designer enables you to create new pictures, to integrate controls or to convert libraries.
212
Requirements
A project must be opened.
Procedure
1. Right-click the entry "Graphics Designer".
The pop-up menu will be opened.
2. Select one of the entries from the pop-up menu.
Opening
The Graphics Designer is started. A new empty picture is created in the format PDL.
New picture
A new empty picture is created in the format PDL without opening the Graphics Designer. The
new picture is displayed in the data window of the WinCC Explorer and can be renamed using,
for example, the context-sensitive menu.
213
Graphic OLL
The "Object OLL" dialog is opened. This dialog indicates which object libraries are available
for the Graphics Designer. The object selection can be configured for the current project. Other
object libraries can be imported, for example using the "Floppy disk" button. It is possible, for
example, to integrate other button or text objects and then use them in the project.
The "Object OLL" dialog is described in detail in the chapter "Configuring the object selection".
Converting pictures
Pictures created with an older version of the Graphics Designer have to be converted into the
current format.
If you select the entry "Convert pictures", a confirmation prompt appears. When you confirm
the conversion of the pictures with "OK", all of the project's pictures will be converted.
NOTICE
Conversion of pictures can not be undone.
Note
Converting pictures and libraries can take some time.
214
<No entry>
Picture has been created using SIMATIC Manager. Created by SIMATIC Manager
Properties
An information dialog is opened, showing the general properties from WinCC as well as the
installed components.
Alternative Operation
All of the commands listed can also be started using the menu bar.
See also
This is how you configure the Control selection of the Object Palette (Page218)
This is how to configure the object selection (Page216)
How to start the Graphics Designer (Page209)
The pop-up menu in the Data Window (Page221)
The Graphics Designer in the WinCC Explorer (Page210)
215
3.3.3
Introduction
The object selection available in the Graphics Designer can be configured for the current
project. Other object libraries can be imported, for example using the "Floppy disk" button. It
is possible, for example, to integrate other button or text objects and then use them in the
project.
Requirements
A project must be opened.
216
Arrow buttons
Use the arrow buttons to move object libraries in the relevant arrow direction.
Button "Preview"
Select the desired OLL file in one of the two upper areas. Click the "Preview" button to display
the content of the selected object library as a preview.
2. Enter the path of the desired source directory or click the "Search" button to select the
source directory.
3. Confirm your selection by clicking "OK".
The selected OLL files will be displayed in the left area of the dialog "Object OLL".
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
217
Note
Object libraries are WinCC files of the format OLL and they are located in the subfolder
"Bin" of the WinCC installation directory.
Additional object libraries can be purchased through your WinCC sales partner.
See also
How to start the Graphics Designer (Page209)
The shortcut menu in the Navigation window (Page212)
The Graphics Designer in the WinCC Explorer (Page210)
3.3.4
This is how you configure the Control selection of the Object Palette
Introduction
The "Controls" tab in the Object Palette of the Graphics Designer contains a selection of
controls in the folders "ActiveX Controls", ".NET Controls" and "WPF Controls". You can insert
these controls directly into a picture.
You can configure the selection of controls available in the tab yourself:
Change the selection of the ActiveX controls in the dialog "Select OCX Controls". You can
add any of the ActiveX controls registered in the operating system to the list of controls and
remove individual controls from the selection.
Change the selection of the .NET controls in the dialog "Select .NET Object".
Change the selection of the WPF controls in the dialog "Select WPF Object".
NOTICE
The use of controls from third party providers can lead to errors as well as drops in
performance or system blockage. The user of the software is responsible for problems
caused by the deployment of external controls.
We recommend a thorough test before implementation.
218
In the area "Available OCXs (Number)", the "Select OCX Controls" dialog shows all the
ActiveX Controls that are registered in the operating system. The exact number is shown
in the title of the area after the registration has been read in. A red check mark indicates
those controls that are available in the "Controls" tab dialog of the Object Palette. The path
and the program ID of the selected ActiveX Controls are displayed in the area "Details".
You can open the "Select OCX Controls" dialog also from the WinCC Explorer. Click on
the entry "Graphics Designer" in the navigation window and select the entry "Select ActiveX
Control" in the shortcut menu.
2. To add an ActiveX control to the Object Palette, select the desired control in the area
"Available OCX Controls".
A red check mark indicates that the control will be added to the "Controls" tab of the Object
Palette.
3. To remove an ActiveX control from the Object Palette, clear the control in question in the
area "Available OCX Controls".
The red check mark disappears.
4. Confirm your changes by clicking "OK".
219
In the area "Available Controls (Number)", the dialog shows all the .NET objects or WPF
objects on your computer. The precise number is displayed in the title of the area. A red
check mark indicates those controls that are available in the "Controls" tab dialog of the
Object Palette. The assembly, .NET version and path of the selected object are displayed
in the area "Details".
2. To add a control to the Object Palette, select the desired control in the area "Available
Controls".
A red check mark indicates that the control will be added to the "Controls" tab of the Object
Palette.
3. To remove a control from the Object Palette, clear the control in question in the area
"Available Controls".
The red check mark disappears.
4. Confirm your changes by clicking "OK".
See also
The Graphics Designer in the WinCC Explorer (Page210)
The shortcut menu in the Navigation window (Page212)
220
3.3.5
Introduction
A shortcut menu permits rapid access to frequently required functions. All of the functions listed
in the shortcut menu can also be started using the menu bar.
The data window is the right-hand window in the WinCC Explorer. Using the shortcut menu,
the clicked picture can be opened, renamed or deleted, for example. In the data window, a
picture can also be defined as the welcome screen.
Requirements
A project must be opened.
Procedure
1. Click in the navigation window of the WinCC Explorer with the left-hand mouse button on
the entry "Graphics Designer".
All the pictures (PDL) and faceplate types (FPT) of the current project are displayed in the
data window.
2. Right-click one of the displayed pictures.
The shortcut menu will be opened.
3. Select one of the entries from the shortcut menu.
221
Open picture
The selected picture is opened in the Graphics Designer. If necessary, the Graphics Designer
is started.
Rename picture
The selected picture can be renamed in the WinCC Explorer provided it is not opened in the
Graphics Designer. The file format PDL will be kept.
Enter the new file name into the text field of the "New name:" dialog. on Click "OK" to confirm
your entries.
Note
If you rename a picture in the WinCC Explorer, you use a picture name once only. The
software does not check for whether the new name already exists. Duplicate picture names
can lead to conflicts in accessing via VBA or in making dynamic.
Delete picture(s)
The selected picture is deleted provided it is not opened in the Graphics Designer.
If you select the entry "Delete picture", a confirmation prompt appears. As soon as you
confirm deletion of the picture with "OK", the picture is removed from the project.
NOTICE
Deletion of pictures can not be undone.
Note
If you create pictures using the SIMATIC Manager, these cannot be renamed or deleted in
WinCC Explorer. This also applies to WinCC pictures created in WinCC and subsequently
imported into SIMATIC Manager by using the function "Import WinCC Object". You can
recognize these pictures from the "Created by SIMATIC Manager" entry in the Information
column of the data window.
222
Properties
The "Properties" window provides an overview of the most important properties of the selected
picture file. The "Preview" tab shows a preview of the picture and the file properties. A second
tab contains statistics on the configured dynamic properties of the picture.
See also
Working with Faceplate types (Page299)
Displaying the properties of a picture file (Page224)
Displaying the configured dynamics of a process picture (Page226)
How to start the Graphics Designer (Page209)
How to set up Runtime (Page112)
The shortcut menu in the Navigation window (Page212)
The Graphics Designer in the WinCC Explorer (Page210)
223
3.3.6
Introduction
If the entry "Graphics Designer" is selected in the navigation window of the WinCC Explorer,
all the pictures of the current project are displayed in the data window. The entry "Properties"
in the pop-up menu of a picture opens the "Properties" dialog. The "Properties" dialog has two
tabs that provide an overview of the most important picture properties.
The "Preview" tab shows a preview of the selected process picture as well as the statistical
characteristics of the picture file.
Requirements
A project must be opened.
In the navigation window of the WinCC Explorer, the entry "Graphics Designer" must be
selected.
For a complete display of the properties, the desired picture should not be opened in the
Graphics Designer.
224
Date created
The date and time the picture was created are shown in the "Created on" field.
Date changed
The date and time the picture was last edited are shown in the "Last change on" field.
File Size
Shows the size of the PDL file in bytes.
Picture Size
Shows the dimensions of the picture as "width by height" in pixels.
225
Number of Objects
Shows the number of objects contained in the picture. The displayed value is calculated from
the total number of all configured single, group and customized objects. Also included in the
calculation are the single objects contained in groups.
See also
The Graphics Designer in the WinCC Explorer (Page210)
The shortcut menu in the Navigation window (Page212)
The pop-up menu in the Data Window (Page221)
Displaying the configured dynamics of a process picture (Page226)
3.3.7
Introduction
If the entry "Graphics Designer" is selected in the navigation window of the WinCC Explorer,
all the pictures of the current project are displayed in the data window. The entry "Properties"
in the pop-up menu of a picture opens the "Properties" dialog. The "Properties" dialog has two
tabs that provide an overview of the most important picture properties.
With the functions of the "Dynamics" tab dialog, details of all dynamics defined for the selected
picture can be displayed.
Requirements
A project must be opened.
In the navigation window of the WinCC Explorer, the entry "Graphics Designer" must be
selected.
For a complete display of the picture properties, the desired picture should not be opened
in the Graphics Designer.
226
The first time the "Dynamics" tab is opened, the entry "Statistics" is the default setting as type
of dynamics. The overview list displays all the types of dynamics as well as the frequency of
their configuration in the selected picture. Double-clicking with the left-hand mouse button
directly opens the detail display for the different types of dynamics.
Type of dynamics
From the dropdown list box, select the type of dynamics whose settings you want to display
in the overview list.
"Statistics" button
Click this button to reset the type of dynamics to the entry "Statistics".
Quantity
The "Number" field shows the total number of dynamics configured in the selected picture for
the selected type of dynamics.
Overview list
All the objects of the selected picture for which the selected type of dynamics is configured
are shown in the overview list line by line. The columns of the overview list contain the
227
See also
Displaying the properties of a picture file (Page224)
The pop-up menu in the Data Window (Page221)
The shortcut menu in the Navigation window (Page212)
The Graphics Designer in the WinCC Explorer (Page210)
Basic Dynamic Operations (Page407)
3.4
3.4.1
Introduction
The Graphics Designer is a combination of a graphics program and a tool for representing
processes. Based on the Windows standard, the Graphics Designer provides functions for the
creation and dynamic modification of process pictures. The familiar Windows program interface
makes it easy to begin using the complex program. Direct Help provides fast answers to
questions. The user can set up a personalized working environment.
This chapter contains information on the structure of the Graphics Designer, on the elements
and basic settings of the program.
See also
Customizing the Working Environment (Page271)
The Basic Settings of the Graphics Designer (Page254)
The Start Screen of the Graphics Designer (Page234)
3.4.2
Introduction
In the Graphics Designer, the basis for setting positions and specifying sizes is a twodimensional coordinate system. The two axes of the coordinate system, x-axis and y-axis, are
perpendicular to one another and intersect at the coordinate origin.
The coordinate origin lies with the coordinates (X = 0 / Y = 0) in the top left corner of the desktop.
Starting from the coordinate origin, the horizontal x-axis runs in positive direction towards the
228
The position and size of objects of a picture are determined by the coordinates that an object
has in the coordinate system. For example, the position of the object origin is set by the
attributes "Position X" and "Position Y". The object origin therefore has the coordinates X =
"Position X" / Y = "Position Y". The values of these attributes describe the distance of the object
origin from the coordinate axes.
Definition of origin
The origin is defined as the point of an area or an object that is used as the reference point for
entering position and size. For the creation of process pictures in the Graphics Designer, the
following reference points are of significance:
229
Coordinate origin
The "coordinate origin" is the top left corner of the desktop.
Coordinates: X = 0 / Y = 0
Picture origin
The "picture origin" is the top left corner of a process picture.
Coordinates: X = 0 / Y = 0
If the picture on the work area is not displayed as a window but maximized, the picture origin
is the same as the coordinate origin.
Object origin
The "object origin" is the top left corner of the rectangle surrounding the object.
Coordinates: X = "Position X" / Y = "Position Y"
See also
Working with Objects (Page378)
The Status Bar (Page247)
The Rectangle Surrounding the Object (Page232)
The Coordinate System of an Object (Page230)
3.4.3
Introduction
The validity of the normal coordinate system is canceled for displays within an object. The
following special forms are used for the internal coordinate system of an object:
2D coordinate system of an object
3D coordinate system of an object
230
231
See also
How to Insert a 3D Bar (Page575)
The Status Bar (Page247)
The Rectangle Surrounding the Object (Page232)
The Coordinate System of a Process Picture (Page228)
3.4.4
Introduction
The rectangle surrounding an object is defined as a rectangular frame which lies on the outer
border lines of an object. The rectangle surrounding the object itself is not visible in the
Graphics Designer. As soon as you select an object, selection marks are shown however.
These handles serve as grab points for changing the object size with the mouse. The handles
mark the center axes and corner points of the rectangle surrounding the object.
232
The significance of the rectangle surrounding the object for determining the position is
illustrated with a circular or ellipse-shaped object as an example:
The position of an object is defined as the position of its origination in the coordinate system.
The object origin has the coordinates ("Position X"m "Position Y") and is defined as the upper
left corner of the rectangle surrounding the object. Specified in this way, the position of a circular
or ellipse-shaped object is set clearly.
233
See also
Working with Objects (Page378)
How to scale an object (Page393)
How to Select Multiple Objects (Page388)
Multiple Selection of Objects (Page386)
How to select an object (Page385)
The Coordinate System of an Object (Page230)
The Coordinate System of a Process Picture (Page228)
3.4.5
3.4.5.1
Introduction
The Graphics Designer provides objects and tools for creating process pictures. Start the
Graphics Designer from the navigation window of the WinCC Explorer.
234
The Toolbars
At "View", "Toolbars...", the following toolbars can be shown or hidden. In the default setting,
all toolbars, except for the tags, are shown.
Objects: for inserting Standard Objects, Smart Objects, Windows Objects and Controls.
Styles: for changing the line style and thickness, and fill patterns.
Standard: for creating and saving documents, activating the Runtime etc.
Alignment: for aligning a number of objects.
Colors: for fast changes to the color of an object.
Font: for changing the font and font size, font color and border color.
Zoom: for stepless zooming in and out.
235
See also
Elements and Basic Settings of the Graphics Designer (Page228)
The Status Bar (Page247)
The Tag Palette (Page246)
The Font Palette (Page245)
The Color Palette (Page244)
The Zoom Palette (Page243)
The Layer Palette (Page242)
The Alignment Palette (Page241)
The Dynamic Wizard (Page240)
The Style Palette (Page239)
The Object Palette (Page238)
The Standard Toolbar (Page236)
3.4.5.2
Introduction
The default setting is such that the standard toolbar is located beneath the menu bar of the
Graphics Designer. The buttons of the standard toolbar include both common Windows
commands such as "Save" and "Copy" and special buttons of the Graphics Designer such as
"Runtime".
The standard toolbar can be shown or hidden using "View > Toolbars". At the left on the toolbar
is a gripper, which can be used to move the bar to any position on the screen.
236
Function
Key combination
<Ctrl+N>
<Ctrl+T>
<Ctrl+O>
<Ctrl+S>
Starts Runtime, for example to test the active process picture. This function is only available if a process picture has been
opened.
Cuts out the selected object and copies it onto the clipboard. <Ctrl+X>
This function is only available if an object has been selected.
Copies the selected object onto the clipboard. This function
is only available if an object has been selected.
<Ctrl+C>
<Ctrl+V>
Pastes the content of the clipboard into the active process
picture. This function is not available if the clipboard is empty.
<Ctrl+Z>
<Ctrl+A>
<Ctrl+P>
237
Function
Key combination
<Alt+F11>
<SHIFT+F1>
See also
The Start Screen of the Graphics Designer (Page234)
Customizing the Working Environment (Page271)
How to Show and Hide the Toolbar and Palettes (Page275)
How to Arrange the Toolbar and Palettes (Page276)
How to Change the Standard Toolbar (Page277)
3.4.5.3
Introduction
The Object Palette contains different types of objects that are frequently required in process
pictures.
The Object Palette can be shown or hidden using "View", "Toolbars". The Object Palette can
be moved to any position on the screen.
238
Contents
There are the following object groups:
Standard objects: e.g. line, polygon, ellipse, circle, rectangle, static text
Smart objects: e.g. application window, picture window, OLE object, I/O field, bars, status
display
Windows objects: e.g. button, check box, option group, slider object
Controls: The 'Controls' tab contains as standard a selection of the most important ActiveX
controls provided by WinCC. Other controls can be linked.
You can read about how to configure the Object Palette yourself in the chapter "Configuring
object selection".
See also
This is how to configure the object selection (Page216)
How to Show and Hide the Toolbar and Palettes (Page275)
How to Arrange the Toolbar and Palettes (Page276)
The Start Screen of the Graphics Designer (Page234)
Working with Standard Objects (Page475)
Working with Smart Objects (Page509)
Working with Windows Objects (Page583)
Working with Controls (Page319)
3.4.5.4
Introduction
The Style Palette allows fast changes to line style, line weight, line end style and fill patterns.
The Style Palette can be shown or hidden using "View", "Toolbars". The Style Palette can be
moved to any position on the screen.
239
Contents
The style group "Line Style" contains different line display options such as dashed, dotted
etc.
The style group "Line Weight" sets the thickness of the line. The line weight is specified in
pixels.
The style group "Line End Styles" enables display of the ends of lines as arrows or rounded,
for example.
The style group "Fill Pattern" provides the possibility to display closed objects with, for
example, a transparent or checkered background.
See also
The Start Screen of the Graphics Designer (Page234)
How to Arrange the Toolbar and Palettes (Page276)
How to Show and Hide the Toolbar and Palettes (Page275)
3.4.5.5
Introduction
The Dynamic Wizard provides a large number of predefined C Actions to support configuration
of frequently recurring processes. The C Actions are sorted in topics in the form of tabs. The
content of the individual tabs can vary depending on the selected object type.
The Dynamic Wizard can be shown or hidden using "View", "Toolbars". The Dynamic Wizard
can be moved to any position on the screen.
There is an extensive description of this topic in the chapter "Making Process Pictures
Dynamic".
240
See also
How to Show and Hide the Toolbar and Palettes (Page275)
How to Arrange the Toolbar and Palettes (Page276)
The Start Screen of the Graphics Designer (Page234)
Process Picture Dynamics (Page815)
3.4.5.6
Introduction
The functions of the Alignment Palette can be used to process a number of objects together.
You can also call up these functions from the "Arrange > Align" menu.
You show or hide the alignment palette with "View > Toolbars". To the left of the Alignment
Palette is a handle, which you can use to move the palette to any position on the screen.
The Alignment Palette contains the following functions for processing the objects in a multiple
selection:
Prerequisites
You have selected at least two objects.
Overview
Buttons
Function
Reference object
Align:
If the objects have been selected using a
The selected objects are aligned on the left, right, selection border (lasso) with the mouse, the
top or bottom.
object located the furthest towards the outside
is used as reference.
If the objects have been selected using the
pressed <SHIFT> key and the left-hand mouse
button, the first selected object is used as
reference.
If the objects have been selected with <Ctrl+A>,
the reference object of the original selection
applies; otherwise that on the outermost object.
Center:
The selected objects are centered horizontally
or vertically.
Distribute:
The selected objects are distributed evenly,
horizontally or vertically.
The outermost objects remain unchanged.
No reference object
241
Function
Reference object
See also
How to Arrange the Toolbar and Palettes (Page276)
How to Show and Hide the Toolbar and Palettes (Page275)
How to Align Multiple Objects (Page392)
How to Select Multiple Objects (Page388)
Multiple Selection of Objects (Page386)
The Start Screen of the Graphics Designer (Page234)
3.4.5.7
Introduction
In order to simplify the processing of individual objects in complex process pictures, the
Graphics Designer allows you to work with layers. For example, the contents of a process
picture can be distributed across up to 32 layers. These layers can be shown or hidden
individually; in the default setting, all layers are visible; the active layer is Layer 0.
The Layer Palette can be shown or hidden using "View", "Toolbars". To the left of the palette
is a 'gripper', which can be used to move the palette to any position on the screen.
Example: Layers 0 and 1 are displayed, all other layers are hidden. The active layer is Layer
1; this has been renamed to "Compressor".
242
Active layer
The active layer can be set in the dropdown list box of the Layer Palette.
Renaming layers
The "Settings..." menu on the "Visible Layers" tabbed card is used to rename layers. Doubleclick a layer; you can then enter a new name.
See also
How to Show and Hide the Toolbar and Palettes (Page275)
How to Arrange the Toolbar and Palettes (Page276)
How to use the layers palette (Page294)
Working with Layers (Page290)
The Start Screen of the Graphics Designer (Page234)
3.4.5.8
Introduction
Alongside the buttons for zooming in the Standard Toolbar, the Graphics Designer provides
a separate Zoom Bar. This enables very convenient zooming in a process picture.
On the left side of the Zoom Bar is a slider for finely graded setting of the zoom factor. To the
right of this are buttons with predefined zoom factors. The currently set zoom factor is displayed
below the slider in %.
The Zoom Palette can be shown or hidden using "View", "Toolbars". The Zoom Palette can
be moved to any position on the screen.
243
To move the visible area in the case of a high zoom factor, you can use the scroll bars in
accordance with the Windows standard.
The Graphics Designer provides additional operation options with the mouse wheel: Click
the mouse wheel. The mouse pointer changes and you can move the visible picture area
simply by moving the mouse.
See also
How to Show and Hide the Toolbar and Palettes (Page275)
How to Arrange the Toolbar and Palettes (Page276)
Showing and hiding layers and objects (Page264)
The Start Screen of the Graphics Designer (Page234)
3.4.5.9
Introduction
Depending on the selected object, the Color Palette enables fast changes to the line or fill
color. It provides 16 standard colors and the bottom button provides the option of selecting a
user-defined color or a color from the global color palette.
244
See also
How to Show and Hide the Toolbar and Palettes (Page275)
How to Arrange the Toolbar and Palettes (Page276)
How to work with user-defined colors (Page272)
"Colors" Property Group (Page441)
The Start Screen of the Graphics Designer (Page234)
3.4.5.10
Introduction
The most important text characteristics are easy to change using the Font Palette. The Font
Palette allows changes to the font, font size, font color and line color.
The Font Palette can be shown or hidden using "View", "Toolbars"; it can be moved to any
position on the screen.
Other text characteristics such as text in italics or bold print are set in the Object Properties
window.
Note
The default settings of text characteristics can be changed for any text object. You can change
the default settings via the object properties, see chapter "The basic settings of the Graphics
Designer". Or you change the default setting via the font palette: First select a text object in
the Object Palette, then change the properties in the Text Palette and insert the text object.
The changed text characteristics then apply to all other objects of the same type.
245
See also
How to Show and Hide the Toolbar and Palettes (Page275)
How to Arrange the Toolbar and Palettes (Page276)
Managing the default settings of objects (Page267)
"Font" Property Group (Page446)
3.4.5.11
Introduction
The Tag Palette enables fast linking of process tags to objects.
The Tag Palette can be shown or hidden using "View", "Toolbars". The Tag Palette can be
moved to any position on the screen. The default setting is that the Tag Palette is hidden.
Contents
The Tag Palette has the same layout as an Explorer window. The Tag Palette contains a list
of all of the tags available in the project as well as a list of the internal tags. Filters can be set,
the view can be changed, and an update of the connections is possible.
With the mouse button pressed, the tags in the right-hand window can be dragged to attributes
of an object in the "Object Properties" window.
See also
The Start Screen of the Graphics Designer (Page234)
Basic Dynamic Operations (Page407)
Selecting a tag (Page608)
You can link the tag connection of objects (Page418)
How to Arrange the Toolbar and Palettes (Page276)
How to Show and Hide the Toolbar and Palettes (Page275)
246
3.4.5.12
Introduction
The status bar is laid out in accordance with the Windows standard and it contains useful
information.
The status bar can be shown or hidden using "View", "Toolbars".
Contents
Tip: Pressing the <F1> key shows tips related to the currently active window.
Language: The language currently selected in the Graphics Designer is displayed.
Object name: The name of the selected object is displayed. If a number of objects have
been selected, "Multiple Selection" is displayed.
See also
How to Show and Hide the Toolbar and Palettes (Page275)
The Coordinate System of a Process Picture (Page228)
The Coordinate System of an Object (Page230)
The Start Screen of the Graphics Designer (Page234)
247
3.4.6
3.4.6.1
Introduction
In WinCC, you can work with a central color palette. This requires assigning certain index
colors of your choice. You can then not only assign explicit colors but color indices from the
central color palette as well in the Graphics Designer.
248
See also
How to define the central color palette (Page249)
How to export and import color palettes (Page251)
"Colors" Property Group (Page441)
3.4.6.2
Introduction
The central color palette contains indices for assigning certain colors. If you change the central
color palette, you also change all of the indexed colors from the central color palette used in
the objects along with it.
The central color palette is divided into a maximum of 10 color ranges of 20 colors each.
Note
The central color palette does not have to be completely defined.
In order to edit a central color palette, proceed in the same way as for defining the palette.
249
Procedure
1. Click the project name in the navigation window of the WinCC Explorer and select the
Properties command in the pop-up menu.
The "Project properties" dialog opens.
2. Click on "Edit" on the "Surface & Design" tab next to "Central color palette".
This will open the "Color selection" dialog box.
3.
4.
250
Click on
"Add color range".
The 20 square boxes of the color palette fill with numbers, the color indices.
Click on
"Rename color range" and instead of the automatic name definition, enter a
name that means something to you.
Click on
this area.
"Add color range", to open the next color range and repeat steps 2 to 6 for
10.Repeat step 7 until you have defined all required color ranges.
11.Confirm with "OK".
Results
The central color palette is defined. If you have changed the central color palette, all of the
colors selected from the central color palette are also changed in the objects.
See also
How to work with user-defined colors (Page272)
The central color palette (Page248)
3.4.6.3
Introduction
The central color palette contains indices that are assigned to certain colors. If you change the
central color palette, you also change all indexed colors used in the objects from the central
color palette.
The central color palette is subdivided into a maximum of 10 color areas each with 20 colors.
Note
The central color palette does not need to be fully defined.
You can make a central color palette that you have created available to another project by
exporting or you can import the palette from another project into your project. To export or
import a color palette, proceed as follows:
251
Procedure
1. Click the project name in the navigation window of the WinCC Explorer and select the
Properties command in the pop-up menu.
The "Project properties" dialog will open.
2. On the "User Interface and Design" tab, click "Edit" next to "Central Color Palette".
The "Color Selection" dialog box opens.
3.
"Export palette".
4. Enter the path and name of the XML file in the dialog and confirm with "OK".
The color palette is exported.
252
See also
The central color palette (Page248)
253
3.4.7
3.4.7.1
Introduction
The following basic settings of the Graphics Designer can be customized:
Displaying and setting the grid
Displaying and setting the menu and the toolbars
Visibility and zoom factors of the individual layers
Default objects configuration
General settings and options
See also
Elements and Basic Settings of the Graphics Designer (Page228)
Customizing the Working Environment (Page271)
Working with Layers (Page290)
Changing the default trigger (Page269)
Managing the default settings of objects (Page267)
Showing and hiding layers and objects (Page264)
Customizing Menu and Toolbars (Page262)
Making layers invisible (Page260)
This is how you set the options (Page256)
How to Set the Grid (Page254)
3.4.7.2
Introduction
To enable exact work, you can make a background grid appear. If required, you can enable
the option "Snap to grid". Then, all objects that are created or moved are automatically aligned
to the grid.
254
Snap to Grid
If the check box is enabled, objects are aligned to the grid points when they are created,
inserted and moved. Objects that have already been created are only aligned to the grid when
they are moved.
Display grid
When the check box is enabled, the grid points are shown.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
255
Width in pixels
Horizontal spacing of the grid points. Maximum distance: 100 pixels
Height in pixels
Vertical spacing of the grid points. Maximum distance: 100 pixels
With a large grid width, objects are aligned to the left or upper grid points, as the case may be.
Alternative Procedure
All grid properties can be changed in the "Object Properties" window of the active process
picture. The color of the grid can also be changed there.
Note
The minimum grid spacing that can be displayed on the screen is 10 pixels. If you want to
set a smaller value, you can align objects to this grid. On the screen, however, the grid spacing
displayed is the first multiple of the grid value that is greater than or equal to ten.
Example: You set 6 pixels as grid spacing; a grid or 12 pixels is shown on the screen. Objects
can be placed on one grid point or between two grid points.
See also
How to insert an object into a picture (Page382)
The Standard Toolbar (Page236)
The Basic Settings of the Graphics Designer (Page254)
3.4.7.3
Introduction
Different program settings can be changed and saved.
256
257
VBA events
If the check box is enabled, the configured VBA events to monitor the VBA actions is not
triggered. The default setting is that the check box is disabled.
Object selection
Objects can be selected by clicking or by drawing a selection border. This selection border is
also referred to as a 'lasso'. You can specify whether the lasso must fully enclose the objects
or whether contact with the lasso is sufficient to select an object.
With the Option "Surrounding", the complete objects must lie in the selection border (lasso);
with the Option "Touching", it is sufficient that an object touches the selection border (lasso).
The default setting is that the "Surrounding" option is selected.
258
Editing properties
Attributes of objects can be changed via the object properties. Whether a value can be entered
directly in the "Object Properties" window or whether a dialog box is to be opened is specified
using the "Edit Properties - Edit Directly".
If the check box is enabled, the value of an attribute can be changed by double-clicking on the
attribute in the "Object Properties" window. If the check box is not enabled, double-clicking
opens a window for value input. The default setting is that the check box is enabled; digits and
text can be entered directly in the "Object Properties" window.
OCX display
If the check box is activated, ActiveX controls in the Graphics Designer are shown in your
activated look. Setting the OCX representation only has an effect when process pictures are
being created, not in Runtime. The default setting is that the representation of ActiveX Controls
is enabled.
259
See also
How to select an object (Page385)
Changing the default trigger (Page269)
Customizing Menu and Toolbars (Page262)
The Layer Palette (Page242)
Working with Layers (Page290)
Working with Objects (Page378)
The Basic Settings of the Graphics Designer (Page254)
3.4.7.4
Introduction
You can make the individual layers of a picture visible or invisible. This shows or hides the
objects of the various layers. The settings can be made independently of one another for CS
(Configuration System) and RT (Runtime).
When a picture is opened, all layers in the Configuration System are always visible. The
settings for which layers were invisible for the last processing are not saved when you exit
from the Graphics Designer.
The settings for Runtime can be saved with the corresponding setting in the "Options"
tab.
The independent visibility of layers in CS and RT has advantages: You can store more
information in the picture than is to be visible in Runtime.
Double-click a layer to rename it.
260
Layers window
You can make the individual layers of a picture visible or invisible. When the check box is
enabled, the corresponding layer is visible. The active layer always remains visible.
Language
You can change the names of the layers for each language. Set the language and rename the
layers in the 'Layers' window.
261
See also
Showing and hiding layers and objects (Page264)
The Layer Palette (Page242)
Working with Layers (Page290)
Working with Objects (Page378)
The Basic Settings of the Graphics Designer (Page254)
3.4.7.5
Introduction
The view of the Graphics Designer can be changed Buttons can be shown as threedimensional or flat, or keyboard shortcuts can be displayed in the menus.
Whereas the menus always comprise all entries, you are completely free to configure the
standard toolbar as you like.
The settings that can be made here are program settings that are independent of individual
process pictures and are retained when you exit from the program.
262
263
See also
How to Change the Standard Toolbar (Page277)
How to Show and Hide the Toolbar and Palettes (Page275)
How to Arrange the Toolbar and Palettes (Page276)
The Standard Toolbar (Page236)
The Basic Settings of the Graphics Designer (Page254)
3.4.7.6
Introduction
Whether layers and objects are shown or hidden can be made dependent on the current zoom
factor. For example, it is possible to show details as of a certain zoom factor and not before.
Each layer can be assigned its own minimum and maximum zoom. It is also possible to show
only objects whose display size lies within a defined range.
The settings in this tab dialog are retained when you exit from the program if the "Save settings
on exit" check box is enabled in the "Options" tab.
264
Example:
The coarse display lies on Layer 8; the detail display of an area lies on Layer 10. Layer 8 is
displayed in the zoom range between 80% and 800%; Layer 10 is displayed in the zoom range
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
265
266
See also
Making layers invisible (Page260)
The Zoom Palette (Page243)
The Layer Palette (Page242)
Working with Layers (Page290)
Working with Objects (Page378)
The Basic Settings of the Graphics Designer (Page254)
3.4.7.7
Introduction
In the Graphics Designer, the various object types have default properties. If an object from
the Object Palette is inserted in a picture, the object adapts to these default settings.
267
.
In the field "File" click the button
The dialog "Default objects" will open.
2. Select the PDD file in which you want to save the changes and confirm your selection with
"OK".
By default, the PDD file of a project is stored in the graphic folder "GraCS".
3. In the "Save" field, click the "Save Now" button.
The changed default settings are saved in the selected PDD file.
4. Enable the "Save Configuration on Exit" check box if you want the default object
configuration to be saved when you exit from the Graphics Designer.
268
2. Select the PDD file, which you would like to load and confirm your selection with
"OK".
By default, the PDD file of a project is stored in the graphic folder "GraCS".
3. Click on the button "Load now".
The default objects configuration is imported from the selected PDD file into the current
project.
4. You can now save the loaded default settings in the current project directory:
In the field "File" click the button
he dialog "Default objects" will open.
5. Select the PDD file of the current project and confirm your selection with "OK".
6. In the "Save" field, click the "Save Now" button.
The imported default settings of the objects are saved in the PDD file of the current project.
Note
The default settings for objects do not apply across all projects. The changed default settings
only apply to the pictures of the currently opened WinCC project. The basic settings of the
Graphics Designer are not changed here.
See also
Changing the default trigger (Page269)
How to Change an Attribute (Page434)
How to change the default setting of object types (Page379)
The Object Palette (Page238)
The Properties of an Object (Page423)
The Basic Settings of the Graphics Designer (Page254)
3.4.7.8
Introduction
The set trigger specifies the update cycle in Runtime. Each attribute of an object that has been
made dynamic can be assigned an individual update cycle. The value you specify for the default
trigger is the default update cycle for all objects. If, for example, you want to have a lot of
objects updated in a cycle of 2 seconds, set the default trigger to 2 s. You then no longer need
to change the trigger setting for tag connection of the individual attributes.
269
Picture cycle
A cyclic trigger is used as the trigger. The cycle time is defined by the object property Update
Cycle of the picture object. This cycle provides the option of defining the cycles of all the
actions, tag connections and dynamic dialogs used in a picture centrally.
Window Cycle
A cyclic trigger is used as the trigger. The cycle time is defined by the object property Update
Cycle of the Picture Window object. This values applies to all actions, tag links and dynamic
dialogs, which were configured with the trigger type "Window cycle".
270
Upon change
This trigger updates the object every time a change is made. In the case of external tags, there
might be a brief delay; internal tags lead to an immediate update.
User cycle (1 - 5)
You can set this trigger any way you like.
Define user cycles:
1. Click in the navigation window of the WinCC Explorer with the right-hand mouse button on
the project (top entry).
2. In the context-sensitive menu, select the entry "Properties".
3. Select the "Update Cycles" tab.
4. Select one of the user cycles and redefine it.
You have to restart the Graphics Designer to make your individual user cycles available.
Note
The shorter the set update cycles, the higher the system load. To prevent an overload, the
update should not take place more often than necessary.
See also
How to change the default setting of object types (Page379)
Managing the default settings of objects (Page267)
Trigger Types (Page819)
Quick Object Configuration (Page606)
The Basic Settings of the Graphics Designer (Page254)
3.4.8
3.4.8.1
Introduction
The Graphics Designer provides a great many possibilities to customize the working
environment. For example, you can change the toolbar and palettes. You can define your own
colors and change the basic settings of the program.
271
See also
Elements and Basic Settings of the Graphics Designer (Page228)
The Basic Settings of the Graphics Designer (Page254)
The Start Screen of the Graphics Designer (Page234)
How to Change the Standard Toolbar (Page277)
How to Arrange the Toolbar and Palettes (Page276)
How to Show and Hide the Toolbar and Palettes (Page275)
How to work with user-defined colors (Page272)
3.4.8.2
Introduction
In addition to the 16 basic colors from the Color Palette, you are free to use other colors and
assign them to objects. You can either define and use other colors directly or you can select
a color from the central color palette.
The central color palette must be created first.
272
2. Define the desired color using the color square, the color circle and the scrollbars or enter
the value directly on the "Colors" tab.
The currently selected color is displayed in the preview window.
3. The new color is assigned to the currently selected element of the picture by pressing the
"OK" button. This changes:
With a closed object: The fill color
With an open object: The line color
With a text object: The background color
If no object is selected: The background of the active process picture.
This requires the "Global color scheme" being set to "No" in the object properties of the
respective object under "Display".
273
3. The new color is assigned to the currently selected element of the picture by pressing the
"OK" button. This changes:
With a closed object: The fill color
With an open object: The line color
With a text object: The background color
If no object is selected: The background of the active process picture.
Note
This requires the "Global color scheme" being set to "No" in the object properties of
the respective object under "Display".
274
See also
Customizing the Working Environment (Page271)
"Colors" Property Group (Page441)
The Color Palette (Page244)
How to define the central color palette (Page249)
3.4.8.3
Introduction
The default setting of the Graphics Designer is such that all toolbars and palettes are shown,
except for the Tag Palette. To enlarge the desktop, you can hide toolbars that you do not
require and show them again if required.
Procedure
1. Open the "View" menu and select the "Toolbars..." option. The "Toolbars" dialog is opened.
2. If the check box is enabled, the corresponding toolbar is displayed; if the check box is
disabled, it is not displayed.
3. The "Apply" button shows the new settings; the "Restore" button restores the default setting.
4. Save the new settings with "OK". The dialog is closed.
Note
After processing an OLE object, it can occur that the toolbars of the Graphics Designer are
no longer displayed. You can prevent this error after processing an OLE object if you first
close the server application (for example Excel or Paint) before exiting the Graphic Designer.
See also
How to Arrange the Toolbar and Palettes (Page276)
How to Change the Standard Toolbar (Page277)
The Standard Toolbar (Page236)
Customizing the Working Environment (Page271)
275
3.4.8.4
Introduction
The Standard Toolbar and the palettes are originally arrange at the border of the screen. You
can move them to another position or drag them as windows on the desktop.
Special features
The size of a palette can only be changed if it is located as a window on the desktop.
If you move a palette from the workspace back to the border of the screen, its size is not
adapted to the free space. For this reason, you should set the palette size to the size of the
free space before the move.
The default setting is such that the changed view is saved when you exit from the Graphics
Designer. If you do not want to save the settings, open the "Extras" menu, then "Settings...";
select the "Options" tab and disable the "Save settings on exit" check box.
Note
If you have greatly enlarged individual palettes and then moved them to the border of the
screen, your desktop might be too small to drag the palette back onto it to reduce its size. By
double-clicking on the palette title, you detach the palette from the border of the screen. It is
displayed as a window and you can reduce its size.
276
See also
How to Show and Hide the Toolbar and Palettes (Page275)
How to Change the Standard Toolbar (Page277)
The Standard Toolbar (Page236)
Customizing the Working Environment (Page271)
3.4.8.5
Introduction
The Standard Toolbar can be customized. Buttons can be added, shifted or removed.
Requirements
The Standard Toolbar must be configurable. To enable this, open the "Extras", "Settings..."
menu, then the "Menu / Toolbars" tab and enable the check boxes of the Standard Toolbar.
"Configurable" means that the Configuration Dialog for the Standard Toolbar can be
opened. "Drag&Drop with ALT key active" means that the buttons can be shifted directly.
277
See also
How to Arrange the Toolbar and Palettes (Page276)
Customizing the Working Environment (Page271)
The Standard Toolbar (Page236)
How to Show and Hide the Toolbar and Palettes (Page275)
3.5
3.5.1
Introduction
In Graphics Designer, a picture is a file in the form of a sheet of drawing paper. The size of
the drawing sheet can be adjusted. A drawing sheet has 32 layers, which can be used to
improve the organization of the drawing. The files are saved in the project directory, GraCS,
in the PDL format. The complete process can be distributed over several individual pictures,
which are linked together. Retrievals of other applications and files can also be included in a
process picture.
The more complex the configured process is, the more detailed the planning should be.
278
279
See also
Working with Objects (Page378)
Working with Multiple Pictures (Page295)
Working with Layers (Page290)
How to set the picture properties (Page288)
How to export graphics (Page287)
How to convert pictures (Page286)
How to Delete a Picture (Page284)
How to Rename a Picture (Page282)
How to Copy the Picture (Page282)
How to open a picture (Page281)
How to save the pictures (Page281)
How to create a new picture (Page280)
3.5.2
Introduction
Depending on the selected method of working, you will either create a new picture using the
default settings or take your Master picture and save this under a new file name. The advantage
of working with a master picture is that all of the changes that you make while creating it will
then be kept consistently throughout the project.
See also
Working with Pictures (Page278)
How to set the picture properties (Page288)
How to save the pictures (Page281)
280
3.5.3
Introduction
Files are saved in Graphics Designer in the usual Windows manner.
Procedure
An active picture can either be saved via the button
or with the key combination <CTRL+S>.
To save the active picture under a new file name, select "Save As" in the "File" menu.
To save all of the open pictures, select "Save All" in the "File" menu.
See also
Working with Pictures (Page278)
How to Copy the Picture (Page282)
3.5.4
Introduction
Picture files are opened in Graphics Designer in the usual Windows manner.
Opening Picture
Click on the button
in the Graphics Designer or select the entry "File", "Open" in the menu
bar. Select a PDL format file.
You can also open a picture in WinCC Explorer by double-clicking on a PDL format file. This
will start Graphics Designer, if necessary, and then open the picture.
Note
Pictures may only be opened and edited in Graphics Designer. Pictures may not be opened
in Windows Explorer or any similar program.
See also
Working with Pictures (Page278)
281
3.5.5
Introduction
If you want to transfer the settings that you have made in a picture to another one, simply save
the old picture under a different name and delete or change the new picture's contents.
See also
How to open a picture (Page281)
How to Delete a Picture (Page284)
How to Rename a Picture (Page282)
Working with Pictures (Page278)
3.5.6
Introduction
A picture can only be renamed in WinCC Explorer.
Of course, you can save a picture with a different name; but the picture will still be in the project
directory with its old file name.
282
Rename picture
Close the picture that you want to rename.
Start the WinCC Explorer and right-click the picture.
Select the entry "Rename picture" in the pop-up menu and enter a new name.
Note
If you rename a picture in the WinCC Explorer, you use a picture name once only. The
software does not check for whether the new name already exists. Doubled picture names
can lead to conflicts in accessing via VBA or in making dynamic.
Note
If you create pictures using the SIMATIC Manager, these cannot be renamed in WinCC
Explorer. This also applies to WinCC pictures created in WinCC and subsequently imported
into SIMATIC Manager by using the function "Import WinCC Object". You can recognize these
pictures from the "Created by SIMATIC Manager" entry in the Information column of the data
window.
283
See also
How to Copy the Picture (Page282)
How to open a picture (Page281)
How to Delete a Picture (Page284)
Working with Pictures (Page278)
The shortcut menu in the Navigation window (Page212)
3.5.7
Introduction
A picture can only be deleted in WinCC Explorer.
Deleting Picture
Close the picture that you want to delete.
Start the WinCC Explorer and right-click the picture.
Select the entry "Delete picture" in the pop-up menu and confirm the security inquiry with "OK".
284
See also
How to Copy the Picture (Page282)
How to open a picture (Page281)
How to Rename a Picture (Page282)
Working with Pictures (Page278)
The shortcut menu in the Navigation window (Page212)
285
3.5.8
Introduction
Pictures, which were created with an older version of Graphics Designer, can be converted to
the current version with WinCC Explorer.
Converting pictures
In WinCC Explorer, right-click "Graphics Designer". The pop-up menu will open.
Select the entry "Convert pictures" and a confirmation dialog will be displayed. Please observe
the warnings.
When you confirm the conversion of the pictures with "OK", all of the project's pictures will be
converted. It is not possible to convert an individual picture.
NOTICE
Conversion of pictures can not be undone.
286
See also
The shortcut menu in the Navigation window (Page212)
Working with Pictures (Page278)
3.5.9
Introduction
Graphics can be exported from Graphics Designer in the EMF (Enhanced Metafile) and WMF
(Windows Metafile) file formats. However, in this case, dynamic settings and some objectspecific properties will be lost, since they are not supported by the graphic formats.
It is also possible to export graphics in the program's own PDL format. However, it is only
possible to export an entire picture in the PDL format and not individual objects. On the other
hand, when a picture is exported to a PDL file, the dynamics are retained and the exported
picture can then either be inserted in a picture window or opened as a file.
Note
We recommend that you check all pictures, which you export for further processing in other
programs, for both completeness and interpretation errors.
Special features
Some programs do not use the same graphic filters. It is possible that some programs will
not be able to open a graphic that was exported from Graphics Designer. Furthermore,
fonts and object information will also sometimes be incorrectly interpreted by other
programs. If the screen must appear precisely as it is in Graphics Designer, but your
program displays it incorrectly, you can solve this problem by making a screenshot.
When exporting a picture created with the Graphics Designer, all object properties
dynamics of the individual objects are lost.
Procedure
1. Select the object which should be exported. If you do not select an object, the entire picture
will be exported.
2. Open the "Tools" menu and select the entry "Settings". The "Save as metafile" window will
open.
By default, the file will be saved in the GraCS directory for the WinCC project. However,
you can of course export the file to a different directory.
287
See also
Working with Pictures (Page278)
3.5.10
Introduction
In Graphics Designer, a process picture is treated as an object and is called a Picture Object.
It has properties and can be dynamized. The properties and dynamics of the picture can be
adjusted at any time. If no object has been selected in the picture, the "Object Properties"
window will display the properties of the Picture Object.
Procedure
1. If the properties of a picture should be changed, make certain that no objects has been
selected. Open the window "Object properties" by clicking the button
in the toolbar. As
an alternative, the "Object Properties" window can also be opened via the pop-up menu or
by selecting "Properties" in the "View" menu.
2. Check whether the properties of the picture are displayed: The entry "Picture Object" must
be displayed in the object type field at the top of the window. The picture's file name will be
shown in the drop-down list at the right.
3. The attributes, which are found by clicking on the "Properties" or "Event" tabs, can be
changed like the attributes of an object. For more information, please see the chapter
entitled "Change Attributes".
See also
Working with Pictures (Page278)
The Properties of an Object (Page423)
The "Object Properties" Window (Page424)
How to Change an Attribute (Page434)
Displaying the configured dynamics of a process picture (Page226)
Displaying the properties of a picture file (Page224)
How to transfer picture properties to another picture (Page295)
288
3.5.11
Introduction
You can use a picture file as a background for a process picture. The background picture and
the respective parameters belong to the properties of the picture.
289
3.5.12
3.5.12.1
Introduction
In the Graphics Designer, a picture consists of 32 layers in which the objects can be inserted.
The position of an object in a picture is set when it is assigned to a layer. Objects of the layer
0 are located at the screen background, while objects of the layer 32 are located in the
foreground. Objects are always added on the active layer, but can be quickly moved to another
layer. An object's assignment to a layer can be changed using the "Layer" attribute in the
"Object Properties" window.
In addition, it is also possible to change the positioning of the objects with respect to each other
within a layer. Four functions are available for this purpose in the "Arrange / Within the Layer"
menu. When creating a process picture, the objects of a level are by default arranged in the
order in which they were configured: The object inserted first lies at the very back of the level,
each additional object is inserted one position toward the front.
290
291
292
See also
How to change the default setting of object types (Page379)
Working with Layers (Page290)
The Layer Palette (Page242)
How to change the position of an object (Page403)
How to use the layers palette (Page294)
How to assign a layer (Page293)
This is how you set the options (Page256)
3.5.12.2
Introduction
The "Object Properties" window can be used to assign the layer in which an object will be
placed.
Assigning Layers
Select an object and open the "Object Properties" window. Select the object type, double-click
the "Layer" attribute and enter the number of the desired layer.
Multiple selection
If several objects from a number of different layers should be moved to a single common
layer, this can be quickly accomplished by using a multiple selection.
293
See also
How to assign a layer (Page293)
Making layers invisible (Page260)
Showing and hiding layers and objects (Page264)
How to use the layers palette (Page294)
The Layer Palette (Page242)
Working with Layers (Page290)
3.5.12.3
Introduction
With the aid of the Layers palette, it is possible to display only those layers that are actually
used for editing a picture. Up to 31 layers can be hidden if need be. The active layer remains
visible.
Example: Layers 0 and 1 are displayed, all other layers are hidden. The active layer is Layer
1; this has been renamed to "Compressor".
Renaming layers
The "Settings..." menu on the "Visible Layers" tabbed card is used to rename layers. There
you can double-click a layer and enter a new name.
294
See also
Making layers invisible (Page260)
How to assign a layer (Page293)
Showing and hiding layers and objects (Page264)
How to change the default setting of object types (Page379)
The Layer Palette (Page242)
Working with Layers (Page290)
3.5.13
3.5.13.1
Introduction
Multiple process pictures are quite useful when working with complex processes. These
process pictures are then linked to each other and one picture can be integrated in another.
Graphics Designer supports a number of features which ease the process of working with
multiple pictures.
The properties of a picture can transferred to another picture.
Objects can be transferred from one picture to another.
Objects can be copied from one picture to another.
See also
Working with Pictures (Page278)
How to copy objects to another picture (Page298)
How to transfer objects to another picture (Page296)
How to transfer picture properties to another picture (Page295)
3.5.13.2
Introduction
With the exception of the display of the grid and the grid width, the properties of a picture can
be transferred to other pictures with the aid of the "Pipette".
295
Procedure
1. Open the picture with the properties you want to copy. Make certain that no object is
selected.
2. In the standard toolbar, click
.
The picture properties will be copied.
3. Open picture to which the properties should be assigned. Make certain that no object is
selected.
4. In the standard toolbar, click
.
The picture properties will be assigned.
As an alternative, the functions for copying and assigning properties can also be accessed via
the "Edit /Properties" menu.
See also
How to transfer objects to another picture (Page296)
How to copy objects to another picture (Page298)
Working with Multiple Pictures (Page295)
Working with Pictures (Page278)
3.5.13.3
Introduction
With "Cut" and "Paste", you can cut out a selected object and paste it from the operating
system's clipboard. Pasting from the clipboard, it can be copied into any picture. The object
can be copied any number of times, even into different pictures.
Multiple selection
It is possible to simultaneously cut out several selected objects and paste them into another
picture.
296
Requirements
Select an object of any type.
Procedure
1. Press the key combination <CTRL+X> in order to cut the selected object and to transfer it
to the clipboard.
Alternatively you can click the icon
in the standard toolbar or use the entry "Cut" in the pop-up menu or in the "Edit" menu.
2. Open the picture into which the object in the clipboard should be pasted.
3. Press the key combination <CTRL+V>.
Alternatively, you can click the icon
in the standard toolbar or use the entry "Cut" in the
pop-up menu or in the "Edit" menu.
The current content of the clipboard will be inserted into the active picture and selected.
4. Repeat this step to insert further copies of the contents.
Alternative Operation
Drag&Drop: Select the object to be transferred and drag it with the left mouse button depressed
to another picture.
Note
Objects from other applications can also be inserted via the clipboard of the operating
system.
Position X and Position Y of the inserted object are each 20 pixel greater as as Position X
and Y of the original object.
The inserted object receives the object name of the original object but is supplemented by a
continuous number.
See also
How to duplicate objects (Page402)
How to cut objects (Page399)
How to insert the contents of the clipboard (Page401)
How to delete objects (Page398)
How to copy objects to another picture (Page298)
Working with Multiple Pictures (Page295)
Working with Pictures (Page278)
297
3.5.13.4
Introduction
With "Copy" and "Paste", a selected object can be copied to the clipboard and pasted from
there into any picture. The advantage of copying to the clipborad is that that object can be
inserted several times, and into different pictures.
Multiple selection
It is possible to simultaneously copy several selected objects and paste them into another
picture.
Requirements
Select an object of any type.
Procedure
1. Press the key combination <CTRL+C> to copy the selected object to the clipboard.
Alternatively, you can click the icon
in the standard toolbar or the entry "Copy" in the
pop-up menu or in the "Edit" menu.
2. Open the picture into which the object in the clipboard should be pasted.
3. Press the key combination <CTRL+V>.
Alternatively, you can click the icon
in the standard toolbar or use the entry "Cut" in the
pop-up menu or in the "Edit" menu.
The current content of the clipboard will be inserted into the active picture and selected.
4. Repeat this step to insert further copies of the contents.
Note
Objects from other applications can also be inserted via the clipboard of the operating
system.
Position X and Position Y of the inserted object are each 20 pixel greater as as Position X
and Y of the original object.
The inserted object receives the object name of the original object but is supplemented by a
continuous number. No special characters are used in the object name.
298
See also
How to duplicate objects (Page402)
How to cut objects (Page399)
How to insert the contents of the clipboard (Page401)
How to delete objects (Page398)
How to transfer objects to another picture (Page296)
Working with Pictures (Page278)
Working with Multiple Pictures (Page295)
3.6
3.6.1
Introduction
A faceplate is a standardized picture object that you create centrally as a type in a project.
WinCC saves the faceplate type in a fpt file. Afterward, you can insert the faceplate type as a
faceplate instance in a process picture. You edit the faceplate instance like an individual object
of the object palette in the Graphics Designer.
The use of faceplate types reduces the configuration work required, because one faceplate
type can be used in multiple pictures and the instances can be changed centrally via the
faceplate type.
299
The changes of the type-specific properties are not updated automatically in the faceplate
instances. You get the changes in the instances by closing and reloading the respective
process picture.
Note
The following menu functions of the Graphics Designer are not available to you when editing
a faceplate type.
Activating runtime
Customized Object
Tag connections
300
3.6.2
Introduction
A Faceplate type is the template for the Faceplate instances. The Faceplate type is created
centrally in the project. You define which properties and events can be configured in the
Faceplate type and which can be configured in the Faceplate instance in the Faceplate type.
The Faceplate type is a combination of individual objects from the object palette of the Graphics
Designer.
Note
The object types connector, customized object, application window, picture window and
Faceplate cannot be used.
Procedure
1. Creating a Faceplate type.
2. Inserting and configuring individual objects of the Faceplate type.
3. Configuring a Faceplate type.
4. Creating Faceplate tags.
5. Making a Faceplate type dynamic.
301
See also
How to create a Faceplate type (Page302)
How to insert the individual objects of the Faceplate type (Page302)
Configuration of a Faceplate type (Page303)
Properties of a Faceplate type (Page304)
How to configure the properties of a Faceplate type (Page306)
Event of a Faceplate type (Page309)
How to configure the events of a Faceplate type (Page310)
Definition of the Faceplate tags of a Faceplate type (Page312)
How to edit the Faceplate tags of a Faceplate type (Page313)
Making a Faceplate type dynamic (Page314)
3.6.3
Requirements
Faceplate.oll is integrated in the object palette of the Graphics Designer.
The Graphics Designer is open.
Procedure
1. Select the "New Faceplate type" command from the "File" menu.
A new picture will be created with format *.fpt.
2. Select the "Save" command on the "File" menu.
3. Save the Faceplate type in the project folder.
The Faceplate type is created.
3.6.4
Introduction
A faceplate type is a combination of objects from the object palette of the Graphics Designer.
You can insert and configure these individual objects like the objects in a normal WinCC picture.
Note
You cannot use the object types ActiveX control, customized object, application window,
picture window, faceplate, connector and the icons of the HMISymbol library.
302
Requirement
A faceplate type is opened in the Graphics Designer.
Procedure
1. Insert the individual objects of the faceplate type from the object palette.
2. Position the individual objects in the desired position.
3. Configure the object properties of the individual objects.
Note
The configured object properties, which you later do not define as instance-specific in the
configuration dialog, are the type-specific properties of this faceplate type.
4. Select the "Save" command in the "File" menu to save the changes in the faceplate type.
You can find additional information on inserting and configuring the individual objects in the
object palette of the Graphics Designer in the section "Working with objects of the object
palette".
See also
Working with Objects in the Object Palette (Page473)
3.6.5
Introduction
You define which properties and events of a Faceplate type should be able to be configured
in the instances in the configuration dialog of a Faceplate type. The "Object Properties" window
of the Faceplate instance shows only the properties and events defined in the configuration
dialog.
You call the configuration dialog in the "Edit" menu with the "Configure Faceplate type"
command.
"Properties" Tab
You define the properties that should be able to be configured in the instances in the
"Properties" tab. Every instance-specific property can be connected with multiple properties
of the individual objects.
"Events" Tab
You define the events that should be able to be configured in the instances in the "Events" tab.
You can only connect each instance-specific event with a single event of the individual objects.
303
See also
Properties of a Faceplate type (Page304)
How to configure the properties of a Faceplate type (Page306)
Event of a Faceplate type (Page309)
How to configure the events of a Faceplate type (Page310)
3.6.6
Introduction
You define the properties that should be able to be configured in the instances in the
"Properties" tab. Every instance-specific property node can be connected with multiple
properties of the individual objects. Only the name of the property node is shown in the object
properties of the Faceplate instance. By changing the value of the property node, all of the
properties of the individual objects connected with the property nodes are changed.
Note
You are not permitted to assign the following properties of the individual objects with a
property node:
"OutputFormat" of the I/O field.
"Layer" for all objects.
304
Selected Properties
This area contains the instance-specific property nodes for the Faceplate type. Each of these
property nodes can be assigned with one or more properties of the individual objects. Only the
name of the property node is shown in the object properties of the instances. By changing the
value of the property node, all of the properties of the individual objects connected with the
property nodes are changed.
Objects
This area contains all objects included in the Faceplate type. Select an object for which you
want to show the available properties in the "Object Properties" area.
Object Properties
This area contains all available properties for the object selected in the "Objects" area. In order
to define a property of the individual objects as instance-specific, drag the desired property
with Drag & Drop into the "Selected properties" area on the respective property node.
305
See also
How to configure the properties of a Faceplate type (Page306)
3.6.7
Introduction
You define the properties that should be able to be configured in the instances in the
"Properties" tab. Every instance-specific property node can be connected with multiple
properties of the individual objects. Only the name of the property node is shown in the object
306
Requirements
The configuration dialog must be open.
The "Properties" tab has been selected.
Add properties
1. Click on "Add property" to add a property node in the "Selected properties" area.
2. Rename the property nodes using the context menu when required.
If you want to configure a property node without any connection to the individual objects,
proceed with step 8.
3. Select an object in the "Objects" area for which you want to define a property as instancespecific.
The properties available for the selected object are displayed in the "Object Properties"
area.
4. Select the desired property in the "Object Properties" area.
307
Deleting properties
1. Select the property or property nodes that you want to delete in the "Selected Properties"
area.
2. Select the "Delete" command from the context menu of the selected property or the selected
property node.
The selected property or the selected property node is deleted from the selection.
3. Click "Apply".
The configurations that have been defined are accepted.
4. Click on "Exit".
The configuration dialog is closed.
5. Select the "Save" command in the "File" menu to save the changes in the faceplate type.
See also
How to use a Faceplate instance (Page315)
308
3.6.8
Introduction
You define the events that should be made available in the instances in the "Events" tab.
"Object" area
This area contains all objects included in the faceplate type. Select an object for which you
want to show the available events in the "Object Events" area.
309
See also
How to configure the events of a Faceplate type (Page310)
3.6.9
Introduction
You define the events that should be able to be configured in the instances in the "Events" tab.
Every instance-specific event node can be connected with only one event of the individual
object. Only the name of the event node is shown in the object properties of the faceplate
instance. By changing the value of the event node, all of the events of the individual objects
connected with the event nodes are changed.
310
Requirements
The configuration dialog must be open.
The "Events" tab has been selected.
Adding events
1. Click on "Add event" to add an event node in the "Selected events" area.
2. Rename the event nodes using the context menu when required.
3. Select an object in the "Objects" area for which you want to define an event as instancespecific.
The events available for the selected object are displayed in the "Object Events" area.
4. Select the desired event in the "Object Events" area.
5. Drag the desired event using Drag & Drop onto the event node in the "Selected events"
area.
Note
Every event node can only be assigned to a single event of the individual objects.
311
Deleting events
1. Select the event or the event node that you want to delete in the "Selected events" area.
2. Select the "Delete" command from the context menu of the selected event or the selected
event node.
The selected event or the selected event node is deleted from the selection.
3. Click "Apply".
The configurations that have been defined are accepted.
4. Click on "Exit".
The configuration dialog is closed.
5. Select the "Save" command in the "File" menu to save the changes in the faceplate type.
See also
How to use a Faceplate instance (Page315)
3.6.10
Introduction
You cannot use the tags of the WinCC Tag Management in a faceplate type. You can only use
faceplate tags for making objects dynamic. These faceplate tags are only valid for this faceplate
type. The Faceplate tags can only be edited in the Faceplate type.
312
The configuration dialog "Faceplate tags" is called up in the "Edit" menu with the "Edit
Faceplate tags" command.
You can configure the following for the tags:
Name
Data type
Start value
Lower limit
Upper limit
See also
How to edit the Faceplate tags of a Faceplate type (Page313)
3.6.11
Introduction
You cannot use the tags of the WinCC Tag Management in a faceplate type. You can only use
faceplate tags for making objects dynamic. These faceplate tags are only valid for this faceplate
type. The Faceplate tags can only be edited in the Faceplate type.
313
Requirements
A Faceplate type is opened in the Graphics Designer.
Add Tags
1. Select the "Edit Faceplate tags" command from the "Edit" menu.
The "Faceplate tags" dialog opens.
2. Double click on "Add...".
A new tag is created with default values.
Editing Tags
1. Double click on a created tag.
The input fields are activated in the lower portion of the window.
Note
The active input fields depend on the data type of the tags.
2. Enter the desired values in the input fields.
3. Click on "Accept" to accept the changes.
4. Click "Exit" to close the dialog box.
5. Select the "Save" command in the "File" menu to save the changes in the Faceplate type.
Deleting tags
1. Select the tags to be deleted.
2. Clock on the "Delete selected tags" to delete the tags.
The selected tags are deleted.
3. Select the "Save" command in the "File" menu to save the changes in the Faceplate type.
3.6.12
Introduction
You cannot use the tags of the WinCC Tag Management in a faceplate type. You can only use
faceplate tags for making objects dynamic. Not all dynamization options are available in
WinCC. The dynamizations that you perform in a faceplate type are only valid for this faceplate
type.
314
Available dynamizations
The following dynamizations are possible:
VB Scripts
Variable connection to the faceplate variables
See also
Dynamizing by Means of Tag Connection (Page838)
Dynamizing Using VBS Action (Page866)
3.6.13
Introduction
You insert the faceplate type as a faceplate instance in a process picture. You configure the
instance-specific properties in the process picture.
315
Requirement
The Graphics Designer is open.
Procedure
1. Select the "New" command on the "File" menu.
A picture is opened in format *.pdl.
2. Insert the "Faceplate" object from the object palette into the picture with a double click.
An "Open dialog" is opened.
3. Select the desired faceplate type.
The faceplate instance is inserted in the picture.
The selected faceplate type is listed under the "Faceplate type FPT" attribute in the object
properties.
Note
If you select no faceplate types or an invalid faceplate type, the faceplate object is deleted
from the picture.
4. Select "Properties" in the context menu of the faceplate instance.
The "Object properties" dialog box opens.
5. Configure the instance-specific properties in the "Properties" tab.
316
317
When you have checked the scripts and, if necessary, adjusted these, select the check box
in front of the instance. The red cross on the unchecked or invalid faceplate instance is then
hidden.
In the Graphics Designer you can set the option to have this dialog displayed when saving the
picture. Use the menu command "Options/Settings" to open the "Options" tab and select the
check box "Show information at faceplate type change".
See also
How to configure the properties of a Faceplate type (Page306)
How to configure the events of a Faceplate type (Page310)
3.6.14
Introduction
The changes of type-specific properties in the Faceplate type are not updated in Faceplate
instances if the respective process picture of the Faceplate instance is open. You get the
changes in the instances by closing and reloading the respective process picture.
318
Requirements
A Faceplate type is created.
An instance of the Faceplate type is inserted in a process picture.
Procedure
1. Select the "Open type" command from the "File" menu.
The "Open" dialog box is opened.
2. Select the desired Faceplate type.
3. Change the desired type-specific properties and events of the individual objects.
4. Select the "Save" command in the "File" menu to accept the changes in the Faceplate type.
5. Close the pictures in which the instances of the Faceplate type are contained.
6. Load the pictures into the Graphics Designer again.
The changes to the Faceplate type are accepted in the Faceplate instances.
3.7
3.7
Resources
3.7.1
Contents
ActiveX controls offer the option of integrating elements for controlling and monitoring system
processes into a process picture. WinCC supports the following types of controls:
ActiveX controls
ActiveX controls are control elements from any provider that can be used by other programs
via a defined interface based on OLE.
.NET controls
.NET controls are control elements from any provider based on the .NET framework 2.0
from Microsoft.
WPF controls
WPF controls are control elements from any provider based on the .NET framework 3.0
from Microsoft.
The size and properties that a control accepts in Runtime are defined in the Graphics Designer.
All ActiveX controls registered in the operating system and the .NET and WPF controls on your
system are available for use in WinCC.
319
3.7.2
Introduction
Controls are used for the monitoring and visualization of measured values and system
parameters. By appropriate dynamics they can be employed as control elements of the process
control.
While installing WinCC, a number of ActiveX controls will also be installed: The WinCC
controls.
Overview
Detailed descriptions of the following WinCC controls can be viewed via the links in the menu
bar.
320
Control
Abbreviation
Function
Symbol Library
WinCC AlarmControl
AlarmControl
WinCC Digital/Analog
Clock Control
Clock Control
WinCC
FunctionTrendControl
FunctionTrendCo
ntrol
Gauge Control
Media Control
WinCC
OnlineTableControl
OnlineTableContr
ol
WinCC
OnlineTrendControl
OnlineTrendContr
ol
WinCC
RulerControl
RulerControl
Abbreviation
Function
Push Button
Control
Slider Control
WinCC
UserArchiveControl
UserArchiveContr
ol
IXDiskSpace.DiskSpac
e
Disk Space
Control
See also
How to Resize a Control (Page326)
How to Change the Properties of a Control (Page334)
This is how you change the registration of an ActiveX control (Page332)
This is how you configure the Control selection of the Object Palette (Page329)
How to Position a Control (Page328)
How to Insert a Control from the "Controls" Tab (Page325)
This is how you insert an ActiveX control as a smart object: (Page322)
The "WinCC Digital/Analog Clock" Control' (Page349)
The "WinCC Gauge" Control (Page355)
The "WinCC Slider" Control (Page368)
WinCC AlarmControl (Page1014)
WinCC OnlineTrendControl (Page1220)
WinCC FunctionTrendControl (Page1274)
WinCC OnlineTableControl (Page1186)
WinCC Media Control (Page364)
The "Siemens HMI Symbol Library" Control (Page340)
The "IXDiskSpace.DiskSpace" Control (Page335)
321
3.7.3
Introduction
Insert an ActiveX control from the Object Palette into a process picture. You can insert controls
as a smart object or from the "Controls" tab.
If you insert the ActiveX control as a smart object, select the ActiveX control from the "Insert
a Control" dialog during the insertion process. The dialog shows all the ActiveX controls that
are registered in the operating system.
NOTICE
The use of ActiveX Controls from third party providers can lead to errors as well as drops in
performance or system blocks. The user of the software is responsible for problems caused
by the deployment of external ActiveX Controls.
We recommend testing for safe operation before implementation.
At the end of the insertion process a configuration dialog is usually opened, in which you adapt
the properties of the control. You can also open this dialog later by double-clicking the control.
Detailed description of the configuration dialog can be found in the descriptions of the related
controls.
322
Procedure
1. In the Object Palette, click the smart object "Control".
2. Place the mouse pointer at the position in the picture where you want to insert the ActiveX
control.
The mouse pointer changes into a crosshair with an object symbol attached.
3. Drag the control to the desired size with the mouse.
The "Insert a Control" dialog opens.
4. Select one of the ActiveX controls that are registered in the operating system. Confirm your
selection with "OK".
With some controls, the corresponding configuration dialog is automatically opened. In any
case, you can open the configuration dialog with a double-click or via the shortcut menu.
5. Adapt the settings of the configuration dialog as needed. Confirm your entries with "OK."
The insertion process for the "Control" object is finished.
Alternative procedure
Double click in the object palette on the Smart Object "Control", in order to insert it with the
default properties into the process picture. Select the desired control in the "Insert a Control"
dialog.
See also
How to Change the Properties of a Control (Page334)
This is how you change the registration of an ActiveX control (Page332)
This is how you configure the Control selection of the Object Palette (Page329)
How to Position a Control (Page328)
How to Resize a Control (Page326)
How to Insert a Control from the "Controls" Tab (Page325)
Short Description of the WinCC Controls and Additional Controls (Page320)
323
3.7.4
Introduction
Insert a .NET or WPF control from the Object Palette into a process picture. You can insert
these controls as a smart object or from the "Controls" tab.
When inserting the control as a smart object, select the required control in the "Insert a Control"
dialog. All the controls which were configured for selection are displayed here.
NOTICE
Possible problems with third-party controls
The user of the software is responsible for problems caused by the deployment of external
controls.
We recommend testing for safe operation before implementation.
At the end of the insertion process a configuration dialog is usually opened, in which you adapt
the properties of the control. You can also open this dialog later by double-clicking the control.
By default, WinCC uses the name of the control, linked with a continuous number, as the object
name. You can change this name with the "Object name" attribute in the "Object Properties"
window.
Procedure
1. In the Object Palette, click the smart object ".NET Control" or "WPF Control".
2. Place the mouse pointer at the position in the picture where you want to insert the control.
The mouse pointer changes into a crosshair with an object symbol attached.
3. Drag the control to the desired size with the mouse.
The "Insert a Control" dialog with the controls from the "Global Assembly Cache" is opened.
324
3.7.5
Introduction
Insert a control from the Object Palette into a process picture. You can insert controls as a
smart object or from the "Controls" tab. ActiveX controls, .NET controls and WPF controls are
available.
When WinCC has been installed, the "Controls" tab displays a preset selection of WinCC
controls under the ActiveX controls; initially there are no controls listed under ".NET Controls"
and "WPF Controls". You can configure this control selection if necessary.
When inserting the control from the "Controls" tab, select the required control at the beginning
of the insertion process in order to insert it directly into a process picture.
At the end of the insertion process a configuration dialog is usually opened, in which you adapt
the properties of the control. You can also open this dialog later by double-clicking the control.
325
Procedure
1. In the Object Palette, click the "Controls" tab.
Select the control you want.
2. Place the mouse pointer at the position in the picture where you want to insert the control.
The mouse pointer changes into a crosshair with an object symbol attached.
3. Drag the control to the desired size with the mouse.
With some controls, the corresponding configuration dialog is now opened.
4. Adapt the settings of the configuration dialog as required and confirm your entry with "OK".
The insertion process for the selected control is finished.
Alternative procedure
Double click in the object palette on the smart object Control, in order to insert it with the default
properties into the process picture.
See also
How to Change the Properties of a Control (Page334)
This is how you change the registration of an ActiveX control (Page332)
This is how you configure the Control selection of the Object Palette (Page329)
How to Position a Control (Page328)
How to Resize a Control (Page326)
This is how you insert an ActiveX control as a smart object: (Page322)
Short Description of the WinCC Controls and Additional Controls (Page320)
3.7.6
Introduction
The size of an object is defined by the geometry of the rectangle surrounding the object. The
rectangle surrounding the control is symbolized when selecting an object by showing the
handles.
Controls can be resized by:
dragging the handle to a new position
Changing the values of the "Width" and "Height" attributes in the window "Object properties"
326
Requirements
Select a control.
Procedure
1. Position the cursor on the handle of the selected control.
The mouse pointer will change to a double arrow. The alignment of the double arrow
indicates the directions in which you can move the handle:
Horizontal double arrow
The handles on the horizontal center axis can be used to change the width of the control.
Vertical double arrow
The handles on the vertical center axis can be used to change the height of the control.
Diagonal double arrow
The handles on the corners of the control can be used to change the height and width
of the control.
2. Use the mouse to drag the handle to the position you want.
In the settings of the Graphics Designer if the Snap to Grid function is activated, the control
can only be scaled with the mouse according to the settings for the grid.
See also
This is how you change the registration of an ActiveX control (Page332)
How to Change the Properties of a Control (Page334)
This is how you configure the Control selection of the Object Palette (Page329)
How to Position a Control (Page328)
How to Insert a Control from the "Controls" Tab (Page325)
This is how you insert an ActiveX control as a smart object: (Page322)
Short Description of the WinCC Controls and Additional Controls (Page320)
327
3.7.7
Introduction
The position of a control is defined by the coordinates of the control origin. The left upper corner
of the rectangle surrounding the control is called the object origin. Controls can be positioned
by:
dragging the control to a new position
moving the selected control with the aid of the arrow keys for cursor control
Changing the "Position X" and "Position Y" attributes in the "Object Properties" window
Requirements
Select a control.
Procedure
1. Position the cursor on the selected control.
The mouse pointer changes to a crosshair with arrowheads.
2. Click the control and hold down the left mouse button.
The cursor changes into an arrow with an outline icon (small rectangle with broken line).
3. Move the cursor.
The rectangle surrounding the control is displayed as broken and shows a possible new
position for the control. The control initially maintains its original position.
In the settings of the Graphics Designer if the Snap to Grid function is activated, the control
can only be positioned with the mouse according to the settings for the grid.
4. Release the mouse button.
The control is moved to the position previously displayed by the broken line of the rectangle
surrounding the object. The mouse pointer again changes into a crosshair with arrow ends.
328
See also
This is how you configure the Control selection of the Object Palette (Page329)
How to Change the Properties of a Control (Page334)
This is how you change the registration of an ActiveX control (Page332)
How to Resize a Control (Page326)
How to Insert a Control from the "Controls" Tab (Page325)
This is how you insert an ActiveX control as a smart object: (Page322)
Short Description of the WinCC Controls and Additional Controls (Page320)
3.7.8
This is how you configure the Control selection of the Object Palette
Introduction
The "Controls" tab in the Object Palette of the Graphics Designer contains a selection of
controls in the folders "ActiveX Controls", ".NET Controls" and "WPF Controls". You can insert
these controls directly into a picture.
You can configure the selection of controls available in the tab yourself:
Change the selection of the ActiveX controls in the dialog "Select OCX Controls". You can
add any of the ActiveX controls registered in the operating system to the list of controls and
remove individual controls from the selection.
Change the selection of the .NET controls in the dialog "Select .NET Object".
Change the selection of the WPF controls in the dialog "Select WPF Object".
NOTICE
The use of controls from third party providers can lead to errors as well as drops in
performance or system blockage. The user of the software is responsible for problems
caused by the deployment of external controls.
We recommend a thorough test before implementation.
329
In the area "Available OCXs (Number)", the "Select OCX Controls" dialog shows all the
ActiveX Controls that are registered in the operating system. The exact number is shown
in the title of the area after the registration has been read in. A red check mark indicates
those controls that are available in the "Controls" tab dialog of the Object Palette. The path
and the program ID of the selected ActiveX Controls are displayed in the area "Details".
You can open the "Select OCX Controls" dialog also from the WinCC Explorer. Click on
the entry "Graphics Designer" in the navigation window and select the entry "Select ActiveX
Control" in the shortcut menu.
2. To add an ActiveX control to the Object Palette, select the desired control in the area
"Available OCX Controls".
A red check mark indicates that the control will be added to the "Controls" tab of the Object
Palette.
3. To remove an ActiveX control from the Object Palette, clear the control in question in the
area "Available OCX Controls".
The red check mark disappears.
4. Confirm your changes by clicking "OK".
330
In the area "Available Controls (Number)", the dialog shows all the .NET objects or WPF
objects on your computer. The precise number is displayed in the title of the area. A red
check mark indicates those controls that are available in the "Controls" tab dialog of the
Object Palette. The assembly, .NET version and path of the selected object are displayed
in the area "Details".
2. To add a control to the Object Palette, select the desired control in the area "Available
Controls".
A red check mark indicates that the control will be added to the "Controls" tab of the Object
Palette.
3. To remove a control from the Object Palette, clear the control in question in the area
"Available Controls".
The red check mark disappears.
4. Confirm your changes by clicking "OK".
331
See also
How to Change the Properties of a Control (Page334)
This is how you change the registration of an ActiveX control (Page332)
How to Position a Control (Page328)
How to Resize a Control (Page326)
How to Insert a Control from the "Controls" Tab (Page325)
This is how you insert an ActiveX control as a smart object: (Page322)
Short Description of the WinCC Controls and Additional Controls (Page320)
.NET controls (Page376)
WPF controls (Page377)
3.7.9
Introduction
ActiveX Controls must be configured in the operating system, in order to be available for
applications. Normally the registration is a component of the installation procedure. For
troubleshooting or also for upgrading of individual controls, you can also perform a registration
or deregistration manually. In WinCC you can edit the registration in the following dialogs:
Dialog "Select OCX Controls"
Use the button "Deregister OCX" and "Register OCX" ....
Dialog "Insert a Control"
Use the buttons "Register..." and "Deregister".
The procedure for changing the registration is the same in both dialogs. We will describe it
below in the example of the Insert a Control dialog.
NOTICE
You can use these buttons to change the settings of the operating system. Changes are
made immediately.
Before the deregistration of an ActiveX control, check in which path the related OCX file is
saved on the hard disk. How to facilitate a repeated registration of this control.
332
3. Check the details under the selection list (path and name).
4. Click on the button "Deregister".
The selected control is deregistered and deleted from the selection list. The related OCX
file is maintained in the specified path on the hard disk.
333
See also
How to Change the Properties of a Control (Page334)
This is how you configure the Control selection of the Object Palette (Page329)
How to Position a Control (Page328)
How to Resize a Control (Page326)
How to Insert a Control from the "Controls" Tab (Page325)
This is how you insert an ActiveX control as a smart object: (Page322)
Short Description of the WinCC Controls and Additional Controls (Page320)
3.7.10
Introduction
The properties of a control can be adopted according to your needs by:
Changing the attributes in the "Object Properties" dialog
Changing the settings in the Configuration dialog
334
See also
How to Resize a Control (Page326)
This is how you change the registration of an ActiveX control (Page332)
This is how you configure the Control selection of the Object Palette (Page329)
How to Position a Control (Page328)
How to Insert a Control from the "Controls" Tab (Page325)
This is how you insert an ActiveX control as a smart object: (Page322)
Short Description of the WinCC Controls and Additional Controls (Page320)
3.7.11
ActiveX controls
3.7.11.1
IXDiskSpace.DiskSpace Control
335
See also
Short Description of the WinCC Controls and Additional Controls (Page320)
How to Control the Usage of Memory (Page338)
How to Configure the Disk Space Control (Page336)
Requirements
In the pop-up menu of a control select the entry "Properties" in order to open the "Object
Properties" dialog.
Select the property group "Control Properties".
Drive
Enter the letter of the drive which you want to control with the control.
336
Interval
Specify the interval for the update of the displayed measurement values. For the update an
interval of one minute up to 60 minutes can be defined freely.
UsedPercent, FreePercent
These two attributes record the measurement values for the occupied and the free memory in
percent. The values can be queried in Runtime. The values cannot be predefined.
See also
The "IXDiskSpace.DiskSpace" Control (Page335)
How to Control the Usage of Memory (Page338)
337
In the Graphics Designer five Disk Space Controls were configured with the same limit values
and color assignments. These are displayed in the figure above as a multiple selection.
The object names of the controls are assigned according to the drives to be controlled:
DiskSpaceC, DiskSpaceD, DiskSpaceE, DiskSpaceH und DiskSpaceZ.
To provide a better overview, blue lines and labels have been added in the figure.
In this example the "Object Properties" window shows the following properties for the control
"DiskSpaceZ":
338
The occupied memory space of drives C and Z are below the tolerance limit of 80%. The
occupied memory space is displayed in the color (green) configured for this limit.
Drive D with 87% occupied memory space has not exceeded the warning limit yet, but is above
the value for the tolerance limit. The drive is displayed in the color of the warning limit (yellow).
Above the warning limit the display of the value is in the color configured for the alarm limit
(red). The same applies to the drive H with a value of 91%.
Drive E shows the control of a CD-ROM drive. In this example there is no colored bar, since
there is currently no data medium in the drive.
339
See also
The "IXDiskSpace.DiskSpace" Control (Page335)
How to Configure the Disk Space Control (Page336)
3.7.11.2
340
See also
Short Description of the WinCC Controls and Additional Controls (Page320)
How to Change the Colors (Page347)
How to Change the Display Options (Page345)
How to Change the Alignment (Page343)
How to Select a Symbol from the Symbol Library (Page342)
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
341
Requirements
The "Properties of Siemens HMI Symbol Library" dialog is opened by double-clicking the
symbol to be changed.
Select the "Symbols" tab.
Preview
In the area at the top left, the symbol selected in the selection will be displayed. All settings of
the "Siemens HMI Symbol Library" dialog are displayed in the preview.
342
Categories
In the area at the bottom left all categories containing symbols of the Symbol Library are
displayed.
Select the category that contains the desired symbol. All symbols of the selected category are
displayed in the selection.
Selection
The right area displays all the symbols available for the selected category.
Position the mouse pointer on a symbol, to show a short description.
Click on the desired symbol to select it. The selected symbol is displayed in the preview.
See also
How to Change the Colors (Page347)
The "Siemens HMI Symbol Library" Control (Page340)
How to Change the Display Options (Page345)
How to Change the Alignment (Page343)
343
Requirements
The "Properties of Siemens HMI Symbol Library" dialog is opened by double-clicking the
symbol to be changed.
Select the "Style" tab.
Alignment
In the bottom left area the alignment of the symbol in the current picture can be changed. The
symbol can be mirrored and rotated.
Mirroring
Open the drop-down list box and select the desired mirroring type.
The picture content is mirrored on the horizontal or vertical central axis of the symbol
respectively. Objects can be mirrored both horizontally and vertically.
Rotation
Open the drop-down list box and select the desired angle for the rotation.
The rotation of the picture contents is done around the central axis of the symbol. The rotation
is done counter-clockwise in steps of 90, 180 and 270 degrees.
344
See also
The "Siemens HMI Symbol Library" Control (Page340)
How to Change the Colors (Page347)
How to Change the Display Options (Page345)
How to Select a Symbol from the Symbol Library (Page342)
Requirements
The "Properties of Siemens HMI Symbol Library" dialog is opened by double-clicking the
symbol to be changed.
Select the "Style" tab.
345
Display
Open the drop-down list box and select the desired appearance form for the picture contents.
Original
The appearance form of the symbol corresponds to the multi-colored display in the selection
of the "Symbols" tab.
Shadow
Lines of the color "Black" are maintained as contour lines. Elements of the symbols in other
colors are displayed as light grades of the current foreground color.
346
Solid
Lines of the color "Black" are maintained as contour lines. All the elements of the symbol in
other colors are assigned the color value of the current foreground color.
Outline
Lines of the color "Black" are maintained as contour lines. All the elements of the symbol in
other colors are assigned the color value of the current background color.
Background
Open the drop-down list box and select the desired background type.
The background can be displayed either "Nontransparent" or "Transparent".
Customizing
Click on the control box next to the "Customize" option, in order to enable or to disable the
option.
When selecting the "Customize" option, the picture contents are adapted to the object size of
the selected symbol.
See also
The "Siemens HMI Symbol Library" Control (Page340)
How to Change the Colors (Page347)
How to Change the Alignment (Page343)
How to Select a Symbol from the Symbol Library (Page342)
347
Requirements
The "Properties of Siemens HMI Symbol Library" dialog is opened by double-clicking the
symbol to be changed.
Select the "Color" tab.
Properties
Select the color attribute you wish to change.
The "Flashing Color" acquires the symbol in the flashing status. The flashing is only visible in
Runtime. With the "Background Color" you can display the background of the symbol for the
background type "Nontransparent". In the appearance forms of "Shadow" and "Solid", the
symbol is shown in the Foreground Color.
Color group
Select one of the color groups in the drop-down list box. The related colors are displayed in
the "Color Palette" section.
The "Standard Colors" color group contains the 16 standard colors of the operating system.
The "Windows System Colors" color group contains the colors which are set in the operating
system currently as the display options at system start.
348
Color palette
Select the desired color. Click "Accept" in order to assign the new color to the selected color
attribute.
See also
The "Siemens HMI Symbol Library" Control (Page340)
How to Change the Display Options (Page345)
How to Change the Alignment (Page343)
How to Select a Symbol from the Symbol Library (Page342)
3.7.11.3
349
See also
Short Description of the WinCC Controls and Additional Controls (Page320)
How to Change the Background Picture of the Clock Control (Page354)
How to Change the Color of the Clock Control (Page352)
How to Change the Font of the Digital Clock Control Display (Page351)
How to Change the Appearance of the Clock Control (Page350)
Requirements
Double-click the control to open the "Properties of WinCC Digital/Analog Control" dialog.
Click on the "General" tab.
Pointer width in %
For the analog display you can set the width of the second, minute and hour pointer. The values
are understood as percent share of the pointer length.
You can only set the pointer width in the classic design. The static values and the configured
dynamic properties have no effect on the new design.
Pointer length in %
For the analog display you can set the length of the second, minute and hour pointer. The
values are understood as percent share of the radius of the dial.
Analog display
Choose between analog and digital display of the clock.
350
Dial
Hide or unhide the hour marks for the analog display.
Square
Select whether the analog clock is to be displayed in square shape.
Line pointer
Specify whether for the analog display only the border or also the filling color of the pointer will
be displayed.
Background style
Select "Nontransparent" in order to display the analog clock with a frame. With "Transparent
border" the colored dial is displayed without a border. Select "Transparent", in order to display
the analog clock without background.
See also
The "WinCC Digital/Analog Clock" Control' (Page349)
How to Change the Background Picture of the Clock Control (Page354)
How to Change the Color of the Clock Control (Page352)
How to Change the Font of the Digital Clock Control Display (Page351)
Requirements
Double-click the control to open the "Properties of WinCC Digital/Analog Control" dialog.
Select the "Font" tab.
351
Properties
The currently selected property is shown.
Font
Select the desired font for the digital display of the clock from the drop-down list box. You can
use any of the fonts registered in the operating system.
Font size
Select the desired font size for the digital display of the clock from the drop-down list box.
Alternatively, enter the font size directly in the field. The value is specified in points (pt).
Display
Select one or more display options.
The selected font can be displayed in "Bold", "Italic", "Underline" and "Strikethrough".
Sample Text
The selected settings are displayed in a preview.
See also
The "WinCC Digital/Analog Clock" Control' (Page349)
How to Change the Background Picture of the Clock Control (Page354)
How to Change the Color of the Clock Control (Page352)
How to Change the Appearance of the Clock Control (Page350)
Requirements
Double-click the control to open the "Properties of WinCC Digital/Analog Control" dialog.
Select the "Color" tab.
352
Properties
Select the color attribute you wish to change.
Color group
Select one of the color groups in the drop-down list box. The related colors are displayed in
the "Color Palette" section.
The "Standard Colors" color group contains the 16 standard colors of the operating system.
The "Windows System Colors" color group contains the colors which are set in the operating
system currently as the display options at system start.
Color palette
Select the desired color. Click "Accept" in order to assign the new color to the selected color
attribute.
See also
The "WinCC Digital/Analog Clock" Control' (Page349)
How to Change the Background Picture of the Clock Control (Page354)
How to Change the Font of the Digital Clock Control Display (Page351)
How to Change the Appearance of the Clock Control (Page350)
353
Requirements
Double-click the control to open the "Properties of WinCC Digital/Analog Control" dialog.
Select the "Picture" tab.
Browsing
Click the "Browse..." button to access the "Find Picture" dialog. Select the graphic file, to which
you want to assign the selected property.
Pictures in the following formats can be inserted:
BMP, DIB, ICO, CUR, EMF, WMF, GIF and JPG.
Deleting
Click the "Clear" button to move on from the opening picture.
See also
The "WinCC Digital/Analog Clock" Control' (Page349)
How to Change the Color of the Clock Control (Page352)
How to Change the Font of the Digital Clock Control Display (Page351)
How to Change the Appearance of the Clock Control (Page350)
354
3.7.11.4
Labeling
Enter a text to be displayed, for example the type of the controlled value on the gauge. As a
standard, you must enter the label "SIMATIC".
355
Unit text
Enter a text to display, for example, the physical unit of the displayed value on the gauge. By
default, this field is blank.
Unit offset
Specify the position for the display of the physical unit on the gauge. The value is given in
decimal format. The value is the percent share of the object height, starting from the topmost
border line of the rectangle encompassing the object.
See also
How to Configure the Scale of the Gauge Control (Page357)
Short Description of the WinCC Controls and Additional Controls (Page320)
How to Assign Pictures to the Gauge Control (Page363)
How to Change the Colors of the Gauge Control (Page361)
How to Change the Font of the Gauge Control (Page360)
How to Mark Special Value Ranges (Page359)
How to change the Appearance of the Gauge Control (Page356)
Requirements
Double-click the inserted control to open the "Properties of WinCC Gauge Control" dialog.
Click on the "General" tab.
356
Labeling Offset
Specify the position for the labeling of the gauge. The value is given in decimal format. The
value is the percent share of the object height, starting from the topmost border line of the
rectangle encompassing the object.
Slave Pointer
For the maximum and the minimum pointer movement a marker function can be activated,
which marks the real measurement area in Runtime with colored lines:
A green line marks the minimum pointer movement.
A red line marks the maximum pointer movement.
Square
Select whether the gauge is to be displayed in square shape.
Background Style
Select "Nontransparent" in order to display the gauge clock with a frame. "Transparent Border"
hides the frame. With "Transparent", only the scale of the gauge will be displayed.
Mouse Control
The mouse pointer can be shown in Runtime, if it is placed on the symbol.
See also
The "WinCC Gauge" Control (Page355)
How to Assign Pictures to the Gauge Control (Page363)
How to Change the Colors of the Gauge Control (Page361)
How to Change the Font of the Gauge Control (Page360)
How to Mark Special Value Ranges (Page359)
How to Configure the Scale of the Gauge Control (Page357)
357
Requirements
Double-click the inserted control to open the "Properties of WinCC Gauge Control" dialog.
Click on the "General" tab.
Minimum value
Enter the lower limit value of the measuring range. This value is shown as the min. scale value.
Maximum value
Enter the upper limit value of the measuring range. This value is shown as the max. scale
value.
Value
Specify a start value for the pointer of the gauge. If process driver connections are missing,
this value is shown in Runtime.
Minimum Angle
Enter the angle for the display at the scale start. The value is entered in degrees.
Maximum Angle
Enter the angle for the display at the scale end. The value is entered in degrees.
Tick Width
Enter the distance of the main tick marks as the difference of two neighboring measurements.
The area between two main tick marks is divided by default by a wider tick mark of half the
length.
Scale Width
Specify the length of the main tick marks and thus the width of the scale. The value is given
in decimal format as percent share of the radius of the gauge.
358
Scale Offset
Specify the outer radius of the scale. The value is given in decimal format as percent share of
the radius of the gauge.
Decimal point
The values of the scale labeling can be displayed as whole numbers or as decimal numbers
with one decimal place.
See also
How to Assign Pictures to the Gauge Control (Page363)
How to Change the Colors of the Gauge Control (Page361)
How to Change the Font of the Gauge Control (Page360)
How to Mark Special Value Ranges (Page359)
How to change the Appearance of the Gauge Control (Page356)
Requirements
Double-click the inserted control to open the "Properties of WinCC Gauge Control" dialog.
Click on the "General" tab.
Danger
Set the limit value for the start of the danger area.
359
Warning
Set the limit value for the start of the warning area.
Danger Display
The scale area starting at the limit value "Danger" can be shown in the "Danger color" (default
color: red).
Warning Display
The scale area starting at the limit value "Warning" can be shown in the "Warning color" (default
color: yellow).
Normal Display
The scale area ending at the limit value "Warning" can be shown in the "Normal color" (default
color: green).
See also
The "WinCC Gauge" Control (Page355)
How to Assign Pictures to the Gauge Control (Page363)
How to Change the Colors of the Gauge Control (Page361)
How to Change the Font of the Gauge Control (Page360)
How to Configure the Scale of the Gauge Control (Page357)
How to change the Appearance of the Gauge Control (Page356)
Requirements
Double-click the inserted control to open the "Properties of WinCC Gauge Control" dialog.
Select the "Font" tab.
360
Properties
Select the font attribute you wish to change.
Select "Labeling font", in order to change the font for the name of the gauge. "Unit font" changes
the font for the display of the physical unit. You can configure the scale labeling with the "Scale
text font".
Font
Select from the drop-down list box the desired font for the selected labeling attribute. You can
use any of the fonts registered in the operating system.
Font size
Select from the drop-down list box the desired font size for the selected labeling attribute.
Alternatively, enter the font size directly in the field. The value is specified in points (pt).
Display
Select one or more display options.
The selected font can be displayed in "Bold", "Italic", "Underline" and "Strikethrough".
Sample Text
The selected settings are displayed in a preview.
See also
The "WinCC Gauge" Control (Page355)
How to Assign Pictures to the Gauge Control (Page363)
How to Change the Colors of the Gauge Control (Page361)
How to Mark Special Value Ranges (Page359)
How to Configure the Scale of the Gauge Control (Page357)
How to change the Appearance of the Gauge Control (Page356)
Requirements
Double-click the inserted control to open the "Properties of WinCC Gauge Control" dialog.
Select the "Color" tab.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
361
Properties
Select the color attribute you wish to change.
Color group
Select one of the color groups in the drop-down list box. The related colors are displayed in
the "Color Palette" section.
The "Standard Colors" color group contains the 16 standard colors of the operating system.
The "Windows System Colors" color group contains the colors which are set in the operating
system currently as the display options at system start.
Color palette
Select the desired color. Click "Accept" in order to assign the new color to the selected color
attribute.
362
See also
The "WinCC Gauge" Control (Page355)
How to Assign Pictures to the Gauge Control (Page363)
How to Change the Font of the Gauge Control (Page360)
How to Mark Special Value Ranges (Page359)
How to Configure the Scale of the Gauge Control (Page357)
How to change the Appearance of the Gauge Control (Page356)
Requirements
Double-click the inserted control to open the "Properties of WinCC Gauge Control" dialog.
Select the "Picture" tab.
Properties
Select the property for which you want to change the picture assignment. The current picture
is shown in the "Preview" area.
With the "background picture" option you can assign an image to the circular background of
the gauge. With the "Frame picture" option you can assign an image to the rectangular
background of the Control.
Browsing
Click the "Browse..." button to access the "Find Picture" dialog. Select the graphic file, to which
you want to assign the selected property.
Pictures in the following formats can be inserted:
BMP, DIB, ICO, CUR, EMF, WMF, GIF and JPG.
363
Deleting
Click the "Clear" button to move on from the opening picture.
See also
How to Change the Font of the Gauge Control (Page360)
The "WinCC Gauge" Control (Page355)
How to Change the Colors of the Gauge Control (Page361)
How to Mark Special Value Ranges (Page359)
How to Configure the Scale of the Gauge Control (Page357)
How to change the Appearance of the Gauge Control (Page356)
3.7.11.5
364
To configure the WinCC Media Control, double-click it to open the configuration dialog "WinCC
Media Control Properties". Enter the required information on the file to be played and for display
of the Media Control.
The WinCC Media Control will then be displayed differently:
Runtime
The user can display or play the specified multimedia file with the help of the control elements
in Runtime.
See also
Short Description of the WinCC Controls and Additional Controls (Page320)
365
Procedure
1. Double-click the object "WinCC Media Control".
The "Properties of WinCC Media Control" dialog is opened.
Note
If you want to dynamize the attributes, you have to open the object properties with the
"Properties" entry in the shortcut menu.
2. Enter the path and file name of the file to be displayed or played under "General" or look
for the file after clicking the button "...".
Depending on the media type entered, you can select different options.
3. For pictures, set whether the picture should be adapted to the control or whether the control
should be adapted to the picture.
366
5. On the "View" tab, define the display of the WinCC Media Control for playing multimedia
files.
In runtime the WinCC Media Control is displayed with the selected display and operator
controls.
367
3.7.11.6
See also
Short Description of the WinCC Controls and Additional Controls (Page320)
How to Assign Pictures to the Slider Control (Page375)
How to Change the Colors of the Slider Control (Page373)
How to Change the Fonts of the Slider Control (Page372)
How to Change the 3D Effects of the Slider Control (Page371)
How to Change the Measurement Area and Labeling of the Slider Control (Page370)
How to Change the Appearance of the Slider Control (Page369)
368
Requirements
Double-click the inserted control to open the "WinCC Slider Control Properties" dialog.
Click the "General" tab.
Axis Label
The tick marks of the scale can be labeled with measurement values. The step size is set
depending on the specified measurement area and the size of the control automatically.
Scaling
On the left side of the slider tick marks can be shown for the display of a scale.
Position Text
The value of the current position of the slider can be displayed under the slider.
Slider
The slider can be hidden.
Bar Graph
The display of the sliding areas above and below the slider can be hidden.
Transparent
The background of the control can be displayed transparent. The configured background color
is hidden.
369
See also
The "WinCC Slider" Control (Page368)
How to Assign Pictures to the Slider Control (Page375)
How to Change the Colors of the Slider Control (Page373)
How to Change the Fonts of the Slider Control (Page372)
How to Change the 3D Effects of the Slider Control (Page371)
How to Change the Measurement Area and Labeling of the Slider Control (Page370)
How to Change the Measurement Area and Labeling of the Slider Control
Introduction
On the "General" tab, you can set the measuring range to be monitored. In addition, you can
also enter a function description as a label of the Push Button.
Requirements
Double-click the inserted control to open the "WinCC Slider Control Properties" dialog.
Click the "General" tab.
Labeling
Enter a text to be displayed, for example the type of the controlled value at the slider. As a
standard, you must enter the label "SIMATIC".
Minimum value
Enter the lower limit value of the measuring range. This value is shown as the min. scale value
of the slider control.
Maximum value
Enter the upper limit value of the measuring range. This value is shown as the max. scale
value of the slider control.
370
Value
Specify a start value for the position of the slider gauge. If the Process Driver Connection is
missing, the slider is displayed at this position in Runtime.
See also
The "WinCC Slider" Control (Page368)
How to Assign Pictures to the Slider Control (Page375)
How to Change the Colors of the Slider Control (Page373)
How to Change the Fonts of the Slider Control (Page372)
How to Change the 3D Effects of the Slider Control (Page371)
How to Change the Appearance of the Slider Control (Page369)
Requirements
Double-click the inserted control to open the "WinCC Slider Control Properties" dialog.
Select the "3D-Effects" tab.
Style
Select a style for the display of the inner and outer frame as well as the scale.
The border of the Slider Control consists of the three elements outer frame, border and inner
frame. A 3D effect is created by the two-colored display of the outer and inner frames as well
as the tick marks of the scaling.
The styles "Depressed" and "Raised" can be distinguished by the changed alignment of the
two color attributes "Upper Frame color" and "Bottom Frame Color". The "Border" style for the
scale has the effect that the elements are displayed single-colored.
371
Width
Enter a value for the width of the border elements in pixel(s).
See also
How to Change the Fonts of the Slider Control (Page372)
The "WinCC Slider" Control (Page368)
How to Assign Pictures to the Slider Control (Page375)
How to Change the Colors of the Slider Control (Page373)
How to Change the Measurement Area and Labeling of the Slider Control (Page370)
How to Change the Appearance of the Slider Control (Page369)
Requirements
Double-click the inserted control to open the "WinCC Slider Control Properties" dialog.
Select the "Font" tab.
Changing Configuration
Properties
Select the font attribute you wish to change.
With the "Position font" option, you can change the display of the value, which is displayed by
the current position of the slider. A change of the attribute "Font" affects the labeling of the
control and the scale.
372
Font
Select from the drop-down list box the desired font for the selected labeling attribute. You can
use any of the fonts registered in the operating system.
Font size
Select from the drop-down list box the desired font size for the selected labeling attribute.
Alternatively, enter the font size directly in the field. The value is specified in points (pt).
Display
Select one or more display options.
The selected font can be displayed in "Bold", "Italic", "Underline" and "Strikethrough".
Sample Text
The selected settings are displayed in a preview.
See also
How to Change the Appearance of the Slider Control (Page369)
The "WinCC Slider" Control (Page368)
How to Assign Pictures to the Slider Control (Page375)
How to Change the Colors of the Slider Control (Page373)
How to Change the 3D Effects of the Slider Control (Page371)
How to Change the Measurement Area and Labeling of the Slider Control (Page370)
Requirements
Double-click the inserted control to open the "WinCC Slider Control Properties" dialog.
Select the "Color" tab.
373
Properties
Select the color attribute you wish to change.
Color group
Select one of the color groups in the drop-down list box. The related colors are displayed in
the "Color Palette" section.
The "Standard Colors" color group contains the 16 standard colors of the operating system.
The "Windows System Colors" color group contains the colors which are set in the operating
system currently as the display options at system start.
Color palette
Select the desired color. Click "Accept" in order to assign the new color to the selected color
attribute.
374
See also
The "WinCC Slider" Control (Page368)
How to Assign Pictures to the Slider Control (Page375)
How to Change the Fonts of the Slider Control (Page372)
How to Change the 3D Effects of the Slider Control (Page371)
How to Change the Measurement Area and Labeling of the Slider Control (Page370)
How to Change the Appearance of the Slider Control (Page369)
Requirements
Double-click the inserted control to open the "WinCC Slider Control Properties" dialog.
Select the "Picture" tab.
Changing Configuration
Properties
Select the property for which you want to change the picture assignment. The current picture
is shown in the "Preview" area.
With the "Background picture" option, you can assign an image to the background of the
Control. With "Slider picture", you have the option to display an image on the slider.
Browsing
Click the "Browse..." button to access the "Find Picture" dialog. Select the graphic file, to which
you want to assign the selected property.
Pictures in the following formats can be inserted:
BMP, DIB, ICO, CUR, EMF, WMF, GIF and JPG.
375
Deleting
Click the "Clear" button to move on from the opening picture.
See also
The "WinCC Slider" Control (Page368)
How to Change the Colors of the Slider Control (Page373)
How to Change the Fonts of the Slider Control (Page372)
How to Change the 3D Effects of the Slider Control (Page371)
How to Change the Measurement Area and Labeling of the Slider Control (Page370)
How to Change the Appearance of the Slider Control (Page369)
3.7.12
.NET controls
Introduction
Together with WinCC, the Microsoft .NET Framework 2.0 is also installed. This enables you
to integrate .NET applications (assemblies) as controls in your pictures. This is what the
container for the .NET controls is used for.
NOTICE
The user of the software is responsible for problems caused by the deployment of external
controls.
We recommend testing for safe operation before implementation.
376
See also
This is how you configure the Control selection of the Object Palette (Page329)
3.7.13
WPF controls
Introduction
Together with WinCC, the Microsoft .NET Framework 3.0 is also installed. This enables you
to integrate .WPF files as controls in your pictures. This is what the container for the .WPF
(WPF = Windows Presentation Framework) controls is used for.
NOTICE
The user of the software is responsible for problems caused by the deployment of external
controls.
We recommend testing for safe operation before implementation.
See also
This is how you configure the Control selection of the Object Palette (Page329)
377
3.8
3.8.1
Introduction
You will find the following information in this chapter:
The basic functions of the Graphics Designer for working with objects
The features of the individual objects
How to use objects to create process pictures
How to specifically change object properties
Smart objects
Windows objects
Tube objects
Line
polygon
polygon line
ellipse
circle
ellipse segment
circle segment
ellipse arc
circle arc
rectangle
rounded rectangle
static text
connector
Application window
Picture window
Control
OLE object
I/O Field
Bar
Graphic object
Status display
Text list
Multi-line text
Combobox
List box
Faceplate instance
.NET control
WPF control
3D bar
Group display
Status display (Ext.)
Analog display (Ext.)
Button
Check Box
Radio Box
Round button
Slider object
Polygon tube
T-piece
Double T-piece
Tube bend
378
Combined Objects
You can combine the objects of the object palette with one another by creating a "Group" or
a "Faceplate type" from a multiple selection.
You can prepare a Faceplate type can for reuse as a Faceplate instance in other process
pictures or projects.
You can insert a group into the project library and prepare it as a "Library object" for reusing
in other process pictures or projects.
See also
How to change the default setting of object types (Page379)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Working with Combined Objects (Page613)
Working with Controls (Page319)
3.8.2
Introduction
In the Graphics Designer, the various object types have default properties. If an object from
the Object Palette is inserted in a picture, the object adapts to these default settings.
You can adapt default settings for individual object types to your requirements. We recommend
that you make predefined settings for objects with multiple application before creating a
process picture. This is how to limit the scope for later adaptation.
There is an extensive description on backing up default settings in the chapter The" Graphics
Designer Basic Settings".
This section shows the general procedure to view the default setting for the object types.
Changing the default properties is based on changing the individual attributes of an object.
There is an extensive description on changing attributes can be found in the chapter "The
Properties of an Object".
Note
You can also define the design and colors of object types for an entire project. More
information on this is found under "Global object design" and "How to change the color
scheme of an object type".
379
Prerequisites
A picture must be opened. This picture can also be empty.
Procedure
1. Right-click in the object palette on the the object type whose default setting you want to
change.
2. Choose the "Properties" option from the shortcut menu.
The "Object properties" window opens. The name if the object type with the additional
"Default" is displayed toolbar of this window.
3. Select the property group in the "Properties" tab that contains the attribute you want to
change.
Changing attributes in described extensively in the section "Change attribute".
See also
How to Change an Attribute (Page434)
Managing the default settings of objects (Page267)
The "Object Properties" Window (Page424)
The Object Palette (Page238)
Elements and Basic Settings of the Graphics Designer (Page228)
Working with Objects (Page378)
3.8.3
3.8.3.1
Introduction
To create a process picture, the required objects must be inserted from the Graphics Designer
object palette into a picture. These objects are then dynamically linked suitably to a process
to use the process picture to control and monitor processes.
This chapter introduces the basic static operations with which objects are inserted and
arranged in the picture.
380
See also
How to position objects (Page390)
Working with Objects (Page378)
Basic Dynamic Operations (Page407)
You can change the text contents of objects (Page405)
You can link the tag connection of objects (Page418)
How to change the position of an object (Page403)
How to duplicate objects (Page402)
How to insert the contents of the clipboard (Page401)
How to copy objects (Page400)
How to cut objects (Page399)
How to delete objects (Page398)
How to rotate the objects (Page396)
How to mirror the objects (Page395)
How to scale an object (Page393)
How to Align Multiple Objects (Page392)
How to Select Multiple Objects (Page388)
Multiple Selection of Objects (Page386)
How to select an object (Page385)
How to Rename Objects (Page383)
How to insert an object into a picture (Page382)
381
3.8.3.2
Introduction
The objects which should form a process and a subprocess in a process picture are inserted
from the Graphics Designer object palette into a picture.
In the Graphics Designer, the various object types have default properties. When they are
inserted the objects import these default properties (except for individual geometric properties).
After insertion the properties of an object can be modified. In the same way the default settings
for the object types can be modified as required.
When inserting an object, an object name is automatically assigned. The name of the object
type is linked with a continuous number as the object name. No special characters are used
in the object name. You change the object name using the "Object Name" attribute.
Requirements
The display of the object palette must be enabled.
Procedure
The example of the standard object "Rectangle" is used here to show the general procedure
as to how to insert an object in a picture. Some object types require additional steps. You can
learn more about these additional steps in the detailed description of the individual objects.
1. Open the picture into which you want to insert an object.
2. Click the "Rectangle" standard object in the Object palette.
3. Place the mouse pointer at the position in the picture where you want to insert the
rectangle.
The mouse pointer changes into a crosshair with an object symbol attached.
382
Alternative Operation
Double-click the required object in the object palette. The new object is inserted close to the
picture origin. The properties of the new object correspond to the default settings for the
selected object type.
See also
How to Rename Objects (Page383)
How to select an object (Page385)
How to position objects (Page390)
How to scale an object (Page393)
How to delete objects (Page398)
How to copy objects (Page400)
How to copy objects to another picture (Page298)
The Coordinate System of a Process Picture (Page228)
The Coordinate System of an Object (Page230)
The Rectangle Surrounding the Object (Page232)
The Object Palette (Page238)
Basic Static Operations (Page380)
Working with Objects (Page378)
3.8.3.3
Introduction
The "Object Name" attribute specifies the name of an object in the picture. The object name
is unique within a picture. The name of the object is used for example in configuring C actions
to call the object.
When an object is inserted, the object name assigned as standard is the description of the
object type with a consecutive number. This name can be changed using the "Object Name"
attribute.
Note
Avoid special characters in object names of these object names are used in scripts.
383
Requirements
Select an object of any type.
Procedure
1. Open the "Object Properties" window.
2. On the "Properties" tab select the entry for the selected object type to which the property
groups of the object are subordinate.
3. Double-click the "Object name" attribute.
The "Text entry" dialog will open.
4. Enter the new name.
5. Click "OK" to confirm your entries.
See also
How to insert an object into a picture (Page382)
How to select an object (Page385)
Illegal Characters (Page152)
The Toolbar in the "Object Properties" Window (Page426)
The Object Palette (Page238)
Basic Static Operations (Page380)
Working with Objects (Page378)
384
3.8.3.4
Introduction
To change the properties of an object, the object must be selected.
Requirements
The active picture must contain at least one object.
Procedure
1. Position the cursor on the required object.
2. Click the object.
The mouse pointer changes to a crosshair with arrowheads.
The handles of the rectangle surrounding the object appear.
Alternative Procedure
1. Open the "Object Properties" window.
2. On the toolbar of the window, open the drop-down list field to select the object.
3. Select the desired object.
The handles of the object are displayed.
385
See also
How to select an object (Page385)
How to Select Multiple Objects (Page388)
Multiple Selection of Objects (Page386)
The Rectangle Surrounding the Object (Page232)
The Object Palette (Page238)
The "Object Properties" Window (Page424)
Basic Static Operations (Page380)
Working with Objects (Page378)
3.8.3.5
Introduction
In order to change the properties of several objects at the same time, you must select all desired
objects. You do this using "Multiple selection".
All attributes of the selected objects are shown in the "Object properties" window for a multiple
selection. For an attribute however, a value is only displayed if it is the same for all selected
objects that have this attribute.
Along with "selection borders" and the "reference object", a multiple selection has two
characteristics which play an important role, for example for the common alignment of the
selected objects. These characteristics are however not visible in the Graphics Designer.
386
The position and size of the selection border are dependent on the position of the selected
object. The midpoint of the selection border corresponds to the common midpoint of the
selected objects. The limit line of the selection border touches the outer edges of those objects
which have the greatest distance from the common midpoint.
The selection border is not visible. After finishing the multiple selection, only the handles of
the individual objects will be shown.
387
Selection borders
<Ctrl + A>
Function
Aligning
Center
Distribute
No reference object
Match width or
height
the first configured, therefore the oldest object in the multiple selection
See also
How to Select Multiple Objects (Page388)
How to Align Multiple Objects (Page392)
Working with Combined Objects (Page613)
The Alignment Palette (Page241)
The Rectangle Surrounding the Object (Page232)
3.8.3.6
Introduction
In order to change the properties of several objects at once, all of the objects to be changed
must be selected. You do this using "Multiple selection". In the Graphics Designer, you can
make the multiple selection of objects using the following procedures:
multiple selection by clicking with the pressed <Shift> key
multiple selection by dragging a selection border with the mouse
multiple selection with key combination <Ctrl+A>
Note
With each of these three procedures, you can remove an object that was selected in the
multiple selection by mistake by clicking on it with the <Shift> key pressed.
388
Prerequisites
The active picture contains at least two objects.
389
Reference object
The object to be used as a reference object depends on the type of selection and on the function
selected in the alignment palette:
Selection type
Selection borders
<Shift> + click
<Ctrl + A>
Function
Aligning
Center
Distribute
No reference object
the first configured, therefore the oldest object in the multiple selection
See also
The Alignment Palette (Page241)
How to select an object (Page385)
The Rectangle Surrounding the Object (Page232)
Multiple Selection of Objects (Page386)
3.8.3.7
Introduction
The position of an object is defined by the coordinates of the object origin. The left upper corner
of the rectangle surrounding the control is called the object origin.
Objects can be positioned by:
dragging the object to a new position
moving the selected object with the aid of the arrow keys for cursor control
Changing the "Position X" and "Position Y attributes"
390
Multiple selection
It is possible to move several selected objects simultaneously.
Requirements
Select an object of any type.
Procedure
1. Position the mouse pointer over the selected object.
The mouse pointer changes to a crosshair with arrow points.
2. Click the object and hold the left mouse button.
The cursor changes into an arrow with an outline icon (small rectangle with broken line).
3. Move the mouse pointer.
The rectangle surrounding the object is displayed as broken and shows a possible new
position for the object.
The object itself initially keeps its original position.
4. Release the mouse button.
The object is moved to the position previously displayed by the broken line of the rectangle
surrounding the object.
The mouse pointer turns into crosshairs with arrow pointers
Alternative Operation
Move the selected object using the arrow keys for cursor control or change the value for the
geometric "Position X" and "Position Y" attributes in the "Object Properties" window.
391
See also
The Rectangle Surrounding the Object (Page232)
Working with Objects (Page378)
Basic Static Operations (Page380)
The Coordinate System of an Object (Page230)
The Coordinate System of a Process Picture (Page228)
How to Set the Grid (Page254)
How to position objects (Page390)
How to select an object (Page385)
3.8.3.8
Introduction
Using the functions of the alignment palette, the objects of a multiple selection can be arranged
together in the picture. A detailed description of these functions can be found in the section
"The Alignment palette".
Aligning
The selected objects are aligned on the border line of the selection frame (up, down, left, right).
Center
The selected objects are centered on a middle axis of the selection frame (horizontally,
vertically).
Distribute
The selected objects are distributed evenly across the height or width of the selection frame
(horizontally, vertically).
392
Align
The size of the reference object is assigned to the selected objects (height, width or height
and width).
Requirements
Select at least two objects of any type.
Procedure
In the "Alignment Palette" click the required icon or on the "Arrange / Align" menu select the
required entry.
The alignment or the size of the selected objects changes.
See also
How to position objects (Page390)
How to Select Multiple Objects (Page388)
The Alignment Palette (Page241)
Multiple Selection of Objects (Page386)
The Coordinate System of a Process Picture (Page228)
Basic Static Operations (Page380)
Working with Objects (Page378)
3.8.3.9
Introduction
The size of an object is defined by the geometry of the rectangle surrounding the object. The
rectangle surrounding the object is symbolized when selecting an object by showing the
selection markers.
Objects can be scaled by:
dragging the handle to a new position
changing the values of the "Width" and "Height" attributes
393
Multiple selection
It is not possible to scale several selected objects simultaneously using the mouse. To do this,
the objects must be grouped.
Requirements
Select an object of any type.
Procedure
1. Position the mouse pointer over a handle of the selected object.
The mouse pointer changes to double arrow. The alignment of the double arrow indicates
the directions in which you can move the handle:
"Horizontal double arrow"
The width of the object can be changed using the handles on the horizontal center axis.
"Vertical double arrow"
The handles on the vertical center axis can be used to change the height of the object.
"Diagonal double arrow"
The handles on the corners of the object can be used to change the height and width
of the object.
2. Use the mouse to drag the handle to the position you want.
In the settings of the Graphics Designer - if the "Snap to grid" function is activated, the
object can only be scaled with the mouse according to the settings for the grid.
394
Alternative Operation
Change the values for the geometric "Width" and "Height" attributes in the "Object Properties"
window.
See also
How to select an object (Page385)
How to position objects (Page390)
How to Set the Grid (Page254)
The Rectangle Surrounding the Object (Page232)
Basic Static Operations (Page380)
Working with Objects (Page378)
3.8.3.10
Introduction
Objects can be mirrored on their horizontal or vertical center axis. The mirroring of an object
can cause its geometric attributes to change. Mirroring can also change the alignment of
elements contained in the object such as text or check boxes.
395
Multiple selection
It is possible to mirror several selected objects simultaneously. The mirroring occurs on the
horizontal or vertical middle axis of the individual objects.
Requirements
Select any type of object except circle, application window, picture window, Control, OLE
object, status display, 3D bars, group display and round button.
Procedure
In the "Standard toolbar" click the icon
See also
How to select an object (Page385)
How to rotate the objects (Page396)
Multiple Selection of Objects (Page386)
The Standard Toolbar (Page236)
The Coordinate System of a Process Picture (Page228)
The Coordinate System of an Object (Page230)
The Rectangle Surrounding the Object (Page232)
Basic Static Operations (Page380)
Working with Objects (Page378)
3.8.3.11
Introduction
Objects can be rotated around their center point. The rotation is clockwise and in steps of 90
degrees.
The rotation of an object can cause its geometric attributes to change. Rotation can also
change the alignment of elements in an object such as a text.
396
Multiple selection
It is possible to rotate several selected objects simultaneously. The objects are each rotated
around their center point.
Requirements
Select any type of object except circle, application window, picture window, Control, OLE
object, status display, 3D bars, group display and round button.
Procedure
In the standard toolbar, click the icon
It rotates 90 degrees.
Alternatively, you can select the "Rotate entry" in the "Arrange "menu.
397
See also
Working with Objects (Page378)
Basic Static Operations (Page380)
The Rectangle Surrounding the Object (Page232)
The Coordinate System of an Object (Page230)
The Coordinate System of a Process Picture (Page228)
The Standard Toolbar (Page236)
Multiple Selection of Objects (Page386)
How to mirror the objects (Page395)
How to select an object (Page385)
3.8.3.12
Introduction
The "Delete" command removes a selected object from a picture.
Multiple selection
It is possible to delete several selected objects simultaneously.
Requirements
Select an object of any type.
Procedure
Press <DEL> to remove the selected object from the picture.
Alternatively you can use the "Delete" entry on the popup menu or on the "Edit" menu.
Note
You can easily correct operating steps unintentionally carried out:
Click the button
in the standard toolbar to undo the last executed action. You can undo
the last 30 editing steps by repeatedly clicking this button.
Use the button
398
See also
How to cut objects (Page399)
How to copy objects (Page400)
How to insert the contents of the clipboard (Page401)
How to duplicate objects (Page402)
How to insert an object into a picture (Page382)
How to select an object (Page385)
How to Select Multiple Objects (Page388)
Basic Static Operations (Page380)
Working with Objects (Page378)
3.8.3.13
Introduction
The "Cut command" copies a selected object into the clipboard of the operating system. The
object itself is removed from the picture.
Multiple selection
It is possible to cut several selected objects simultaneously.
Requirements
Select an object of any type.
Procedure
Use the key combination <CTRL+X> to remove the selected object from the picture and copy
it to the clipboard.
Alternatively, you can click the icon
pop-up menu or in the "Edit" menu.
Note
You can easily correct operating steps unintentionally carried out:
in the standard toolbar to undo the last executed action. You can undo
Click the button
the last 30 editing steps by repeatedly clicking this button.
Use the button
399
See also
Working with Objects (Page378)
Basic Static Operations (Page380)
How to Select Multiple Objects (Page388)
How to select an object (Page385)
How to insert an object into a picture (Page382)
How to duplicate objects (Page402)
How to insert the contents of the clipboard (Page401)
How to copy objects (Page400)
How to delete objects (Page398)
3.8.3.14
Introduction
The "Copy command" copies a selected object into the clipboard of the operating system. The
advantage of copying to the clipborad is that that object can be inserted several times, and
into different pictures.
Multiple selection
It is possible to copy several selected objects simultaneously.
Note
When inserting a copied object, an object name is automatically assigned. The name of the
original object is used as object name and linked with a continuous number. No special
characters are used in the object name. You change the object name using the "Object Name"
attribute.
Requirements
Select an object of any type.
Procedure
Use the shortcut <CTRL+C> to copy the selected object to the clipboard.
Alternatively, you can click the icon
pop-up menu or in the "Edit" menu.
400
See also
Working with Objects (Page378)
How to copy objects to another picture (Page298)
Basic Static Operations (Page380)
How to Select Multiple Objects (Page388)
How to select an object (Page385)
How to insert the contents of the clipboard (Page401)
How to cut objects (Page399)
How to Rename Objects (Page383)
How to duplicate objects (Page402)
3.8.3.15
Introduction
The "Paste" command inserts the current contents of the clipboard into the active picture as
often as required. If for example an object was copied to the clipboard, any number of copies
of the object can be inserted into different pictures using this command.
Requirements
The clipboard must have contents.
Procedure
1. Press the shortcut <CTRL+V>.
The current contents of the clipboard are inserted into the active picture and selected.
2. Repeat this step to insert further copies of the contents.
Alternatively, you can click the icon
pop-up menu or in the "Edit" menu.
Note
Objects from other applications can also be inserted via the clipboard of the operating
system.
Position X and Position Y of the inserted object are each 20 pixel greater as as Position X
and Y of the original object.
The inserted object receives the object name of the original object but is supplemented by a
continuous number.
401
See also
How to copy objects (Page400)
How to duplicate objects (Page402)
How to cut objects (Page399)
How to delete objects (Page398)
How to select an object (Page385)
How to Select Multiple Objects (Page388)
Basic Static Operations (Page380)
Working with Objects (Page378)
3.8.3.16
Introduction
Use the "Duplicate" command to make a copy of the selected objects directly in the active
picture. The object itself is not modified. The selected object is not copied to the operating
system clipboard.
Multiple selection
It is possible to duplicate several selected objects simultaneously.
Requirements
Select an object of any type.
Procedure
Select "Duplicate" on the popup menu or on the "Edit" menu to make a copy of the selected
object directly in the active picture.
Note
Position X and Position Y of the duplicated object are each 20 pixel greater as as Position X
and Y of the original object.
The duplicated object receives the object name of the original object but is supplemented by
a continuous number.
402
See also
How to copy objects (Page400)
How to cut objects (Page399)
How to insert the contents of the clipboard (Page401)
How to delete objects (Page398)
How to select an object (Page385)
How to Select Multiple Objects (Page388)
Basic Static Operations (Page380)
Working with Objects (Page378)
3.8.3.17
Introduction
In the Graphics Designer, a picture consists of 32 layers in which the objects can be inserted.
By default the objects are inserted in the level prefined for the respective object tye.
The position of the objects to one another can however also be changed within a level. This
is important for example if several objects overlap and thereby over each other.
403
When creating a process picture the objects of a level are by default arranged in the order in
which they were configured. The object inserted first lies at the very back of the level, each
additional object is inserted one position toward the front.
Multiple selection
It is possible to change the position of multiple selected objects simultaneously.
This modification will always apply to the reference object relative to the position of the
unselected objects. An individual position behind the reference object is assigned to each
selected object.
Requirements
The active picture should contain at least two objects of any type which partially overlap.
Both objects must be on the same level.
Select one of these objects.
404
Procedure
Use one of the following shortcuts to change the position of the selected object:
<CTRL> und <+> = "All the way to the front"
The selected object is positioned in front of all the other objects contained in the picture.
<CTRL> und <-> = "All the way to the back"
The selected object is positioned behind all the other objects contained in the picture.
<+> = "one to the front"
The selected object moves up one position to the front.
<+> = "one to the back"
The selected object moves back one position.
Alternative Operation
Select the required entry on the "Arrange / Within the Level" menu to change the position
of the selected object.
In the standard toolbar, click
In the standard toolbar, click
Note
Some objects of the "Control" type generally are in the foreground.
See also
The Standard Toolbar (Page236)
Working with Objects (Page378)
Basic Static Operations (Page380)
Working with Layers (Page290)
The Layer Palette (Page242)
How to change the default setting of object types (Page379)
How to Select Multiple Objects (Page388)
How to select an object (Page385)
3.8.3.18
Introduction
The "Linking" command is used to reconfigure the text contents of attributes for all selected
objects. All configured texts are listed in a dialog and can be edited directly or using the "Find"
and "Replace" functions.
405
406
Find
You can select certain text contents using the "Find" function in the lower area of the dialog:
Click "Select All" if you want to change the text contents displayed.
Enter the text or parts of text you want to search for in the search field. You can also activate
the options "Find whole words only" and "Match case". All text contents which so not meet
the search criteria are hidden.
Replace
You can replace the selected text contents using the "Replace" function in the lower area of
the dialog. Enter the new text in the field and click "Replace".
NOTICE
The "Replace" function replaces only the part of the text contents displayed in the "Find" field.
Note
Grouped objects can only be linked if there are no grouped objects in the group itself.
See also
You can link the tag connection of objects (Page418)
How to Select Multiple Objects (Page388)
Basic Static Operations (Page380)
Working with Objects (Page378)
3.8.4
3.8.4.1
Introduction
To create a process picture, the required objects must be inserted from the Graphics Designer
object palette into a picture. These objects are then dynamically linked suitably to a process
to use the process picture to control and monitor processes.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
407
See also
How to make attributes dynamic (Page408)
How to configure events (Page410)
How to configure a dynamic dialog (Page411)
How to configure a C action (Page412)
How to configure a VBS action (Page414)
How to Configure a Tag Connection (Page416)
You can link the tag connection of objects (Page418)
How to Configure a Direct Connection (Page421)
Basic Static Operations (Page380)
Working with Objects (Page378)
Process Picture Dynamics (Page815)
3.8.4.2
Introduction
You can make certain attributes dynamic in the "Object properties" dialog on the "Properties"
tab.
By linking the attributes with dynamic dialogs, VBS actions, C actions or tags, the properties
of an object can be dynamically adapted to the requirements of the processes to be displayed.
Certain attributes cannot be made dynamic because a change has no effect in runtime. These
attributes have no dynamics icon.
Note
As soon as an attribute is defined with a global design, it is static and can no longer be made
dynamic. Pre-defined dynamics have no effect.
The "Dynamic" column of the "Properties" tab displays the type of configured dynamics for the
selected attribute and is marked by one of the following icons:
408
Type of dynamics
White bulb
No dynamics
Green bulb
Red lightning
There is an extensive description of this topic in the chapter "Making Process Pictures
Dynamic".
Prerequisites
You have selected an object
Procedure
1. Open the "Object properties" dialog and select the "Properties" tab.
2. Select the property group containing the attribute to be made dynamic.
3. Right-click the Dynamic icon of the required attribute in the "Dynamics" column.
4. Select the required dynamics type on the popup menu.
The associated dialog box opens.
There is a brief description of the dynamics types in this chapter.
See also
Global Design of the Objects (Page92)
How to configure a dynamic dialog (Page411)
How to configure a C action (Page412)
How to configure a VBS action (Page414)
How to Configure a Tag Connection (Page416)
You can link the tag connection of objects (Page418)
How to configure events (Page410)
The "Object Properties" Window (Page424)
Basic Dynamic Operations (Page407)
Working with Objects (Page378)
Process Picture Dynamics (Page815)
409
3.8.4.3
Introduction
The "Event" tag in the "Object Properties" window allows events to be configured.
By linking the events with direct connections, VBS actions or C acions, certain actions can be
triggered in Runtime by the operation of an object.
The "Action" column of the "Event" tab displays the type of configured dynamics for the selected
event and is marked by one of the following icons.
Action icon
Type of dynamics
White lightning
Blue lightning
There are events which cannot be made dynamic because a change in Runtime has no effect.
They have no action icon.
There is an extensive description of this topic in the chapter "Making Process Pictures
Dynamic".
Requirements
Select an object.
Procedure
1. Open the "Object Properties" window and select the "Event" tab.
2. Select the event group containing the event to be configured.
3. Right-click the action icon of the required event in the Action column.
4. Select the required dynamics type on the pop-up menu.
The associated dialog opens.
There is a brief description of the dynamics types in this chapter.
410
See also
How to configure a C action (Page412)
How to configure a VBS action (Page414)
How to Configure a Direct Connection (Page421)
How to make attributes dynamic (Page408)
The "Object Properties" Window (Page424)
Basic Dynamic Operations (Page407)
Working with Objects (Page378)
Process Picture Dynamics (Page815)
3.8.4.4
Introduction
A dynamic dialog is used to achieve high Runtime performance when making attributes
dynamic. A C action is automatically generated from the dynamic dialog. This can however be
extended later. The advantage of higher Runtime performance is then lost.
A dynamic dialog is created with the "Dynamic Value Ranges" dialog which is described breifly
here. More detailed information on this topic can be found under "Dynamics with the Dynamic
dialog".
411
Event Name
The "Event Name" field displays the name of the selected trigger event which defines the
update cycle for the value to be calculated.
The trigger event is configured using the "Trigger dialog". There is a choice of the events "Tag",
"Standard cycle", "Picture cycle" and "Window cycle", which can be configured and renamed
as required.
Click the button
Expression / Formula
Specify the formula with which the new value of the attribute should be calculated in Runtime.
Click the button
in order to create the formula from the configured tags, global script
functions and operators. Click "Check" to check the formula for errors.
Data type
Select the data type for the evaluation of the event. The options "Analog", "Bool", "Bit" and
"Direct are available".
See also
Process Picture Dynamics (Page815)
3.8.4.5
Introduction
A C action is used to make attributes and events dynamic. The powerful script language ANSIC opens almost endless options for dynamics. However, the Runtime performance achieved
is lower than with other dynamic types. Therefore, before using a C action you should check
whether the required dynamics can be implemented with another dynamics type.
A C action is created with the "Edit action" dialog which is briefly described here. More detailed
information on this topic can be found under "Dynamics with a C Action".
412
Event
Open the "Event" tab in the "Object Properties" window. In the "Action" column, select the "C
Action" entry from the pop-up menu of the event to be made dynamic.
toolbar
The toolbar of the "Edit action" dialog also contains the following buttons in addition to the
familiar icons:
Icon
Name
Description
Create Action
Tag Selection
Selection of
Picture
Import an Action
Exporting an
Action
413
Event Name
The "Event Name" field displays the name of the selected trigger event which defines the
update cycle for the value to be calculated.
The trigger event is configured using the "Trigger dialog". There is a choice of the events "Tag",
"Standard cycle", "Picture cycle" and "Window cycle", which can be configured and renamed
as required.
Click the button
Editor window
The editor window shows and edits the program code of the C action. Functions, tags and
pictures can be inserted and modified at the respective current cursor position.
Function selection
The function selection shows the Global Script functions available in the project in the form of
a directory tree. You can use these functions to create the C actions.
Double-click the required function to configure the contained paramaters with the Set
"Parameters" dialog. Confirm the new parameters by clicking "OK" to insert the function with
the new values at the position of the cursor in the editor window.
See also
Dynamizing Using C Action (Page877)
3.8.4.6
Introduction
A VBS action is used to make attributes and events dynamic. The script language of a VBS
action is Visual Basic.
A VBS action is created with the "Edit VBS action" dialog which is briefly described here. More
detailed information on this topic can be found under "Dynamics with a VBS Action".
414
Event
Open the "Event" tab in the "Object Properties" window. In the "Action" column, select the
"VBS Action" entry from the pop-up menu of the event to be made dynamic.
toolbar
The toolbar of the "Edit VBS action" dialog also contains the buttons described below in addition
to the familiar icons: The composition of the icons on the toolbar varies according to the types
of attribute or event for which a VBS action was configured.
Icon
Name
Description
Single view
Full view
Comment
Uncomment
Setting Bookmarks
Delete Bookmark
Next bookmark
Previous bookmark
Syntax Check
Tag Selection
415
Name
Description
Selection of Picture
Event Name
The "Event Name" field displays the name of the selected trigger event which defines the
update cycle for the value to be calculated.
The trigger event is configured using the "Trigger dialog". There is a choice of the events "Tag",
"Standard cycle", "Picture cycle" and "Window cycle", which can be configured and renamed
as required.
Click the button
Editor window
The editor window shows and edits the program code of the VBS action. Visual Basic modules,
tags and pictures can be inserted and modified at the respective current cursor position.
Module selection
The module selection displays Visual Basic modules already available in the form of a directory
tree. There are three tabs in which "Project modules", "Standard modules" and "Code
templates" are made available. You can use these modules to create the VBS actions.
See also
Activating Project (Page132)
Dynamizing Using VBS Action (Page866)
3.8.4.7
Introduction
Attributes can be made dynamic using a tag connection. Connecting an attribute to a process
tag for example enables the change of the measurement value to be displayed graphically.
All tags available in the project can be selected in the "Tags - project: ..." dialog, which is briefly
described here. More detailed information on the topic can be found under "Making Dynamic
using Tag Connection and "under "Tag Management".
416
Filter
If there is a large number of configured tags, the search procedure can take some time. For
instance, for 15,000 tags the search procedure takes about a minute.
By specifying a filter, you can narrow the scope of the search and reduce the duration of the
search procedure. You can achieve a significant increase in efficiency if you configure tags
with the aid of a tag prefix.
Data source
You can use the "Data Source" window to select the tags it is intended to display.
Tag groups
The selected tag group complete with its sub-folders is displayed in the left-hand area in the
form of a folder tree.
Directories and subdirectories can be opened or closed by clicking on the "+" or "-" icons. The
tags available for the selected entry are shown in the tag display.
Tag display
The right-hand area contains all the tags that are available for the entry The tag display is
divided into four columns showing the tag name, type and parameter, and the point in time at
which the tag was last changed. Tags can be sorted by clicking on the respective column
heading.
417
Procedure
1. Select the required filter. An asterisk means that no filter is to be used or no filter has been
defined.
2. Select one or more data sources.
3. Open the desired tag group in the left-hand window area.
4. Select the desired tag from the right-hand window area.
5. Confirm you selection with "OK".
The dialog "Tags - project: ..." will be closed.
The selected tag is assigned to the selected object and you can continue with the
configuration.
See also
Dynamizing by Means of Tag Connection (Page838)
3.8.4.8
Introduction
The "Linking" command is used to reconfigure the tag connection for all selected objects. The
tag connections configured for the selection are listed in a dialog and can be linked directly or
with the aid of the "Find" and "Replace" functions.
418
Tag Selection
The left area of the "Places of Use" tab shows a list of the tags configured in the object selection.
All objects are assigned to these tags in the form of a folder tree which contains the dynamics
of the respective tag.
Select a tag or object. The detail view shows the current tag connections.
Details
The right area of the "Places of Use" tab shows the current tag connections for the selected
tag or object. You can link these tag connections:
Right-click the required tag connection to call the "Linking" command. The "Linking a Tag"
dialog opens.
419
Enter the name of the new tag or click the associated button to select a tag.
Find
The left area of the "Find and Replace" tag shows the names of all tags configured in the object
selection. There are three search options available to select certain tag names:
420
Enter the tag names or parts of names you want to search for in the search field. You can
also activate the options "Find whole words only" and "Match case". All tags which so not
meet the search criteria are hidden.
Replace
In the right area of the "Find and Replace" tab you can enter the name of the new tag with
which the selected tag names should be replaced. Alternatively you can click the associated
button to select the required tag.
Click "Preview" to view and check the planned replacement.
Click "Replace" to link the selected tag connections as in the preview.
NOTICE
The "Replace" function replaces only the part of the tag names contents displayed in the
"Find" text field of the area.
Note
Grouped objects can only be linked if there are no grouped objects in the group itself.
See also
You can change the text contents of objects (Page405)
How to Configure a Tag Connection (Page416)
How to Select Multiple Objects (Page388)
Basic Static Operations (Page380)
Working with Objects (Page378)
3.8.4.9
Introduction
Events can be made dynamic using a direct connection. A direct connection offers the quickest
dynamics in the picture and acheives the hightest Runtime performance. However the direct
connection can only be used within a process picture and only one connection can be created.
A direct connection is created with the "Direct Connection" dialog which is briefly described
here. More detailed information on this topic can be found under "Dynamics with a Direct
Connection".
421
Source
You can select a constant, object property or a tag as the data source:
Constant
Click the associated buton or select a picture of the PDL format which provides the constant.
Object property
Select the object and an attribute of the object whose value should be used as the data source.
Tag
Click the associated button and select the required tag. Define whether the update of the tags
should be done permanently (directly) or only when called (indirectly).
Objective
You can select "Current window", "Object in Picture" or "Tag" as the target which should take
the value of the data source:
422
Current window
Select this option if you want to assign the value of the data source to the active picture.
Tag
Click the associated button and select the required tag which should take the value of the data
source. Define whether the update of the tags should be done permanently (directly) or only
when called (indirectly). If required, you can activate the output of a operator message.
See also
Dynamizing by Means of Direct Connection (Page841)
3.8.5
3.8.5.1
Introduction
Form, appearance and visibility, position and process connection of an object are determined
by the "Object properties". These properties can be changed as required in the Graphics
Designer.
The properties of an object are described by a large number of "attributes". An object property
can be changed by assigning a new value to its attribute.
The "Object Properties" window on the "Properties" tab contains all the attributes of a selected
object or a multiple selection of objects. The attributes are divided into property groups, such
as "geometry" or "Colors". The type and number of the available property groups and attributes
are dependent on the type of the selected objects. So, for example, the "Font" property group
is only shown for the object types which can be displayed with text.
With a multiple selection it is possible that individual property groups for one specific object
type are summarized to a shared property group. All attributes of the summarized property
groups available in this group are contained under the "User defined" label.
As an alternative to changing the attributes in the "Object properties" window, objects can also
be adjusted with the mouse and keyboard or by using the toolbar and palettes. However, in
this way only certain object properties, such as the basic geometric size, color and line style,
can be changed.
423
See also
Elements and Basic Settings of the Graphics Designer (Page228)
Working with Objects (Page378)
Special Runtime Settings (Page466)
Property Groups and Attributes (Page437)
The "Object Properties" Window (Page424)
3.8.5.2
The "Object Properties" window can be pinned on top of the Graphics Designer. The position
and size of the window can be changed as you like.
424
Deactivating Pin
1.
See also
Opening the "Object properties" window (Page433)
How to Change an Attribute (Page434)
How to Transfer Object Properties (Page435)
How to change the default setting of object types (Page379)
The Toolbar in the "Object Properties" Window (Page426)
The "Properties" Tab in the "Object Properties" Window (Page428)
The "Events" Tab in the "Object Properties" Window (Page431)
The Properties of an Object (Page423)
425
Name
Function
"Pin"
activated/
deactivated
Deactivate:
The "Object Properties" window will be closed as soon
as the mouse is clicked outside the windows.
Aktivated:
The Object Properties window stays in the foreground
at all times. Different objects can be edited without
having to open the window again.
426
See also
Opening the "Object properties" window (Page433)
How to Change an Attribute (Page434)
How to Transfer Object Properties (Page435)
The "Properties" Tab in the "Object Properties" Window (Page428)
The "Events" Tab in the "Object Properties" Window (Page431)
The "Object Properties" Window (Page424)
427
The width of both window areas and the columns in the attribute display can be changed by
moving the vertical separation lines.
Properties folder
The left area shows the selected object with its property groups in the form of a folder tree.
The selected object is displayed as a directory.
With a multiple selection or a user object, this folder only receives the shared property groups
of the contained individual objects. With a selected group the shared property groups are listed
first and then, as a subfolder, the individual objects with their property groups.
It is not possible to change the entries in the property folder. Directories and subdirectories
can be opened or closed by clicking on the "+" or "-" icons. The attributes available for the
selected entry are shown in the attribute display.
Attribute display
The right-hand area contains all the attributes that are available for the entry The attribute
display is divided into five columns in which the static values of the selected object are
displayed.
The displayed values can be changed by double-clicking or opening the pop-up menu in the
respective column.
428
Function
Description
All of the attributes from the selected property group that are available
for the selected object will be shown.
The name of the attribute cannot be changed. The static value of the
attribute can be changed by double-clicking the name of the attribute.
Static
The current value of the attribute is shown for the selected object. The
value will be displayed as a number, text or graphic display, depending
on the type of attribute.
The static value of the attribute can be changed by double-clicking the
attribute name. Further information can be found in chapter "Changing
Object Properties".
Dynami
c
Dynamization of
attribute
Current
Update cycle of
the attribute
The setting for the update cycle is displayed if dynamics of the attribute
are set.
The update cycle of the attribute can be changed by double-clicking
on the value. Further information can be found in chapter "Changing
Object Properties".
Indir.
Indirect attribute
addressing
429
See also
Opening the "Object properties" window (Page433)
How to Change an Attribute (Page434)
How to Transfer Object Properties (Page435)
How to change the default setting of object types (Page379)
The Toolbar in the "Object Properties" Window (Page426)
The "Events" Tab in the "Object Properties" Window (Page431)
The "Object Properties" Window (Page424)
430
The width of the two window areas and the columns in the event display can be changed by
moving the vertical dividing lines.
Event folder
The left area shows the selected object in the form of a folder tree. This folder shows entries
such as for example "Mouse", "Keyboard", "Focus" and "Misc" with which events for the
operation of the entire object can be configured. The "Property Topics" displays all property
groups of the selected object. An event can also be configured for each individual attribute of
a property group. If there are several individual objects in the selected object, the structure is
repeated for each individual object.
It is not possible to change the entries in the property folder. Directories and subdirectories
can be opened or closed by clicking on the "+" or "-" icons. The configurable events for the
selected entry are shown in the event display.
Event display
The right-hand area contains all the events that are available for the entry The event display
is divided into two columns in which the events and the linked actions are displayed.
431
Function
Description
Run at
Event
type
All events are displayed which are available for the selected object and assigned
to the entry selected in the event directory.
The name of the event cannot be changed. The configured action can be
changed by double-clicking the name of the attribute.
Action
Action
selection
The action, which is run when the event occurs, is displayed. The selected action
is marked by one of the following symbols:
White lightning = There is no action for this event.
Blue lightning = There is one action for this event via a direct connection.
Green lightning = There is a C action for this event.
Yellow lightning = There is a not yet translated C action for this event.
The configured action can be changed by double-clicking on the column "Execute
with" or by retrieving the pop-up menu in the column "Action". Further information
can be found in chapter "Making Process Picture Dynamic".
Event
Run at
Description
Mouse
Mouse
click
Is triggered if the cursor is on the object when the mouse button is pressed and
released.
Mouse
Click left/ Is triggered when pressing the mouse button directly on the object.
right
Mouse
Release
left/right
Triggering events
432
Is triggered when releasing the mouse button for the object the cursor was over
when the mouse button was pressed.
Keyboa Pressing
rd
Is triggered when pressing a key on the keyboard. The keys <F10> and <ALT
+PRINT> must not be used for process operation.
Keyboa Releasin
rd
g
Is triggered when releasing a key on the keyboard. The keys <F10> and <ALT
+PRINT> must not be used for process operation.
Focus
Focus
change
Miscell
aneous
Object
change
Object
attribut
es
Change
Most object attributes have the Change event. It is used to be able to react
specifically to the change of a certain attribute. The event occurs if the attribute
value changes. The action linked to this event is logged on individually. With
"Close Picture", all actions logged on at this point are logged off individually. This
leads to an increased system load. To keep the system load low, this event type
should be used sparingly and only there where it is absolutely necessary to react
to the change. This is the case for example when inputting a value in the I/O field.
See also
Opening the "Object properties" window (Page433)
How to Change an Attribute (Page434)
How to Transfer Object Properties (Page435)
How to change the default setting of object types (Page379)
The Toolbar in the "Object Properties" Window (Page426)
The "Properties" Tab in the "Object Properties" Window (Page428)
The "Object Properties" Window (Page424)
Requirements
Select an object of any type.
Procedure
Open the "Object Properties" window by doing one of the following:
In the standard toolbar, click the icon
433
See also
The "Object Properties" Window (Page424)
How to Transfer Object Properties (Page435)
How to Change an Attribute (Page434)
The "Events" Tab in the "Object Properties" Window (Page431)
The "Properties" Tab in the "Object Properties" Window (Page428)
The Toolbar in the "Object Properties" Window (Page426)
Procedure
1. Open the "Object Properties" window.
2. On the "Properties" tab, select the required property group.
3. Double-click the desired attribute.
A dialog to input or select the new value opens or the value is automatically changed by
double-clicking.
434
Selecting a color
In the selection dialog, select one of the 16 standard colors or open the palette with the
customized colors. In this palette, you can freely define additional colors.
Alternatively you can select the color selection by double-clicking the "Static" column.
Selecting a picture
Select a picture from the picture selection or open a selection window using the "Find" button
via which you can add other pictures to the picture selection. Confirm you selection with
"OK".
Alternatively, you can directly enter the name of the new picture by double-clicking on the
"Static" column.
See also
The "Object Properties" Window (Page424)
The Start Screen of the Graphics Designer (Page234)
The "Properties" Tab in the "Object Properties" Window (Page428)
Property Groups and Attributes (Page437)
How to Transfer Object Properties (Page435)
435
Procedure
1. Select the object whose properties you want to copy.
2. In the standard toolbar, click
.
The properties of the selected object are copied.
3. Select the object to which you want to assign the copied properties.
4. In the standard toolbar, click
.
The selected object will be displayed with the new properties, but without changing its
geometric attributes. With different object types, only those attributes which both object
types possess are changed.
Note
It is possible to transfer the value of a selected attribute to other attributes using the
eyedroppers in the "Object Properties" window.
See also
How to Change an Attribute (Page434)
How to change the default setting of object types (Page379)
The Toolbar in the "Object Properties" Window (Page426)
The Standard Toolbar (Page236)
The "Object Properties" Window (Page424)
436
3.8.5.3
437
See also
Working with Objects in the Object Palette (Page473)
"Geometry" Property Group (Page438)
"Colors" Property Group (Page441)
"Styles" Property Group (Page443)
"Font" Property Group (Page446)
"Flashing" Property Group (Page448)
"Miscellaneous" Property Group (Page450)
"Filling" Property Group (Page453)
The "Display" property group (Page445)
"Picture" Property Group (Page454)
"Pictures" Property Group (Page455)
"Status" Property Group (Page456)
"Axis" Property Group (Page457)
"Limits" Property Group (Page458)
"Output / Input" Property Group (Page459)
"Message Types" Property Group (Page461)
"Lock" Property Group (Page463)
"Connected Objects" Property Group (Page464)
"Assignment" Property Group (Page465)
The Properties of an Object (Page423)
How to Change an Attribute (Page434)
Requirements
The "Geometry" property group is available for all objects.
438
Overview
The following table shows all attributes in the "Geometry" property group. The function of an
attribute is described briefly and the object types for which the attribute is available are listed.
Attribute
Function
Object type
Current value X
Current value Y
Alpha
3D Bar
Start angle
Number of boxes
Number of rows
Alignment
Slider
Bar Width
3D Bar
Bar Height
3D Bar
Bar direction
Bar, 3D bar
Bar depth
3D Bar
Base X
3D Bar
Base Y
3D Bar
Beta
3D Bar
Width
Group Display
Display axis
Corner radius X
Rounded rectangle
Corner radius Y
Rounded rectangle
439
440
Attribute
Function
Object type
End angle
Window width
Window height
Same size
Group display
Height
Index
Position X
All objects
Position Y
All objects
Radius
Radius X
Radius Y
Rotation
reference X
Rotation
reference Y
Rotation angle
Rotation angle
T-piece
Angle settings
3D Bar
See also
How to Change an Attribute (Page434)
Setting Up Rotation of Objects (Page466)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Prerequisites
The "Colors" property group is available for all objects except application windows, picture
windows, Control and OLE object.
If you have selected a global design in the project, it is possible to have certain attributes of
the "Colors" property group only become effective if the "Global color scheme" is set to "No"
under "Display".
Overview
The following table shows all attributes in the "Colors" property group. The function of an
attribute is described briefly and the object types for which the attribute is available are listed.
Attribute
Function
Object type
3D Border Color Top Color of the left and upper part of the 3D border
3D Shadow Color
List Background
Color
Bar Color
Bar
Bar Background
Color
Bar
Slider object
Slider object
441
442
Attribute
Function
Object type
Background color
Button Color
Slider object
Line color
Line background
color
High Limit
Background Color
Slider object
Border Color
Static text,
I/O field, bar, text list,
multiline text, combobox, list
box, 3D bar, round button
Border Background
Color
Font color
Static text,
I/O field, text list, multiline
text, combobox,
list box, button, check box,
radio box, round button
Selection
Background Color
Selection Font Color Color of the font in the selected entry of the
selection list
Scale Color
Bar
Function
Object type
Trend Color
Bar
Dividing Line
Background Color
Low Limit
Background Color
Slider object
See also
The central color palette (Page248)
How to Change an Attribute (Page434)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Requirements
The "Styles" property group is available for all objects except application windows, picture
windows, Control and OLE object.
Overview
The following table shows all attributes in the "Styles" property group. The function of an
attribute is described briefly and the object types for which the attribute is available are listed.
Attribute
Function
Object type
3D border weight
Group display
button, round button
Bar pattern
Bar
Border weight
Slider
Display as single object with arrow button for drop- Text list
down
443
444
Attribute
Function
Object type
Corners
Latch down
Box alignment
Fill pattern
Pressed
Background
3D bar
Light effect
3D bar
Line end
Line style
Display type of a line, for example dotted or dashed all standard objects,
graphics object, status
display,
all Windows objects
Line weight
Thickness of a line
(Unit: pixel)
Line connection
type
Polygon tube
Draw Border
Inside
Border style
Border width
Function
Object type
Text list
Dividing line
weight
Text list
See also
How to Change an Attribute (Page434)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Requirements
The "Display" properties group is available for all objects of the object palette besides the
following Smart objects: application window, picture window, control, OLE object, Faceplate
instance, .NET control and WPF control.
445
Overview
The following table shows all attributes in the "Display" property group. The function of an
attribute is described briefly and the object types for which the attribute is available are listed.
Attribute
Function
Object type
Global shadow
Object transparency
WinCC style
Display options
Prerequisites
The "Font" property group is only available for the following objects: Static text, I/O field, bar,
text list, group display, multiline text, combobox, list box, button, check box and radio box.
446
Overview
The following table shows all attributes in the "Font" property group. The function of an attribute
is described briefly and the object types for which the attribute is available are listed.
Attribute
Function
Object type
Bold
Static text,
I/O field, bar, text list, group
display
button, check box, radio box
Index
Italic
Static text,
I/O field, text list, group
display,
button, check box, radio box
Text orientation
Static text,
I/O field, text list,
button, check box, radio box
Text
Static text,
button, check box, radio box,
multiline text, combobox, list
box
Underline
Static text,
I/O field, text list, group
display,
button, check box, radio box
X alignment
Static text,
I/O field, text list, group
display,
button, check box, radio box
Y alignment
Static text,
I/O field, text list, group
display,
button, check box, radio box
Font
Static text,
I/O field, bar, text list, group
display
multiline text, combobox, list
box, button, check box, radio
box
Font size
Static text,
I/O field, bar, text list, group
display
multiline text, combobox, list
box, button, check box, radio
box
447
See also
How to Change an Attribute (Page434)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Prerequisites
The "Flashing" property group is available for all objects except application windows, picture
windows, multiline text, combobox, list box, control, OLE object and 3D bar.
If you have selected a global design in the project, it is possible to have the color attributes of
the "Flashing" property group only become effective if the "Global color scheme" is set to "No"
under "Display".
Overview
The following table shows all the attributes of the "Flashing" property group. The function of
an attribute is described briefly and the object types for which the attribute is available are
listed.
Attribute
448
Function
Object type
Flashing
Activates flashing of the background
Background Active
Flashing Line
Active
Flashing Border
Active
Flashing Text
Active
Static text,
I/O field, text list,
button, check box, radio box
Flash frequency
Group Display
Function
Object type
Background Flash
Frequency
Line Flash
Frequency
Border Flash
Frequency
Text Flash
Frequency
Static text,
I/O field, text list,
button, check box, radio box
Flashing
Background Color
Off
Flashing
Background Color
On
Flashing Line
Color Off
Flashing Line
Color On
Flashing Border
Color Off
Flashing Border
Color On
Flashing Text
Color Off
Static text,
I/O field, text list,
button, check box, radio box
Flashing Text
Color On
Static text,
I/O field, text list,
button, check box, radio box
449
See also
How to Change an Attribute (Page434)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Requirements
The "Miscellaneous" property group is available for all objects.
The availability of the attributes depends on the type of selected objects. Only the attributes
which the selected object has will be displayed.
Overview
The following table shows all attributes in the "Miscellaneous" property group. The function of
an attribute is described briefly and the object types for which the attribute is available are
listed.
450
Attribute
Function
Object type
Update cycle
Display
All objects
Display options
Button
Operator control
enable
All objects
except:
application window
picture window
Operator input
message
Operator activities
report
Operation steps
Slider
Group display
Function
Object type
Authorization
all objects
except:
application window
picture window
control
Adapt picture
Picture window
Picture name
Picture window
Picture offset X
Picture window
Picture offset Y
Picture window
Button
Picture status on
Button
Group display
Cursor mode
Picture object
Specifies if a process picture is operated in
Runtime using the alpha cursor or the tab cursor.
Cursor control
I/O field
text list
Picture object
Immediate input
I/O field
text list
Extended operation
Slider
Extended zooming
Picture object
Change color
Defines whether the color changes segment-bysegment or for the entire bar when the limit value
is reached
Bar
Adapt size
Picture window
Window mode
Picture window
Sizeable
Application window
Picture window
Hotkey
Button
Hysteresis
Bar
Hysteresis Range
Bar
Maximum value
Bar
3D bar
slider
Maximizable
Application window
Picture window
451
452
Attribute
Function
Object type
Menu/Toolbar
configuration
Picture window
Minimum value
Bar
3D bar
slider
Average value
Bar
Monitor number
Picture window
Bar
3D bar
Process driver
connection
Bar
3D bar
slider
Acknowledgment
mask
Group display
Border
Application window
Picture window
Adapt border
Static text
I/O field
text list
button
check box
radio box
Scroll bar
Picture window
Picture window
Picture window
Group relevant
Group value
Group display
Closable
Application window
Picture window
Selected box
Selected text
Server name
Control
OLE object
Server prefix
Picture window
Scaling factor
Picture window
Scaling mode
Faceplate instance
Function
Object type
Configured
languages
Text reference
Text list
Title
Application window
Picture window
Tooltip text
Trend
Bar
Heading
Picture window
Independent window
Picture window
Tag prefix
Movable
Application window
Picture window
Foreground
Application window
Picture window
See also
How to Change an Attribute (Page434)
How to configure the display of windows (Page468)
How to Configure Logging and Operator Authorizations (Page469)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
453
Requirements
The "Filling" property group is available for all objects. Polygon, ellipse, circle, ellipse segment,
circlular segment, rectangle, round rectangle, static text, graphic object, button, tab, option
group, round button and slider.
Overview
The following table shows all the attributes of the "Filling" property group. The function of an
attribute is described briefly and the object types for which the attribute is available are listed.
Attribute
Function
Object type
dynamic filling
Fill Level
See also
How to Change an Attribute (Page434)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Prerequisites
The "Picture" property group is only available for the object "Graphic Object".
Overview
The following table shows all attributes of the "Picture" property group and brief description of
their function.
454
Attribute
Function
Picture
Picture referenced
Function
See also
How to Change an Attribute (Page434)
How to insert a graphic object (Page547)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Prerequisites
The "Pictures" property group is only available for the objects "Button" and "Round Button".
Overview
The following table shows all attributes of the "Pictures" properties group. The functionality of
an attribute is described briefly and assigned to the object types for which the attribute is
available.
Attribute
Function
Object type
For the "Off" state, defines whether the picture itself or only a
reference to the picture are incorporated
Picture Off Transparent Color For the "Off" state, defines which color of the picture is set to
"Transparent"
For the "Deactivated" state, defines whether the picture itself or only Round Button
a reference to the picture are incorporated
For the "Deactivated" state, defines which color of the picture is set
to "Transparent"
Permits the "Transparent Color" function for the "Deactivated" state Round Button
Picture On Referenced
For the "On" state, defines whether the picture itself or only a
reference to the picture are incorporated
Round Button
455
Function
Object type
Picture On Transparent Color For the "On" state, defines which color of the picture is set to
"Transparent"
Picture On Transparent
Color On
Round Button
Picture Status On
Picture alignment
See also
How to Change an Attribute (Page434)
How to insert a round button (Page594)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Requirements
The "Status" property group is only available for the object "Status Display".
Overview
The following table shows all attributes of the "Status" property group and brief description of
their function.
Attribute
Function
Current status
Flash Picture
456
Function
Flash picture flash frequency Frequency for the flashing of the flash picture
Basic Picture
See also
How to Change an Attribute (Page434)
How to insert a status display (Page550)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Requirements
The "Axis" property group is only available for the object "Bar".
Overview
The following table contains all attributes of the "Axis" property group and brief description of
their function.
Attribute
Function
Axis section
Alignment
Bar Scaling
Label Each
Exponent display
457
Function
Length of the main tick marks of a scale. The length of the trend tick
marks is 50% of the value set here
(Unit: Pixels)
Decimal Places
Zero point
Position of the zero point relative to the distance of the scale end
values
(Unit: Percentage)
Defines whether only the main tick marks or only the trend tick marks
are displayed on the scale.
Scale
Scale Marks
Number of bar segments subdivided by the main tick marks of the scale
Number digits to the left of the decimal point to display numerical values
on the scale
See also
How to Change an Attribute (Page434)
How to insert a bar (Page539)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Requirements
The "Limits" property group is only available for the following objects. I/O field, bar and 3D bar
458
Overview
The following table shows all the attributes of the "Limits" property group. The function of an
attribute is described briefly and the object types for which the attribute is available are listed.
Attribute
Function
Object type
Type
(AH, WH, TH, RH4,
RH5,
AL, WL, TL, RL4, RL5)
Bar
3D Bar
Bar color
(AH, WH, TH, RH4,
RH5,
AL, WL, TL, RL4, RL5)
Bar
Limit (0 10)
3D Bar
Limit Marker
I/O Field
Upper limit
(AH, WH, TH, RH4, RH5)
Bar
I/O Field
Lower limit
(AL, WL, TL, RL4, RL5)
Bar
Monitor (0 10)
3D Bar
Monitor
(AH, WH, TH, RH4,
RH5,
AL, WL, TL, RL4, RL5)
Bar
See also
How to Change an Attribute (Page434)
How to insert an I/O field (Page527)
How to insert a bar (Page539)
How to Insert a 3D Bar (Page575)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
459
Prerequisites
The "Output / Input" property group is only available for the following objects: I/O field, text list,
check box and radio box.
Overview
The following table shows all the attributes of the "Output / Input" property group. The function
of an attribute is described briefly and the object types for which the attribute is available are
listed.
460
Attribute
Function
Object type
Text list
Output format
Format indication for the display of the output value I/O Field
Output value
Bit Number
Text list
Data Format
I/O Field
Input value
I/O Field
Field type
List type
Text list
I/O Field
I/O Field
Selected boxes
Check Box
Selected Box
Radio box
Apply on Exit
Transfer with Complete Input Defines whether the field is automatically exited
and the data applied simultaneously as soon as
the predefined number of characters have been
entered
I/O Field
Hidden Input
I/O Field
Assignments
Text list
See also
How to Change an Attribute (Page434)
How to insert an I/O field (Page527)
How to add a text list (Page557)
How to insert a check box (Page589)
How to insert an radio box (Page592)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Requirements
The "Message Types" property group is only available for the object "Group Display".
Overview
The following table contains all attributes of the "Message Types" property group and brief
description of their function.
Attribute
Function
Display Text
461
Function
Came in
Background flashing
Came in
Background Color Off
Came in
Background Color On
Came in
Text flashing
Came in
Text Color Off
Came in
Text Color On
Came in acknowledged
Background flashing
Came in acknowledged
Background Color Off
Came in acknowledged
Background Color On
Came in acknowledged
Text flashing
Came in acknowledged
Text Color Off
Came in acknowledged
Text Color On
Message Type
Defines the message type (for example AL, AH, WL, etc.) for which the
attributes of the "Message Types" property group are configured
See also
How to Change an Attribute (Page434)
How to Insert a Group Display (Page578)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
462
Prerequisites
The "Background picture" property group is available for the process picture.
Overview
The following table shows all attributes in the "Background picture" property group. The
functionality of the attribute is briefly described.
Attribute
Function
Picture
Show as
Display of the picture in relation to the process picture and runtime window
Requirements
The "Lock" property group is only available for the object "Group Display".
Overview
The following table contains all attributes of the "Lock" property group and a brief description
of their function.
Attribute
Function
Lock Display
463
See also
How to Change an Attribute (Page434)
How to Insert a Group Display (Page578)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Requirements
The "Connected Objects" property group is only available for the object "Connector".
Overview
The following table shows all attributes of the "Connected Objects" property group and brief
description of their function.
464
Attribute
Function
Change Orientation
Connection Type
See also
How to Change an Attribute (Page434)
How to use the connector (Page506)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
Requirements
The "Assignment" property group is only available for the "Group Display" object.
Overview
The following table shows all attributes of the "Assignment" property group and a brief
description of their function.
Attribute
Function
465
See also
How to Change an Attribute (Page434)
How to Insert a Group Display (Page578)
The Properties of an Object (Page423)
Working with Objects in the Object Palette (Page473)
Property Groups and Attributes (Page437)
3.8.5.4
See also
Property Groups and Attributes (Page437)
How to Configure Logging and Operator Authorizations (Page469)
How to configure the display of windows (Page468)
Setting Up Rotation of Objects (Page466)
How to support multiple picture windows (Page470)
How to define the visibility of objects (Page473)
466
Rotation angle
The "Rotation Angle" attribute defines the rotation of an object around the reference point.
The Rotation Angle is specified in degrees. The configured start point corresponds to a value
of 0. The position of an object deviates from its configured start position by the value of the
"Rotation Angle" attribute.
467
See also
The Properties of an Object (Page423)
Special Runtime Settings (Page466)
How to Draw a Polyline (Page483)
How to Draw a Polygon (Page481)
How to Draw a Line (Page478)
Adapt Size
The "Adapt Size" attribute specifies whether or not a picture window adapts to the size of the
embedded picture in Runtime.
Sizeable
The "Sizeable" attribute specifies whether or not the size of a window can be changed in
Runtime.
Border
The "Border" attribute specifies whether or not a window is displayed with a border.
Scroll Bar
The "Scroll Bar" attribute specifies whether or not a picture window is displayed with a scroll
bar if required. A scrollbar is only visible in Runtime.
Can Be Closed
The "Can Be Closed" attribute specifies whether or not a window can be closed in Runtime.
Title
The "Title" attribute specifies whether a window is displayed in Runtime with or without a title
bar.
468
Heading
The "Heading" attribute specifies which text appears in the title of a picture window.
Movable
The "Movable" attribute specifies whether or not a window can be moved in Runtime.
Foreground
The "Foreground" attribute specifies whether or not a window lies in the foreground. This
setting is independent of the layer to which the window is assigned.
See also
The Properties of an Object (Page423)
Special Runtime Settings (Page466)
"Miscellaneous" Property Group (Page450)
How to insert a picture window (Page516)
How to Insert an Application Window (Page513)
Display
The "Display" attribute specifies whether or not an object is displayed in Runtime.
Operator-Control Enable
The "Operator-Control Enable" attribute specifies whether or not an object can be operated in
Runtime.
469
Authorization
The User Administrator editor is used in WinCC to assign authorizations for the users. An
authorization can be assigned for every object in the Graphics Designer. The object can only
be operated by those users with the corresponding authorization.
Note
An object can only receive an operator authorization as a "Whole". A customized object can
have an operator authorization but its subordinate objects cannot.
Cursor Control
The "Cursor Control" attribute specifies whether the Alpha Cursor automatically jumps to the
next field in the TAB sequence after an entry has been made in a field. This function enables
rapid input in different fields without having to use the tab key to jump.
Hotkey
As an alternative to operation with the mouse, a button can also be triggered using the
keyboard. To do so, a hotkey must be set.
See also
The Properties of an Object (Page423)
Special Runtime Settings (Page466)
"Miscellaneous" Property Group (Page450)
470
Procedure
1. Configure more picture windows with the desired process pictures in the start picture.
2. Open the properties for each picture window with a double click.
The "Object Properties" dialog is opened.
471
7. Activate check box "Hide main window" on the "Graphics Runtime" tab under "Independent
picture window".
Results
In runtime, the selected process pictures appear in several picture windows that are to be
controlled independent of one another.
See also
How to insert a picture window (Page516)
472
Procedure
1. Select "Properties" in the shortcut menu.
The "Properties" dialog opens.
2. Define the object transparency as a percentage in the "Display" property group.
0% means no transparency, therefore complete visibility.
100% means complete transparency, therefore invisibility of the object.
The text and fields of the graphic objects are only transparent at 100%.
Note
The transparency of the object is shown in the Graphics Designer as well as later in
runtime.
3.8.6
3.8.6.1
Introduction
"Objects" in the Graphics Designer are the predefined graphic elements that enable efficient
creation of process pictures. You can easily insert all objects into a picture from the object
473
Smart objects
Windows objects
Tube objects
Line
polygon
polygon line
ellipse
circle
ellipse segment
circle segment
ellipse arc
circle arc
rectangle
rounded rectangle
static text
connector
Application window
Picture window
Control
OLE object
I/O Field
Bar
Graphic object
Status display
Text list
Multi-line text
Combobox
List box
Faceplate instance
.NET control
WPF control
3D bar
Group display
Status display (Ext.)
Analog display (Ext.)
Button
Check-Box
Radio Box
Round button
Slider object
Polygon tube
T-piece
Double T-piece
Tube bend
Note
Line display when zooming in "WinCC Classic" design
If you have set the "WinCC Classic" design, all occurrences of a dashed line with a line
thickness of "1" are shown as a solid in the Graphics Designer when zooming over 100%.
This effect is dictated by the graphics system of Microsoft. The effect does not occur if the
line thickness is greater than "1" or the zoom is less than 100% or if another design is defined.
See also
Working with Standard Objects (Page475)
Working with Smart Objects (Page509)
Working with Windows Objects (Page583)
Working with Combined Objects (Page613)
The Object Palette (Page238)
The Properties of an Object (Page423)
Working with Objects (Page378)
Process Picture Dynamics (Page815)
474
3.8.6.2
Overview
Icon
Object
Description
Line
The line is an open object. The length and angle of a line are determined
by the height and width of the rectangle around the object. The line
ends, for example, can be shown as arrows or points.
Polygon
The polygon is a closed object that can be filled with a color or pattern.
A polygon can have any number of corners. The corners are numbered
in their sequence of creation and can be modified individually or deleted.
475
476
Object
Description
Polyline
The polyline is an open object. Even if the start and finish point have
the same coordinates, the area cannot be filled. A polyline can have
any number of corners. The corners are numbered in their sequence
of creation and can be modified individually or deleted. The line ends
of a polyline can for example be shown as arrows or points.
Ellipse
The ellipse is a closed object that can be filled with a color or pattern.
The height and width of an ellipse can be modified as desired to allow
it to be aligned horizontally or vertically.
Circle
Ellipse
segment
The ellipse segment is a closed object that can be filled with a color or
pattern. The height and width of an ellipse segment can be modified as
desired to allow it to be aligned horizontally or vertically.
Pie segment
The pie segment is a closed object that can be filled with a color or
pattern. A pie segment can be resized at will.
Ellipse arc
The ellipse arc is an open object. The height and width of an ellipse arc
can be modified as desired to allow it to be aligned horizontally or
vertically.
Circular arc
The circular arc is an open object. A circular arc can be resized at will.
Rectangle
The rectangle is a closed object that can be filled with a color or pattern.
The height and width of a rectangle can be modified as desired to allow
it to be aligned horizontally or vertically.
Rounded
rectangle
The rounded rectangle is a closed object that can be filled with a color
or pattern. The height and width of a rounded rectangle can be modified
as desired to allow it to be aligned horizontally or vertically. The corners
of a rounded rectangle can be rounded as much as desired.
Static text
The field for static text is a closed object that can be filled with a color
or pattern. The static text is entered into a field of any desired size. Oneline or multiline text can be input for all design languages.
Connector
The connector is a linear object whose ends can be connected with the
connection points of other objects. The number and arrangement of the
connection points depend on the specific object type. If connected
objects are moved, the connector's length and direction are
automatically adapted and the connection is retained.
See also
How to Draw a Line (Page478)
How to Draw a Polygon (Page481)
How to Draw a Polyline (Page483)
How to Draw an Ellipse (Page487)
How to Draw a Circle (Page489)
How to draw an Ellipse Arc (Page491)
How to Draw a Circular Arc (Page493)
How to Draw an Ellipse Segment (Page495)
How to Draw a Pie Segment (Page497)
How to Draw a Rectangle (Page500)
How to Draw a Rounded Rectangle (Page502)
How to Insert Static Text (Page504)
How to use the connector (Page506)
How to change the default setting of object types (Page379)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Object Palette (Page238)
The Coordinate System of a Process Picture (Page228)
The Coordinate System of an Object (Page230)
The Rectangle Surrounding the Object (Page232)
Working with Objects in the Object Palette (Page473)
Working with Combined Objects (Page613)
Working with Objects (Page378)
Process Picture Dynamics (Page815)
477
Drawing a line
1. Open the picture into which you want to insert a line.
2. Click the "Line" standard object in the Object palette.
3. Place the mouse pointer at the position in the picture where you want to insert the
line.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the line to the length and direction you want.
When you release the mouse button, the line is finished.
Alternatively you can double-click the line in the Object Palette. A line with default object
properties is then inserted near the picture origin.
Changing a line
Select an object of the line type if you wish to carry out one of the following changes:
478
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Line termination
The "Line termination" attribute determines the appearance of the line termination. The
definition of the attribute applies to both ends of the line. Select one of the three following
options:
A round termination sets the center of a circle at the end point of the line. The diameter of
the circle adapts to the line weight.
A rectangular termination set the center of a square at the end point of the line. The width
and the height of the square adapts to the line weight.
A flat termination ends the line at its end points.
479
See also
Setting Up Rotation of Objects (Page466)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
480
Drawing a polygon
1. Open the picture in which you want to insert a polygon.
2. Click the standard object "Polygon" in the Object palette.
3. Place the mouse pointer at the position in the picture where you want to insert a
polygon.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Click the selected starting point with the left mouse button.
5. Click any other desired corner of the polygon with the left muse button.
6. Click once with the right mouse button to correct the last drawn section of the polygon.
7. Finish the polygon by double-clicking the left mouse button.
481
Changing a polygon
Select an object of the polygon type if you wish to carry out one of the following changes:
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Changing corners
The positions of the corners can be changed with the attributes "Current Value X" and "Current
Value Y" in the "Object Properties" window. The position number of the current selected corner
is shown by the "Index" attribute in the "Geometry" property group. Changing the value
specified here enables targeted selection of a corner. A change of the "Index" attribute for the
current selected corner also changes the displayed value of the attributes "Current Value X"
and "Current Value Y".
You can also change corners by actions with the mouse:
Moving corners
Position the mouse pointer on the corner that is to be moved and drag it to the desired position
with the mouse button held down.
Inserting corners
Hold down the <ALT> key and insert another corner by double-clicking on a corner. The
additional corner is inserted between the clicked corner and the previously created corner.
Deleting corners
Position the mouse pointer of the corner that you want to delete. Hold down the <CTRL> key
and delete the corner by double-clicking on the left mouse button.
482
See also
Setting Up Rotation of Objects (Page466)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
483
Changing a polyline
Select an object of the polyline type if you wish to carry out one of the following changes:
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Changing corners
The positions of the corners can be changed with the attributes "Current Value X" and "Current
Value Y" in the "Object Properties" window. The position number of the current selected corner
is shown by the "Index" attribute in the "Geometry" property group. Changing the value
specified here enables targeted selection of a corner. A change of the "Index" attribute for the
current selected corner also changes the displayed value of the attributes "Current Value X"
and "Current Value Y".
You can also change corners by actions with the mouse:
484
Moving corners
Position the mouse pointer on the corner that is to be moved and drag it to the desired position
with the mouse button held down.
Inserting corners
Hold down the <ALT> key and insert another corner by double-clicking on a corner. The
additional corner is inserted between the clicked corner and the previously created corner.
Deleting corners
Position the mouse pointer of the corner that you want to delete. Hold down the <CTRL> key
and delete the corner by double-clicking on the left mouse button.
Line termination
The "Line termination" attribute determines the appearance of the line termination. The
definition of the attribute applies to both ends of the line. Select one of the three following
options:
A round termination sets the center of a circle at the end point of the line. The diameter of
the circle adapts to the line weight.
A rectangular termination set the center of a square at the end point of the line. The width
and the height of the square adapts to the line weight.
A flat termination ends the line at its end points.
Corners
The "Corners" attribute define the appearance of the corner intersections of where lines meet.
The definition applies to all the corners of the object. Select one of the three following options:
485
486
See also
Setting Up Rotation of Objects (Page466)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
487
Drawing an ellipse
1. Open the picture into which you want to insert an ellipse.
2. Click on the "Ellipse" standard object in the Object palette.
3. Place the mouse pointer at the position in the picture where you want to insert the
ellipse.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the ellipse to the size and direction you want.
When you release the mouse button, the ellipse is finished.
Alternatively, you can double-click the ellipse in the Object Palette. An ellipse with default
object properties is then inserted near the picture origin.
If you hold down the <SHIFT> key when drawing the ellipse, the "Ellipse" object is created in
the shape of a circle.
Changing an ellipse
Select an object of the Ellipse type if you wish to carry out one of the following changes:
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
488
Drawing a circle
1. Open the picture into which you want to insert a circle.
2. Click the "Circle" standard object in the Object palette.
3. Place the mouse pointer at the position in the picture where you want to insert a
circle.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the circle to the size and direction you want.
When you release the mouse button, the circle is finished.
Alternatively you can double click the circle in the Object Palette. A circle with default object
properties is then inserted near the picture origin.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
489
Change circle
Select an object of the circle type if you wish to carry out one of the following changes:
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
490
491
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
492
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
493
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
494
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
495
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
496
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
497
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
498
See also
How to change the default setting of object types (Page379)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
Working with Objects in the Object Palette (Page473)
499
Drawing a rectangle
1. Open the picture into which you want to insert a rectangle.
2. Click the "Rectangle" standard object in the Object palette.
3. Place the mouse pointer at the position in the picture where you want to insert the
rectangle.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the rectangle to the size and direction you
want.
When you release the mouse button, the rectangle is finished.
Alternatively, you can double-click the rectangle in the Object Palette. A rectangle with default
object properties is then inserted near the picture origin.
If you hold down the <SHIFT> key while drawing, the "Rectangle" object is created in the shape
of a square.
500
Changing rectangle
Select an object of the Rectangle type if you wish to carry out one of the following changes:
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
501
502
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
503
504
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
505
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
If the connection type "Simple" is selected, the connecting points are connected by a straight
line.
506
The start and end of a selected connector can be highlighted by small colored rectangles to
show their status:
Green rectangles identify unconnected ends
Red rectangles identify connected ends
Inserting connectors
1. Open the picture in which you want to insert a connector.
2. In the Object Palette, click the standard object "Connector".
3. Place the mouse pointer at the position in the picture where you want to insert a
connector.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the connector to the size and direction you
want.
When you release the mouse button, the connector insertion is finished.
The connector is displayed as a selected object with green ends.
Alternatively, you can double-click the connector in the Object Palette. A connector with default
object properties is then inserted near the picture origin.
Changing a connector
Select an object of the connector type if you wish to carry out one of the following changes:
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
507
Connecting objects
1. Select the connector which you would like to connect objects two.
Start and end of the connectors are symbolized by small green rectangles.
2. Drag the start of the connector to the first object that you want to connect without releasing
the mouse button.
The red connection points of the object to be connected in the beginning are displayed.
3. Position the start of the connector on the desired connection point of the object.
As soon as the mouse button is released, the connection to the first object is established.
The start of the selected connector is shown as red and the other unconnected end is green.
4. Drag the end of the connector to the second object that you want to connect without
releasing the mouse button.
The red connection points of the object to be connected in the end are displayed.
5. Position the end of the connector on the desired connection point of the second
object.
As soon as the mouse button is released, the connection is established. The beginning and
end of the selected connector are now symbolized by red rectangles.
The position of the connected objects can be changed as needed.
Changing connection
Select the connector and drag one end of the connector to the new position. For example, you
can connect the end to another connection point of the same object, or to a connection point
on a new object.
Alternatively you can change the attributes of the "Connected Objects" property group in the
"Object Properties" window.
The type of connector can be changed within the "Connected objects" property group using
the "Connection type" attribute. Select between the two connection types "Automatic" and
"Simple".
Releasing connection
Select the desired connector and press <DEL> to delete the "Connector" object.
508
See also
"Connected Objects" Property Group (Page464)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
3.8.6.3
509
Overview
Symbol
Object
Description
Application
Window
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.
The size and properties that a picture window has in Runtime are
defined in the Graphics Designer.
Control
OLE object
I/O Field
Bar
The bar offers the option of displaying values graphically. The values
can also be displayed in a combined view as graphics with freely
definable number scale.
The size and properties which a bar accepts in Runtime are defined
in the Graphics Designer.
Graphic Object
510
Object
Description
Status display
The status display offers the option to display almost any number of
different states of an object. The states are implemented via tags
whose value corresponds to the respective state. The states are
displayed via the assigned pictures.
The size and properties which a status display accepts in Runtime are
defined in the Graphics Designer.
Text list
The text list offers the option of assigning specific values to a text. The
text list can be defined as an input list, an output list or as a combined
input/output list. The following data formats are available: Decimal,
binary or bit.
The size and properties which a text list has in Runtime are defined in
the Graphics Designer.
Multiple row text The Multiline Text object makes it possible to display text over several
lines in a rectangular, scrolling field and to edit it in runtime.
The size and properties which a multiline text takes on in Runtime are
defined in the Graphics Designer.
Combo box
List box
Faceplate
Instance
You can insert a Faceplate instance into the picture with the Faceplate
instance object. Faceplate types must first be saved on your system.
The size and properties which a Faceplate instance has in runtime are
defined in the Graphics Designer.
.NET Control
WPF Control
The WPF control object makes it possible to insert a WPF file into your
picture as a control.
The size and properties which a WPF control accepts in Runtime are
defined in the Graphics Designer.
3D Bar
511
Object
Description
Group Display
The group display enables the current states of certain message types
to be displayed by hierarchy. Four buttons allow messages to be
represented and operated. Using a group display, you can configure
a quick change to represent an error source for example.
The size and properties which a group display accepts in Runtime are
defined in the Graphics Designer.
The group display is only available if the "Basic Process Control"
optional package was installed with WinCC.
Status display
(Ext.)
You can use an extended status display to assign "Came In" (+),
"Came In Acknowledged" (+Q) and "Went Out Unacknowledged" (-)
and "OK" picture statuses.
The sizes and properties of the extended status display in runtime are
defined in the Graphics Designer.
Extended status display is available only when a PCS 7 OS is installed.
Analog display
(Ext.)
512
See also
How to Insert an Application Window (Page513)
How to insert a picture window (Page516)
How to insert a control (Page520)
How to Insert an OLE Object (Page522)
How to insert an I/O field (Page527)
How to insert a bar (Page539)
How to insert a graphic object (Page547)
How to insert a status display (Page550)
How to add a text list (Page557)
How to insert multiline text (Page565)
How to insert a combobox (Page567)
How to insert a list box (Page569)
How to insert a Faceplate instance (Page571)
How to insert a .NET control (Page572)
How to insert a WPF control (Page573)
How to Insert a 3D Bar (Page575)
How to Insert a Group Display (Page578)
How to change the default setting of object types (Page379)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Object Palette (Page238)
The Coordinate System of a Process Picture (Page228)
The Coordinate System of an Object (Page230)
The Rectangle Surrounding the Object (Page232)
Working with Objects in the Object Palette (Page473)
Working with Combined Objects (Page613)
Working with Objects (Page378)
Process Picture Dynamics (Page815)
513
514
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
515
See also
How to configure the display of windows (Page468)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Smart Objects (Page509)
516
517
Picture Name
Double-click on the "Picture name" attribute and select a picture of the "*.pdl" picture file that
you want to display in the picture window.
518
519
See also
How to support multiple picture windows (Page61)
Selecting pictures (Page610)
How to configure the display of windows (Page468)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Smart Objects (Page509)
520
Prerequisites
The display of the object palette is activated.
The use of the configuration dialogs is activated under "Tools > Settings..." on the "Options"
tab.
Procedure
1. Open the picture in which you want to insert a control.
2. In the Object Palette, click the smart object "Control".
3. Place the mouse pointer at the position in the picture where you want to insert the
control.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Drag the control to the desired size with the mouse button pressed.
The "Insert a Control" dialog is opened.
The description of this dialog is to be found in the chapter "Working with controls".
5. Select one of the controls registered in the operating system and confirm your entry with
"OK".
With some controls, the corresponding configuration dialog will open.
The detailed description of the controls and their configuration dialogs can be found in the
chapter "Working with Controls".
6. Adapt the settings of the configuration dialog according to your needs and confirm the entry
with "OK".
The insertion process for the object "Control" is finished.
Alternatively you can select the desired control directly in the "Control" tab of the Object Palette.
Step five of the procedure described above is not used here.
If you hold down the <Shift> key when drawing the picture window, the "Control" object is
created in the shape of a square.
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Smart Objects (Page509)
Working with Controls (Page319)
521
OLE object
How to Insert an OLE Object
Introduction
The OLE object enables files created in other programs to be inserted into a picture. Therefore
all OLE object registered in the operating system can be integrated. The size and properties
which an OLE object accepts in Runtime are defined in the Graphics Designer. No changes
can be made to OLE objects in Runtime.
Requirements
The display of the object palette must be enabled.
The desired file type must be registered in the operating system.
522
Create new
The "Create new" option selects a file type for a new file that is created in the selected OLE
object. The selected file is edited in the OLE object with the program that is registered for
editing the selected file type in the operating system.
Note
To prevent problems in Runtime, a video object of the AVI format is inserted as a control
object and not as an OLE object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
523
After processing an OLE object, it can occur that the toolbars of the Graphics Designer are
no longer displayed. You can prevent this error after processing an OLE object if you first
close the server application (for example Excel or Paint) before exiting the Graphic Designer.
To restore the display of toolbars, proceed as follows:
1. Select all of the objects available in the active picture.
2. Open the "View" menu and select the "Toolbars..." option.
3. In the "Toolbars" dialog, click the "Restore" button.
See also
How to insert an OLE object with the "Create from file" option (Page524)
How to insert an OLE object with the "Create new" option (Page526)
Quick Object Configuration (Page606)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Smart Objects (Page509)
How to insert an OLE object with the "Create from file" option
Introduction
The OLE object enables files created in other programs to be inserted into a picture.
With the option "Create from file", an already existing file is chosen for display in the selected
OLE object. The selected file is edited in the OLE object with the program that is registered
for editing the selected file type in the operating system.
524
Requirements
The display of the object palette must be enabled.
The desired file type must be registered in the operating system.
Procedure
1. Open the picture into which you want to insert an OLE object and click the smart object
"OLE object" in the Object Palette.
2. Place the mouse pointer at the position in the picture where you want to insert the OLE
object.
The mouse pointer changes into a crosshair with an object symbol attached.
3. Drag the OLE object to the desired size.
The "Insert Object" dialog is opened.
4. Select option Create from File.
In the Create from File dialog are an input field, the "Browse..." button and the "Link" check
box.
5. Enter the directory path and the name of the desired file into the input field. Or click the
"Browse..." button to select the desired file with the "Browse" dialog.
6. Mark the "Link" check box if the selected file should not be copied to the OLE object, but
rather should only be used as a reference.
7. Mark the "As icon" check box if only an icon for the associated file type should be displayed
and not the contents of the selected file.
8. Confirm the input with "OK".
The insertion process for the "OLE" object is finished.
525
See also
How to Insert an OLE Object (Page522)
How to insert an OLE object with the "Create new" option (Page526)
Requirements
The display of the object palette must be enabled.
The desired file type must be registered in the operating system.
Procedure
1. Open the picture into which you want to insert an OLE object and click the smart object
"OLE object" in the Object Palette.
2. Place the mouse pointer at the position in the picture where you want to insert the OLE
object.
The mouse pointer changes into a crosshair with an object symbol attached.
3. Drag the OLE object to the desired size.
The "Insert Object" dialog is opened.
526
See also
How to Insert an OLE Object (Page522)
How to insert an OLE object with the "Create from file" option (Page524)
I/O Field
How to insert an I/O field
Introduction
The I/O Field can be defined as an input field, an output field or a combined input/output field.
The following data formats are available: Binary, decimal, string and hexadecimal. Limit values
527
Requirements
The display of the object palette must be enabled.
The use of configuration dialogs must be enabled in the "Options" tab of the "Tools /
Settings..." menu.
528
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
529
See also
How to configure an I/O Field (Page530)
How to change limit values and type of value input of an I/O field (Page531)
How to define the output format for the "Binary" data type (Page533)
How to define the output format for the "Decimal" data type (Page535)
How to define the output format for the "Hexadecimal" data type (Page536)
How to define the output format for the "String" data type (Page537)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Smart Objects (Page509)
530
Tag
The I/O Field can be set dynamically by embedding tags. Regardless of the selected field type,
the value of these tags can be displayed as output or changed by entering data.
, to open the dialog "Tags - project: ..." to
Enter the name of the desired tag or click the
select a tag. See the "Select Tag" section for the detailed description.
Updating
The frequency of updating the display can be configured for the value displayed as
output.
Enter the desired interval or select an interval from the dropdown list. See the "Changing
update cycle" section for the detailed description.
Field type
The I/O Field can be defined as an input field, an output field or a combined input/output
field.
Define the desired field type.
Font
The font for displaying input and output values can be changed regardless of the selected field
type.
Click one of the three possible buttons to open the associated dialogs.
See also
How to insert an I/O field (Page527)
How to define the output format for the "String" data type (Page537)
How to define the output format for the "Hexadecimal" data type (Page536)
How to define the output format for the "Decimal" data type (Page535)
How to define the output format for the "Binary" data type (Page533)
How to change limit values and type of value input of an I/O field (Page531)
Quick Object Configuration (Page606)
Selecting a tag (Page608)
How to change limit values and type of value input of an I/O field
Introduction
A value range can be defined for input and output of an I/O Field using limit values. Values
outside this value range cannot be displayed or input. Additional settings that offer protection
against accepting incorrect values can be made for value input.
531
532
Apply on Full
The "Apply on Full" attribute specifies when an input value is applied. If the attribute has the
value "No", the input value is only applied when the input is confirmed with <Enter> . Otherwise
the input value is automatically applied as soon as the preset number of characters has been
entered.
Apply on Exit
The "Apply on Exit" attribute can also be enabled for a value input in the event that the I/O
Field is exited without prior confirmation or reaching the required number of characters.
Hidden Input
The "Hidden Input" attribute specifies whether the input value is displayed during input as
normal or encrypted. If this attribute has the value "Yes", every character input is replaced with
the "*" character. The value entered and the data format of the value cannot be recognized.
See also
How to insert an I/O field (Page527)
How to define the output format for the "String" data type (Page537)
How to define the output format for the "Hexadecimal" data type (Page536)
How to define the output format for the "Decimal" data type (Page535)
How to define the output format for the "Binary" data type (Page533)
How to configure an I/O Field (Page530)
How to define the output format for the "Binary" data type
Introduction
Four different data formats are available for the input and output of values in an I/O field.
Numerical values can be edited in binary, decimal or hexadecimal format. The "String" data
format must be specified for the I/O Field to display text.
533
Placeholder for the binary values 0 and 1. The number of the formatting code "1"
specifies the permissible number of positions for displaying a binary value.
If necessary a leading zero is placed before the binary value. The output format can
therefore begin with the formatting code "0", but can only have this once.
Display
11
01
011
2 + leading zero
001
1111
1101
01111
4 + leading zero
01101
1111111
0011101
01111111
7 + leading zero
00011101
1111111111
10
10011101
01111111111
10 + leading zero
010011101
See also
How to insert an I/O field (Page527)
How to define the output format for the "String" data type (Page537)
How to define the output format for the "Hexadecimal" data type (Page536)
How to define the output format for the "Decimal" data type (Page535)
How to change limit values and type of value input of an I/O field (Page531)
How to configure an I/O Field (Page530)
534
How to define the output format for the "Decimal" data type
Introduction
Four different data formats are available for the input and output of values in an I/O field.
Numerical values can be edited in binary, decimal or hexadecimal format. The "String" data
format must be specified for the I/O Field to display text.
Based on the specified data format different output formats can be selected or freely defined
for displaying the field contents.
The definition for an output format can be rewritten as a sequence of formatting codes. The
formatting codes act as placeholders for a specific group of characters. For example, if a
formatting code for which only the display of the numbers 0-9 is preset for a specific position
in the display of an I/O Field, only letters can be input at this position.
NOTICE
If the value you want to display does not correspond exactly to the definition of the output
format, only three asterisks are displayed. This applies for the length of the entire character
string and also for the type and position of the individual characters.
,
s
0
Placeholder for the binary values 0 and 9. The number of the formatting code "9"
specifies the permissible number of positions for displaying a decimal value. If the actual
number of decimal places exceeds the number specified in the display format, the
displayed value is rounded out.
A comma defines the position for decimal point. The formatting code "," can be at any
position in the output format, but can only be used once.
Positive decimal numbers are displayed with signs. The formatting code "s" must be at
the first position of the output format and must be used only once.
Leading and following zeroes are displayed when the actual number of position before
and after the decimal point is less that the number set in the display format. The
formatting code "0" must be before the first "9" and must be used only once.
The decimal number is displayed in exponential format. The formatting code "e" must
be at the last position of the output format and must be used only once.
Display
999
124
999,9
123,5
s999.9
4 + sign
+123,5
999,999
123,456
535
Display
09999,9999
8 + zeroes
0123,4560
s09999.9999
8 + sign + zeroes
+0123,4560
1111111111
10
10011101
9.99999e
1.23456e+002
Note
If a floating point number is saved in the IEEE format of the S5, an output format that allows
the sign and exponent should be used for display in an I/O Field (e.g. s0999.999e).
See also
How to configure an I/O Field (Page530)
How to change limit values and type of value input of an I/O field (Page531)
How to define the output format for the "Binary" data type (Page533)
How to define the output format for the "Hexadecimal" data type (Page536)
How to define the output format for the "String" data type (Page537)
How to insert an I/O field (Page527)
How to define the output format for the "Hexadecimal" data type
Introduction
Four different data formats are available for the input and output of values in an I/O field.
Numerical values can be edited in binary, decimal or hexadecimal format. The "String" data
format must be specified for the I/O Field to display text.
Based on the specified data format different output formats can be selected or freely defined
for displaying the field contents.
The definition for an output format can be rewritten as a sequence of formatting codes. The
formatting codes act as placeholders for a specific group of characters. For example, if a
formatting code for which only the display of the numbers 0-9 is preset for a specific position
in the display of an I/O Field, only letters can be input at this position.
NOTICE
If the value you want to display does not correspond exactly to the definition of the output
format, only three asterisks are displayed. This applies for the length of the entire character
string and also for the type and position of the individual characters.
536
Placeholder for the letters A-F and a-f and the digits 0-9, which are used to display
hexadecimal numbers. The allowed number of characters is defined by the number of
the formatting code "f" in the output format.
Leading zeros of the hexadecimal value are displayed if the output format begins with
the formatting code "0". The formatting code "0" must be included only once.
See also
How to configure an I/O Field (Page530)
How to change limit values and type of value input of an I/O field (Page531)
How to define the output format for the "Binary" data type (Page533)
How to define the output format for the "Decimal" data type (Page535)
How to define the output format for the "String" data type (Page537)
How to insert an I/O field (Page527)
How to define the output format for the "String" data type
Introduction
Four different data formats are available for the input and output of values in an I/O field.
Numerical values can be edited in binary, decimal or hexadecimal format. The "String" data
format must be specified for the I/O Field to display text.
Based on the specified data format different output formats can be selected or freely defined
for displaying the field contents.
The definition for an output format can be rewritten as a sequence of formatting codes. The
formatting codes act as placeholders for a specific group of characters. For example, if a
formatting code for which only the display of the numbers 0-9 is preset for a specific position
in the display of an I/O Field, only letters can be input at this position.
NOTICE
If the value you want to display does not correspond exactly to the definition of the output
format, only three asterisks are displayed. This applies for the length of the entire character
string and also for the type and position of the individual characters.
537
See also
How to configure an I/O Field (Page530)
How to change limit values and type of value input of an I/O field (Page531)
How to define the output format for the "Binary" data type (Page533)
How to define the output format for the "Decimal" data type (Page535)
How to define the output format for the "Hexadecimal" data type (Page536)
How to insert an I/O field (Page527)
538
Bar
How to insert a bar
Introduction
The "Bar" object offers the option of displaying values graphically. The values can also be
displayed in a combined view as graphics with freely definable number scale. The size and
properties which a bar accepts in Runtime are defined in the Graphics Designer.
Requirements
The display of the object palette must be enabled.
The use of configuration dialogs must be enabled in the "Options" tab of the "Tools /
Settings..." menu.
539
Inserting bar
1. Open the picture in which you want to insert a bar.
2. In the Object Palette, click the smart object "Bar".
3. Place the mouse pointer at the position in the picture where you want to insert a
bar.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Drag the bar to the desired size with the mouse button pressed.
The "Bar Configuration" dialog is opened.
5. Enter the desired values into the fields of the configuration dialog.
You will find the description of the configuration dialog in the next section.
6. Confirm the input with "OK".
The insertion process for the "Bar" object is finished.
Alternatively you can double-click the smart object "Bar" in the object palette. A bar with default
object properties is then inserted near the picture origin. The "Bar Configuration" dialog opens.
As soon as you have confirmed your entries with "OK", the insertion process is
completed.
If you press and hold down <SHIFT> during the insertion, the object "Bar" will assume the
shape of a square.
Changing bar
Select an object of the bar type if you wish to carry out one of the following changes:
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
540
See also
How to configure a bar (Page541)
How to configure the limits of a bar (Page542)
How to configure the bar scale (Page544)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Smart Objects (Page509)
Tag
The display value of the bar can be dynamically changed by embedding a tag.
541
Updating
The frequency of updating the display can be configured for the value displayed by the
bar.
Enter the desired interval or select an interval from the dropdown list. See the "Changing
update cycle" section for the detailed description.
Limits
The two ends of the bar view are specified by the maximum value and the minimum value of
the bar.
Enter the desired limits for the bar display. See the "Change maximum value" and "Change
minimum value" for the detailed description.
Bar direction
Specify the direction of the coordinate axis to which the maximum value of bar points.
See the "Changing bar direction of the bar" section for the detailed description.
See also
Selecting a tag (Page608)
How to configure the limits of a bar (Page542)
How to configure the bar scale (Page544)
How to insert a bar (Page539)
Quick Object Configuration (Page606)
542
Name
Alarm limit A
Warning limit W
Tolerance limit T
Reserve 4 R4
Reserve 5 R5
AH Alarm High
WH Warning High
TH Tolerance High
RH4 Reserve High 4
RH5 Reserve High 5
AL Alarm Low
WL Warning Low
TL Tolerance Low
RL4 Reserve Low 4
RL5 Reserve Low 5
General: Limit X
Trend
The "Trend" attribute specifies whether or not the trend is displayed.
The trend display enables a fast overview of changes for the bar. If the value displayed in the
scale is exceeded, a small arrow is displayed beside the scale by default. The arrow indicates
that the measured value cannot be displayed on the scale. Another scale can be shown on
the other side of the bar to avoid having to wait for the next update. This arrow shows the trend
of the current movement of the bar.
See also
How to configure a bar (Page541)
How to configure the bar scale (Page544)
How to insert a bar (Page539)
543
544
545
546
See also
How to configure a bar (Page541)
How to configure the limits of a bar (Page542)
How to insert a bar (Page539)
547
Prerequisites
The display of the object palette is activated.
The use of the configuration dialogs is activated under "Tools > Settings..." on the "Options"
tab.
548
Preview
The picture selected in the picture selection is displayed as a preview.
Selection of Picture
The picture selection shows all pictures in the EMF, WMF, DIB, BMP, GIF, JPEG, ICO and
PNG formats that are in the graphics directory "GraCS" of the current WinCC project.
Select the picture that you want to display in the graphic object. Click on the "Browse ..." button
to insert additional pictures from the picture selection.
See the "Select pictures" section for the detailed description.
549
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Note
If the "Picture Transparent Color On" attribute has the value "Yes" for a graphic object, the
available flash frequency is also reduced if necessary.
See also
Selecting pictures (Page610)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Smart Objects (Page509)
Status display
How to insert a status display
Introduction
The status display offers the option to display almost any number of different states of an
object. The states are implemented via tags whose value corresponds to the respective state.
550
Requirements
The display of the object palette must be enabled.
The use of configuration dialogs must be enabled in the "Options" tab of the "Tools /
Settings..." menu.
551
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
See also
How to configure a status display (Page553)
How to configure states (Page554)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Standard Objects (Page475)
552
Tag
The value of the status you want to display can be set dynamically by embedding a tag.
Enter the name of the desired tag or click the
, to open the dialog "Tags - project: ..." to
select a tag. See the "Select Tag" section for the detailed description.
Updating
The frequency of updating the display can be configured for the status display.
Enter the desired interval or select an interval from the dropdown list. See the "Changing
update cycle" section for the detailed description.
553
Status list
The status list shows the linked pictures and the specified flash frequency for all configured
states.
States can be inserted and every setting can be changed with a pop-up menu. Pictures of the
picture selection can be referenced by dragging them with the mouse to the required position
in the state list. See the "Configuring Status" section for the detailed description.
Bit Position
A status can also be assigned to a specific bit position of the tags.
Click the arrow keys to select a bit position. Click the field "Add" to enter the status of this bit
position in the status list. Click the button "Add" again to add the next highest bit
position.
See the "Configuring Status" section for the detailed description.
Preview
The picture selected in the picture selection is displayed as a preview.
Selection of Picture
The picture selection shows all pictures in the graphics directory "GraCS" of the current WinCC
project. Graphics and pictures of the following formats can be inserted:
BMP, DIB, ICO, CUR, EMF, WMF, GIF and JPG.
Use the mouse to drag a picture of the picture selection to the desired position in the status
list in order to assign it to a status as a basic picture or a flash picture. Click the "Browse ..."
button to insert additional pictures from the picture selection.
You will find the detailed description in the section "Select pictures".
See also
Selecting pictures (Page610)
Selecting a tag (Page608)
How to configure states (Page554)
How to insert a status display (Page550)
554
The status display is divided into four columns, the width of which can be changed by moving
the separation lines. Every line of the status list shows the settings for a specific state. Clicking
on the exact position of a setting opens the pop-up menu. The following settings can be
configured in the status list:
Status column
Shows the value of the configured status. States can be inserted or deleted. The command
"Clear List" of the pop-up menu removes all states to which no pictures are assigned.
Basic Picture column
Shows the name of the picture that is displayed in Runtime when the status happens. The
basic picture of a status can be deleted via the pop-up menu.
Flash Picture column
Shows the name of the picture that is displayed alternating with the basic picture, if a flash
frequency is set for the blinking attribute. The flash picture of a status can be deleted via
the pop-up menu.
Flashing attribute column
Displays the set flash frequency. The values "no flashing", "Slow", "Medium" and "Fast"
can be set via the pop-up menu.
555
Inserting status
Select the position in the "State" column at which you wish to insert a status. Select the entry
"Add" in the pop-up menu. The status for the next free position is inserted.
Renaming status
Double-click the position in the state column at which you wish to rename a status. Enter the
new value and confirm this by pressing <ENTER>. If the new value is already assigned, no
change is made.
Deleting status
Select the position in the state column at which you wish to delete a status. Select the entry
"Delete" in the pop-up menu. The status is deleted so long as at least one additional status is
configured.
Assigned pictures
Select the picture in the picture selection that you want to assign a status as basic picture or
flash picture. Drag the picture to the desired position with the mouse. An existing picture is
replaced by the new picture.
Delete pictures
Select the entry "Delete" in the pop-up menu of a configured picture to remove the picture from
the status list.
556
See also
How to configure a status display (Page553)
How to insert a status display (Page550)
Text list
How to add a text list
Introduction
The text list offers the option of assigning specific values to a text. The text list can be defined
as an input list, an output list or as a combined input/output list. The following data formats are
available: Decimal, binary or bit. The size and properties which a text list has in Runtime are
defined in the Graphics Designer.
Requirements
The display of the object palette must be enabled.
The use of configuration dialogs must be enabled in the "Options" tab of the "Tools /
Settings..." menu.
557
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
558
See also
How to configure a text list (Page559)
How to configure apply values and display text of a text list (Page560)
How to configure assignments for the "Decimal" type list (Page562)
How to configure assignments for the "Binary" list type (Page563)
How to configure assignments for the "Bit" list type (Page564)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Smart Objects (Page509)
559
Tag
The text list can made dynamic by embedding a tag. Regardless of the selected field type, the
value of these tags can be displayed as output or changed by entering data.
, to open the dialog "Tags - project: ..." to
Enter the name of the desired tag or click the
select a tag. See the "Select Tag" section for the detailed description.
Updating
The frequency of updating the display can be configured for the value displayed as
output.
Enter the desired interval or select an interval from the dropdown list. See the "Changing
update cycle" section for the detailed description.
Field type
The text list can be defined as an input list, an output list or as a combined input/output
list.
Define the desired field type.
Font
The font for displaying input and output values can be changed regardless of the selected field
type.
Click one of the three possible buttons to open the associated dialogs.
See also
Selecting a tag (Page608)
How to configure apply values and display text of a text list (Page560)
How to configure assignments for the "Decimal" type list (Page562)
How to configure assignments for the "Binary" list type (Page563)
How to configure assignments for the "Bit" list type (Page564)
How to add a text list (Page557)
Quick Object Configuration (Page606)
560
Configuring assignments
The "Assignments" attribute in the "Input/Output" property group allows display texts to be
specified. The display texts are displayed depending on the current "Output Value"
Note
If you assign a text to a value in the text list, the text must not include a semicolon.
The semicolon is a WinCC control character and will be automatically deleted in a text.
See also
How to configure a text list (Page559)
How to configure assignments for the "Decimal" type list (Page562)
How to configure assignments for the "Binary" list type (Page563)
How to configure assignments for the "Bit" list type (Page564)
How to add a text list (Page557)
561
Requirements
Select a text list of the "Decimal" list type.
Open the "TextList assignments (decimal)" dialog by double-clicking on the "Assignments"
attribute in the "Output/Input" property group.
562
Sorting assignments
Select the assignments that you want to sort. Click the "Up" or "Down" button to move these
assignments to the assignments list.
Deleting assignments
Select the assignments that you want to delete in the assignments list and click the "Delete"
button.
See also
How to configure a text list (Page559)
How to configure apply values and display text of a text list (Page560)
How to configure assignments for the "Binary" list type (Page563)
How to configure assignments for the "Bit" list type (Page564)
How to add a text list (Page557)
Requirements
Selecting a text list of the "Binary" list type.
Open the "TextList assignments (binary)" dialog by double-clicking on the "Assignments"
attribute in the "Output/Input" property group.
563
Sorting assignments
Select the assignments that you want to sort. Click the "Up" or "Down" button to move these
assignments to the assignments list.
Deleting assignments
Select the assignments that you want to delete in the assignments list and click the "Delete"
button.
See also
How to configure a text list (Page559)
How to configure apply values and display text of a text list (Page560)
How to configure assignments for the "Decimal" type list (Page562)
How to configure assignments for the "Bit" list type (Page564)
How to add a text list (Page557)
564
Requirements
Selecting a text list of the "Bit" list type.
Open the "TextList assignments (bit)" dialog by double-clicking on the "Assignments"
attribute in the "Output/Input" property group.
Defining assignments
Enter the desired display text for the states 0 and 1 and confirm the assignments with "OK".
The display text must not include a semicolon.
See also
How to configure a text list (Page559)
How to configure apply values and display text of a text list (Page560)
How to configure assignments for the "Decimal" type list (Page562)
How to configure assignments for the "Binary" list type (Page563)
How to add a text list (Page557)
565
566
Dynamization
If you connect tags to the "Text" attribute, you can use the "Multiline Text" object for entering
and outputting text.
Insert combobox
1. Open the picture into which you want to insert an combobox.
2. In the Object Palette, click the smart object "Combobox".
567
Edit combobox
Select the "Properties" menu point in the context menu (pop-up menu) of the object and define
the attributes of the combobox in the "Object properties" window.
If the attribute "Operator-Control Enable" is set to "Yes" and the operator has the access
authorization, the operator can drop the combobox down and select another text in runtime.
568
Dynamics
If you connect the respective tags, you can use the combobox:
For the entry of a predefined text or the respective index.
For the output of one or many predefined text records.
With other tags, you can predefine the text records dynamically yourself.
569
Make sure that the list box is wide enough for displaying the text. Horizontal scrolling is not
possible. Text that is too long will be cut off.
If the attribute "Operator-Control Enable" is set to "Yes" and the operator has the access
authorization, the operator can select another text and highlight it in the list box in runtime.
570
Note
The color that backs the respectively selected field in runtime is defined in the operating
system as the color for the "Selected elements" and cannot be changed in WinCC.
Dynamization
If you connect tags to the respective attributes, you can use the list box for the following:
For entering a predefined text record or the respective index
For outputting one of the predefined text records
You can also make the predefined text records dynamic with the respective text tags.
571
See also
Working with Faceplate Types (Page299)
572
Procedure
1. In the Object Palette, click the smart object ".NET control".
The mouse pointer changes into a crosshair with an object symbol attached.
2. Click on the position in the picture where you want to insert the control.
The "Insert control" dialog is opened with the controls from the "Global assembly cache".
573
Procedure
1. In the object palette, click the smart object "WPF control".
The mouse pointer changes into a crosshair with an object symbol attached.
2. Click on the position in the picture where you want to insert the control.
The "Insert control" dialog is opened with the "PresentationFramework 3.0" entry.
574
575
Inserting 3D Bar
1. Open the picture in which you want to insert a 3D bar.
2. In the Object Palette, click the smart object "3D Bar".
3. Place the mouse pointer at the position in the picture where you want to insert a 3D
bar.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the 3D bar to the size and direction you
want.
When you release the mouse button, the circular arc insertion is finished.
Alternatively you can double-click the smart object "3D Bar" in the object palette. A 3D bar with
default object properties is then inserted near the picture origin.
If you hold down the <SHIFT> key when drawing the picture window, the "3D bar" object is
created in the shape of a square.
576
Changing 3D Bar
Select an object of the 3D bar type if you wish to carry out one of the following changes:
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Note
The 3D bar is always surrounded by a rectangular frame. Do not use a black background.
The arrows indicating that an area has been exceeded are not visible at this time.
See also
"Limits" Property Group (Page458)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Smart Objects (Page509)
577
578
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
Note
You cannot use group display objects in a group because of ORing UP.
579
Message class
Message type
Alarm
AH
Bit 30
Alarm
AL
Bit 29
Warning
WH
Bit 28
Warning
WL
Bit 27
Tolerance
TH
Bit 26
Tolerance
TL
Bit 25
Fault
Bit 24
Error
Bit 23
Maintenance request
Maintenance request
Bit 22
Process message
PM
Bit 21
Not assigned
Not assigned
Bit 20
Operator request
OR
Bit 19
OM
Bit 18
Status message
Bit 17
Status message
Status OS
Bit 16
580
Message class
Message type
Bit 15
Alarm
AH acknowledged
Bit 14
Alarm
AL acknowledged
Bit 13
Warning
WH acknowledged
Bit 12
Warning
WL acknowledged
Bit 11
TH acknowledged *
Bit 10
TL acknowledged *
Bit 9
Fault acknowledged
Bit 8
Fault acknowledged
Bit 7
Maintenance request
MR acknowledged
Bit 6
Process message
PM acknowledged
Bit 5
Not assigned
Not assigned
Bit 4
Bit 3
Bit 2
Message class
Message type
Bit 1
Bit 0 (LS-bit)
* With new projects as of WinCC V7.01, you can configure messages of the "Tolerance"
message class as mandatory acknowledgement messages. The option is selected in the OS
Project Editor.
You may assign any of the 16 message types to any bit and thereby change the default settings.
Configuration is performed in the "Message type" property in "Message Types" property group.
581
Lock display
The "Lock" property group contains attributes with which you can change the view of locked
measuring points. The "Lock display" attribute specifies for a group display, whether or not a
locked measuring point should be displayed. The lock applies to all buttons of the group display,
independent of which other events in the hierarchy are pending.
In the default settings for the group display, the fifth button is reserved for display of status
"Measuring point locked" by using "Group value bit 16". This allows to display not only pending
events in the hierarchy but also those locked in subordinate measuring points.
See also
"Message Types" Property Group (Page461)
"Lock" Property Group (Page463)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Smart Objects (Page509)
Influencing the quitting pattern using EventQuit tag
582
3.8.6.4
Overview
Icon
Object
Description
Button
Check box
The check box enables the operator to select several options and to
check the corresponding check boxes. It is also possible to check check
boxes by default so that the operator only changes the predefined value
as required. A check box is integrated into the process by providing the
corresponding attributes with dynamics.
Radio box
The option box enables the operator to selected one of the presented
options and to activate the corresponding options field. It is also
possible to activate one of the options fields by default so that the
operator only changes the predefined value as required. An option box
is integrated into the process by providing the corresponding attributes
with dynamics.
583
Object
Description
Round
Button
Slider
See also
How to insert a button (Page585)
How to insert a check box (Page589)
How to insert an radio box (Page592)
How to insert a round button (Page594)
How to insert a slider (Page597)
How to change the default setting of object types (Page379)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Object Palette (Page238)
The Coordinate System of a Process Picture (Page228)
The Coordinate System of an Object (Page230)
The Rectangle Surrounding the Object (Page232)
Working with Objects in the Object Palette (Page473)
Working with Combined Objects (Page613)
Working with Objects (Page378)
Process Picture Dynamics (Page815)
584
Button
How to insert a button
Introduction
The button enables process operation. A button is used for such actions as acknowledging
messages or for navigation in Runtime. A button can have one of two statuses: "On" and "Off".
A button is integrated into the process by providing the corresponding attributes with dynamics.
Inserting a button
1. Open the picture in which you want to insert a button.
2. In the Object Palette, click the Windows object "Button".
3. Place the mouse pointer at the position in the picture where you want to insert a
button.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Drag the button to the desired size with the mouse button pressed.
The "Button Configuration" dialog is opened.
5. Enter the desired values into the fields of the configuration dialog.
You will find the description of the configuration dialog in the next section.
6. Confirm the input with "OK".
The insertion process for the "Button" object is finished.
Alternatively you can double-click the Windows object "Button" in the object palette. A button
with default object properties is then inserted near the picture origin. The "Button Configuration"
dialog opens. As soon as you have confirmed your entries with "OK", the insertion process is
completed.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
585
Changing a button
Select an object of the button type if you wish to carry out one of the following changes:
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
See also
How to configure a button (Page586)
How to configure a hotkey for navigation in Runtime (Page588)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Windows Objects (Page583)
586
Text
The button can display a text that describes its function.
Enter the desired text. Only one text line is available in the configuration dialog. Multiline text
can be input by changing the "Text" attribute in the "Object Properties" window. You can find
the detailed description in the "Changing field labels with the "Text" attribute" section.
Font
The font for displaying the text can be changed.
Click one of the three possible buttons to open the associated dialogs. You can find the detailed
description of the dialogs in the sections "Changing the Font" and "Changing Font Color".
Operation
An authorization can be assigned for operation of the button. A hotkey can be defined for the
button, which allows the control with a key or key combination.
Click one of the two offered buttons to open the respective dialogs. You can find the detailed
description of the dialogs in the "Set hotkey for navigation in Runtime" section.
587
See also
Selecting a tag (Page608)
How to configure a hotkey for navigation in Runtime (Page588)
How to insert a button (Page585)
Quick Object Configuration (Page606)
Setting hotkeys
As an alternative to operation with the mouse, a button can also be triggered using the
keyboard. To do so, a hotkey must be set.
588
Setting authorizations
The User Administrator editor is used in WinCC to assign authorizations for the users. An
authorization can be assigned for every object in the Graphics Designer. Only the user with
the appropriate authorization can operate this object.
Double-click the "Authorization" attribute in the "Miscellaneous" property group of the "Object
Properties" window. Select one of the available authorizations.
Note
To operate the button in Runtime, the "Operator-Control Enable" and "Display" attributes
must have the value "Yes". The value of the "Authorization" attribute must contain the access
authorization of the current user.
See also
How to configure a button (Page586)
How to insert a button (Page585)
589
590
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
591
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Windows Objects (Page583)
592
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
593
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Windows Objects (Page583)
594
595
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
See also
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Windows Objects (Page583)
596
Slider
How to insert a slider
Introduction
The slider is a slide controller and can be used to control processes. For example, it can be
used for infinitely variable changes to a value. A slider is integrated into the process by
providing the corresponding attributes with dynamics.
Inserting a slider
1. Open the picture in which you want to insert a slider.
2. In the Object Palette, click the Windows object "Slider".
3. Place the mouse pointer at the position in the picture where you want to insert a
slider.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Drag the slider to the desired size with the mouse button pressed.
The "Slider Configuration" dialog is opened.
597
Changing a slider
Select an object of the slider type if you wish to carry out one of the following changes:
Rectangle surrounding the object
Drag the rectangle surrounding the object to a new position in order to arrange the object in
the picture.
Drag the handles on the rectangle surrounding the object to a new position in order to resize
the object.
Palettes and toolbars
Use the element "Rotate" in the standard toolbar to rotate the object.
Use the color palette to change the background color of the border.
Use the elements in the style palette to change the display style for the object.
Attributes
Open the "Object Properties" window to change the current values of the desired attributes.
See also
How to configure a slider (Page598)
How to configure the value range and operation of a slider (Page600)
Basic Static Operations (Page380)
Basic Dynamic Operations (Page407)
The Properties of an Object (Page423)
Working with Windows Objects (Page583)
598
Tag
The slider can made dynamic by embedding a tag.
Enter the name of the desired tag or click the
, to open the dialog "Tags - project: ..." to
select a tag. See the "Select Tag" section for the detailed description.
Updating
The frequency of updating the display can be configured for the value displayed by the
slider.
Enter the desired interval or select an interval from the dropdown list. See the "Changing
update cycle" section for the detailed description.
Limits
The two holders of the slider are specified by the maximum value and the minimum value of
the slider. Setting operation steps specifies the number of increments by which the slider is
moved when the mouse is clicked on the slider.
Enter the desired limits and the number of operation steps for displaying the slider.
Alignment
Specifies whether the slider is moved horizontally or vertically.
599
See also
Selecting a tag (Page608)
How to configure the value range and operation of a slider (Page600)
How to insert a slider (Page597)
Quick Object Configuration (Page606)
Operation Steps
The "Operation Steps" attribute specifies for the slider the number of steps the slider is moved
in the corresponding direction with one mouse-click the slide surface.
The number of times to click the slider surface for the slider to move from one end to the other
is calculated as follows:
("Maximum value" "Minimum value") / "Operation steps".
Example:
Where maximum value = 100, minimum value = 0, operation steps = 25 the slider surface must
be clicked four times to move the slider from one end to the other.
Alignment
The "Alignment" attribute defines for the "Slider" object whether the movement of the slider is
in a horizontal or vertical direction.
Windows Style
The "Windows Style" attribute specifies whether the style for displaying the objects in the
Graphics Designer is set or the operating system defaults are used.
600
See also
How to insert a slider (Page597)
How to configure a slider (Page598)
3.8.6.5
Tube objects
WinCC provides the following tube objects:
Tube objects
Function
Polygon Tube
T-piece
Double T-piece
Cross-shaped connector
Tube Bend
You create your system from these tube objects and the objects in the object library, e.g. tanks
and valves.
601
See also
How to insert a polygone tube (Page602)
How to insert a T-piece (Page603)
How to insert a double T-piece (Page604)
How to insert a tube bend (Page605)
A polygon tube can have any number of corners. The corner points are numbered in the order
of their creation. You can move them individually.
Procedure
1. Open the picture in which you want to insert a polygon tube.
2. In the object palette, click the tube object "Polygon tube".
3. Place the mouse pointer at the position in the picture where you want to begin the polygon
tube.
The mouse pointer changes into a cross with arrows pointing inward.
4. Click the selected starting point with the left mouse button.
5. Click every other desired corner of the polygon tube with the left mouse button.
Click with the right mouse button to correct the last drawn section of the polygon tube.
602
Properties
Use the "Line connection type" attribute under "Styles" to set the type of corner display:
Square: No rounding on the corner points
Round: Arc-formed corner rounding
Use the "Line weight" attribute under "Styles" to set the width of tube display.
Procedure
1. Open the picture into which you want to insert a T-piece.
2. Click on the tube object "T-piece" in the object palette.
The mouse pointer will change to a hollow T.
3. Position the mouse point at the position in the picture where you want to insert the T-piece
and click on the desired position.
The T-piece is inserted. You can change the position and size using the mouse.
Change the orientation using the properties of the T-piece.
603
Properties
Set the width of the tube using the "Line Weight" and "Styles" attribute.
Set the orientation of the T-piece in degrees using the "Rotation Angle" attribute. This
determines whether the "leg" of the "T" points downwards (0), to the left (90), upwards (180)
or to the right (270). The entered value is automatically rounded to a multiple of 90.
Note
If you have grouped the "T piece" tube object and then dissolve the group, the tube object
loses the rotation position and jumps backs to the original location.
Procedure
1. Open the picture in which you want to insert a double T-piece.
2. In the object palette, click the tube object "Double T-piece".
The mouse pointer will change to a hollow cross.
3. Position the mouse pointer on the place in the picture that you want to put the double Tpiece and click on the desired point.
The double T-piece is inserted. You can adapt it in position and size.
604
Features
Use the "Line weight" attribute under "Styles" to set the width of tube display.
Procedure
1. Open the picture in which you want to insert a tube bend.
2. In the object palette, click the tube object "Tube bend".
3. Place the mouse pointer at the position in the picture where you want to insert the tube
bend.
The mouse pointer will change to a hollow quarter-ellipse.
4. Click on the selected position.
The tube bend is inserted with certain start parameters: As a circular arc with equal width
and height in the first quadrant with a circular dimension 90 = .
5. Adapt the tube bend in position, size and shape.
If the width and height are not equal, the circular arc becomes an elliptical arc.
6. To change the orientation of the quarter-arc, mirror or turn it.
7. To move the start or end point at a later point in time, drag the small square next to the
affected point in the desired direction.
This changes the circular dimensions of the tube bend.
605
Features
Geometry of the tube bend
Define the size and shape of the tube bend with the attributes under "Geometry". The "Start
angle" and "End angle" attributes determine the circular dimensions.
The attributes are independent from one another.
If you change the "Width" and "Height", the "RadiusX" and "RadiusY" change with them
automatically. Start and end angle remain.
If the start and end angle change, the "Width" and "Height" change with them automatically.
RadiusX and RadiusY remain.
If you change "RadiusX" and "RadiusY", the "Width" and "Height" change with them
automatically. Start and end angle remain.
Tube width
Use the "Line weight" attribute under "Styles" to set the width of tube display.
3.8.6.6
Description
Object type
Updating
Specifies the frequency with which the display of the displayed value
is updated. Enter the desired interval or select an interval from the
dropdown list.
Alignment
Slider
Bar direction Specifies the direction of the coordinate axis to which the maximum
value of bar points.
606
Bar
Description
Object type
Operation
Button
Bit Position
Status display
Picture
The picture selection shows all pictures in the graphics directory
Selection
"GraCS" of the current WinCC project. The picture selected in the
with Preview picture selection is displayed as a preview. Select a picture or click the
"Browse ..." button to insert additional pictures from the picture
selection.
See the "Select Pictures" section for the detailed description.
Graphic
object, Status
Display
An event can be assigned for the selected button with this function. If
Change
the button is clicked with the mouse, the display of the process picture
Picture on
Mouse Click specified here is opened.
See the "Select Pictures" section for the detailed description.
Button
Field type
Specify whether the selected object is used for input, output or input
and output of values.
Limits
Enter values as "Max. value" and "Min. value" to define the two ends
of the slider. You can also define the number of operation steps for the
slider. The number of operation steps specifies the number of
increments by which the slider is moved when the mouse is clicked on
the slider.
Bar, Slider
Font
Change font options for viewing button labels and display values. Click
one of the buttons to open the associated dialog.
Text
Button
Tag
Status list
The status list shows the linked pictures and the specified flash
frequency for all configured states. States can be inserted and every
setting can be changed with a pop-up menu. Pictures of the picture
selection can be referenced by dragging them with the mouse to the
required position in the state list.
You can find the detailed description in "Status Display".
Status display
607
See also
Working with Objects in the Object Palette (Page473)
How to configure a slider (Page598)
How to configure a button (Page586)
How to configure a text list (Page559)
How to configure a status display (Page553)
How to insert a graphic object (Page547)
How to configure a bar (Page541)
How to configure an I/O Field (Page530)
Selecting pictures (Page610)
How to configure states (Page554)
Selecting a tag (Page608)
Selecting a tag
Introduction
Tags are a central element in the dynamics of process pictures created with the aid of the
Graphics Designer. By linking a process tag to an object, such things as the change in a
measured value can be represented graphically. More details about the use of tags can be
found in the chapter called "Tag Management".
The dialog "Tags project: ..." contains all tags available in the project. This dialog can look
as follows:
608
Filter
If there is a large number of configured tags, the search procedure can take some time. For
instance, for 15,000 tags the search procedure takes about a minute.
By specifying a filter, you can narrow the scope of the search and reduce the duration of the
search procedure. You can achieve a significant increase in efficiency if you configure tags
with the aid of a tag prefix.
Data source
You can use the "Data Source" window to select the tags it is intended to display.
Tag groups
The selected tag group complete with its sub-folders is displayed in the left-hand area in the
form of a folder tree.
Directories and subdirectories can be opened or closed by clicking on the "+" or "-" icons. The
tags available for the selected entry are shown in the tag display.
Tag display
The right-hand area contains all the tags that are available for the entry The tag display is
divided into four columns showing the tag name, type and parameter, and the point in time at
which the tag was last changed. Tags can be sorted by clicking on the respective column
heading.
Procedure
1. Select the required filter. An asterisk means that no filter is to be used or no filter has been
defined.
2. Select one or more data sources.
3. Open the desired tag group in the left-hand window area.
4. Select the desired tag from the right-hand window area.
5. Confirm you selection with "OK".
The dialog "Tags - project: ..." will be closed.
The selected tag is assigned to the selected object and you can continue with the
configuration.
See also
Quick Object Configuration (Page606)
Working with Windows Objects (Page583)
Working with Smart Objects (Page509)
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
609
Selecting pictures
Introduction
Pictures can be linked to many objects in the Graphics Designer.
Depending on the object, the linked pictures can be in various file formats:
Object
Formats
Picture Window
PDL
Graphic Object
BMP, DIB,
ICO, CUR,
EMF, WMF,
GIF, JPG
Status display
BMP, DIB,
EMF, WMF
Button
BMP, DIB,
ICO, CUR,
EMF, WMF,
GIF, JPG
Round Button
BMP, DIB,
ICO, CUR,
EMF, WMF,
GIF, JPG
The "Picture Name" selection dialog displays all the PDL files in the current project. Any file
that you wish to link to the picture window must belong to the current WinCC project.
610
The "Picture" selection dialog lists the pictures that are available in the project. These pictures
are held in the "GraCS" graphic folder belonging to the current WinCC project. To add further
pictures to the current project, you can use the "Browse ..." button to open another selection
dialog.
Configuration Dialog
The appearance of a configuration dialog depends on the selected object. For instance it may
look like this for a graphic object:
The picture selection lists the pictures that are available in the project. These pictures are held
in the "GraCS" graphic folder belonging to the current WinCC project. To add further pictures
to the current project, you can use the "Browse ..." button to open another selection dialog.
611
Find Picture
This dialog can be used to switch to any folder in order to select one or more pictures and add
them to the current project. These are then displayed in the selection of pictures in the selection
dialog.
Note
Referenced graphic files must be copied to the "GraCS" graphic folder for the current WinCC
project in order to be available on a destination computer. If you use the Browse ..." button
in the picture selection, the selected graphic files are automatically copied to the "GraCS"
graphic folder.
To select a series of pictures:
Hold down the <SHIFT> key and click the first and the last picture.
To select individual pictures:
Hold down the <CTRL> key and click the individual pictures.
See also
Quick Object Configuration (Page606)
Working with Windows Objects (Page583)
Working with Smart Objects (Page509)
612
3.8.7
3.8.7.1
Introduction
The objects of the Object Palette can be combined by forming a group or a customized object
from a multiple selection. In addition, a group or a combined object can be inserted into the
project library. This makes the group or the combined object available as a library object for
re-use in other process pictures or projects.
Overview
Object
Description
Group
Customized
Object
A customized object allows the properties and events that are displayed and
changed in the "Object Properties" window to be configured individually. A
customized object can be edited in the Graphics Designer like a single object of
the object palette.
As in a group the selection marks of the individual objects are no longer shown
after creation of a customized object. The selection marks surround the entire
customized object. The selection frame of the multiple selection becomes the
rectangle around all the objects of the customized object.
Library object
The library of the Graphics Designer is versatile tool for saving and managing
graphic objects that can be used for creating process pictures. It is divided into
two areas:
The "Global Library" offers a variety of prefinished graphic objects that are inserted
into a picture as library objects and can be configured as required.
The "Project Library" enables a project-specific library to be built.
See also
Working with the library (Page646)
Working with Customized Objects (Page618)
Working with Groups (Page614)
Multiple Selection of Objects (Page386)
Working with Objects in the Object Palette (Page473)
Working with Objects (Page378)
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
613
3.8.7.2
See also
Working with Combined Objects (Page613)
Working with Objects (Page378)
Multiple Selection of Objects (Page386)
How to ungroup a group (Page617)
How to change the properties of a group (Page616)
How to change the objects of a group (Page615)
How to group objects (Page614)
Requirements
Select at least two objects of any type, except for control and OLE objects.
Procedure
1. Open the pop-up menu of the multiple selection or the "Edit" menu.
2. Select the entry "Group / Grouping".
The selected objects are combined into a group. The selection frame of the multiple
selection becomes the rectangle around the group. Selection marks are shown for the group
only.
614
See also
Working with Objects (Page378)
The Rectangle Surrounding the Object (Page232)
Multiple Selection of Objects (Page386)
Working with Groups (Page614)
How to ungroup a group (Page617)
How to change the properties of a group (Page616)
How to change the objects of a group (Page615)
Requirements
Select a group.
Procedure
1. Open the "Object Properties" window.
2. Select the property group of the desired individual object in the "Properties" tab that contains
the attribute you want to change.
The change of attributes is described in detail in the section "Change object properties".
615
See also
Working with Groups (Page614)
Working with Objects (Page378)
The Rectangle Surrounding the Object (Page232)
Multiple Selection of Objects (Page386)
The Properties of an Object (Page423)
How to ungroup a group (Page617)
How to change the properties of a group (Page616)
How to group objects (Page614)
Examples
If the origin of a group is moved, the values of the individual objects are configured for the
new coordinates. The attributes "Position X" and "Position Y" of the individual objects do
not change relative to the origin of the group.
If the size of a group is changed, the attributes "Height" and "Width" of the individual objects
are adjusted by percentage to match the resize.
If a rotation has been specified for single objects of a group in Runtime, these settings are
matched to the size of the group. The reference points for the rotation refer to the origin of
the group, not the origin of the single object. In Runtime, the objects for which no rotation
was specified remain unchanged.
Linear objects that are in a group with surface objects always take the color that was last
selected for the background color or the line color in the properties of the group.
If a group is to be operated with a hotkey, the hotkey must only be assigned to the single
"Button" object in the group. A hotkey assigned to the entire group will not work in Runtime.
616
Requirements
Select a group.
Procedure
1. Open the "Object Properties" window.
2. Select the property group in the "Properties" tab that contains the attribute you want to
change.
The change of attributes is described in detail in the section "Change object properties".
Alternative Operation
You can also change the properties of a group with the mouse. The complete group is edited
in the same way as single objects.
Note
The objects included in a group can also be edited individually by changing their attributes.
The objects are displayed in the "Object Properties" window with their property groups as a
component of the "Group" object type.
See also
How to group objects (Page614)
How to change the objects of a group (Page615)
How to ungroup a group (Page617)
The Properties of an Object (Page423)
Multiple Selection of Objects (Page386)
The Rectangle Surrounding the Object (Page232)
Working with Objects (Page378)
Working with Groups (Page614)
617
Requirements
Select a group.
Procedure
1. Open the pop-up menu or the "Edit" menu.
2. Select "Group / Ungroup".
The group selection marks are hidden.
The objects of the group are shown as a multiple selection.
Note
The "Group" command can be used to group single objects again and thus to build up a
hierarchy of groups. Groups can be ungrouped in the reverse order of grouping.
See also
How to group objects (Page614)
Multiple Selection of Objects (Page386)
The Rectangle Surrounding the Object (Page232)
Working with Objects (Page378)
Working with Groups (Page614)
Working with Combined Objects (Page613)
3.8.7.3
618
619
See also
How to create a customized object (Page620)
How to configure the property groups of the customized object (Page625)
How to add and delete attributes of a customized object (Page628)
How to configure the properties of attributes of the customized object (Page629)
Events of a customized object (Page632)
How to configure the events of a customized object (Page633)
How to edit a customized object (Page634)
How to delete a customized object (Page635)
Working with Objects (Page378)
Working with Combined Objects (Page613)
Example: How to create a compressor as a customized object (Page636)
Configuration on a Customized Object (Page621)
Properties of a Customized Object (Page623)
Multiple Selection of Objects (Page386)
Requirements
Select at least two objects of any type, except for Application Window, Picture Window,
OLE object, Group or another customized object.
Procedure
1. Open the pop-up menu or the "Edit" menu.
2. Select the entry "Customized object / create...".
The dialog "Configuration Dialog Customized object" will open.
620
See also
How to edit a customized object (Page634)
How to delete a customized object (Page635)
Example: How to create a compressor as a customized object (Page636)
Working with Objects (Page378)
Multiple Selection of Objects (Page386)
Working with Customized Objects (Page618)
Configuration on a Customized Object (Page621)
Properties of a Customized Object (Page623)
621
The "Configuration Dialog Customized object" can be opened from the pop-up menu of a
selected customized object.
"Properties" Tab
A selection of the available property groups and attributes can be defined in the "Properties"
tab. The name and configured language of an available attribute can be changed. Every
attribute of the customized object can also be linked to attributes of the included single objects.
"Event" Tab
The events available for the customized object are configured with the "Events" tab. It is also
possible to make "Object Events" available for the included single objects.
622
See also
How to configure the properties of attributes of the customized object (Page629)
How to add and delete attributes of a customized object (Page628)
How to configure the property groups of the customized object (Page625)
How to configure the events of a customized object (Page633)
Working with Customized Objects (Page618)
Properties of a Customized Object (Page623)
Events of a customized object (Page632)
Configuration Dialog
Object type
The name of the selected customized object is shown and can be changed.
623
Language
The customized object and the attributes of the selected properties can be configured for
different languages.
Select the desired attribute and click the
Selected Properties
This area contains the property groups and attributes that are displayed as properties of the
customized object in the "Object Properties" window. Property groups and attributes can be
inserted or removed from the selection as required.
Click the "+" or "-" symbols to show or hide subordinate entries.
The detailed description can be found in the following chapters: "Configuring property groups
of a customized object" and "Configuring attributes of a customized object".
Objects
This area contains all objects included in the customized object.
Select an object for which you want to show the available attributes in the "Properties" area.
Properties
This area contains all available attributes for the object selected in the "Objects" area.
Double-click the desired attribute to insert it into the assigned position in the "Selected
Properties" area. The detailed description can be found in "Inserting or deleting attributes of a
customized object".
Note
An object can only receive an operator authorization as a "Whole". A customized object can
have an operator authorization but its subordinate objects cannot.
624
Example 1
You have configured the "Inherit status" properties for the customized object with "Yes" and
"Display" as "Visible".
One object of the customized object has the property "invisible".
If the customized object is made invisible and then again visible, then all objects of the
customized object are shown as visible even if one object of the customized object has the
property "invisible".
Example 2
You have configured the "Inherit status" property for the customized object with "No" and
"Display" as "Visible".
The customized object is now switched to invisible. If you then set the property of an inner
object to "Visible", the inner object will not be visible. The inner object will only become visible
if the customized object is changed to visible.
See also
How to configure the property groups of the customized object (Page625)
How to add and delete attributes of a customized object (Page628)
How to configure the properties of attributes of the customized object (Page629)
How to configure the events of a customized object (Page633)
Working with Customized Objects (Page618)
Events of a customized object (Page632)
625
All Themes
All property groups that can be made available for the customized object are listed in the left
section of the dialog.
Selected Themes
All property groups that have been selected for the customized object are listed in the right
section of the dialog.
Arrow buttons
Use the arrow buttons to move property groups in the direction of the arrow:
Moves the selected property groups from the left to the right section.
Moves the selected property groups from the right to the left section.
Prerequisites
The "Properties" tab in the "Configuration Dialog Customized object" must be open for the
selected customized object.
There must be at least one property group in the "Selected Themes" area.
626
See also
How to add and delete attributes of a customized object (Page628)
How to configure the properties of attributes of the customized object (Page629)
How to configure the events of a customized object (Page633)
Working with Customized Objects (Page618)
Properties of a Customized Object (Page623)
Events of a customized object (Page632)
627
Prerequisites
The "Properties" tab in the "Configuration Dialog Customized object" must be open for the
selected customized object.
Adding attributes
1. Select an object in the "Objects" area from which you want to provide an attribute for the
customized object.
The available attributes of the selected object are shown in the "Properties" area.
2. Double-click the desired attribute in the area "Properties".
The selected attribute is added at the relevant position in the "Selected Properties" area.
The attribute name is extended by the object name of the object.
3. Repeat steps 1 and 2 until all desired attributes are in the "Selected Properties" area.
Alternatively you can drag attributes to the desired position in the "Selected Properties" area
with the mouse.
628
Deleting attributes
1. Select the attributes of the customized object that you want to delete in the "Selected
Properties" area.
2. Select "Delete" in the pop-up menu of the selected attribute.
The selected attribute is removed from the selection.
See also
How to configure the property groups of the customized object (Page625)
How to configure the properties of attributes of the customized object (Page629)
How to configure the events of a customized object (Page633)
Working with Customized Objects (Page618)
Properties of a Customized Object (Page623)
Events of a customized object (Page632)
629
Current language
Displays the language for which the attribute was designed.
Attribute Name
Displays the attribute names under which the attribute is registered in WinCC. The "OLE
Automation Name" must be unique. A change of the attribute name affects all languages
configured for the attribute.
Name of Property
Property names with which the attribute is displayed in the "Object Properties" window.
Prerequisites
The "Properties" tab in the "Configuration Dialog Customized object" must be open for the
selected customized object.
Procedure
1. Select the attribute of the customized object whose properties you want to configure in the
"Selected Properties" area.
2. Select "Properties..." in the pop-up menu of the selected attribute.
Opens the "Properties" dialog.
3. Change the settings and confirm your input with "OK".
See also
How to configure the property groups of the customized object (Page625)
How to add and delete attributes of a customized object (Page628)
How to configure the events of a customized object (Page633)
Working with Customized Objects (Page618)
Properties of a Customized Object (Page623)
Events of a customized object (Page632)
630
Prerequisites
A structure type and at least one structure tag must be configured.
In the customized object, you have added two objects "Static Text" with the property "Text"
in "Selected Properties" to "UserDefined2".
In Graphics Designer, the tag dialog must be open. Using the menu "View/Toolbars..." you
activate the tag dialog.
Procedure
1. In "Configuration Dialog Customized Object" in the area "Selected Properties", select one
of the static texts for the Customized Object.
2. In the dialog "Properties" for "Attribute Name", enter the name "StructureType".
3. In "Configuration Dialog Customized Object" in the area "Selected Properties", select the
second static text for the Customized Object.
4. In the dialog "Properties" for "Attribute Name", enter the name "tagname".
5. Confirm your settings with "OK".
6. In the "Object Properties" dialog of the Customized Object, enter under attribute
"StructureType" the name of the structure type as text.
7. Dynamize the desired properties with an element of a valid structure tag.
8. If you now select the Customized Object, the open tag dialog will only display the available
tags of the assigned structure type.
9. Using Drag&Drop, you connect the desired structure tag from the tag dialog with the
customized object. The structure tag is entered into the object property "tagname".
Duplicate customized object may be assigned a tag of the same structure type using
Drag&Drop.
See also
How to add and delete attributes of a customized object (Page628)
How to configure the properties of attributes of the customized object (Page629)
Working with Customized Objects (Page618)
Configuration on a Customized Object (Page621)
Properties of a Customized Object (Page623)
631
Selected Events
This area contains the event groups "Mouse", "Keyboard", "Focus", "Miscellaneous" and
"Object Events". The events designed for the customized object are assigned to these event
groups. All events that are designed for the single objects in the customized object are assigned
to the "Object Events" event group.
Click the "+" or "-" symbols to show or hide subordinate entries.
Objects
This area contains all objects included in the customized object.
Select an object for which you want to show the available events in the "Properties" area.
Event
This area contains all available events for the object selected in the "Objects" area.
Double-click the desired event to insert it into the assigned position in the "Selected Events"
area.
632
See also
Properties of a Customized Object (Page623)
How to add and delete attributes of a customized object (Page628)
How to configure the properties of attributes of the customized object (Page629)
How to configure the events of a customized object (Page633)
Working with Customized Objects (Page618)
How to configure the property groups of the customized object (Page625)
Prerequisites
Select a customized object.
Open the "Configuration Dialog Customized object" from the pop-up menu and select the
"Events" tab.
Adding events
1. In the "Objects" area, select an object for which you want to configure an event in the
customized object.
The events available for the selected object are displayed in the "Events" area.
2. Double-click the desired event in the area "Properties".
The selected event is inserted into the respective event group in the "Selected Events"
area. The event name is extended by the object name of the object.
3. Repeat steps 1 and 2 until all desired events are in the "Selected Events" area.
4. Confirm your configuration with "OK".
Alternatively you can drag events to the desired position in the "Selected events" area with the
mouse.
Note
The events configured for the customized object are automatically assigned to the associated
event group. The default assignments cannot be changed.
633
Deleting events
1. Select the event of the customized object that you want to delete in the "Selected Events"
area.
2. Select "Delete" in the pop-up menu of the selected event.
The selected event is removed from the selection.
See also
How to configure the property groups of the customized object (Page625)
How to add and delete attributes of a customized object (Page628)
How to configure the properties of attributes of the customized object (Page629)
How to configure the events of a customized object (Page633)
Working with Customized Objects (Page618)
Properties of a Customized Object (Page623)
Events of a customized object (Page632)
Prerequisites
Select a customized object.
634
See also
Working with Customized Objects (Page618)
Configuration on a Customized Object (Page621)
Working with Objects (Page378)
How to delete a customized object (Page635)
How to create a customized object (Page620)
Prerequisites
Select a customized object.
Procedure
1. Open the pop-up menu or the "Edit" menu.
2. Select "Customized Object / Delete".
The selection marks of the customized object are hidden.
The individual objects of the customized object are shown as a multiple selection.
See also
How to create a customized object (Page620)
Multiple Selection of Objects (Page386)
The Rectangle Surrounding the Object (Page232)
Working with Customized Objects (Page618)
Working with Combined Objects (Page613)
635
636
Procedure
1. Create a graphic to show the compressor.
The compressor is created from the following standard objects: 2 circles, 3 lines and a static
text.
2. Select all objects from which the customized object must be created.
Select "Customized Object / Create..." in the multiple selection context menu.
637
In this example the "UserDefined2" property group is used to define the desired properties
and events of the customized object.
638
In this example the term "Settings" is entered as the new name of the "UserDefined2"
property group.
639
The customized object now has the "Circle1.Background Color" attribute in the "Settings /
Background Color" property group.
6. Select "Properties..." in the pop-up menu of the attribute "Circle1.Background color".
Opens the "Properties" dialog.
Enter a name for the dynamics of the attribute by C or VBS actions in the "Attribute Name"
field. The "Name of Property" field contains the exact name of the attribute for the display
in the "Object Properties" window and can also be changed.
640
The customized object now has the "Object.Line Color" attributes in the "Settings / Line
Color" property group.
641
In this example the attributes "Flashing Line Color On", "Flashing Line Color Off" and
"Flashing Line Active" are added to various single objects.
642
643
The customized object now has the "CustomizedObject1.Mouse Action" event in the
"Mouse" event group.
Add more events in the same manner.
644
Confirm the configuration with "OK" to finish creating the "myCompressor" customized
object.
The configuration dialog "Configuration Dialog Customized object" will be closed.
12.Select the new customized object in your process picture.
Open the window "Object Properties" to check the configuration of the customized object.
645
The "Settings" property group only shows the properties and events that you defined in the
"Configuration Dialog Customized Object".
See also
How to create a customized object (Page620)
How to configure the property groups of the customized object (Page625)
How to add and delete attributes of a customized object (Page628)
How to configure the properties of attributes of the customized object (Page629)
How to configure the events of a customized object (Page633)
How to edit a customized object (Page634)
How to delete a customized object (Page635)
Configuration on a Customized Object (Page621)
Events of a customized object (Page632)
Properties of a Customized Object (Page623)
3.8.7.4
646
Global Library
The "Global Library" offers a variety of prefinished graphic objects that are inserted into a
picture as library objects and can be configured as required. Sorted by subject in the form of
a folder tree, graphic views of machine and system parts, instruments, control elements and
buildings can be provided.
The "Global Library" can be extended with user-defined objects to make them available for
other projects. However, these objects must not be linked with dynamics, to prevent errors
when embedding them in other projects.
Project Library
The "Project Library" enables a project-specific library to be built. The objects can sorted by
subjects by creating folders and subfolders.
User-defined objects can be stored here as copies and made available for multiple use.
Because the Project Library is only available for the current project, dynamic objects should
only be included in this library. The names of user-defined objects inserted into the library can
be freely selected.
Opening library
The Graphics Designer library can be shown or hidden with the "Library" command in the
"View" menu or via the icon
. The structure and functions of the library are similar to the
Windows Explorer. The display of the library objects can be configured with the elements of
the toolbar.
647
Customized Objects
The folders "System Modules", "Displays", "Operation" and "Symbols" contain prefinished
customized objects.
If such a library object is inserted into a picture, changes can be executed in the window "Object
properties" and in the configuration dialog "Customized Object". Both dialogs can be opened
from the pop-up menu of the inserted object.
Controls
The "Siemens HMI Symbol Library" folder contains a comprehensive symbol library, whose
elements can also be inserted in a picture as controls.
If such a library object is inserted into a picture, changes can be executed in the window "Object
properties" and in the dialog "Properties of Siemens HMI Symbol Library". The window "Object
Properties" is opened from the pop-up menu of the inserted object. The "Properties of Siemens
HMI Symbol Library" dialog can only be opened by double-clicking on the inserted object.
See also
Working with Combined Objects (Page613)
"Siemens HMI Symbol Library" Folder (Page655)
How to import objects into the library (Page653)
How to convert library objects (Page652)
How to import library objects into a picture (Page650)
The Library Toolbar (Page649)
648
Overview
Icon
Name
Function
Cut
Copying
Paste
The "Paste" command can be used to add the current contents of the
clipboard to the selected library folder as often as desired.
Deleting
Giant Icons
The "Giant Icons" command shows the library objects in the current
folder as large symbols.
No detailed information is shown except for the name of the
object.
If the preview is activated, the symbol for the picture contents of the
library object is used.
Large Icons
The "Large Icons" command shows the library objects in the current
folder as medium-sized symbols.
No detailed information is shown except for the name of the
object.
If the preview is activated, the symbol for the picture contents of the
library object is used.
Small Icons
The "Small Icons" command shows the library objects in the current
folder as a list with small symbols.
No detailed information is shown except for the name of the
object.
If the preview is activated, the symbol for the picture contents of the
library object is used.
649
Name
Function
List
The "List" command shows the library objects in the current folder as
a list with small symbols.
Besides the name of the object, the file size and the date of the last
modification are displayed as detailed information.
If the preview is activated, the symbol for the picture contents of the
library object is used.
Preview
The picture contents of the library objects are used for the symbolic
display of the library object.
If the preview is not activated, a default symbol is shown.
See also
Working with the library (Page646)
"Siemens HMI Symbol Library" Folder (Page655)
How to import objects into the library (Page653)
How to convert library objects (Page652)
How to import library objects into a picture (Page650)
The Library Toolbar (Page649)
650
Requirements
A picture must be opened.
Procedure
1. In the default toolbar of the Graphics Designer click the icon
The "Library" dialog will open.
2. Select a subfolder of the global library or the project library in the left section of the
dialog.
The library objects in this subfolder are shown in the right section of the dialog.
3. Select a library object and drag it with the mouse to the desired position in the
picture.
When you release the mouse button, the insertion procedure is finished.
Alternative Procedure
1. In the default toolbar of the Graphics Designer click the icon
The "Library" dialog will open.
2. Select a subfolder of the global library or the project library in the left section of the
dialog.
The library objects in this subfolder are shown in the right section of the dialog.
3. Select the desired library object.
4. In the toolbar of the "Library" dialog, click
.
The library object will be copied to the clipboard of the operating system.
5. In the default toolbar of the Graphics Designer click the icon .
The library object will be inserted into the current picture from the clipboard.
See also
How to convert library objects (Page652)
How to import objects into the library (Page653)
How to Rename Objects (Page383)
The Library Toolbar (Page649)
"Siemens HMI Symbol Library" Folder (Page655)
Working with the library (Page646)
651
NOTICE
The conversion starts immediately, as soon as you have selected the entry. No confirmation
prompt appears.
Conversion of the libraries cannot be undone.
652
Requirements
A project must be opened.
Procedure
1. Right-click the entry "Graphics Designer".
The pop-up menu will be opened.
2. Select the entry "Convert global library" or "Convert project library" from the pop-up
menu.
The procedure may take some time, depending on the number and file size of the included
library objects.
See also
How to import library objects into a picture (Page650)
How to import objects into the library (Page653)
The Library Toolbar (Page649)
The shortcut menu in the Navigation window (Page212)
"Siemens HMI Symbol Library" Folder (Page655)
Working with the library (Page646)
653
Requirements
A picture must be opened.
Procedure
1. In the default toolbar of the Graphics Designer click the icon
The "Library" dialog will open.
2. Select or create a subfolder of the global library or the project library in the left section of
the dialog.
The library objects in this subfolder are shown in the right section of the dialog.
3. Select the object that you want to add to the selected folder in the active picture.
4. Hold down the mouse button and drag the selected object into the library folder.
When you release the mouse button, the check box insertion is finished.
5. If you want to assign a name for later use to the new library object, select "Rename" in the
pop-up menu of the new library object.
The name of the library object will become editable.
6. Enter the new name and confirm this by pressing <ENTER>.
Alternative Procedure
1. In the default toolbar of the Graphics Designer click the icon
The "Library" dialog will open.
2. Select or create a subfolder of the global library or the project library in the left section of
the dialog.
The library objects in this subfolder are shown in the right section of the dialog.
3. Select the object that you want to add to the selected folder in the active picture.
4. In the standard toolbar of the Graphics Designer, click
.
The selected object will be copied to the clipboard of the operating system.
654
See also
How to import library objects into a picture (Page650)
How to convert library objects (Page652)
The Library Toolbar (Page649)
"Siemens HMI Symbol Library" Folder (Page655)
Working with the library (Page646)
655
See also
How to import objects into the library (Page653)
How to convert library objects (Page652)
How to import library objects into a picture (Page650)
Working with Controls (Page319)
Working with Combined Objects (Page613)
The Library Toolbar (Page649)
Working with the library (Page646)
3.9
3.9.1
Introduction
The behavior of process pictures, which were created and dynamized in Graphics Designer,
can be tested in Runtime. Some object properties, such as the rotation or flashing of an object,
can only be displayed in Runtime.
In this chapter, you will learn
activate and deactivate Runtime
test changes to a picture in directly Runtime
modify the settings for the execution of Runtime
configure mouseless operation for Runtime
See also
Activating Project (Page132)
How to activate / deactivate Runtime (Page657)
How to test the active picture in Runtime (Page658)
How to set up Runtime (Page112)
How to set up a picture for mouseless operation (Page677)
Virtual keyboard - General Information (Page673)
656
3.9.2
Introduction
Runtime can be activated from WinCC Explorer or Graphics Designer. If it is called in WinCC
Explorer, Runtime will start with the predefined start picture. If it is started from Graphics
Designer, the active picture will be opened in Runtime. Runtime can only be deactivated from
WinCC Explorer.
Requirements
A project must be opened.
The local computer's name must be entered as the computer name in the project.
A process picture, which is found in the project, must be defined as the start picture.
Changes in a picture can only be displayed in Runtime, when the picture was saved before
Runtime was activated.
Activating Runtime
Runtime is executed in the "WinCC-Runtime" program window. The "Runtime" command is
used to load additional program modules, which are required for the execution of Runtime.
WinCC Explorer
Click this button in the toolbar to open Runtime with the predefined start picture.
As an alternative, you can select "Activate" in the "File" menu. When Runtime is activated this
will be indicated by a tick in front of the entry "Activate".
Graphics Designer
Click this button in the default toolbar to open Runtime with the active picture.
As an alternative, you can select "Runtime" in the "File" menu.
Deactivate Runtime
Runtime can only be deactivated from WinCC Explorer.
Click this button in the toolbar to deactivate Runtime.
The modules for the execution of Runtime are deactivated. The "WinCC-Runtime" program
window will be closed.
As an alternative, you can select "Activate" in the "File" menu. The tick in front of the entry
"Activate" will be removed.
657
See also
How to test the active picture in Runtime (Page658)
How to set up Runtime (Page112)
Testing Process Pictures in Runtime (Page656)
3.9.3
Introduction
The behavior of process pictures, which were created and dynamized in Graphics Designer,
can be tested in Runtime. Furthermore, changes made to the configuration of a picture can
be checked directly in Runtime.
Requirements
Runtime must be activated.
To start Runtime directly with the active picture, it must be activated from Graphics Designer.
To test - in Runtime - the changes made, the active picture must first be saved.
Procedure
1. Open the picture that you want to change.
2. Change the desired Properties and Events.
3. In the standard toolbar, click the button
.
The active picture is saved with the changes applied.
4. In the standard toolbar, click the button
.
The active picture is activated in Runtime and can be tested in the program window "WinCCRuntime".
5. Repeat steps 2 - 4 to make further changes.
See also
How to set up Runtime (Page112)
Testing Process Pictures in Runtime (Page656)
Working with Objects (Page378)
How to activate / deactivate Runtime (Page657)
658
3.9.4
3.9.4.1
Introduction
In the "Menus and Toolbars" editor you can configure customized menus and toolbars. The
customized menus and tool bars can be displayed in the basic picture of a project and also in
the picture windows. You connect menu items and symbols using procedures from Global
Script VBS.
Usage
You used customized menus and tootbars, for e.g. to implement a picture navigation. The
customized menus and toolbars are displayed in the basic picture of the project. You can thus
shift from any picture to the pictures that you have configured the picture change using menu
commands and symbols.
Principle
You save the customized menus and toolbars in configuration files. For each configuration file
you can save one menu and any number of toolbars you want. You can indicate a configuration
file as "Start Configuration" in the "Computer Properties":
659
Language-dependent configuring
In the "Menus and Toolbars" editor you can configure language-dependent texts for menus
and toolbars. For this, switch to the language in the Menus and Toolbars editor. Then re-enter
the language-dependent texts.
660
3.9.4.2
Introduction
In each picture, a menu is placed at the top margin. You can configure one menu bar for each
configuration file.
Menu structure
The configuration options for a menu element depend on the position where the menu is
located in the menu structure.
The following picture shows a typical menu structure with different menu elements:
661
The following table explains the function of the menu elements shown in the picture:
Menu element
Function
MainMenu
Clean
Displays a menu item. You can add menu commands, separators or other menu
items (as sub-menus) in a menu item.
Sort
Represents a menu command. Assign a procedure that is run when you click
on the menu command to a menu command. You can enter a parameter (for
e.g. picture frame) that is to be transferred to the procedure under "User Data".
Requirement
The menu structure is yet to be planned.
The Menus and Toolbars editor is open.
The tab "Menus" is displayed
Procedure
1. Add the required number of menu elements.
2. Assign the menu elements to the desired hierarchy levels.
3. Enter a Name and a Text for each menu element.
4. For each menu element, select a procedure that is run while clicking a menu element. Enter,
if required, a transfer parameter for the procedure under "User data".
5. Define, if required, for each element whether it is "visible" or "active" during runtime and
whether an authorization to operate is necessary.
6. While configuring a multi-lingual user interface, select the desired target language and enter
the Texts for the menu elements.
7. Select "File > Save" to save the configuration.
Select "File > Save As" to save the configuration under a new name.
662
Results
The following picture shows the menu structure with a configured menu "Clean":
663
Changing Configuration
1. Select the "File > Open" command to load a configuration file.
2. Change the menu elements.
3. Save the configuration.
3.9.4.3
Introduction
You can configure any number of tools for each configuration file. For each toolbar you can
define the placement position of the toolbar in the picture. Further, you can also define whether
the user should have the option of freely placing the toolbar.
Requirement
The toolbar structure is yet to be planned.
The Menus and Toolbars editor is opened.
The tab "Toolbars" is displayed.
Procedure
1. To add a new toolbar, select the "Edit > Add Toolbar" command.
2. Enter a Name and a Text for each toolbar.
3. Select an "Alignment" and the "Mode" and define the "Masking color", if required.
4. Define, if required, whether the toolbar is "visible or "active" during runtime and whether an
authorization is required for operation.
5. To add a new icon to the toolbar, select the "Edit > Add Toolbar element" command.
664
665
Results
The following picture shows a toolbar with three icons that are labeled with a text.
666
3.9.4.4
Introduction
For each project you can save a configuration file with configured menus and toolbars. The
customized menus and toolbars are displayed in each basic picture at the configured position.
You can use VBScript to load other configuration files at runtime. You can e.g. load different
configuration files depending on the selected picture or from users that are logged in.
Procedure
1. Click the Computer component in the navigation window of the WinCC Explorer.
WinCC displays the list of computers in the data window.
2. Select the computer and then click the Properties command in the pop-up menu.
The "Computer properties" dialog will open.
3. Click "Search" in the "Start configuration menu and toolbars" area of "Graphics Runtime"
tab.
4. Select the configuration file in the file selection dialog.
5. Click "OK" to close all dialogs.
Results
When you activate a project, all customized menus and toolbars will be displayed in the basic
picture of the project.
3.9.4.5
Introduction
Independent of the start configuration, you can load, in a picture window, an additional
configuration file with user-defined menus and toolbars.
667
Requirements
The picture is opened.
Picture window can be configured.
Procedure
1. Open the object properties of the configured picture window.
2. Select the "Others" property group.
3. Double-click the "Configuration of menu/toolbars" attribute and select the desired
configuration file in the file selection dialog.
Results
The customized menus and toolbars are displayed in the picture window during runtime.
3.9.4.6
Common features
The toolbars, menus and their elements have the following properties:
668
Properties
Function
Explanation
Name
Text
Active
Visible
Authorization
Function
Explanation
Alignment (only
toolbar)
Picture size
Masking Color
Function
Explanation
Separator
User Data
Script
Picture
Icons in the
Toolbar
Function
Paste Element
Add toolbar
Add icon
669
3.9.4.7
Icons in the
Toolbar
Function
Delete object
Moves Object Up
Reduce
Expand
Introduction
You can define the font and text size for the menus and toolbars for each language individually.
670
Requirements
The WinCC Explorer is open.
Procedure
1. Select item "Font settings" command from the "Menus and Toolbars" context menu.
The "Font settings" dialog opens.
671
6. Repeat steps 2 to 5 for all languages for which you want to define the font.
672
3.9.5
Virtual keyboard
3.9.5.1
Introduction
The virtual keyboard is a virtual keyboard on the screen of the operator device, which is
generally a Panel PC with a touchscreen, since these do not have a built-in keyboard. The
operator can click the keys shown on the screen to e.g. fill in an entry field.
The illustration shows a German virtual keyboard for entering alphanumeric values.
See also
How to configure the activation of the virtual keyboard (Page674)
How to operate the virtual keyboard (Page675)
673
3.9.5.2
Introduction
The behavior of the virtual keyboard can be configured as follows:
The virtual keyboard will be displayed automatically for an entry and then hidden once the
entry is finished.
The virtual keyboard can be displayed manually when the operator presses a key. The
virtual keyboard can only be hidden using a button in its title bar.
Procedure
1. In WinCC Explorer double-click "Computer" and then right click in the project window on
the right to open the pop-up menu with the properties of the computer.
2. On the "Runtime" tab, use the check box "Virtual keyboard".
Prerequisite
Start the Graphics Designer and open a picture.
Procedure
1. Configure a button by dragging the Windows "Button" object from the Object palette into
the picture. Label the button in the Configuration dialog with the appropriate text.
2. On the Dynamic Wizard's "System Functions" tab, double-click the "Start other applications"
function. The configured button must be selected in the picture while you perform the above
step.
3. In the Wizard select a trigger, e.g. a mouse action, which will be used to start the virtual
keyboard.
674
To select the application to start the virtual keyboard, click the button
dialog opens.
5. Select the path in which WinCC is installed. In this path open the "Common/PTTouchInput"
directory and then start the application "TouchInputPC.exe".
6. Exit from the Wizard and save the picture.
The operator can use this button to display the virtual keyboard permanently. To close it, the
operator must use the button in the virtual keyboard's title bar.
See also
How to operate the virtual keyboard (Page675)
Virtual keyboard - General Information (Page673)
3.9.5.3
Keyboard levels
The alphanumeric virtual keyboard has several levels:
the normal level
the shifted level for entering uppercase and special characters
the Alt Gr level for entering special characters
the function key level for accessing the function keys F1 to F12
Alphanumeric values can be entered character by character using the virtual keyboard's
buttons. Click on the Enter key to confirm the value entered; with "ESC", you can cancel your
entry. In both cases, the virtual keyboard will be closed.
675
Numeric values can be entered character by character using the virtual keyboard's buttons.
Click on the Enter key to confirm the value entered; with "ESC", you can cancel your entry. In
both cases, the virtual keyboard will be closed.
See also
Virtual keyboard - General Information (Page673)
676
3.9.6
3.9.6.1
Introduction
Objects such as buttons or I/O fields must be operated in Runtime to influence the process.
To ensure convenient operation and that all necessary entries are made, you can configure
the operation via the keyboard. In this case, the process of entering the data is simplified, since
the cursor will jump from one object to the next as the operator makes the required entries.
Operable objects
The objects must be enabled for operation and the operator must be granted the required
permission. Set the Operator-Control Enable and the Authorization for each object. Click on
the object and select the object properties on the "Properties" tab. In the "Miscellaneous"
property group, you can set the Operator-Control Enable and the Authorization.
Mouseless operation
There are two types of mouseless operation.
"Alpha cursor"
The user jumps only to those objects in Runtime, into which values can be entered. These
objects are the I/O Field and the TextList.
"Tab Order"
Depending on the setting, the user jumps only to those objects, into which values can be
entered.
The cursor mode can be changed in Runtime, but must be specified before starting Runtime.
The cursor mode is set in the picture's object properties. To accomplish this, click a free area
in the picture and select the "Properties" tab in the object settings. The value of "Cursor Mode"
attribute in the "Miscellaneous" property group can be set to either "Alpha Cursor" or "Tab
Order cursor".
677
See also
Defining the Alpha cursor's tab sequence (Page678)
Setting the tab order cursor's tab sequence (Page679)
Tips on Changing the Tab Sequence (Page681)
Removing Objects from the Tab Sequence (Page682)
Putting Objects Back into the Tab Sequence (Page683)
How to define hotkeys for operation and screen navigation (Page119)
How to Assign Hotkeys in the Project (Page110)
How to configure the cursor control in Runtime (Page124)
How to set up Runtime (Page112)
Virtual keyboard - General Information (Page673)
Testing Process Pictures in Runtime (Page656)
3.9.6.2
Introduction
The <TAB> key can be used in Runtime to move from one object to another to make entries.
In Runtime, the alpha cursor will only access two object types - I/O field and text list. The order
in which the cursor will move from one object to another in Runtime is set with the TAB
Sequence. When the alpha cursor is selected in Runtime, you can move through the process
picture with the key, the mouse or previously defined hotkeys.
You can display and, if necessary, change the tab sequence. Individual objects can be
removed from or restored to the tab sequence.
678
Procedure
1. In the "Edit" menu, "TAB Sequence", "Alpha Cursor" select "Order". All objects of the types
I/O field and text list are given a number in a square (classic design) or a circle (other
designs) in the upper left corner. This number was assigned automatically when the object
was created.
Note: If the "Order" entry is not active, the picture contains no I/O field or text list objects.
2. Beginning with the first one, click all of the objects in the desired tab sequence. The numbers
will be changed accordingly.
If you want to cancel the assignment of the tab sequence and begin again, press the
<SHIFT> key and click the object which should be assigned the number 1. Then release
the <SHIFT> key and click all of the objects in the desired sequence.
3. To conclude the entry, click the work surface.
See also
Setting the tab order cursor's tab sequence (Page679)
Tips on Changing the Tab Sequence (Page681)
Removing Objects from the Tab Sequence (Page682)
Putting Objects Back into the Tab Sequence (Page683)
How to set up a picture for mouseless operation (Page677)
3.9.6.3
Introduction
The <TAB> key can be used in Runtime to move from one object to another to make entries.
Every object can be accessed in Runtime with the tab order cursor. The order in which the
cursor will move from one object to another in Runtime is set with the TAB Sequence. When
the tab order cursor is selected in Runtime, you can move through the process picture with
the key, the mouse or previously defined hotkeys.
679
Once you have confirmed your selection(s) by clicking on "OK", all of the objects will be
displayed with a tab sequence number in accordance with your settings.
Example: With the settings in the picture, the cursor will first move to the I/O Field (number 1),
then to the TextList (number 2) and then to the bar (number 3) etc. in Runtime.
680
See also
Defining the Alpha cursor's tab sequence (Page678)
Tips on Changing the Tab Sequence (Page681)
Removing Objects from the Tab Sequence (Page682)
Putting Objects Back into the Tab Sequence (Page683)
How to set up a picture for mouseless operation (Page677)
3.9.6.4
Introduction
Graphics Designer supports a number of options for avoiding the necessity of resorting all of
the objects if the tab sequence is changed.
681
See also
How to set up a picture for mouseless operation (Page677)
Setting the tab order cursor's tab sequence (Page679)
Defining the Alpha cursor's tab sequence (Page678)
3.9.6.5
Introduction
The <TAB> key can be used in Runtime to move from one object to another to make entries.
If you do not want the cursor to jump to an object, remove it from the tab sequence.
Example: A complex process picture contains many objects for which the operator could make
entries. Normally, however, entries need only be made for a few objects. In this case, simply
put these objects in the tab sequence. If necessary, the operator can click the other objects to
activate them and make his entries.
Procedure
1. In the "Edit" menu, "TAB Sequence" select one of the two types of cursor and then the entry
"Order".
Based on the settings, the objects are given a number in a square (classic design) or a
circle (other designs) in the upper left corner. This number was assigned automatically
when the object was created.
2. Hold the keys <SHIFT+CTRL> pressed and click the object, which should be removed from
the tab sequence. The number of the object will be replaced by an asterisk. The objects
with higher numbers will be automatically renumbered.
3. To conclude the entry, click the work surface.
682
See also
How to set up a picture for mouseless operation (Page677)
Tips on Changing the Tab Sequence (Page681)
Setting the tab order cursor's tab sequence (Page679)
Defining the Alpha cursor's tab sequence (Page678)
3.9.6.6
Introduction
The <TAB> key can be used in Runtime to move from one object to another to make entries.
If you have removed an object from the tab sequence, you can put it back into the sequence.
Procedure
1. In the "Edit" menu, "TAB Sequence" select one of the two types of cursor and then the entry
"Order".
Based on the settings, the objects are given a number in a square (classic design) or a
circle (other designs) in the upper left corner. This number was assigned automatically
when the object was created. Objects, which have an asterisk instead of a number, have
been removed from the tab sequence and can be put back into it.
2. Hold the keys <SHIFT+CTRL> pressed and click the object, which should be put back into
the tab sequence. The asterisk in the rectangle or circle will be replaced by a
number.
If you now want to redefine the tab sequence, hold the <SHIFT> key pressed and click the
object to which the cursor should first jump. Then release the <SHIFT> key and click all of
the objects in the desired sequence.
3. To conclude the entry, click the work surface.
683
See also
How to set up a picture for mouseless operation (Page677)
Removing Objects from the Tab Sequence (Page682)
Tips on Changing the Tab Sequence (Page681)
Setting the tab order cursor's tab sequence (Page679)
Defining the Alpha cursor's tab sequence (Page678)
3.10
Object properties
3.10
Resources
3.10.1
3.10.1.1
The spacing between the large tick marks is set automatically according to the setting
of the "Bar Scaling" attribute.
The "Axis Section" attribute can be made dynamic with the name "AxisSection".
3.10.1.2
Alignment
The "Alignment" attribute defines the arrangement of the scale relative to the bar for the "Bar"
object. Depending on the setting for the "Bar Direction" attribute in the "Geometry" property
group, the scale can be displayed to the left or right or above or below the bar.
684
The "Alignment" attribute can be made dynamic with the name "Alignment".
3.10.1.3
Logarithmic
Negative
logarithmic
Automatic (linear)
Tangent
Square
Cubic
The large tick marks are evenly distributed across the scale.
The spacing between the large tick marks corresponds to the value of
the "Axis Section" attribute.
The distribution of the large tick marks on the scale follows a logarithmic
function.
The representation of low values is strongly emphasized.
The distribution of the large tick marks on the scale follows a negative
logarithmic function.
The representation of high values is strongly emphasized.
The large tick marks are evenly distributed across the scale.
The spacing between the large tick marks is set automatically.
The distribution of the large tick marks on the scale emphasizes the
representation of the low and high values.
The distribution of the large tick marks on the scale follows a square
function.
The representation of high values is emphasized.
The distribution of the large tick marks on the scale follows a cubic
function. The representation of high values is emphasized.
The "Bar Scaling" attribute can be made dynamic with the name "ScalingType".
3.10.1.4
685
3.10.1.5
The "Exponent display" attribute can be made dynamic with the name "Exponent".
3.10.1.6
The "Large Tick Marks" attribute can be made dynamic with the name "LongStrokesBold".
3.10.1.7
3.10.1.8
The "Decimal Places" attribute can be made dynamic with the name "RightComma".
3.10.1.9
686
In the scale of the bar, only large tick marks are displayed.
In the scale of the bar, the sections between the large tick marks are divided by
shorter tick marks.
The "Only Large Tick Marks" attribute can be made dynamic with the name "LongStrokesOnly".
The "Scale" attribute can be made dynamic with the name "Scaling".
The "Scale Marks" attribute can be made dynamic with the name "ScaleTicks".
687
3.10.2
3.10.2.1
3.10.2.2
3.10.2.3
3.10.2.4
The "Bit Number" attribute can be made dynamic with the name "BitNumber".
688
3.10.2.5
3.10.2.6
Input value
The "Input value" attribute defines the value to be entered in the I/O field by the user.
You can configure the I/O field with this attribute so that the input value changed by the user
is also displayed in the I/O field after confirming with the <Return> key.
This requires that you configure a direct connection between the attributes "Input value" and
"Output value". Without this direct connection, the entered value is deleted after acceptance
with the <Return> key. The direct connection is only practical when no tag is connected to the
output value, but the user can nevertheless query the specified value, for example, through a
script.
The "Input value" attribute can be made dynamic with the name "InputValue".
3.10.2.7
The "Field Type" attribute can be made dynamic with the name "BoxType".
3.10.2.8
689
3.10.2.9
The "Clear on Invalid Input" attribute can be made dynamic with the name "ClearOnError".
The field contents are deleted automatically when the field is selected.
The field contents not are deleted automatically when the field is selected.
The "Clear on New Input" attribute can be made dynamic with the name "ClearOnNew".
690
The field contents are accepted automatically when the field is selected.
The input value is only accepted when the input is confirmed by the ENTER (return)
key.
The "Apply on Exit" attribute can be made dynamic with the name "AssumeOnExit".
The "Apply on Complete Input" attribute can be made dynamic with the name "AssumeOnFull".
Each entered character is replaced in the display with the "*" character. The value
entered and the data format of the value cannot be recognized.
Each entered character is displayed as normal.
The "Hidden Input" attribute can be made dynamic with the name "HiddenInput".
List Type
Binary
List Type
Bit
Display texts are assigned for certain value ranges. The following criteria can
be used to define the value range:
"Single Value" - A display text is assigned to a single value.
"From Value" - A display text applies to all values greater than or equal to that
specified here.
"To Value" - A display text applies to all values lesser than or equal to that
specified here.
"From To Value" - A display text applies to all values of the value range specified
here.
Display texts are assigned for each bit number. Up to 32 display texts can be
defined. If a bit set in the output value is not assigned a display text, three
asterisks appear in the drop-down list.
One display text can be assigned for each of the statuses "1 - bit set" and "0 bit not set" of the bit relevant in the output value.
691
Note
When you assign a text to a value in the text list, this text may not contain a semicolon";".
The semicolon is a WinCC control character and will be automatically deleted in a text.
The "Assignments" attribute cannot be made dynamic.
3.10.3
3.10.3.1
Picture (PictureName)
The "Picture" attribute specifies which picture is displayed in a graphic object. Pictures with
the following formats can be inserted: BMP, DIB, ICO, CUR, EMF, WMF, GIF and JPG.
If no picture that you want to display is defined for a graphic object, the symbol for the graphic
object is shown as a placeholder.
The graphic object should be the same size as the selected picture; otherwise, its display is
distorted.
In order to cancel an existing assignment, the "Cancel Selection" button must be clicked in
the "Picture Selection" dialog.
The "Picture" attribute can be made dynamic with the name "PictureName".
3.10.3.2
3.10.3.3
692
3.10.3.4
The "Picture Transparent Color On" attribute can be assigned dynamic properties by means
of the name "PicUseTransColor".
3.10.4
3.10.4.1
3.10.4.2
3.10.4.3
693
3.10.4.4
3.10.4.5
3.10.4.6
The "Picture Deact. Transparent Color On" attribute can be assigned dynamic properties by
means of the name "PicDeactUseTransColor".
3.10.4.7
694
3.10.4.8
3.10.4.9
The "Picture On Transparent Color On" attribute can be assigned dynamic properties by means
of the name "PicDownUseTransColor".
695
The attribute "Picture alignment" can be made dynamic with the name "BackPictureAlignment".
3.10.5
3.10.5.1
Flashing (EnableFlashing)
The "Flashing" attribute shows whether the value for status "OK" and "Simulation" appears
flashing or not in the extended analog display in Runtime.
So that the flashing is visible in Runtime, the font flashing color must be different to the
background flashing color.
Yes
No
The "Flashing" attribute can be made dynamic with the name "EnableFlashing".
3.10.5.2
696
The "Flashing Background Active" attribute can be made dynamic with the name
"FlashBackColor".
3.10.5.3
The "Flashing Line Active" attribute can be made dynamic with the name "FlashBorderColor".
3.10.5.4
The "Flashing Border Active" attribute can be made dynamic with the name
"FlashBorderColor".
3.10.5.5
697
3.10.5.6
The "Flash Frequency" attribute can be made dynamic with the name "FlashRate".
3.10.5.7
The "Background Flash Frequency" attribute can be made dynamic with the name
"FlashRateBackColor".
3.10.5.8
698
3.10.5.9
The "Border Flash Frequency" attribute can be made dynamic with the name
"FlashRateBorderColor".
The "Text Flash Frequency" attribute can be made dynamic with the name
"FlashRateForeColor".
699
700
701
3.10.6
3.10.6.1
The "Display Options" attribute can be made dynamic with the name "DisplayOptions".
3.10.6.2
Global Shadow
The "Global shadow" attribute defines whether the object will be displayed with the shadowing
defined in the active design.
yes
no
The attribute "Global shadow" can be made dynamic with the name "GlobalShadow".
3.10.6.3
Uses the colors from the global color scheme defined for this type of object.
Uses the colors from the color scheme defined for this type of object under
"Colors".
The attribute "Global color scheme" can be made dynamic with the name
"GlobalColorScheme".
3.10.6.4
Object Transparency
The "Transparency" attribute defines the percentage to which the object will become
transparent.
0 - 100
(integer)
The text and fields of the graphic objects are only transparent at "100."
In runtime, a completely transparent object (invisible) is also functional.
The attribute "Transparency" can be made dynamic with the name "Transparency".
702
3.10.6.5
Shows the object using the Windows style from WinCC version 6.2.
Shows the object not using the Windows style from WinCC version 6.2.
The "[V6.2] Windows style" attribute can be made dynamic with the name "WindowsStyle".
3.10.6.6
WinCC style
The attribute "WinCC Style" defines the style in which the object will be displayed.
User-defined
Global
Windows Style
The attribute "WinCC Style" can be made dynamic with the name "WinCCStyle".
3.10.7
3.10.7.1
Colors - 3D to H
703
704
705
706
3.10.7.2
Colors - I to R
707
Grid Color
The "Grid Color" attribute defines the color used to display the grid in the workspace of the
current picture.
The grid is a utility of the Graphics Designer which makes it easier to position objects in a
process picture precisely. The grid lines of the grid are symbolized by display of the intersection
points.
Either permanently define the color in the "Color selection" dialog or select an indexed color
from the central color palette if a central color palette is defined.
The "Grid Color" attribute cannot be made dynamic.
708
3.10.7.3
Colors - S to Z
709
710
3.10.8
3.10.8.1
The "Dynamic Filling" attribute can be made dynamic with the name "Filling".
3.10.8.2
The "Fill Level" attribute can be made dynamic with the name "FillingIndex".
711
3.10.9
3.10.9.1
Geometry - A to B
Alpha (AngleAlpha)
The "Alpha" attribute specifies the depth angle Alpha for the 3D display of the right side of a
3D bar. The values are specified in degrees.
0 - 90
There is a free choice of value for the depth angle Alpha within the specified
limits.
The "Alpha" attribute can be made dynamic with the name "AngleAlpha".
712
The "Number of Boxes" attribute can be made dynamic with the name "BoxCount".
Number of rows
The "Number of rows" attribute defines the number of text lines for a combination field and a
list field. You can define a maximum of 100,000 lines.
At the same time, the value of the "Number of rows" attribute specifies the upper limit value
for the "Index" attribute in the "Font" property group. Changing the value can have the following
effects:
Increasing the number: New lines are added at the bottom. The standard labeling of the
new filed can be changed using the "Text" attribute in the "Font" property group.
Reducing the number: All lines are removed for which the value of the "Index" attribute is
higher than the new number.
1 - 100 000
713
Alignment (Direction)
The "Alignment" attribute defines for the "Slider" object whether the movement of the slider is
in a horizontal or vertical direction.
Horizontal
Vertical
The "Alignment" attribute can be made dynamic with the name "Direction".
The "Bar Width" attribute can be made dynamic with the name "BarWidth".
The "Bar Height" attribute can be made dynamic with the name "BarHeight".
The "Bar Direction" attribute can be made dynamic with the name "Direction".
714
The highest display value of the 3D bar points towards the positive coordinate
axis.
The highest display value of the 3D bar points towards the negative
coordinate axis.
The "Bar Direction" attribute can be made dynamic with the name "Direction".
The "Bar Depth" attribute can be made dynamic with the name "BarDepth".
Base X (BaseX)
The "Base X" attribute defines for the 3D bar the distance between the left object border and
the right limitation line of the front bar area. The values are specified in pixels.
There is a free choice of value. A meaningful limit results from the object size.
The "Base X" attribute can be made dynamic with the name "BaseX".
Base Y (BaseY)
The "Base Y" attribute defines for the 3D bar the distance between the top object border and
the bottom limitation line of the front bar area. The values are specified in pixels.
There is a free choice of value. A meaningful limit results from the object size.
The "Base Y" attribute can be made dynamic with the name "BaseY".
Beta (AngleBeta)
The "Beta" attribute specifies the depth angle Beta for the 3D display of the left side of a 3D
bar. The values are specified in degrees.
0 - 90
There is a free choice of value for the depth angle Beta within the specified
limits.
The "Start Angle" attribute can be made dynamic with the name "AngleBeta".
715
The value can be chosen freely within the specified limits. A meaningful
limit results from the screen resolution.
The "Picture Width" attribute can be made dynamic with the name "Width".
The value can be chosen freely within the specified limits. A meaningful
limit results from the screen resolution.
The "Picture Height" attribute can be made dynamic with the name "Height".
Width (Width)
The "Width" attribute defines the horizontal distance between the left and right limitation line
of an object. The values are specified in pixels.
In the case of the objects "Group Display", "Button" and "Round Button", changing the object
size can make it necessary to adapt the "3D Border Width" attribute in the "Styles" property
group.
0 - 10000
The "Width" attribute can be made dynamic with the name "Width".
With the object "Connector", the attribute "Width" cannot be made dynamic.
716
717
3.10.9.2
Geometry - C to Z
The "Display Axis" attribute can be made dynamic with the name "Axe".
718
The "Corner Radius X" attribute can be made dynamic with the name "RoundCornerHeight".
The "Corner Radius Y" attribute can be made dynamic with the name "RoundCornerWidth".
719
The "Window Width" attribute can be made dynamic with the name "Width".
The "Window Height" attribute can be made dynamic with the name "Height".
No
All buttons that have the "Button ... Width" attribute defined as unequal to "0" will
be set to the same size within the overall width of the "Group Display" object.
Changing the overall width of the object changes the width of the all buttons that
have a width unequal to 0.
The width of the buttons can be defined individually using the "Button ... Width"
attributes.
The "Same Size" attribute can be made dynamic with the name "SameSize".
Height (Height)
The "Height" attribute defines the vertical distance between the top and bottom limitation line
of an object. The values are specified in pixels.
In the case of the objects "Group Display", "Button" and "Round Button", changing the object
size can make it necessary to adapt the "3D Border Width" attribute in the "Styles" property
group.
0 - 10000
The "Height" attribute can be made dynamic with the name "Height".
With the object "Connector", the attribute "Height"
Index (Index)
The "Index" attribute indicates the item number of the currently selected corner. Changing the
value specified here enables targeted selection of a corner.
720
The "Index" attribute can be made dynamic with the name "Index".
Position X (Left)
The "Position X" attribute defines the horizontal distance of the object origin from the left picture
border. The values are specified in pixels.
There is a free choice of value. A meaningful limit results from the picture size.
The "Position X" attribute can be made dynamic with the name "Left".
With the object "Connector", the value can only be changed with unlinked ends.
Position Y (Top)
The "Position Y" attribute defines the vertical distance of the object origin from the top picture
border. The values are specified in pixels.
There is a free choice of value. A meaningful limit results from the picture size.
The "Position Y" attribute can be made dynamic with the name "Top".
With the object "Connector", the value can only be changed with unlinked ends.
Radius (Radius)
The "Radius" attribute defines the radius of circular objects. The values are specified in pixels.
0 - 5000
The "Radius" attribute can be made dynamic with the name "Radius".
Radius X (RadiusWidth)
The "Radius X" attribute defines the horizontal radius of elliptical objects. The values are
specified in pixels.
0 - 5000
The "Radius X" attribute can be made dynamic with the name "RadiusWidth".
721
Radius Y (RadiusHeight)
The "Radius Y" attribute defines the vertical radius of elliptical objects. The values are specified
in pixels.
0 - 5000
The "Radius Y" attribute can be made dynamic with the name "RadiusHeight".
Grid On
The "Grid On" attribute specifies whether a grid is shown in the workspace of the current picture.
The grid is a utility of the Graphics Designer which makes it easier to position objects in a
process picture precisely. The grid lines of the grid are symbolized by display of the intersection
points.
If the additional option "Snap to Grid" is enabled, all objects are automatically aligned
Grid Height
The "Grid Height" attribute is used to specify the vertical distance for the grid lines of the grid.
The value is specified in pixels.
The grid is a utility of the Graphics Designer which makes it easier to position objects in a
process picture precisely. The grid lines of the grid are symbolized by display of the intersection
points.
The minimum grid height that can be displayed on the screen is 10 pixels. A low value can be
specified, but only the intersection points with a spacing of at least 10 pixels are displayed on
the screen.
With a grid height of 4 pixels, only each third intersection is displayed. The objects can however
also be aligned to the two grid lines between them.
Grid Width
The "Grid Width" attribute is used to specify the horizontal distance for the grid lines of the The
value is specified in pixels.
The grid is a utility of the Graphics Designer which makes it easier to position objects in a
process picture precisely. The grid lines of the grid are symbolized by display of the intersection
points.
The minimum grid width that can be displayed on the screen is 10 pixels. A low value can be
specified, but only the intersection points with a spacing of at least 10 pixels are displayed on
the screen.
With a grid width of 4 pixels, only each third intersection is displayed. The objects can however
also be aligned to the two grid lines between them.
722
The reference point lies to the left of the object origin (distance = one object
width).
The vertical coordinates of the reference point and object origin are the same.
The reference point lies on the vertical center axis of the object.
The reference point lies to the right of the object origin (distance = one object
width).
The reference point lies to the right of the object origin (distance = two object
widths).
The "Rotation Reference X" attribute can be made dynamic with the name
"ReferenceRotationLeft".
The reference point lies above the object origin (distance = one object width).
The horizontal coordinates of the reference point and object origin are the
same.
The reference point lies on the horizontal center axis of the object.
The reference point lies below the object origin (distance = one object width).
The reference point lies below the object origin (distance = two object widths).
The "Rotation Reference Y" attribute can be made dynamic with the name
"ReferenceRotationTop".
723
The "Rotation Angle" attribute can be made dynamic with the name "RotationAngle".
The standard position of the T-piece is the shape of the letter "T"
The "leg" of the "T" points towards the left
The "leg" of the "T" points upwards
The "leg" of the "T" points to the right
The "Rotation Angle" attribute can be made dynamic with the name "RotationAngle".
724
3.10.10
3.10.10.1 Limits - A
Type AH (TypeAlarmHigh)
The "Type AH" attribute specifies for the "Bar" object whether the value of the Limit AH is
displayed as an absolute value or as a percentage value, starting from the zero point of the
bar display.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
The color change can only be displayed for a limit X if the "Monitoring X" attribute has the value
"Yes". If the "Limit Marker" attribute has the value "Display", the configured and monitored
limits are indicated by marking arrows. These limit markers receive the bar color of the
corresponding limit and are shown on the side of the bar opposite the scale.
Absolute
%
The "Type AH" attribute can be made dynamic with the name "TypeAlarmHigh".
Type AL (TypeAlarmLow)
The "Type AL" attribute specifies for the "Bar" object whether the value of the Alarm Low Limit
AL is displayed as an absolute value or as a percentage value, starting from the zero point of
the bar display.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
725
The "Type AL" attribute can be made dynamic with the name "TypeAlarmLow".
The "Type RH4" attribute can be made dynamic with the name "TypeLimitHigh4".
726
The "Type RH5" attribute can be made dynamic with the name "TypeLimitHigh5".
The "Type RL4" attribute can be made dynamic with the name "TypeLimitLow4".
727
The "Type RL5" attribute can be made dynamic with the name "TypeLimitLow5".
Type TH (TypeToleranceHigh)
The "Type TH" attribute specifies for the "Bar" object whether the value of the Limit TH is
displayed as an absolute value or as a percentage value, starting from the zero point of the
bar display.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
The color change can only be displayed for a limit X if the "Monitoring X" attribute has the value
"Yes". If the "Limit Marker" attribute has the value "Display", the configured and monitored
limits are indicated by marking arrows. These limit markers receive the bar color of the
corresponding limit and are displayed on the side of the bar opposite the scale.
728
The "Type TH" attribute can be made dynamic with the name "TypeToleranceHigh".
Type TL (TypeToleranceLow)
The "Type TL" attribute specifies for the "Bar" object whether the value of the Limit TL is
displayed as an absolute value or as a percentage value, starting from the zero point of the
bar display.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
The color change can only be displayed for a limit X if the "Monitoring X" attribute has the value
"Yes". If the "Limit Marker" attribute has the value "Display", the configured and monitored
limits are indicated by marking arrows. These limit markers receive the bar color of the
corresponding limit and are displayed on the side of the bar opposite the scale.
Absolute
%
The "Type TL" attribute can be made dynamic with the name "TypeToleranceLow".
Type WH (TypeWarningHigh)
The "Type WH" attribute specifies for the "Bar" object whether the value of the Limit WH is
displayed as an absolute value or as a percentage value, starting from the zero point of the
bar display.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
729
The "Type WH" attribute can be made dynamic with the name "TypeWarningHigh".
Type WL (TypeWarningLow)
The "Type WL" attribute specifies for the "Bar" object whether the value of the Limit WL is
displayed as an absolute value or as a percentage value, starting from the zero point of the
bar display.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
The color change can only be displayed for a limit X if the "Monitoring X" attribute has the value
"Yes". If the "Limit Marker" attribute has the value "Display", the configured and monitored
limits are indicated by marking arrows. These limit markers receive the bar color of the
corresponding limit and are displayed on the side of the bar opposite the scale.
Absolute
%
The "Type WL" attribute can be made dynamic with the name "TypeWarningLow".
730
731
732
733
734
735
736
737
Layer01FillColor
The "Layer01FillColor" attribute defines the color with which the bar is filled in relation to "Limit
1".
738
Layer02FillColor
The "Layer02FillColor" attribute defines the color with which the bar is filled in relation to "Limit
2".
The "Layer02FillColor" attribute can be made dynamic with the name "Layer02FillColor".
Layer03FillColor
The "Layer03FillColor" attribute defines the color with which the bar is filled in relation to "Limit
3".
The "Layer03FillColor" attribute can be made dynamic with the name "Layer03FillColor".
Layer04FillColor
The "Layer04FillColor" attribute defines the color with which the bar is filled in relation to "Limit
4".
The "Layer04FillColor" attribute can be made dynamic with the name "Layer04FillColor".
Layer05FillColor
The "Layer05FillColor" attribute defines the color with which the bar is filled in relation to "Limit
5".
The "Layer05FillColor" attribute can be made dynamic with the name "Layer05FillColor".
Layer06FillColor
The "Layer06FillColor" attribute defines the color with which the bar is filled in relation to "Limit
6".
The "Layer06FillColor" attribute can be made dynamic with the name "Layer06FillColor".
Layer07FillColor
The "Layer07FillColor" attribute defines the color with which the bar is filled in relation to "Limit
7".
The "Layer07FillColor" attribute can be made dynamic with the name "Layer07FillColor".
Layer08FillColor
The "Layer08FillColor" attribute defines the color with which the bar is filled in relation to "Limit
8".
The "Layer08FillColor" attribute can be made dynamic with the name "Layer08FillColor".
739
Layer09FillColor
The "Layer09FillColor" attribute defines the color with which the bar is filled in relation to "Limit
9".
The "Layer09FillColor" attribute can be made dynamic with the name "Layer09FillColor".
Layer10FillColor
The "Layer10FillColor" attribute defines the color with which the bar is filled in relation to "Limit
10".
The "Layer10FillColor" attribute can be made dynamic with the name "Layer10FillColor".
Layer01FillStyle
The "Layer01FillStyle" attribute defines the style of the bar in relation to "Limit 1". For the fill
pattern to become visible, "bar fill color 1" must differ from "bar color 1".
There is a choice of 50 fill styles. The 0 "Solid" fill style fills the object with the set background
color. The 1 "Transparent" fill style means neither a background nor a fill pattern is displayed.
The "Layer01FillStyle" attribute can be made dynamic with the name "Layer01FillStyle".
Layer02FillStyle
The "Layer02FillStyle" attribute defines the style of the bar in relation to "Limit 2". For the fill
pattern to become visible, "bar fill color 2" must differ from "bar color 2".
There is a choice of 50 fill styles. The 0 "Solid" fill style fills the object with the set background
color. The 1 "Transparent" fill style means neither a background nor a fill pattern is displayed.
The "Layer02FillStyle" attribute can be made dynamic with the name "Layer02FillStyle".
Layer03FillStyle
The "Layer03FillStyle" attribute defines the style of the bar in relation to "Limit 3". For the fill
pattern to become visible, "bar fill color 3" must differ from "bar color 3".
There is a choice of 50 fill styles. The 0 "Solid" fill style fills the object with the set background
color. The 1 "Transparent" fill style means neither a background nor a fill pattern is displayed.
740
Layer04FillStyle
The "Layer04FillStyle" attribute defines the style of the bar in relation to "Limit 4". For the fill
pattern to become visible, "bar fill color 4" must differ from "bar color 4".
There is a choice of 50 fill styles. The 0 "Solid" fill style fills the object with the set background
color. The 1 "Transparent" fill style means neither a background nor a fill pattern is displayed.
The "Layer04FillStyle" attribute can be made dynamic with the name "Layer04FillStyle".
Layer05FillStyle
The "Layer05FillStyle" attribute defines the style of the bar in relation to "Limit 5". For the fill
pattern to become visible, "bar fill color 5" must differ from "bar color 5".
There is a choice of 50 fill styles. The 0 "Solid" fill style fills the object with the set background
color. The 1 "Transparent" fill style means neither a background nor a fill pattern is displayed.
The "Layer05FillStyle" attribute can be made dynamic with the name "Layer05FillStyle".
Layer06FillStyle
The "Layer06FillStyle" attribute defines the style of the bar in relation to "Limit 6". For the fill
pattern to become visible, "bar fill color 6" must differ from "bar color 6".
There is a choice of 50 fill styles. The 0 "Solid" fill style fills the object with the set background
color. The 1 "Transparent" fill style means neither a background nor a fill pattern is displayed.
The "Layer06FillStyle" attribute can be made dynamic with the name "Layer06FillStyle".
Layer07FillStyle
The "Layer07FillStyle" attribute defines the style of the bar in relation to "Limit 7". For the fill
pattern to become visible, "bar fill color 7" must differ from "bar color 7".
There is a choice of 50 fill styles. The 0 "Solid" fill style fills the object with the set background
color. The 1 "Transparent" fill style means neither a background nor a fill pattern is displayed.
The "Layer07FillStyle" attribute can be made dynamic with the name "Layer07FillStyle".
Layer08FillStyle
The "Layer08FillStyle" attribute defines the style of the bar in relation to "Limit 8". For the fill
pattern to become visible, "bar fill color 8" must differ from "bar color 8".
There is a choice of 50 fill styles. The 0 "Solid" fill style fills the object with the set background
color. The 1 "Transparent" fill style means neither a background nor a fill pattern is displayed.
The "Layer08FillStyle" attribute can be made dynamic with the name "Layer08FillStyle".
741
Layer09FillStyle
The "Layer09FillStyle" attribute defines the style of the bar in relation to "Limit 9". For the fill
pattern to become visible, "bar fill color 9" must differ from "bar color 9".
There is a choice of 50 fill styles. The 0 "Solid" fill style fills the object with the set background
color. The 1 "Transparent" fill style means neither a background nor a fill pattern is displayed.
The "Layer09FillStyle" attribute can be made dynamic with the name "Layer09FillStyle".
Layer10FillStyle
The "Layer10FillStyle" attribute defines the style of the bar in relation to "Limit 10". For the fill
pattern to become visible, "bar fill color 10" must differ from "bar color 10".
There is a choice of 50 fill styles. The 0 "Solid" fill style fills the object with the set background
color. The 1 "Transparent" fill style means neither a background nor a fill pattern is displayed.
The "Layer10FillStyle" attribute can be made dynamic with the name "Layer10FillStyle".
3.10.10.5 Limits - C to T
Limit 0 (Layer00Value)
The "Limit 0" attribute defines for the "3D bar" object the limit value up to which a display value
is displayed with Bar Color 0.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
There is a free choice of value. A meaningful limit results from the value range that is to be
displayed with the object "3D bar".
The "Limit 0" attribute can be made dynamic with the name "Layer00Value".
Limit 1 (Layer01Value)
The "Limit 1" attribute defines for the "3D bar" object the limit value up to which a display value
is displayed with Bar Color 1.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
742
Limit 2 (Layer02Value)
The "Limit 2" attribute defines for the "3D bar" object the limit value up to which a display value
is displayed with Bar Color 2.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
There is a free choice of value. A meaningful limit results from the value range that is to be
displayed with the object "3D bar".
The "Limit 2" attribute can be made dynamic with the name "Layer02Value".
Limit 3 (Layer03Value)
The "Limit 3" attribute defines for the "3D bar" object the limit value up to which a display value
is displayed with Bar Color 3.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
There is a free choice of value. A meaningful limit results from the value range that is to be
displayed with the object "3D bar".
The "Limit 3" attribute can be made dynamic with the name "Layer03Value".
Limit 4 (Layer04Value)
The "Limit 4" attribute defines for the "3D bar" object the limit value up to which a display value
is displayed with Bar Color 4.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
743
Limit 5 (Layer05Value)
The "Limit 5" attribute defines for the "3D bar" object the limit value up to which a display value
is displayed with Bar Color 5.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
There is a free choice of value. A meaningful limit results from the value range that is to be
displayed with the object "3D bar".
The "Limit 5" attribute can be made dynamic with the name "Layer05Value".
Limit 6 (Layer06Value)
The "Limit 6" attribute defines for the "3D bar" object the limit value up to which a display value
is displayed with Bar Color 6.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
There is a free choice of value. A meaningful limit results from the value range that is to be
displayed with the object "3D bar".
The "Limit 6" attribute can be made dynamic with the name "Layer06Value".
Limit 7 (Layer07Value)
The "Limit 7" attribute defines for the "3D bar" object the limit value up to which a display value
is displayed with Bar Color 7.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
744
Limit 8 (Layer08Value)
The "Limit 8" attribute defines for the "3D bar" object the limit value up to which a display value
is displayed with Bar Color 8.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
There is a free choice of value. A meaningful limit results from the value range that is to be
displayed with the object "3D bar".
The "Limit 8" attribute can be made dynamic with the name "Layer08Value".
Limit 9 (Layer09Value)
The "Limit 9" attribute defines for the "3D bar" object the limit value up to which a display value
is displayed with Bar Color 9.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
There is a free choice of value. A meaningful limit results from the value range that is to be
displayed with the object "3D bar".
The "Limit 9" attribute can be made dynamic with the name "Layer09Value".
Limit 10 (Layer10Value)
The "Limit 10" attribute defines for the "3D bar" object the limit value up to which a display
value is displayed with Bar Color 10.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the bar color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
745
The "Limit Marker" attribute can be made dynamic with the name "Marker".
Limit AH (AlarmHigh)
The "Limit AH" attribute defines for the "Bar" object the upper limit value for the alarm limit
"Alarm High". If the display value exceeds the value specified here, it is displayed in the Bar
Color AH.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
746
747
Limit TH (ToleranceHigh)
The "Limit TH" attribute defines for the "Bar" object the upper limit value for the tolerance limit
"Tolerance High". If the display value exceeds the value specified here, it is displayed in the
Bar Color TH.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
The color change can only be displayed for a limit X if the "Monitoring X" attribute has the value
"Yes". If the "Limit Marker" attribute has the value "Display", the configured and monitored
limits are indicated by marking arrows. These limit markers receive the bar color of the
corresponding limit and are displayed on the side of the bar opposite the scale.
There is a free choice of value. A meaningful limit results from the value range that is to be
displayed with the object "Bar".
The "Limit TH" attribute can be made dynamic with the name "ToleranceHigh".
Limit WH (WarningHigh)
The "Limit WH" attribute defines for the "Bar" object the upper limit value for the warning limit
"Warning High". If the display value exceeds the value specified here, it is displayed in the Bar
Color WH.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
748
3.10.10.6 Limits - U to Z
Monitoring 0 (Layer00Checked)
For the "3D bar" object, the "Monitoring 0" attribute activates the monitoring of Limit 0.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the Bar Color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
Yes
No
Limit 0 is monitored. The display value is displayed with bar color 0 until Limit 0 is
exceeded.
Limit 0 is not monitored. A color change only takes place when the next monitored
limit is exceeded.
The "Monitoring 0" attribute can be made dynamic with the name "Layer00Checked".
Monitoring 1 (Layer01Checked)
For the "3D bar" object, the "Monitoring 1" attribute activates the monitoring of limit 1.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the Bar Color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
Yes
No
Limit 1 is monitored. The display value is displayed with bar color 1 until Limit 1 is
exceeded.
Limit 1 is not monitored. A color change only takes place when the next monitored
limit is exceeded.
The "Monitoring 1" attribute can be made dynamic with the name "Layer01Checked".
749
Monitoring 2 (Layer02Checked)
For the "3D bar" object, the "Monitoring 2" attribute activates the monitoring of limit 2.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the Bar Color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
Yes
No
Limit 2 is monitored. The display value is displayed with bar color 2 until Limit 2 is
exceeded.
Limit 2 is not monitored. A color change only takes place when the next monitored
limit is exceeded.
The "Monitoring 2" attribute can be made dynamic with the name "Layer02Checked".
Monitoring 3 (Layer03Checked)
For the "3D bar" object, the "Monitoring 3" attribute activates the monitoring of limit 3.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the Bar Color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
Yes
No
Limit 3 is monitored. The display value is displayed with bar color 3 until Limit 3 is
exceeded.
Limit 3 is not monitored. A color change only takes place when the next monitored
limit is exceeded.
The "Monitoring 3" attribute can be made dynamic with the name "Layer03Checked".
Monitoring 4 (Layer04Checked)
For the "3D bar" object, the "Monitoring 4" attribute activates the monitoring of limit 4.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the Bar Color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
750
Limit 4 is monitored. The display value is displayed with bar color 4 until Limit 4 is
exceeded.
Limit 4 is not monitored. A color change only takes place when the next monitored
limit is exceeded.
The "Monitoring 4" attribute can be made dynamic with the name "Layer04Checked".
Monitoring 5 (Layer05Checked)
For the "3D bar" object, the "Monitoring 5" attribute activates the monitoring of limit 5.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the Bar Color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
Yes
No
Limit 5 is monitored. The display value is displayed with bar color 5 until Limit 5 is
exceeded.
Limit 5 is not monitored. A color change only takes place when the next monitored
limit is exceeded.
The "Monitoring 5" attribute can be made dynamic with the name "Layer05Checked".
Monitoring 6 (Layer06Checked)
For the "3D bar" object, the "Monitoring 6" attribute activates the monitoring of limit 6.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the Bar Color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
Yes
No
Limit 6 is monitored. The display value is displayed with bar color 6 until Limit 6 is
exceeded.
Limit 6 is not monitored. A color change only takes place when the next monitored
limit is exceeded.
The "Monitoring 6" attribute can be made dynamic with the name "Layer06Checked".
Monitoring 7 (Layer07Checked)
For the "3D bar" object, the "Monitoring 7" attribute activates the monitoring of limit 7.
751
Limit 7 is monitored. The display value is displayed with bar color 7 until Limit 7 is
exceeded.
Limit 7 is not monitored. A color change only takes place when the next monitored
limit is exceeded.
The "Monitoring 7" attribute can be made dynamic with the name "Layer07Checked".
Monitoring 8 (Layer08Checked)
For the "3D bar" object, the "Monitoring 8" attribute activates the monitoring of limit 8.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the Bar Color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
Yes
No
Limit 8 is monitored. The display value is displayed with bar color 8 until Limit 8 is
exceeded.
Limit 8 is not monitored. A color change only takes place when the next monitored
limit is exceeded.
The "Monitoring 8" attribute can be made dynamic with the name "Layer08Checked".
Monitoring 9 (Layer09Checked)
For the "3D bar" object, the "Monitoring 9" attribute activates the monitoring of limit 9.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the Bar Color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
752
Limit 9 is monitored. The display value is displayed with bar color 9 until Limit 9 is
exceeded.
Limit 9 is not monitored. A color change only takes place when the next monitored
limit is exceeded.
The "Monitoring 9" attribute can be made dynamic with the name "Layer09Checked".
Monitoring 10 (Layer10Checked)
For the "3D bar" object, the "Monitoring 10" attribute activates the monitoring of limit 10.
For the "3D bar" object, up to 11 limit values can be defined using the attributes "Limit N" (N
= 0 to 10). For each limit value, the "Bar Color N" attributes can be used to specify a color
change. If the corresponding attribute "Monitoring N" has the value "Yes", the color setting is
activated.
A display value is displayed in the Bar Color N as long as it is lower than the value of the Limit
N. A black arrow at the ends of the bar display symbolizes display values that are lower than
Limit 0 or higher than Limit 10.
Yes
No
Limit 10 is monitored. The display value is displayed with bar color 10 until Limit
10 is exceeded.
Limit 10 is not monitored. There is no color change.
The "Monitoring 10" attribute can be made dynamic with the name "Layer10Checked".
Monitoring AH (CheckAlarmHigh)
The "Monitoring AH" attribute defines for the "Bar" object the monitoring of the alarm limit
"Alarm High".
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
The color change can only be displayed for a limit X if the "Monitoring X" attribute has the value
"Yes". If the "Limit Marker" attribute has the value "Display", the configured and monitored
limits are indicated by marking arrows. These limit markers receive the bar color of the
corresponding limit and are displayed on the side of the bar opposite the scale.
Yes
No
Limit AH is monitored. The display value is displayed with the bar color AH as soon
as it exceeds the Limit AH.
Limit AH is not monitored. No color change takes place.
753
Monitoring AL (CheckAlarmLow)
The "Monitoring AL" attribute defines for the "Bar" object the monitoring of the alarm limit "Alarm
Low".
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
The color change can only be displayed for a limit X if the "Monitoring X" attribute has the value
"Yes". If the "Limit Marker" attribute has the value "Display", the configured and monitored
limits are indicated by marking arrows. These limit markers receive the bar color of the
corresponding limit and are displayed on the side of the bar opposite the scale.
Yes
No
Limit AL is monitored. The display value is displayed with the bar color AL as soon
as it falls below the Alarm Low Limit AL.
Limit AL is not monitored. No color change takes place.
The "Monitoring AL" attribute can be made dynamic with the name "CheckAlarmLow".
754
Limit RH4 is monitored. The display value is displayed with the bar color RH4 as
soon as it exceeds the High Limit RH4.
Limit RH4 is not monitored. A color change only takes place when the next
monitored limit is exceeded.
The "Monitoring RH4" attribute can be made dynamic with the name "CheckLimitHigh4".
Limit RH5 is monitored. The display value is displayed with the bar color RH5 as
soon as it exceeds the High Limit RH5.
Limit RH5 is not monitored. A color change only takes place when the next
monitored limit is exceeded.
The "Monitoring RH5" attribute can be made dynamic with the name "CheckLimitHigh5".
755
Limit RL4 is monitored. The display value is displayed with the bar color RL4 as
soon as it falls below the Low Limit RL4.
The limit RL4 is not monitored. A color change only takes place when the value
falls below the next monitored limit.
The "Monitoring RL4" attribute can be made dynamic with the name "CheckLimitLow4".
Limit RL5 is monitored. The display value is displayed with the Bar Color RL5 as
soon as it falls below the Low Limit RL5.
Limit RL5 is not monitored. A color change only takes place when the value falls
below the next monitored limit.
The "Monitoring RL5" attribute can be made dynamic with the name "CheckLimitLow5".
Monitoring TH (CheckToleranceHigh)
The "Monitoring TH" attribute defines for the "Bar" object the monitoring of the tolerance limit
"Tolerance High".
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
756
Limit TH is monitored. The display value is displayed with the Bar Color TH as
soon as it exceeds the Limit TH.
Limit TH is not monitored. A color change only takes place when the next
monitored limit is exceeded.
The "Monitoring TH" attribute can be made dynamic with the name "CheckToleranceHigh".
Monitoring TL (CheckToleranceLow)
The "Monitoring TL" attribute defines for the "Bar" object the monitoring of the tolerance limit
"Tolerance Low".
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
The color change can only be displayed for a limit X if the "Monitoring X" attribute has the value
"Yes". If the "Limit Marker" attribute has the value "Display", the configured and monitored
limits are indicated by marking arrows. These limit markers receive the bar color of the
corresponding limit and are displayed on the side of the bar opposite the scale.
Yes
No
Limit TL is monitored. The display value is displayed with the Bar Color TL as soon
as it falls below the Limit TL.
Limit TL is not monitored. A color change only takes place when the value falls
below the next monitored limit.
The "Monitoring TL" attribute can be made dynamic with the name "CheckToleranceLow".
Monitoring WH (CheckWarningHigh)
The "Monitoring WH" attribute defines for the "Bar" object the monitoring of the warning limit
"Warning High".
757
Limit WH is monitored. The display value is displayed with the Bar Color WH as
soon as it exceeds the Limit WH.
Limit WH is not monitored. A color change only takes place when the next
monitored limit is exceeded.
The "Monitoring WH" attribute can be made dynamic with the name "CheckWarningHigh".
Monitoring WL (CheckWarningLow)
The "Monitoring WL" attribute defines for the "Bar" object the monitoring of the warning limit
"Warning Low".
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
The color change can only be displayed for a limit X if the "Monitoring X" attribute has the value
"Yes". If the "Limit Marker" attribute has the value "Display", the configured and monitored
limits are indicated by marking arrows. These limit markers receive the bar color of the
corresponding limit and are displayed on the side of the bar opposite the scale.
Yes
No
Limit WL is monitored. The display value is displayed with the Bar Color WL as
soon as it falls below the Limit WL.
Limit WL is not monitored. A color change only takes place when the value falls
below the next monitored limit.
The "Monitoring WL" attribute can be made dynamic with the name "CheckWarningLow".
758
759
Limit TL (ToleranceLow)
The "Limit TL" attribute defines for the "Bar" object the lower limit value for the tolerance limit
"Tolerance Low". If the display value falls below the value specified here, it is displayed in bar
color TL.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
760
Limit WL (WarningLow)
The "Limit WL" attribute defines for the "Bar" object the lower limit value for the warning limit
"Warning Low". If the display value falls below the value specified here, it is displayed in bar
color WL.
For the "Bar" object, up to 5 limits can be defined, each of which has an upper (High) and a
lower (Low) limit value. The limits are termed:
The "Upper Limit XH" and "Lower Limit XL" attributes specify the limit values for the
corresponding Limit X. The "Type X" attributes specify whether the specified limit values are
displayed as absolute values or as percentage values.
The "Bar Color XH" and "Bar Color XL" attributes can be used to assign a color to any Limit
X. The display value is shown in the corresponding color as soon as, starting from the zero
point of the bar display, it is higher than the corresponding Upper Limit XH or lower than the
Lower Limit XL. The "Change Color" attribute in the "Miscellaneous" property group specifies
whether this color change is to take place segment-wise or for the entire display.
The color change can only be displayed for a limit X if the "Monitoring X" attribute has the value
"Yes". If the "Limit Marker" attribute has the value "Display", the configured and monitored
limits are indicated by marking arrows. These limit markers receive the bar color of the
corresponding limit and are displayed on the side of the bar opposite the scale.
There is a free choice of value. A meaningful limit results from the value range that is to be
displayed with the object "Bar".
The "Limit WL" attribute can be made dynamic with the name "WarningLow".
761
3.10.11
3.10.11.1 BackPictureName
The "Picture" attribute defines the name of the file that is used as the background image in the
process picture. The file must exist in the \GraCS subdirectory. If you assign the attribute in
the properties dialog, you can select it from any directory. The selection creates a copy in the
\GraCS directory.
Files of format EMF, WMF, DB, BMP, GIF, JPG, JPEG and ICO are suitable.
The "Picture" attribute can be made dynamic with the name "BackPictureName".
Tiled
Stretched (picture)
The "Show as" attribute can be made dynamic with the name "BackPictureAlignment".
3.10.12
762
The "Went Out Unacknowledged - Background Flashing" attribute can be made dynamic using
the name "GNQBackFlash."
When a message goes out unacknowledged, the background of the button flashes.
When a message goes out unacknowledged, the background of the button does
not flash.
The "Went Out Unacknowledged - Background Flashing" attribute can be made dynamic using
the name "MCGUBackFlash".
763
When a message goes out unacknowledged, the text of the message flashes.
When a message goes out unacknowledged, the text of the message does not
flash.
The "Went Out Unacknowledged - Text Flashing" attribute can be made dynamic using the
name "GNQTextFlash."
When a message goes out unacknowledged, the text of the button flashes.
When a message goes out unacknowledged, the text of the button does not flash.
The "Went Out Unacknowledged - Text Flashing" attribute can be made dynamic using the
name "MCGUTextFlash".
764
When the message comes in, the background of the displayed value flashes.
When the message comes in, the background of the displayed value does not
flash.
The "Came In - Background Flashing" attribute can be made dynamic using the name
"CBackFlash".
765
When the message comes in, the background of the button flashes.
When the message comes in, the background of the button does not flash.
The "Came In - Background Flashing" attribute can be made dynamic using the name
"MCKOBackFlash".
766
When the message comes in, the text of the value to be displayed flashes.
When the message comes in, the text of the value to be displayed does not flash.
The "Came In - Text Flashing" attribute can be made dynamic using the name "CTextFlash".
When the message comes in, the text of the button flashes.
When the message comes in, the text of the button does not flash.
The "Came In - Text Flashing" attribute can be made dynamic using the name
"MCKOTextFlash".
767
The background of the value to be displayed flashes when the arrival of a message
is acknowledged.
The background of the value to be displayed does not flash when the arrival of a
message is acknowledged.
The "Came In Acknowledged - Background Flashing" attribute can be made dynamic using
the name "CQBackFlash".
The "Came In Acknowledged - Background Flashing" attribute can be made dynamic using
the name "MCKQBackFlash".
768
The text of the value to be displayed flashes when the arrival of a message is
acknowledged.
The text of the value to be displayed does not flash when the arrival of a message
is acknowledged.
The "Came In Acknowledged - Text Flashing" attribute can be made dynamic using the name
"CQTextFlash".
769
The text of the button flashes when the arrival of a message is acknowledged.
The text of the button does not flash when the arrival of a message is
acknowledged.
The "Came In Acknowledged - Text Flashing" attribute can be made dynamic using the name
"MCKQTextFlash".
770
3.10.13
The "Layer" attribute cannot be changed in Runtime. However, layers can be hidden or
unhidden in Runtime.
771
772
3.10.14
The "Bold" attribute can be made dynamic with the name "FontBold".
( ( "ABC" )
The "Format" attribute can be made dynamic with the name "Format".
773
The "Italic" attribute can be made dynamic with the name "FontItalic".
The "Text Orientation" attribute can be made dynamic with the name "Orientation".
774
The "Underline" attribute can be made dynamic with the name "FontUnderline".
The "X Alignment" attribute can be made dynamic with the name "AlignmentLeft".
The "Y Alignment" attribute can be made dynamic with the name "AlignmentTop".
775
3.10.15
3.10.15.1 Others - A to B
Update Cycle (UpdateCycle)
The "Update Cycle" attribute defines the type and the frequency for updating a process picture.
The value specified here corresponds to the "picture cycle", which can be set as the update
cycle for individual objects. In this case, the display of these objects will be updated at the
same time as the display of the process picture.
The "Update Cycle" attribute cannot be made dynamic.
Display (Visible)
The "Display" attribute specifies whether or not a process picture is displayed in Runtime.
Yes
No
The "Display" attribute can be made dynamic with the name "Visible".
Display (Visible)
The "Display" attribute specifies whether or not an object is displayed in Runtime.
Yes
No
776
Picture or text: If a picture exists, the button is assigned with the picture, otherwise
it is assigned with text.
Picture and text
Text only
Picture only
The "Display Options" attribute can be made dynamic with the name "DisplayOptions".
The "Operator-Control Enable" attribute can be made dynamic with the name "Operation".
The "Operator-Control Enable" attribute can be made dynamic with the name "Operation".
With WinCC Alarm Control, the attribute cannot be made dynamic.
777
The "Operator Input Message" attribute can be made dynamic with the name
"OperationMessage".
The reason for the operation is logged. On operation of the object, a dialog opens
in Runtime in which the operator can enter a text.
The reason for the operation is not logged.
The "Operator Activities Report" attribute can be made dynamic with the name
"OperationReport".
The "User Value 1" attribute can be made dynamic with the name "UserValue1".
The "User Value 2" attribute can be made dynamic with the name "UserValue2", etc.
778
Authorization (PasswordLevel)
The User Administrator editor is used in WinCC to assign authorizations for the users. In the
Graphics Designer, an authorization can be assigned for each process picture, which means
that this process picture can only be operated by those users who have the corresponding
authorization.
So that a process picture can be operated, the "Operator-Control Enable" attribute must have
the value "Yes".
The "Authorization" attribute can be made dynamic with the name "PasswordLevel".
Authorization (PasswordLevel)
The User Administrator editor is used in WinCC to assign authorizations for the users. In the
Graphics Designer, an authorization can be assigned for each object, which means that this
object can only be operated by those users who have the corresponding authorization.
So that an object can be operated, the "Operator-Control Enable" attribute must have the value
"Yes".
The "Authorization" attribute can be made dynamic with the name "PasswordLevel".
779
3.10.15.2 Others - C to O
Cursor Mode
The "Cursor Mode" attribute specifies whether a process picture is operated in Runtime by
means of an "Alpha Cursor" or a "Tab Order".
The cursor mode can be toggled in Runtime if a hotkey is configured for the toggle.
Alpha-Cursor
Tab Order
780
The cursor automatically jumps to the next field of the TAB sequence after the
input has been made.
The cursor does not automatically jump to the next field of the TAB sequence after
the input has been made.
The "Cursor Control" attribute can be made dynamic with the name "CursorControl".
When the focus moves to the object, the input mode is immediately active.
When the focus moves to the object, the input mode is not immediately active.
The "Immediate Input" attribute can be made dynamic with the name "EditAtOnce".
With one mouse-click on the slide surface, the slider jumps to the minimum value
or maximum value.
With a mouse-click on the slide surface, the slider is moved in the corresponding
direction by the value set in the "Operation Steps" attribute.
The "Extended Operation" attribute can be made dynamic with the name "ExtendedOperation".
781
No
The mouse wheel can be used to zoom in on or out of the picture. Press the
<CTRL> key in Runtime, while you turn the mouse wheel. If you turn the mouse
wheel away from the palm of your hand, you increase the zoom factor.
Rotating the mouse wheel does not zoom in on or out of the picture, even if
extended zooming is enabled for all process pictures.
The "Extended Zooming" attribute can be made dynamic with the name
"ExtendedZoomingEnable".
The "Change Color" attribute can be made dynamic with the name "ColorChangeType".
782
The picture window is positioned in its original size in the configured position
on the screen.
The picture window is positioned in its original size, centered on the screen.
The picture window is scaled to the size of the screen.
The "Window mode" attribute can be made dynamic with the name "WindowPositionMode".
The "Outgoing State Visible" attribute can be made dynamic with the name
"AlarmGoneVisible".
Sizeable (Sizeable)
The "Sizeable" attribute specifies whether or not the size of a window can be changed in
Runtime.
Yes
No
Hotkey (Hotkey)
As an alternative to operation with the mouse, a button can also be triggered using the
keyboard.
To do so, a hotkey must be set.
If a hotkey has been defined for a button, an arrow is displayed in the object properties beside
the "Hotkey" attribute.
The "Hotkey" attribute cannot be made dynamic.
Hysteresis (Hysteresis)
So that a color change is not triggered immediately in the case of a slight limit violation, the
"Hysteresis" and "Hysteresis Range" attributes can be used to define a distribution range for
the display of the value.
783
The "Hysteresis" attribute can be made dynamic with the name "Hysteresis".
Configuration of Menu/Toolbars
Defines the configuration file using the user-defined menus and toolbars that are displayed in
the picture screen.
The "Configuration of menu/toolbars" attribute cannot be made dynamic using the
"MenuToolBarConfig" name.
784
The "Average Value" attribute can be made dynamic with the name "Average".
The number of the monitor in the operating system on which the picture window is
displayed.
The "Monitor number" attribute can be assigned dynamic properties by means of the name
"WindowMonitorNumber".
3.10.15.3 Others - P to S
Process Driver Connection (Process)
If an object of the type "Bar", "3D Bar" or "Slider" is not embedded using a tag in the process,
the object accesses a preset value in Runtime and displays this value.
785
Border (WindowBorder)
The "Border" attribute specifies whether or not an application window or picture window is to
be displayed with a border.
If the "Sizeable" attribute for a window is set to the value "Yes", the "Border" attribute
automatically assumes the value "Yes".
So that the picture window is displayed in Runtime, a picture must be embedded.
Yes
No
786
The picture window is displayed in Runtime with scroll bars if the picture to be
displayed does not fit in the picture window.
The picture window is always displayed in Runtime without scroll bars, even if the
picture to be displayed does not fit in the picture window.
The object is taken into account for the formation of the group display.
The object is not taken into account for the formation of the group display.
The "Group Relevant" attribute can be made dynamic with the name "Relevant".
787
The group value is taken into consideration for the display of the extended status
display.
The group value is not taken into consideration for the display of the extended
status display.
The attribute "Use Group Value for Display" can be made dynamic with the name
"UseEventState".
788
The "Selected Box" attribute can be made dynamic with the name "SelIndex".
ServerName (ServerName)
The "ServerName" attribute indicates under which name an embedded object is registered in
the Windows operating system. A change of the registration is not possible in the Graphics
Designer.
The "ServerName" attribute cannot be made dynamic.
Simulation (Simulation)
With the "Simulation" attribute, you define the linking with any tag which is used for simulation.
The "Simulation" attribute can be made dynamic with the name "Simulation".
789
Scaling Mode
The "Scaling mode" attribute defines the size to display the objects of the faceplate instance.
Default
1:1
proportional
Status (ProcessValue)
With the "Status" attribute, you define the linking with any tag.
The "Status" attribute can be made dynamic with the name "ProcessValue".
Status1 (Process)
In the "Status1" attribute, you can preset the first tag used for the calculation of the status value
for the extended status display. In the configuration dialog of the extended status display, you
can define the bit position taken into account for the status value calculation of this tag. This
results in the statuses, to which you can then assign pictures.
The "Status1" attribute can be made dynamic with the name "Process".
Status2 (Process1)
In the "Status2" attribute, you can preset the second tag used for the calculation of the status
value for the extended status display. In the configuration dialog of the extended status display,
you can define the bit position taken into account for the status value calculation of this tag.
This results in the statuses, to which you can then assign pictures.
The "Status2" attribute can be made dynamic with the name "Process1".
790
Status3 (Process2)
In the "Status3" attribute, you can preset the third tag used for the calculation of the status
value for the extended status display. In the configuration dialog of the extended status display,
you can define the bit position taken into account for the status value calculation of this tag.
This results in the statuses, to which you can then assign pictures.
The "Status3" attribute can be made dynamic with the name "Process2".
Status4 (Process3)
In the "Status4" attribute, you can preset the fourth tag used for the calculation of the status
value for the extended status display. In the configuration dialog of the extended status display,
you can define the bit position taken into account for the status value calculation of this tag.
This results in the statuses, to which you can then assign pictures.
The "Status4" attribute can be made dynamic with the name "Process3".
3.10.15.4 Others - T to Z
Tag (tag)
The "Tag" attribute is used for the Tool Graphic Object Update Wizard and is not evaluated
for the object.
The "Tag" attribute can be made dynamic with the name "tag".
Tagname (tagname)
The attribute "Tag Name" is used for the Tool Graphic Object Update Wizard and is not
evaluated for the object.
The "Tag Name" attribute can be made dynamic with the name "tagname."
Tagtype (tagtype)
The "Tag Type" attribute is used for the Tool Graphic Object Update Wizard and is not
evaluated for the object.
The "Tag Type" attribute can be made dynamic with the name "tagtype."
The texts are managed in the text library. They are translated into other languages
in the text library.
The texts are managed directly in the object.
791
Title (Caption)
The "Title" attribute specifies whether a window is displayed in Runtime with or without a title
bar.
The attributes "Can Be Maximized" and "Can Be Closed" are displayed in the title bar; if one
of the attributes has the value "Yes", the "Title" attribute is automatically assigned the value
"Yes".
Yes
No
Trend (trend)
The attribute "Trend" is used for the Tool Graphic Object Update Wizard and is not evaluated
for the object.
The "Trend" attribute can be made dynamic with the name "trend."
Trend (Trend)
The trend display enables a fast overview of changes for the bar. As standard, when the values
shown in the scale are exceeded, a small arrow is displayed beside the scale to indicate that
the measured value cannot be displayed on the scale. In order to avoid having to wait for the
next update, an additional arrow can be shown on the other side of the bar to show the trend
of the current movement of the bar.
The "Trend" attribute specifies whether or not the trend is displayed.
Yes
No
The "Trend" attribute can be made dynamic with the name "Trend".
792
Caption (CaptionText)
The "Caption" attribute specifies which text appears in the title of a picture window.
The "Caption" attribute can be made dynamic with the name "CaptionText".
Independent window
The "Independent window" attribute defines whether the display of the picture window in
runtime depends on the process picture in which the picture window was configured.
Yes
No
Size and position of the picture window change with the shift or scaling of the process
picture
Size and position of the picture window are independent of the process picture and
only defined by the "Window mode" attribute
The "Independent window" attribute can be made dynamic with the name
"IndependentWindow".
If the quality code or the the tag status are poor, the object is grayed out or the
settings for the grid color are used.
If the quality code or the the tag status are poor, the object is not grayed out or
the settings for the grid color are not used.
The "Visualize tag status" attribute can be made dynamic with the name "ShowBadTagState".
793
Movable (Moveable)
The "Movable" attribute specifies whether or not a window can be moved in Runtime.
Yes
No
Foreground (OnTop)
The "Foreground" attribute specifies whether or not a window lies in the foreground. This
setting is independent of the layer in which the window lies.
If two windows overlap, and they both have the value "Yes" for the "Foreground" attribute, the
settings exclude one another.
Yes
No
Value (OutputValue)
With the attribute "Value", you define the linking with any analog/text tag. The analog display
represents the value of this tag in the configured colors depending on the alarm state.
The "Value" attribute can be made dynamic with the name "OutputValue".
The "Value as Text" attribute can be made dynamic with the name "UseValueText".
794
3.10.16
The "Lock Display" attribute can be made dynamic with the name "LockStatus".
795
3.10.17
The "3D Border Width" attribute can be made dynamic with the name "BackBorderWidth".
The "Border Width" attribute can be made dynamic with the name "BackBorderWidth".
796
The round button latches down in the new switch setting when pressed. In order
to release it, it must be pressed again.
On pressing, the round button jumps back to the initial position.
The "Latch Down" attribute can be made dynamic with the name "Toggle".
The "Box Alignment" attribute can be made dynamic with the name "BoxAlignment".
797
The "Pressed" attribute can be made dynamic with the name "Pressed".
The "Background" attribute can be made dynamic with the name "Background".
The "Light Effect" attribute can be made dynamic with the name "LightEffect".
Line termination
The "Line termination" attribute determines the appearance of the line termination. The
definition of the attribute applies to both ends of the line. Select one of the three following
options:
798
Corners
The "Corners" attribute define the appearance of the corner intersections of where lines meet.
The definition applies to all the corners of the object. Select one of the three following options:
A round corner sets the center of a circle at the intersection of two line ends. The diameter
of the circle adapts to the line width.
The two outer corner points of the line connection are linked by a straight line. This flattening
effect causes the corners to appear beveled.
A pointed corner corresponds to the real corner intersection of the meeting lines.
The "Line termination" and "Corners" attributes cannot be dynamized.
There is a free choice of value within the limits. With line weight 0, no line is
visible.
The "Line weight" attribute can be made dynamic with the name "BorderWidth".
799
The attribute "Line connection type" can be made dynamic with the name "LineJoinStyle".
The "Pattern alignment" attribute can be made dynamic with the name "FillStyleAlignment".
800
The "Border Width" attribute can be made dynamic with the name "BorderWidth".
There is a free choice of value within the limits. With dividing line weight 0,
no dividing line is visible.
The "Dividing Line Weight" attribute can be made dynamic with the name "ItemBorderWidth".
801
The objects are displayed according to the default settings of the Windows
operating system. Attributes that do not match the Windows style are ignored.
The objects are displayed according to the settings of the Graphics Designer.
The "Windows Style" attribute can be made dynamic with the name "WindowsStyle".
3.10.18
3.10.18.2 Index of the Connection Point of the Object Connected at the End
(BottomConnectedConnectionPointIndex)
The "Index of the Connection Point of the Object Connected at the End" attribute specifies for
the end of the connector at which connection point of the object the connection is formed.
The "Index of the Connection Point of the Object Connected at the End" attribute can be made
dynamic with the name "BottomConnectedConnectionPointIndex".
802
3.10.19
803
804
3.10.20
805
The first bit of the status value is not evaluated. No status tag is used.
Status tag "Status1" is used for the status value of the first bit.
Status tag "Status2" is used for the status value of the first bit.
Status tag "Status3" is used for the status value of the first bit.
Status tag "Status4" is used for the status value of the first bit.
The "Bit Selection 0" attribute can be made dynamic with the name "BitSelect0".
The second bit of the status value is not evaluated. No status tag is used.
Status tag "Status1" is used for the status value of the second bit.
Status tag "Status2" is used for the status value of the second bit.
Status tag "Status3" is used for the status value of the second bit.
Status tag "Status4" is used for the status value of the second bit.
The "Bit Selection 1" attribute can be made dynamic with the name "BitSelect1".
The third bit of the status value is not evaluated. No status tag is used.
Status tag "Status1" is used for the status value of the third bit.
Status tag "Status2" is used for the status value of the third bit.
Status tag "Status3" is used for the status value of the third bit.
Status tag "Status4" is used for the status value of the third bit.
The "Bit Selection 2" attribute can be made dynamic with the name "BitSelect2".
806
The fourth bit of the status value is not evaluated. No status tag is used.
Status tag "Status1" is used for the status value of the fourth bit.
Status tag "Status2" is used for the status value of the fourth bit.
Status tag "Status3" is used for the status value of the fourth bit.
Status tag "Status4" is used for the status value of the fourth bit.
The "Bit Selection 3" attribute can be made dynamic with the name "BitSelect3".
807
The "Flash Picture Transparent Color On" attribute can be assigned dynamic properties by
means of the name "FlashPicUseTransColor".
In Runtime, the basic picture and flash picture alternate in the display.
No
The "Flashing Flash Picture Active" attribute can be made dynamic with the name
"FlashFlashPicture".
The "Flash Picture Flash Frequency" attribute can be made dynamic with the name
"FlashRateFlashPic".
808
809
The "Basic Picture Transparent Color On" attribute can be assigned dynamic properties by
means of the name "BasePicUseTransColor".
810
811
812
813
814
Resources
4.1
Contents
This chapter shows you how to dynamize process pictures using WinCC. It contains
information on
Dynamizing Using Dynamic Wizard
Dynamizing by Means of Tag Connection
Dynamizing by Means of Direct Connection
Dynamizing Using Dynamic Dialog
Dynamizing Using VBS Action
Dynamizing Using C Action
4.2
Types of Dynamization
Introduction
WinCC offers various ways of dynamizing the objects of a process picture.
Basically, there are two types of dynamization.
815
816
4.3
Introduction
WinCC offers a wide variety of possibilities to define and structure tags. For a picture window,
a tag prefix can be assigned to precede all tags that are used in the picture.
Pictures that are embedded can be stored on any server in a multi-user system. Either the
server is specified directly on embedding a picture with the server prefix, or assigned later via
the object properties of the picture window. Tags can also be requested from other servers
with the server prefix.
TagPrefix Property
Use "TagPrefix" to define or return the tag prefix that is added to all tags, which are contained
in the picture window object, or that returns a tag prefix. In this way, a picture that is embedded
in a picture window retains access to its own tags while another picture accesses other tags.
Example: In a picture window the "temperature" tag is requested on an object. If the "Motor1."
tag prefix is assigned to the picture window, the tag "Motor1.Temperature" is requested.
Note
The TagPrefix property is only provided for "WinCC Gauge Control" and "WinCC Slider
Control" where controls are concerned.
817
ServerPrefix Property
Use "ServerPrefix" to determine in a multi-user system:
the server where the picture to be displayed in the picture window is located.
the server, from which the tags are read.
Example
The following VBScript reads the "@CurrentUser" tag without tag prefix and outputs the content
as a trace in a diagnostics window.
'VBS200
Dim tag
tag = HMIRuntime.Tags("@NOTP::@CurrentUser").Read
HMIRuntime.Trace "CurrentUser: " & tag & vbNewLine
Note
The setting of the prefix only becomes effective when newly supplying the picture name. This
means you must either set the prefix before picture selection or newly supply the picture name
if the picture is not changed.
818
4.4
Trigger Types
4.4.1
Trigger Types
Introduction
Triggers are used to execute actions at runtime. To do this, a trigger is linked to an action,
forming the triggering event for calling the action. Actions without triggers will not be carried
out.
The following triggers are available for the dynamization of objects:
Cyclic Triggers
Cyclic Triggers Based on Window Cycle
Cyclic Triggers Based on Picture Cycle
Tag Triggers
Event-Driven Triggers
Note
It is important to remember that the cycle time has a major effect on the performance of the
project. All the actions of a picture must be completed within their cycle time. Apart from the
runtimes of the actions, the times required for requesting the tag values and the reaction
times of the automation systems must also be taken into consideration. You should only set
trigger events with a cycle time under one second if variables which change rapidly have to
be queried.
4.4.2
Cyclic Triggers
Introduction
Cyclic triggers are a means of processing periodic actions in WinCC. In the case of a cyclic
trigger, the action is executed when the trigger event occurs, e.g. every 20 seconds.
Principle of Operation
When actions with a cyclical trigger are configured in a picture, each tag is requested
individually following selection of the picture.
The start of the first time interval coincides with the start of Runtime. The length of the interval
is determined by the cycle. Cycles between 250 ms and 1 h can be selected. Self-defined user
cycles are also available.
819
Recommendation
In order that the WinCC project has a high level of performance, it is advantageous to dispense
with actions which have a cyclical trigger and to realize periodic actions in the automation
system.
4.4.3
Tag Triggers
Introduction
Tag triggers consist of one or more specified tags. The action which is connected to such a
trigger is executed if a change in the value of one of these tags was detected when the query
was launched.
Principle of Operation
When actions with tag triggers are configured in a picture, all the tag triggers related to an
action are requested block by block when the picture is selected.
820
The action is only executed when the value of the tag triggers has changed.
Note
If a tag briefly changes within a query cycle and then resumes its original value, the action is
not executed.
Note
Reaction in case of non-existing variables
A C/VBS action is not executed after screen selection if a non-existing tag is requested. The
object is shown regardless. However, a dynamic dialog is executed once after screen
selection. The object is not shown.
Upon change
You can also configure a tag trigger so that the action is executed whenever the tag value is
changed.
The "On change" mode setting for process tags corresponds to a cyclic read request with a
cycle time of 1 second.
Note
If the WinCC diagnostics tags are used as action triggers, this form of the tag trigger should
not be used. Diagnostics tags can change very quickly. Since every change could trigger the
action, it can lead to high system utilization.
821
Recommendation
Tag triggers should be used in order that the WinCC project has a high performance level:
With cyclic actions, the action is always executed, e.g. every 2 seconds. The tag trigger
only executes the action if a change in the value of the tag has been detected. This reduces
the load on the system and increases performance.
When a picture is selected, all of the tags contained in tag triggers are known and can be
requested all at the same time by the automation system. The best possible optimization
can thus be achieved from the channel.
4.4.4
Event-Driven Triggers
Introduction
Actions which are connected to an event are executed whenever this event occurs. Events
can be, for example, mouse control, keyboard control, or changes in focus.
If the Mouse Control event is connected to an action, this action is also triggered by a configured
hotkey.
Mode of Operation
The action is only executed when the object's triggering event is triggered. If the event occurs,
all the tags contained in the action are registered. Process tags are subsequently updated at
a cycle time of 1 s.
Recommendation
Event-driven triggers are not suitable for bulk configuration in the case of dynamizing with Cactions because each action must be logged on and off individually by the action control.
4.5
Dynamic Wizard
4.5.1
Introduction
With the Dynamic Wizard, you can dynamize an object using C actions. When you execute a
wizard, preconfigured C actions and trigger events are defined and transferred to the object
properties. If necessary, you can change the C actions in the object properties using the Events
tab.
822
Dynamic Wizard
See also
SFC (Page836)
System Functions (Page835)
Standard Dynamics (Page829)
Import Functions (Page828)
Picture Components (Page827)
Picture Functions (Page824)
823
4.5.2
Picture Functions
824
Picture Navigation
This wizard creates an action which performs the selected picture navigation when the trigger
occurs at the selected object.
The following picture navigation functions can be selected:
Display Start Picture
Display Previous Picture
Display Next Picture
Display Stored Picture
Store Picture
Note
This wizard is only available if the project has not been processed with the OS - Project
Editor.
825
Return value
1
2
6
7
Note
This wizard is only available if the project has not been processed with the OS - Project Editor.
826
See also
Dynamizing Using Dynamic Wizard (Page822)
4.5.3
Picture Components
827
See also
Dynamizing Using Dynamic Wizard (Page822)
4.5.4
Import Functions
Import Messages
With this wizard you can import a COROS LS-B message list into WinCC. You will find further
information in the WinCC Information System under WinCC Documentation, Smart Tools,
Migration of COROS LS-B to WinCC.
Import S7 S5 ASLI
With this wizard you can read the assignment list of STEP 5 and STEP 7 into WinCC. You will
find further information in the WinCC Information System under WinCC Documentation, Smart
Tools, Importing Assignment List.
828
See also
Dynamizing Using Dynamic Wizard (Page822)
4.5.5
Standard Dynamics
Bit Set/Reset
Using this wizard you may create an action to set or reset the bit of a tag. The tag to be changed
as well as the bit number will be displayed during the wizard run
829
830
Move Object
The object properties "Position X" and "Position Y" can be linked with tags in the course of the
wizard so that the position of the object can be dynamized.
Note
This wizard is only available if the project has not been processed with the OS - Project Editor.
Fill Object
With this wizard you may create an action to dynamize the fill level of an object through a tag.
During the wizard run you may also define the tags as well as upper and lower limits for fill
levels 0% and 100%.
Note
This wizard is only available if the project has not been processed with the OS - Project Editor.
Dynamize Prototype
With this wizard you may dynamize the object properties through a structure tag element.
831
832
See also
Color Dynamics with Table (Page833)
Dynamizing Using Dynamic Wizard (Page822)
4.5.6
833
Editing Expression
Delete Entire Expression button. Deletes the entire expression.
Delete the Last Part of the Expression button. Deletes the last part of the expression.
Accept Expression in Table button. Transfers the expression into the highlighted table row.
Tag Selection button. Opens the tag selection dialog. All tags of the Bit, Byte, Word, and
DWord type are displayed. When the tags have been selected, the tag bit mask appears in
which the bits to be checked are set.
And button. If permitted syntactically, a logical AND operation is attached to the expression.
Or button. If permitted syntactically, a logical OR operation is attached to the expression.
Open Parenthesis button. If permitted syntactically, an opening parenthesis is attached to
the expression.
Close Parenthesis button. If permitted syntactically, a closing parenthesis is attached to
the expression.
Note
It is not possible to edit the expression manually.
834
See also
Dynamizing Using Dynamic Wizard (Page822)
4.5.7
System Functions
Hardcopy
With this wizard you can create an action for making a hardcopy of the screen.
Language Switch
With this function you can create an action which switches the Runtime language.
835
Exit WinCC
With this wizard you can create an action which closes WinCC. The action only acts on the
computer on which the action is executed (this also applies to multi-user systems).
Note
This wizard is only available if the project has not been processed with the OS - Project Editor.
See also
Dynamizing Using Dynamic Wizard (Page822)
4.5.8
SFC
Introduction
The Sequential Function Chart (SFC) is a process control which is used to control the sequence
of processes.
You can use the "SFC Visualization" software package using the WinCC configurations for
SFC visualization and to use and observe the SFC plans and SFC instances in runtime.
The help becomes available when SFC is installed.
Note
You can find information about the Dynamic Wizard and SFC in the SFC documentation by
searching for "Dynamic Wizard".
836
Requirement
A "PCS 7 SFC Control" has been selected
Procedure
1. Open a picture with a "PCS 7 SFC Control" in Graphics Designer and select this control.
2. Select the "SFC" tab in the "Dynamic Wizard" and start the wizard by double clicking
"Configure SFC Control".
3. Follow the instructions in the Dynamic Wizard dialogs.
4. The wizard offers all the available SFCs via the SFC selection dialog. Select an SFC.
5. Select the required representation for this SFC.
6. Start the action by clicking the "Next" button and confirm it by clicking "Finish". The wizard
connects "PCS 7 SFC Control" with the selected SFC.
Note
The Wizard functionality is only available in a PCS7-OS.
837
See also
Dynamizing Using Dynamic Wizard (Page822)
4.6
4.6.1
Introduction
When a tag is connected to a property of an object, the value of the tag is transferred directly
to the object property. This means, for example, that the value of a tag can be directly
influenced by an I/O field.
You should always use this type of dynamization if you want to transfer the value of a tag
directly to an object property.
See also
Example: Dynamic Filling of Rectangle (Page840)
How to Configure a Tag Connection (Page838)
Types of Dynamization (Page815)
4.6.2
Requirement
Start Graphics Designer and open a picture.
Procedure
1. Open the Object Properties dialog of the object to be dynamized.
2. Click the Properties tab.
3. In the left-hand window area, select the property group to which the property you want to
dynamize belongs.
4. In the right-hand window area, select the property which you want to dynamize.
838
icon belonging to this property and select the Tag... command in the pop-
Alternative Operation
You can also configure a tag connection by dragging a tag from the Tags toolbar onto the
icon.
You can also configure a tag connection by double-clicking the
can then be entered directly in the entry field.
You can also configure a tag connection to the Output Value object property by dragging a tag
from the Tags toolbar onto the object in the Graphics Designer picture.
See also
Example: Dynamic Filling of Rectangle (Page840)
Dynamizing by Means of Tag Connection (Page838)
839
4.6.3
Introduction
A process tag is to directly influence the fill level of a rectangle. In the example, the process
tag is simulated by an internal tag, the value of which can be changed by means of an I/O field.
Requirement
Configure a "FillLevel" tag of data type "Unsigned 8-Bit Value".
Start Graphics Designer and open a picture.
Insert an I/O field into the picture and connect it to the "FillLevel" tag.
Insert a rectangle into the picture.
Procedure
1. Open the "Object Properties" dialog of the rectangle and click the "Properties" tab (if not
already activated).
2. In the left-hand window area, select the "Filling" property group.
3. In the right-hand window area, double-click the "Dynamic Filling" property. "Yes" now
appears in the "Static" column.
button belonging to the Fill Level property and select the Tag... command
4. Right-click the
in the pop-up menu.
840
button.
8. In Runtime you can change the value of the tag using the I/O field. If, for example, you enter
the value 30 in the I/O field, the bottom third of the rectangle is filled with the background
color of the rectangle. The top two thirds of the rectangle are transparent.
See also
Dynamizing by Means of Tag Connection (Page838)
4.7
4.7.1
Introduction
Direct connection can be used as a reaction to events. If the event occurs in Runtime, the
'value' of a source element (Source) is used for a target element (Target).
Constants, tags, or the attributes of the objects in the picture are available as sources.
Tags or the dynamizable attributes of objects and windows or tags can be used as targets.
The advantages of direct connection are the simple configuration and the time response in
Runtime. Direction connection has the best performance of all dynamization types.
Copying Objects
If in the Graphics Designer you copy an object whose properties are dynamized with a direct
connection, the dynamizations are also copied.
If the direct connection in the original object relates to an object property of this object, the
direct connection in the copied object relates to the corresponding property of the copied object.
If the direct connection in the original object relates to an object property of a third object, this
third object is influenced by the direct connection of the copied object in exactly the same way
as the direct connection of the original object.
841
See also
Example: Picture Change in Picture Window (Page844)
How to Configure a Direct Connection (Page843)
Application Examples of Direct Connection (Page842)
Types of Dynamization (Page815)
4.7.2
Objective
Explanation
picture1.pdl
Current window /
picture name
picture1
Button1 / text
50
Rectangle1 / width
50
Note
button to configure a picture change. This button opens the picture
You can also use the
selection dialog in which all configured pictures are displayed.
842
Source
Objective
Explanation
Circle1 / fill
pattern
Circle / width
Bar1 / height
Tag, direct
Note
The list of objects contains the entry this object. If you use properties of the currently selected
object as the source or target of the direct connection, this entry is used automatically when
the dialog is closed. The dynamics are also copied when an object is copied. The direct
connection of the object created during copying therefore refers to this object. The newly
created object is therefore used as the source or target of the direct connection.
Objective
Explanation
Tag1, direct
Tag1, direct
Circle1 / radius
See also
Example: Picture Change in Picture Window (Page844)
How to Configure a Direct Connection (Page843)
Dynamizing by Means of Direct Connection (Page841)
4.7.3
Requirement
Start the Graphics Designer and open a picture.
Procedure
1. Open the Object Properties dialog of the object for which you want to configure an action.
2. Click the Event tab.
3. In the left-hand window area, select the event trigger, e.g. mouse, background color, ...
843
See also
Example: Picture Change in Picture Window (Page844)
Application Examples of Direct Connection (Page842)
Dynamizing by Means of Direct Connection (Page841)
4.7.4
Introduction
In a picture window, a picture change is executed by means of a direct connection.
844
Requirement
Start the Graphics Designer.
Create two pictures "NewPDL1.pdl" and "NewPDL2.pdl". These pictures should contain
objects which allow a distinction to be made between the objects.
Insert a button into a new picture.
Insert a picture window into the picture. Enter the picture name "NewPDL1.pdl" in the
"Picture Name" object property.
Procedure
1. Open the "Object Properties" dialog of the button and click the "Event" tab (if not already
activated).
2. In the left-hand window area, select the mouse as the event trigger.
3. In the right-hand window area, select Mouse Control as the event type.
button belonging to the Fill Level property and select the Tag... command
4. Right-click the
in the pop-up menu.
button and double-click the picture NewPdl2.pdl in the picture selection dialog.
845
7. In the "Direct Connection" dialog, click the "OK" button. Dynamizing by means of direct
connection is indicated in the Object Properties dialog with the
icon.
8. Save the picture and activate Runtime using the
button.
9. In Runtime, the picture "NewPdl1.pdl" is displayed in the picture window. If you click the
"Button" object, a picture change occurs in the picture window and the picture
"NewPdl2.pdl" is displayed.
See also
Dynamizing by Means of Direct Connection (Page841)
4.8
4.8.1
Introduction
The Dynamic Dialog is used to dynamize object properties. In Dynamic Dialog you formulate
an expression by using tags, functions, and arithmetic operands. The value of the expression,
846
Convert to C Action
An action created with Dynamic Dialog is indicated in the "Object Properties" dialog with the
icon.
The code of this action is displayed if you use the right mouse button to click the
icon in
the "Object Properties" dialog and select the command "C Action..." in the pop-up menu. This
converts the dynamization created with Dynamic Dialog into a C action.
If you save the action or modify the code of the action, the action may no longer be modified
by using the Dynamic Dialog.
Note
The "check_limits" feature generated during conversion of the Dynamic Dialog is reserved
for the Dynamic Wizards.
847
See also
Example: Color Change Depending on Position (Page864)
Monitoring Quality Code (Page859)
Monitoring Tag Status (Page857)
Defining a Valid Range (Page854)
Creating Expressions (Page850)
How to Configure Dynamization Using the Dynamic Dialog (Page848)
4.8.2
Requirement
Start the Graphics Designer and open a picture.
Procedure
1. Open the "Object properties" dialog of the object to be dynamized.
2. Click the Properties tab.
3. In the left window area, select the property group which contains the property to be
dynamized.
4. In the right window area, select the property to be dynamized.
5. With the right mouse button, click the
button belonging to the property and select the
Dynamic Dialog... command in the pop-up menu.
848
7.
Click the
8. In the Result of Expression/Formula area, specify the data type of the expression
result.
The data type determines the options to specify the printout and to define the value ranges.
9. In the Expression/Formula area specify the expression which will control the object
properties.
You may enter the expression either directly or add tags, functions and operands to your
expression by using the
button.
849
See also
Example: Color Change Depending on Position (Page864)
Monitoring Quality Code (Page859)
Monitoring Tag Status (Page857)
Defining a Valid Range (Page854)
Creating Expressions (Page850)
Dynamizing Using the Dynamic Dialog (Page846)
4.8.3
Creating Expressions
Introduction
In Dynamic Dialog you formulate an expression by using tags, functions, and arithmetic
operands. The value of the expression is used to formulate the value of the object property
during Runtime.
The options to formulate the expression are dependent upon the desired data type of the
printout result.
850
Tags
Tags may be entered either directly or by clicking the
button and the tag selection dialog.
For direct entry, make sure that tag names are included in single quotation marks.
Note
If you enter the name of a tag which cannot be found, the dialog Missing tags appears.
Click the OK button to define a new tag with this name. Click the Cancel button to edit the
tag name.
Click the Ignore button to link the attribute with a nonexistent tag. This is useful, for example,
if you work with structure tags in a picture window or subsequently wish to import tags. Check
prior to commissioning that the respective tag is actually found in the system.
Functions
Functions may be entered either directly or by using the
button and the function browser.
You may use all C functions of the Global Script within an expression.
851
Operands
button. Within an expression,
Operands may be entered either directly or by using the
operands may be used for addition, subtraction, multiplication or division.
Decimal numbers may be entered directly. Only a period is permissible as the decimal point.
Note
When using several tags or operands, the essential performance advantage of Dynamic
Dialog is lost.
Tags
Tags may be entered either directly or by clicking the
button and the tag selection dialog.
For direct entry, make sure that tag names are included in single quotation marks.
852
Clicking the Details button, you will receive additional information on the error message.
Note
Clicking the Check or Apply buttons will sort the list of value ranges Result of Expression/
Formula in ascending order by range upper limit.
See also
Example: Color Change Depending on Position (Page864)
Monitoring Quality Code (Page859)
Monitoring Tag Status (Page857)
Defining a Valid Range (Page854)
How to Configure Dynamization Using the Dynamic Dialog (Page848)
Dynamizing Using the Dynamic Dialog (Page846)
853
4.8.4
For an expression of data type Analog, you may specify several value ranges. Use the Add
button to create new value ranges. A new value range is always created between the most
recently creates value range and the range Other.
The upper limit of a value range is changed by double-clicking the respective value in column
to.
The applicable value of an object property in a value range is changed by double-clicking the
respective value in the column of the object property.
Settings shown in the picture have the following effect:
If the value of the tag Position is less or equal 100, the property Position X is set to 300.
If the value of the tag Position is greater than 100 and less or equal 200, the property
Position X is set to 500.
If the value of the tag Position is greater than 200, the property Position X is set to 0.
854
The applicable value of an object property in a value range is changed by double-clicking the
respective value in the column of the object property.
Settings shown in the picture have the following effect:
If the tag Position equals TRUE, the property Position X is set to 300.
If the tag Position equals FALSE, the property Position X is set to 0.
855
The applicable value of an object property in a value range is changed by double-clicking the
respective value in the column of the object property.
Settings shown in the picture have the following effect:
If Bit4 of the tag Position is set, the property Position X is set to 300.
If Bit4 of the tag Position is not set, the property Position X is set to 0.
856
See also
Defining a Valid Range (Page854)
Example: Color Change Depending on Position (Page864)
Monitoring Quality Code (Page859)
Monitoring Tag Status (Page857)
Creating Expressions (Page850)
How to Configure Dynamization Using the Dynamic Dialog (Page848)
Dynamizing Using the Dynamic Dialog (Page846)
4.8.5
Introduction
Dynamizing by using the Dynamic Dialog may also be used to monitor the status of a WinCC
tag in Runtime. Monitoring the tag status will also allow for conclusions on the status of
associated links for external tags.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
857
The left subarea will display all tags used in the expression.
In the right subarea, you may assign a value for each tag status of the object property to be
dynamized. The applicable value of an object property for a tag status is changed by doubleclicking the respective value in the column of the object property.
Note
If definitions for the value of an object property in the areas Result of Expression/Formula
and Tag status contradict each other, the value of the object property is determined by the
definition in area Tag status.
858
See also
Example: Color Change Depending on Position (Page864)
Monitoring Quality Code (Page859)
Defining a Valid Range (Page854)
Creating Expressions (Page850)
How to Configure Dynamization Using the Dynamic Dialog (Page848)
Dynamizing Using the Dynamic Dialog (Page846)
4.8.6
Introduction
Dynamizing by using the Dynamic Dialog may also be used to monitor the quality code of a
WinCC tag in Runtime. Monitoring the quality code of external tags will also allow for
conclusions on the quality of associated tags during the process.
If you activate the check box Quality Code, the Dynamic Dialog is extended.
859
The left subarea will display all tags used in the expression.
In the right subarea, you may assign a value for each quality code of the object property to be
dynamized. The applicable value of an object property in a quality code is changed by doubleclicking the respective value in the column of the object property.
Note
If definitions for the value of an object property in the areas Result of the Expression/Formula
and Quality Code contradict each other, the value of the object property is determined by the
definition in area Quality Code.
860
0x1C
0x18
0x14
0x0C
0x08
0x04
0x00
0x28
0x2B
0x68
0x60
0x54
0x55
0x56
0x78
0x4C
0x48
0x44
0x40
0x01
See also
Example: Color Change Depending on Position (Page864)
Editing Triggers (Page862)
Monitoring Tag Status (Page857)
Defining a Valid Range (Page854)
Creating Expressions (Page850)
How to Configure Dynamization Using the Dynamic Dialog (Page848)
Dynamizing Using the Dynamic Dialog (Page846)
861
4.8.7
Editing Triggers
Introduction
If you do not set a trigger, the trigger event is defaulted by the system. The default setting
depends on the content of the formulated expression in the Dynamic dialog.
If the expression contains one or more tags, a tag trigger with the standard cycle set in the
Graphics Designer is used as the trigger. All tags contained in the expression are entered
in the tag list.
If the expression does not contain any tags, a cyclic trigger with the standard cycle set in
the Graphics Designer is used as the trigger.
Trigger Events
The following trigger events are available in the Dynamic dialog.
Tag: A tag trigger is used as the trigger. The query can be performed either when a change
is made or cyclically. Query cycles between 250 ms and 1 h can be selected. Self-defined
user cycles are also available.
Standard cycle: A cyclic trigger is used as the trigger. Cycle times between 250 ms and 1
h can be selected. Self-defined user cycles are also available.
Picture cycle: A cyclic trigger is used as the trigger. The cycle time is defined by the object
property Update Cycle of the picture object. This cycle provides the option of defining the
cycles of all the actions used in a picture centrally.
Window cycle: A cyclic trigger is used as the trigger. The cycle time is defined by the object
property Update Cycle of the Picture Window object. This cycle provides the option of
defining the cycles of all the actions used in a picture window centrally.
Note
It is important to remember that the cycle time has a major effect on the performance of
the project. All the actions of a picture must be completed within their cycle time. Apart
from the runtimes of the actions, the times required for requesting the tag values and the
reaction times of the automation systems must also be taken into consideration. You
should only set trigger events with a cycle time under one second if variables which change
rapidly have to be queried.
862
Requirement
Open the Dynamic dialog
Procedure
1.
Click the
See also
How to Configure Dynamization Using the Dynamic Dialog (Page848)
Dynamizing Using the Dynamic Dialog (Page846)
863
4.8.8
Introduction
The position of a workpiece is to influence the background color of the workpiece. In the
example, the workpiece is simulated by a rectangle and the position by an internal tag. The
position may be changed by using an I/O field.
Requirement
Configure a "Position" tag of data type "Unsigned 16-Bit Value".
Start Graphics Designer and open a picture.
Insert an I/O field into the picture and connect it to the "Position" tag.
Insert a rectangle into the picture. Dynamize the "Position X" object property by means of
a tag connection to the "Position" tag.
Procedure
1. Open the "Object properties" dialog of the rectangle and click the "Properties" tab, unless
already activated.
2. In the left-hand window area, select the "Colors" property group.
3. Use the right mouse button to click the
button next to the property Background color.
From the pop-up menu, select the command "Dynamic Dialog...".
864
5.
6. In the tag selection dialog, select the "Position" tag and close the tag selection dialog using
the "OK" button.
7. Click the Add button in the Result of Expression / Formula area.
The first value range is created.
8. In the Background color column, double-click the color bar and select green as the
background color.
9. Click the Add button in the Result of Expression / Formula area.
The second value range is created.
10.In the Background color column, double-click the color bar and select yellow as the
background color.
11.Double-click the value "200" in the "to" column. Enter "300" in the value entry dialog.
12.Click the Add button in the Result of Expression / Formula area.
The third value range is created.
13.In the Background color column, double-click the color bar and select red as the background
color.
14.Click the "Accept" button.
15.Dynamizing using the Dynamic dialog is indicated in the Object properties dialog with the
icon. A tag trigger with the standard cycle set in the Graphics Designer is used as the
trigger.
865
button.
17.In Runtime, you may change the X position of the rectangle by using the I/O field. Four
value ranges (0-100, 101-300, 301-500, 501-...) have been defined by Dynamic Dialog
dynamization. The background color of the rectangle changes according to the value range
in which the left-hand edge of the rectangle is located.
See also
Monitoring Quality Code (Page859)
Monitoring Tag Status (Page857)
Defining a Valid Range (Page854)
Creating Expressions (Page850)
How to Configure Dynamization Using the Dynamic Dialog (Page848)
Dynamizing Using the Dynamic Dialog (Page846)
4.9
4.9.1
Introduction
Apart from the dynamization options using direct connection, C action, and tags, WinCC also
offers VBS actions for dynamizing graphic objects in Runtime.
You should use VBS actions if
you want to process several input parameters in an action
you want to execute conditional instructions (if ... then ...)
you want to change several object properties in an action
you want to access selection dialogs of the operating system, e.g. file selection dialog or
color selection dialog
You create VBS actions in the VBS action editor of the Graphics Designer. The action editor
offers a similar range of functions to the VBS editor Global Script. From the Graphics Designer
you can also access procedures which you have created in Global Script.
Actions which you create in the Graphics Designer are always stored with the picture in which
they have been configured. In addition to all configured object properties, the configured VBS
actions are also documented in the project documentation of the Graphics Designer. All of the
VBS actions configured in this picture are displayed if you select a picture in the WinCC
Explorer and call up the Properties dialog using the pop-up menu.
Further information on VBS actions can be found in the section Creating Procedures and
Actions Using VBScript.
866
Application Scenarios
VBS Action for Dynamizing Object Properties
You use VBS actions for dynamizing an object property. You can dynamize the value of the
object property in Runtime depending on a trigger, a tag, or the status of other object properties.
You should use a VBS action if the options provided by tag connection or the Dynamic dialog
are not sufficient to solve the task in question.
See also
Editing Triggers (Page875)
How to Configure a VBS Action (Page874)
Working in Action Editor (Page871)
Action Editor in Graphics Designer (Page868)
Working with VBS Actions (Page867)
Types of Dynamization (Page815)
4.9.2
Introduction
If you create VBS actions in the Graphics Designer, it is important to note the following
differences compared to actions in Global Script:
An action in the Graphics Designer is always saved with the picture.
If you copy a graphic object for which you have configured an action, the action is copied
together with the properties of the graphic object.
Actions can only be saved in the Graphics Designer if they have the correct syntax.
Therefore use the syntax check before you save an action.
You cannot create globally applicable procedures in the Graphics Designer.
867
If a different type of dynamics is configured for a property or event, the previous type of
dynamizing is automatically deleted.
See also
Editing Triggers (Page875)
How to Configure a VBS Action (Page874)
Working in Action Editor (Page871)
Action Editor in Graphics Designer (Page868)
Dynamizing Using VBS Action (Page866)
4.9.3
Introduction
You create and process VBS actions at graphic objects in the editor for VBS actions in the
Graphics Designer. The action editor offers a similar range of functions to the VBS editor Global
Script.
868
If you want to react to an event at a graphic object using an action, you call the dialog in the
Event tab. Place the mouse pointer in the Action column and select the VBS Action command
from the pop-up menu:
869
Toolbar (1)
In the toolbar you will find all the commands needed to create actions.
870
See also
Editing Triggers (Page875)
How to Configure a VBS Action (Page874)
Working with VBS Actions (Page867)
Dynamizing Using VBS Action (Page866)
Working in Action Editor (Page871)
4.9.4
871
Code Templates
In the Code templates tab in the Navigation window of the Editor, you will find a selection of
frequently used instructions, e.g. for loops and conditional instructions. You can insert these
templates into your process code by dragging and dropping or by double-clicking.
If you insert a code template into your code, it is important to note that, for example, conditions
in the templates are identified by _XYZ_. You must replace these placeholders with the
appropriate information.
872
Selection Dialogs
If you use WinCC tags or picture objects in the code, you can open the following selection
dialogs:
Opens the tag selection dialog and gives the selected tag name as the return value.
Opens a tag selection dialog and returns the tag name with an associated reference.
Opens a picture/object browser in which a picture/object can be selected whose name
is then used for the return value.
Opens a picture selection dialog for pictures and returns the picture name, with the
server prefix if necessary.
Syntax Check
The Action Editor supports you by providing a syntax check which you can perform after the
code has been created. Syntax errors in the code are displayed in the output window of the
editor. You can move to the erroneous point in the code directly by double-clicking the error
in the output window.
Note
The syntax check can only detect syntax errors in the code. Programming errors, such as
missing references, only become visible in Runtime. You should therefore also always check
your scripts in the Runtime environment.
See also
Editing Triggers (Page875)
How to Configure a VBS Action (Page874)
Working with VBS Actions (Page867)
Action Editor in Graphics Designer (Page868)
Dynamizing Using VBS Action (Page866)
873
4.9.5
Introduction
In the Graphics Designer you configure VBS actions to
dynamize an object property. You can, for example, display a fill level according to a tag
value, implement a color change if a tag value is exceeded, or create cyclic actions (e.g.
flashing).
react to an event which is triggered on an object: This can involve the execution of actions,
for example, on clicking the mouse or a color change following the change of an object
property.
The procedure is basically the same for both types of action.
Procedure
1. Open the Object Properties dialog of the object for which you want to configure an action.
2. Activate the Properties tab if you want to dynamize an object property.
Activate the Event tab if you want to react to an event with an action.
3. Highlight the Dynamic column of the object property which you want to dynamize, or the
Action column of the event to which you want to react. Select the command VBS Action
from the pop-up menu.
The editor for VBS actions is opened.
4. Create the VBS action.
5. Check your action with <F7>. If your action contains syntax errors, they are displayed in
an output window. Correct the code and check it again.
6. If your action is syntactically correct, exit the dialog with OK.
Note
Actions can only be saved in the Graphics Designer if they have the correct syntax. To save
an erroneous action temporarily, you must first remove the comment from the action.
Result
The action is displayed in the Object Properties dialog of the object with the following symbol:
874
See also
Editing Triggers (Page875)
How to Configure a VBS Action (Page874)
Working in Action Editor (Page871)
Action Editor in Graphics Designer (Page868)
Working with VBS Actions (Page867)
Dynamizing Using VBS Action (Page866)
4.9.6
Editing Triggers
Introduction
If you configure an action for an event, you do not have to configure a trigger. The event is the
trigger for the action. You have to assign triggers if you configure an action for dynamizing an
object property.
A cyclic trigger with the standard cycle set in the Graphics Designer is used by default as the
trigger.
Trigger Events
The following trigger events are available in the editor for VBS actions.
Tag: A tag trigger is used as the trigger. The query can be performed either when a change
is made or cyclically. Query cycles between 250 ms and 1 h can be selected. Self-defined
user cycles are also available.
Standard cycle: A cyclic trigger is used as the trigger. Cycle times between 250 ms and 1
h can be selected. Self-defined user cycles are also available.
Picture cycle: A cyclic trigger is used as the trigger. The cycle time is defined by the object
property Update Cycle of the picture object. This cycle provides the option of defining the
cycles of all the actions used in a picture centrally.
Window cycle: A cyclic trigger is used as the trigger. The cycle time is defined by the object
property Update Cycle of the Picture Window object. This cycle provides the option of
defining the cycles of all the actions used in a picture window centrally.
Note
It is important to remember that the cycle time has a major effect on the performance of
the project. All the actions of a picture must be completed within their cycle time. Apart
from the runtimes of the actions, the times required for requesting the tag values and the
reaction times of the automation systems must also be taken into consideration. You
should only set trigger events with a cycle time under one second if variables which change
rapidly have to be queried.
875
Requirement
Open the editor for VBS actions.
Procedure
1.
876
See also
How to Configure a VBS Action (Page874)
Working in Action Editor (Page871)
Action Editor in Graphics Designer (Page868)
Working with VBS Actions (Page867)
Dynamizing Using VBS Action (Page866)
Trigger Types (Page819)
4.10
4.10.1
Introduction
C actions are used to dynamize an object property or to react to events. When object properties
are dynamized, the value of the object property is determined by the return value of the C
function.
Use C actions if, for example, you want to process several input parameters in one action or
you want to execute conditional instructions (if ... then ...). It is advisable to use C actions
especially if in the case of recipes, for example, you want to access several tags in the
automation system at the same time.
Application Scenarios
C Action for Dynamizing Object Properties
You use C actions for dynamizing an object property. You can dynamize the value of the object
property in Runtime depending on a trigger, a tag, or the status of other object properties. You
should use a C action if the options provided by tag connection or the Dynamic dialog are not
sufficient to solve the task in question.
877
See also
Types of Dynamization (Page815)
Importing and Exporting Actions (Page886)
Editing Triggers (Page883)
How to Apply Functions in the Action Code (Page882)
How to Configure a C Action (Page879)
Working with C Actions (Page878)
4.10.2
Introduction
If you create C actions in the Graphics Designer, it is important to note the following differences
compared to actions in Global Script:
An action in the Graphics Designer is always saved with the picture.
If you copy a graphic object for which you have configured an action, the action is copied
together with the properties of the graphic object.
Actions can be saved in the Graphics Designer if they can be compiled without error.
You cannot create functions in the Graphics Designer; you can only call functions in actions
which you have created in Global Script.
878
Toolbar
In the toolbar you will find the commands needed to create actions.
Navigation window
The navigation window enables you to access the existing C functions. You can apply these
functions to the function code by double-clicking.
Edit Window
You write and edit your C actions in the Editor window.
In order to utilize the functions of the Cross Reference editor used to locate the places of use
of tag and picture names, the tag and picture names used in a C action must first be declared.
This is done in the areas WINCC:TAGNAME_SECTION and WINCC:PICNAME_SECTION.
More detailed information can be found under WinCC Coding Rules
See also
Importing and Exporting Actions (Page886)
Editing Triggers (Page883)
How to Apply Functions in the Action Code (Page882)
How to Configure a C Action (Page879)
Dynamizing Using C Action (Page877)
4.10.3
Introduction
In the Graphics Designer you configure C actions to
dynamize an object property. You can, for example, display a fill level according to a tag
value, implement a color change if a tag value is exceeded, or create cyclic actions (e.g.
flashing).
react to an event which is triggered on an object: This can involve the execution of actions,
for example, on clicking the mouse or a color change following the change of an object
property.
The procedure is basically the same for both types of action.
879
Requirement
Start the Graphics Designer and open a picture.
Procedure
1. Open the Object Properties dialog of the object to be dynamized.
2. To dynamize an object property: In the left window area, select the property group. In the
right window area, select the property.
3. To configure a reaction to an event: In the left-hand window area, select the event trigger,
e.g. mouse, background color, etc. In the right window area, select the type of the event:
e.g. mouse click, change, etc.
4. Right-click the associated
menu.
880
Click the
8. Click on the
command button. The function is compiled. This process is indicated in the
status bar of the dialog by the message "Compile Action...".
9. If compilation has been completed without error, the message 0 Error(s), 0 Warning(s) is
displayed in the status bar. Click on the OK button. The Edit Action dialog is closed.
Dynamizing using a C action is indicated in the Object Properties dialog by the
icon.
10.If compilation has not been completed without error, the number of errors and warnings is
displayed in the status bar. More detailed information about the errors is shown at the
bottom of the Editor window.
11.Correct all errors. Recompile the function. Close the dialog by activating the "OK"
button.
Dynamizing using a C action is indicated in the Object Properties dialog by the
icon.
881
See also
Importing and Exporting Actions (Page886)
Editing Triggers (Page883)
Working with C Actions (Page878)
Dynamizing Using C Action (Page877)
How to Apply Functions in the Action Code (Page882)
4.10.4
Introduction
You can use internal functions, standard functions, or project functions within your action. The
function is always inserted in the action code at the cursor position.
Requirement
Open the editor for C actions.
4. This dialog shows a list of all parameters belonging to the function to be inserted, and allows
you to set parameters for this function.
5. In the Value column, click the parameter which you want to set.
882
Alternative Operation
You can also open the Set Parameters dialog using the commands Apply or Parameter
Assignment in the pop-up menu of the functions in the navigation window.
See also
Working with C Actions (Page878)
Dynamizing Using C Action (Page877)
4.10.5
Editing Triggers
Introduction
If you configure an action for an event, you do not have to configure a trigger. The event is the
trigger for the action.
You have to assign a trigger if you configure an action for dynamizing an object property. A
cyclic trigger with the standard cycle set in the Graphics Designer is used by default as the
trigger.
Trigger Events
The following trigger events are available in the Edit C Action dialog.
Tag: A tag trigger is used as the trigger. The query can be performed either when a change
is made or cyclically. Query cycles between 250 ms and 1 h can be selected. Self-defined
user cycles are also available.
Standard cycle: A cyclic trigger is used as the trigger. Cycle times between 250 ms and 1
h can be selected. Self-defined user cycles are also available.
883
884
Requirement
Open the editor for C actions in the Graphics Designer.
Procedure
1.
button.
See also
How to Configure a C Action (Page879)
Working with C Actions (Page878)
Dynamizing Using C Action (Page877)
885
4.10.6
Introduction
In order to transfer an action to a different object or object property, you can export and then
import the function code.
When exporting, no check is performed to determine whether or not the function code can be
compiled without error.
Requirement
Open the editor for C actions.
See also
Working with C Actions (Page878)
Dynamizing Using C Action (Page877)
886
Resources
5.1
Content
The signaling system
Access to comprehensive information about error and operating states
Early detection of critical situations
Prevention of and reduction in downtime
Quality improvements
Targeted documentation of error and operating states
You use the "Alarm Logging" editor to configure the following:
Preparation of messages
Representation of messages in runtime
Acknowledgement of messages
Archiving of messages
5.2
Introduction
The message system processes results from functions that monitor actions in the process, on
the automation level and in the WinCC System. The message system indicates detected alarm
events both visually and acoustically and archives them electronically and on paper. Direct
access to the messages and supplementary information for individual messages ensures that
faults are localized and cleared quickly.
Archiving
Depending on the message class, changes that occur in message states are written to
configurable archives.
Archiving takes place in the message archive. For this purpose, various parameters such as
the archive size, time range, switchover time, etc., are set. If one of the configured criteria is
887
Hiding Messages
Hiding messages reduces the information load for the system user. You can select whether
the messages are to be displayed in the message list, short-term archive list and long-term
archive list. The display depends on the activated option in the "Display Options" dialog. The
possible options are:
Display All Messages
Display visible messages (default setting)
Display Hidden Messages
The hidden messages are displayed in the list of messages to be hidden and can be shown
again.
You can hide messages in two ways:
Automatic hide: Messages are hidden and shown again later depending on a certain status
of the hide tag. You can configure the condition for hide or show using the hide mask.
Hide Manually: In the message window, you can use a button to define when you want to
hide a message. You can also show the messages again using another button. The system
displays the messages again after a configurable time.
888
889
Events
The message system distinguishes between binary events and monitoring events:
Binary events are state changes of internal or external tags.
Monitoring events are not supported directly from the WinCC Alarm Logging. Monitoring
events include overflow of archives and hard disks, printer messages, server failure and
faulty process communication.
Alarms
The message system is used to chronologically signal and archive events that occur
sporadically during the process via messages at a central location. A message can be caused
by an event or a message frame.
The message system distinguishes between three messages:
Operating messages are used to display a state in the process.
Alarm messages are used to display an error in the process.
System messages are used to display error messages from other applications.
In Alarm Logging, messages with similar behavior, for example, with the same
acknowledgement theory or color assignment of message states, can be grouped into
message classes and message types.
890
Message blocks
The state change of a message is displayed in a message line during runtime. You define the
information you want to have displayed in the message line during configuration of the
message blocks:
System blocks enable the specification of information that is predefined and not freely
utilizable, such as date, time, duration, comment. The value of the message block (for
example, the time of day) is displayed in the message line.
User text blocks enable you to assign a message to up to ten different freely definable texts.
The message line will display the content of the text you defined. The message text of a
user text block can also display a process value. You define the output format for it.
Using process value blocks, you can display the values of tags in the message line. The
formatting that is used for this cannot be user-defined. You specify the associated tags for
the process value blocks.
When usingin multi-user systems the contentof a messagecan be displayed on a client by
configuring the message blocksequally on all servers. This also applies to the output of
alarmsvia theWinCC CAS.
Alarm window
During runtime, the changes in message states are indicated in a message window. You can
configure the appearance and operating options of the message window in the Graphics
Designer.
A message window contains all messages that have yet to be displayed in a table. Each
message to be displayed appears in its own line the message line.
The content of the message window can be influenced by a user-defined filter, for example
sorting according to message blocks.
891
Message Frames
Message frames originate from either the process or from the process-control monitoring
system. They are exchanged between the control system or the monitoring application and
Alarm Logging.
Message tag
In the bit message procedure, the control system signals the occurrence of an event in the
process by means of the message tag. Several messages can be masked via one message
tag. You can only use a bit of the message tag for a single message.
Message procedure
The message procedure is a result of the configuration of the message. Alarm Logging
supports multiple message procedures:
In the bit message procedure, the control system signals the occurrence of an event by
means of a message tag. The time stamp (date and time) of the message is assigned by
Alarm Logging.
With chronological reporting, the control system transmits a message frame with the
message data when the event occurs. This is evaluated in Alarm Logging. The time stamp
(date and time) of the message is assigned by the controller.
-If the "Acknowledgement-Triggered Messaging" (QTM) procedure is activated on an AS
S7-400, not every signal change is transmitted to the OS. With the QTM procedure, when
messages occur frequently due to sensor chatter, the AS does not send a new message
about a signal change until the last signaled positive signal change (incoming message)
has been acknowledged in the OS.
Limit value monitoring can be used to monitor the course of an analog tag for violation of
the upper and lower limit values.
892
Message line
In a message window, each message is displayed in its own message line. The content of the
message line depends on the message blocks to be displayed:
In the case of system message blocks, the value of the message block is displayed, for
example date and time.
In the case of process and user text blocks, the content is displayed, for example, the text
you have defined.
Logging
There are two options available in WinCC AlarmControl for logging messages:
With message sequence reports, all state changes (came in, went out, acknowledged) from
all currently pending messages are output to a printer.
The messages in the individual message lists can be printed out directly via Print Current
View button in WinCC AlarmControl.
Acknowledgement theory
The acknowledgement theory refers to the manner in which a message is to be displayed and
processed from the time it "comes in" to the time it "goes out." The following acknowledgement
theories can be implemented in Alarm Logging:
Single message without acknowledgement
Single message with incoming acknowledgement
Message with dual-mode acknowledgment
Initial value message with single-mode acknowledgment
New-value message with single-mode acknowledgment
New-value message with dual-mode acknowledgment
Message without "Went Out" status and without acknowledgement
Message without "Went Out" status and with acknowledgement
Acknowledgement tag
The acknowledgement tag contains the "Acknowledgement Status" of a message. A central
signaling device can thus be controlled using the acknowledgement tag.
893
Status tag
The "Came In / Went Out" status of the message type and an identifier for messages requiring
acknowledged are stored in the status tag.
See also
Working with Message Blocks (Page905)
How to Configure the Message System Using the System Wizard (Page904)
Alarm Logging (Page896)
Principles of the Message System (Page894)
WinCC Alarm Control (Page1070)
5.3
5.3.1
Introduction
Messages inform the operator about operating states and error states in the process. They
help identify critical situations early so that downtimes can be avoided.
Structure of a Message
Messages are displayed during runtime in the form of lines in a table. The individual messages
are composed of information that is shown in the fields of the table. These individual pieces
of information are referred to as message blocks.
The message blocks are subdivided into three groups:
894
Configuration
You configure messages in Alarm Logging. Several wizards are available to assist you during
configuration:
The System Wizard assists you in defining the basic settings of the message system.
The Interconnection Wizard facilitates the assignment of process tags to messages.
A selection of single messages can be processed simultaneously.
You can assign the same text to several user text blocks.
You configure the message window for displaying messages in runtime in the form of an
ActiveX control in the Graphics Designer. You can configure the appearance and operating
options of the message window here according to your requirements.
The Report Designer is used to configure the printout of messages in chronological order and
to log message archives.
895
See also
Working with Message Blocks (Page905)
How to Configure the Message System Using the System Wizard (Page904)
Alarm Logging (Page896)
Message System in WinCC (Page887)
WinCC Alarm Control (Page1070)
5.3.2
Alarm Logging
Introduction
You configure the messages and the message archive in Alarm Logging. You start Alarm
Logging by double-clicking in WinCC Explorer.
896
897
See also
Working with Single Messages (Page927)
Working with Message Classes (Page913)
Working with Message Blocks (Page905)
Configuring the Message System (Page903)
Basic Settings of Alarm Logging (Page898)
Message Archiving in WinCC (Page994)
5.3.3
5.3.3.1
Introduction
The following basic Alarm Logging settings can be adapted:
Adding and removing columns in the data window
Changing the configuration language
Integrating add-ins to the message system
Changing the text input mode
See also
Adding and Removing Columns (Page899)
How to Change the Text Input Mode (Page901)
How to Integrate Add-Ins into the Message System (Page900)
How to Change the Configuration Language (Page899)
898
5.3.3.2
Introduction
You can use the "Add/Remove Columns" command to hide or unhide individual columns in
the table window.
Procedure
1. In the "View" menu, select "Add/Remove Columns..."
2. In the "Add/Remove Columns" dialog, all columns to be displayed are marked with a check
mark. You can click select or clear the checkmarks for individual columns.
3. Click "OK" to close the dialog. The table window is updated, and the non-selected columns
are hidden.
See also
Basic Settings of Alarm Logging (Page898)
5.3.3.3
Introduction
You can change the configuration language by selecting the desired language from a list.
The language change affects only the texts stored in the text library. The language of the user
interface is not affected by the language change. If no texts are stored for the selected
language, the user interface language is used.
899
Procedure
1. In the "View" menu, select "Language...".
2. Select the desired language from the list and click "OK" to confirm.
Note
You enter the texts in the various languages in the "Text Library" editor.
See also
Basic Settings of Alarm Logging (Page898)
5.3.3.4
Introduction
Add-ins are only integrated into the message system, if needed. The limit value monitoring is
available as an add-in.
900
Procedure
1. In the "Tools" menu, select "Add Ins...".
2. Select the add-in in the dialog.
3. Click "OK" to close the dialog. The add-ins selected are displayed in the navigation window.
See also
Working with the Limit Value Monitoring (Page984)
Basic Settings of Alarm Logging (Page898)
5.3.3.5
Introduction
You can specify how text changes are to take effect in the table fields of single messages.
901
Description
Changes to the selected text apply If a text is changed, all single message text fields containing this
to all identical texts.
text are changed.
Changes apply only to the
selected text.
Keep settings.
902
Requirement
The "Alarm Logging" editor is open.
Procedure
1. In the "Messages" menu, select "Text Input Mode...". The "Text Input Mode" dialog opens.
2. Select the desired input mode.
See also
How to Specify the Message Texts of a Single Message (Page938)
Basic Settings of Alarm Logging (Page898)
5.4
5.4.1
Introduction
In Alarm Logging, you can specify which messages and which content are to be displayed in
the message window and archived.
903
General Procedure
Configuration of the message system is broken down into the following steps:
1. Use the System Wizard to specify the basic settings for the message system.
2. Configure the message blocks in accordance with your requirements.
3. Configure the message classes and message types.
4. Configure the single messages and group messages.
5. Configure the data archiving method.
6. After completion of each configuration step, save the changes made in Alarm Logging.
Note
Make use of the wizards and configuration dialogs for all aspects of creation of new messages.
See also
Message System in WinCC (Page887)
Working with Group Messages (Page970)
Working with Single Messages (Page927)
Working with Message Classes (Page913)
Working with Message Blocks (Page905)
How to Configure the Message System Using the System Wizard (Page904)
Alarm Logging (Page896)
Message Archiving in WinCC (Page994)
5.4.2
Introduction
The System Wizard is used to preconfigure the message system. Here, for example, frequently
used message blocks and message types are created. You can adapt the objects created by
the wizard at a later time.
The System Wizard generates the messages in all installed languages in the text library. After
the wizard has run, you can delete any unnecessary languages from the text library. If you
install a language at a later time, you must set the configuration language for the existing
project to the new language in Alarm Logging. The messages will then also be generated in
this language.
904
Requirement
The "Alarm Logging" editor is open.
Procedure
1. In the File menu, select "Select Wizard" and then select "System Wizard". Click "OK".
2. After the start screen, specify the message blocks you want to create with the System
Wizard in the "Select Message Blocks" dialog..
3. In the "Preset Classes" dialog, specify the message classes along with their respective
acknowledgement theory and associated message types.
4. The "Final" dialog contains a summary of the message blocks and message classes to be
created by the wizard. Click "Finish".
Note
Any settings that are modified after execution of the System Wizard will be lost when the
wizard is run again.
See also
Configuring the Message System (Page903)
5.4.3
5.4.3.1
Introduction
The content of a message consists of message blocks. Each message block corresponds to
one column in the tabular display of the message window.
There are three groups of message blocks:
System blocks with system data, for example, date, time, message number and status. The
description of the system blocks provides information on the individual system blocks.
User text blocks with explanatory texts, for example, message text with information on the
cause of a fault or the fault location.
Process value blocks are used to link the messages to process values, for example, current
fill levels, temperatures or speeds. In each message system, up to 10 individually
configurable process value blocks are available for each single message.
905
Length Restrictions for User Text Blocks and Process Value Blocks
User text blocks can contain a maximum of 255 characters.
The display of process value blocks is restricted during runtime to the following:
Maximum of 32 characters for chronological reporting
Maximum of 255 characters for the bit message procedure
See also
Description of System Blocks (Page907)
How to Remove Message Blocks (Page912)
How to Change the Properties of Message Blocks (Page910)
How to Add Message Blocks (Page909)
906
5.4.3.2
Introduction
System blocks allow for the specification of predefined information that is not freely utilizable,
such as date, time and duration.
The value of the message block (for example, the time of day) is displayed in the message
line. The description of the system blocks provides information on the individual system blocks.
Overview
System block
Description
Standard
length
AS/CPU-Number
Archiving
Type
User Name
10
Duration
907
Description
Standard
length
Info Text
Class
Comment
Loop In Alarm
Number
Message number
Priority
Logging
Acknowledgement Status
Computer Name
10
908
Time of day
Description
Standard
length
Tag
Status
Note
If the "ISO 8601-Swap Format to All Components" setting is activated in the "Computer
Properties" dialog, the formats configured for system blocks "Date" and "Time" are affected.
See also
How to Add Message Blocks (Page909)
How to Configure the Status Texts of a Message Class (Page925)
5.4.3.3
Introduction
You can add message blocks that are necessary for the archiving and display of messages to
the message system.
Requirement
The "Alarm Logging" editor is open.
Procedure
1. Select the "Message Blocks" folder in the navigation window.
2. Select "Message Blocks..." in the shortcut menu. The "Configure Message Blocks" dialog
opens.
3. Select the message block that you want to add, for example, a system block. Click "Add".
909
6. Proceed in the same way to add user text blocks and process value blocks.
Alternative Procedure
1. Select the "Message Blocks" folder in the navigation window.
2. Select the desired message block, for example, system blocks, in the data window, and
select "Add/Remove" in the shortcut menu.
3. Select the required message blocks in the list of available system blocks. Click
to
add these message blocks to the list of selected system blocks. If you want to add all
available system blocks, click
. Click "OK" to confirm your selection.
4. Proceed in the same way to add user text blocks and process value blocks.
See also
Working with Message Blocks (Page905)
5.4.3.4
Introduction
You can display and modify the properties of a message block in the Properties dialog for the
message block.
910
Requirement
You have added the message blocks to the message system.
Procedure
1. Select the "Message Blocks" folder in the navigation window.
2. Select "Message Blocks..." in the shortcut menu. The "Configure Message Blocks" dialog
opens.
3. In the tree view, select the message block you want to modify, for example, the "Time of
day" system block.
4. Click the "Properties" button. The Properties dialog for the selected message block opens.
5. Edit the properties of the message block, for example, the name, in the dialog. Click "OK."
Alternative Procedure
1. Select the "System Blocks" folder in the navigation window.
2. In the data window, select the desired message block, for example, time of day. Select
"Properties" in the shortcut menu, or double-click the message block. The Properties dialog
for the selected message block opens.
3. Edit the properties of the message block, for example, the name, in the dialog. Click "OK."
4. Proceed in the same way to change the properties of the user text blocks and process value
blocks.
911
See also
Working with Message Blocks (Page905)
5.4.3.5
Introduction
You have the option of removing message blocks that are no longer required for archiving and
displaying messages from the message system.
Requirement
The "Alarm Logging" editor is open.
Procedure
1. Select the "Message Blocks" folder in the navigation window.
2. Select "Message Blocks..." in the shortcut menu. The "Configure Message Blocks" dialog
opens.
3. In the tree view, select the message block you want to remove, for example, the "Time of
day" system block.
4. Click "Remove". Clicking "OK" removes the "Time of day" message block from the message
system. Proceed in the same way to remove other message blocks.
912
Alternative Procedure
1. Select the "Message Blocks" folder in the navigation window.
2. Select the message block to be removed, for example, system blocks, in the data window
and then select "Add/Remove" in the shortcut menu.
3. Select the message blocks you want to remove in the list of selected system blocks.
to move these message blocks to the list of available system blocks. If you
Click
want to remove all selected system blocks, click
4. Proceed in the same way to remove user text blocks or process value blocks.
See also
Working with Message Blocks (Page905)
5.4.4
5.4.4.1
Introduction
When configuring the message system, you must assign a message class to each message.
This means you do not have to make a lot of individual basic settings; instead, you can make
settings that apply globally for the entire message class.
Overview
WinCC provides 16 message classes and two preset system message classes. The following
standard message classes are available:
Fault
System, requires acknowledgement
System, without acknowledgement
You configure the following basic settings for message classes:
Assigned message types
Acknowledgement theory and associated status texts
Output of acoustical/optical signals
913
See also
System Message Classes (Page914)
How to Configure the Acknowledgement of a Message Class (Page922)
How to Configure Message Classes (Page916)
How to Delete Message Classes (Page917)
How to Add Message Classes (Page915)
How to Add Message Types for the Message Class (Page918)
5.4.4.2
Introduction
System messages are messages that are generated internally by the system, such as
messages from operator inputs or system failures.
WinCC provides special system classes for the processing of system messages. You cannot
add new system classes. The acknowledgement theory is preset.
914
See also
How To Insert WinCC System Messages (Page960)
How to Configure Message Classes (Page916)
5.4.4.3
Introduction
You add additional message classes to the message system in order to combine messages
having the same acknowledgement theory into additional message classes.
Requirement
The "Alarm Logging" editor is open.
Procedure
1. Select the "Message Classes" folder in the navigation window.
2. Select "Add/Remove" in the shortcut menu. The "Add Message Class..." dialog opens.
915
See also
Working with Message Classes (Page913)
5.4.4.4
Introduction
You configure the following basic settings for message classes:
Name of message class
Assigned message types
Acknowledgement theory and associated status texts
Output of acoustical/optical signals
916
Requirement
You have added the message classes to the message system.
Procedure
1. Select the "Message Classes" folder in the navigation window.
2. Select the message class to be configured in the data window. Select "Properties" in the
shortcut menu, or double-click the message class. The Properties dialog for the selected
message class opens.
3. In the "Configure Message Classes..." dialog, click the tab on which you want to display
and edit the properties of the message class.
4. Click "OK" to close the dialog.
See also
How to Configure the Status Texts of a Message Class (Page925)
How to Configure the Acknowledgement of a Message Class (Page922)
How to Remove Message Types (Page921)
How to Change the Properties of Message Types (Page920)
Working with Message Classes (Page913)
How to Add Message Types for the Message Class (Page918)
5.4.4.5
Introduction
You remove a message class from the message system when you no longer need it for the
configured messages.
Requirement
The "Alarm Logging" editor is open.
Procedure
1. Select the "Message Classes" folder in the navigation window.
2. Select "Add/Remove" in the shortcut menu. The "Add Message Class..." dialog opens.
917
Note
You cannot remove the "System, requires acknowledgement" and "System, without
acknowledgement" message classes.
See also
Working with Message Classes (Page913)
5.4.4.6
Introduction
You configure message types within a message class that differ with respect to the color
assignment for the message statuses.
918
Requirement
You have added the message class to the message system.
Procedure
1. Select the message class to be configured in the navigation window.
2. Select "Add/Remove Message Types..." in the shortcut menu. The "Add Message Type..."
dialog opens.
3. Select the required message types in the list of available message types. Click
add these message types to the list of selected message types.
to
Alternative Procedure
1. Select the "Message Class" folder in the navigation window.
2. Select the desired message class in the data window. Select "Properties" in the shortcut
menu. The "Configure Message Classes..." dialog opens.
3. Click "Add".
The "Add Message Type..." dialog opens.
4. Select the required message types in the list of available message types. Click
to
add these message types to the list of selected message types. If you want to add all
available message types, click
. Click "OK" to confirm your selection.
See also
How to Configure Message Classes (Page916)
How to Change the Properties of Message Types (Page920)
919
5.4.4.7
Introduction
You configure the properties of a message type in the Properties dialog for the message type.
You have the option of changing the name of the message type and the display color of the
messages for the statuses "Came In", "Went Out" and "Acknowledged".
Requirement
You have added the message type to the message class.
Procedure
1. Select the message class whose message type you want to change in the navigation
window.
2. Select the desired message type in the data window.
3. Select "Properties" in the shortcut menu. The "Type" dialog opens.
4. Change the properties of the message type, for example, the text color of the "Came In"
status, in the dialog. Click "OK" to close the dialog.
Alternative Procedure
1. Select the message class whose message type you want to change in the navigation
window.
2. Select "Properties" in the shortcut menu. The "Configure Message Classes" dialog iopens.
920
See also
How to Configure Message Classes (Page916)
5.4.4.8
Introduction
You remove a message type from the message class if it is no longer required for the configured
message class.
Note
You cannot remove the "Process Control System", "System Messages", and "Operator Input
Messages" message types.
Requirement
The "Alarm Logging" editor is open.
Procedure
1. Select the message class from which you want to remove a message type in the navigation
window.
2. Select "Add/Remove Message Types..." in the shortcut menu. The "Add Message Type..."
dialog opens.
921
Alternative Procedure
1. Select the "Message Class" folder in the navigation window.
2. Select the desired message class in the data window. Select "Properties" in the shortcut
menu. The "Configure Message Classes..." dialog opens.
3. Select the message type you want to remove. Click "Remove".
The message type is removed from the message class. Click "OK" to close the dialog.
See also
How to Configure Message Classes (Page916)
5.4.4.9
Introduction
For the acknowledgement of a message, you specify how the message is to be displayed and
processed during runtime from "Incoming" status to "Outgoing" status.
922
Requirement
You have opened the "Configure Message Classes" dialog for the message class in Alarm
Logging.
Basic procedure
On the "Acknowledgement" tab, you configure the acknowledgement theory of a message of
the message class and the acknowledgement of a message using a central signaling device.
You can choose between eight different statuses for the acknowledgement of a message:
Single message without acknowledgement
Single message with incoming acknowledgement
Single message with dual-mode acknowledgement
Initial-value message with single-mode acknowledgement
New-value message with single-mode acknowledgement
New-value message with dual-mode acknowledgement
Message without "Went Out" status and with acknowledgement
Message without "Went Out" status and without acknowledgement
923
Description
Acknowledgeme
nt came in
Select the check box for a single message with incoming acknowledgement.
Incoming messages of this message class must be acknowledged. The message
remains pending until it is acknowledged.
Acknowledgeme
nt went out
Select the check box for a single message with dual-mode acknowledgement.
Outgoing messages of this message class must be acknowledged.
Flashing On
Select the check box for a new-value message with single-mode or dual-mode
acknowledgement. The messages of this message class are displayed flashing in
the message window. In order for a message block of a message to flash in runtime,
flashing must be enabled in the properties of the respective message block.
Message
Without Status
"Went Out"
Select the check box for a message without "Went Out" status and with or without
acknowledgement. If this option is selected, the messages doe not have "Went Out"
status. If the message only recognizes the "Came In" status, it is not entered in the
message window and is only archived.
Comments with
Explicit User
If you select the check box, the comments in the message window are assigned to
the logged-on user. The user is entered in the "User Name" system block. If no
comment has yet been entered, any user can enter the first comment. After the first
comment has been entered, all other users have only read access to this comment.
Comment of
Incoming
Message Always
in Message List
If you select the check box, the comment of the incoming message is always
displayed in the user text blocks with the dynamic components "@100%s@",
"@101%s@", "@102%s@" und "@103%s@". The display then depends on the
status of the message in the message list.
If certain options have been selected, other options may no longer be available for selection.
If you want to select one of these options, you must undo the previous selection.
Note
If a message type does not need to be acknowledged and is not assigned a "Went Out" status,
it is not displayed in the message window. The message is only archived. If such a message
is used within a group message, the occurrence of the message does not trigger the group
message.
924
Description
Separate
Central signaling devices that are triggered when a message comes in are
acknowledgemen acknowledged by the user by means of a separate acknowledgement button in the
t button
toolbar or by means of a keyboard entry. The acknowledgement button must be
configured in the message window. The separate acknowledgement button is
always available, even if the "By Means Of Single Ack." option has been selected.
By Means of
Central signaling devices that are triggered when a message comes in are
Single
acknowledged together with the triggering message.
Acknowledgemen
t
Variable
See also
How to Configure Message Classes (Page916)
5.4.4.10
Introduction
Message status texts of a message are displayed in the message line in the "Status" and the
"Acknowledgement Status" system blocks.
Requirement
You have opened the "Configure Message Classes" dialog for the message class in Alarm
Logging.
System Block
Message list
State
Message list
Acknowledgeme "Acknowledged"
nt Status
Archive List
State
Archive List
925
System Block
Lock list
State
Lock list
Note
The system generates the display of status texts "Ackn System" for system-acknowledged
messages and "Ackn Reset" for acknowledged messages using emergency
acknowledgement.
926
option
Description
Came In
Went Out
Text for "outgoing" messages when there is a change from the signaling
operating state
Acknowledged
Note
Status texts are displayed in the message line only up to their configured length in the system
block properties. Therefore, a system block should be long enough for the longest status text
to be displayed.
See also
How to Configure Message Classes (Page916)
5.4.5
5.4.5.1
Introduction
With single messages, a message is assigned to every event. Several single messages can
be compiled to form a group message. A single message is made up of the defined message
blocks.
See also
How to Delete a Single Message (Page931)
Parameters of a Single Message (Page928)
How to Create a Single Message (Page931)
927
5.4.5.2
Introduction
Make the following settings on the "Parameters" tab of the "Single Message" dialog:
Parameters of the single message, e.g. association with a message class and message
type
Parameters for the connections to different tags, such as the message tag
928
Click
Click
Description
Number
Number of the single message. You can only set the number in the table window.
Class
Type
Group
You can select a configured group message in the selection list when assigning the single
message to a user-defined group message.
Hide mask
Defines the condition for hiding the message based on a hexadecimal value. If the value of
the hide tag number corresponds to a system status in runtime, the message is automatically
hidden in the message list and in the short-term or long-term archive list. The single message
must be assigned to a user-defined group message and a hide tag must have been configured
for the group message.
Priority
Defines the message priority. Messages can be selected and sorted based on their priority.
The range of values is "0" to "16".
The value which is equivalent to the highest priority is not specified in WinCC. The value 16
corresponds to the highest priority in the PCS7 environment.
requires single
acknowledgment
controls the central signaling Activation of a message triggers central signaling device.
device
will be archived
Is created on a negative
edge
You can specify whether to trigger generation of a message for discrete alarms at the positive
or at the negative signal edge . Message generation is always triggered at the positive signal
edge for all other message procedures.
The message tag for messages triggered at the negative edge must be assigned start value
"1".
triggers an action
The message triggers the default GMsgFunction which you can edit using the "Global Script"
editor. The function is available at "Standard Functions/Alarm" in the function browser of
Global Script.
contains expanded
associated values
The option "contains expanded associated values" refers to the evaluation of message events
from message blocks by means of raw data tags. If the option is activated, the process values
are evaluated according to the data type of associated values defined in the dynamic text
parts in Alarm Logging and are archived or displayed in the single message. The 12 bytes of
the associated values can contain the following data types: Byte(Y), WORD(W), DWORD(X),
Integer(I), Integer(D), BOOL(B), CHAR(C) and REAL(R). E.g. @1Y%d@, @2W%d@, @3W
%d@, @3X%d@, @5W%d@, @6Y%d@. "@2W%d@" references the second associated
value as "WORD", for example.
AS Number
CPU number
Message tag
The message tag contains the bit which is used to trigger the currently selected message.
929
Description
Message bit
Number of the message tag bit which is used to trigger the currently selected message.
Acknowledgment tag
Acknowledgment bit
Number of the acknowledgment tag bit that is used to acknowledge the message.
Status tag
Select this field to specify the tag to which single message states are saved ("activated /
deactivated" and acknowledgment state).
Status bit
Number of the status tag bit which indicates the message status. The bit for mandatory
acknowledgment is determined automatically.
Format DLL
If the message tag is a raw data tag, you must select the corresponding compiler program in
this field.
DLL parameters
Enter the interface-specific DLL message parameters (Format DLL) in this field. This setting
is only required if this message belongs to a separate format DLL which is interconnected by
means of ODK.
Note
Do not combine any tag bits of the message with other tags of the message, such as message
tag and status tag.
See also
How to Link a Picture to a Single Message (Page943)
How to Specify the Message Texts of a Single Message (Page938)
How to Connect Tags and Messages Using the Interconnection Wizard (Page937)
How to Specify the Tag of a Single Message (Page936)
Status Tag of a Single Message (Page933)
Acknowledgement Tag of a Single Message (Page935)
Message Tag of a Single Message (Page932)
Working with Single Messages (Page927)
How to Configure the Hiding of Messages (Page945)
Hide tag of a User-Defined Group Message (Page975)
930
5.4.5.3
Introduction
You create a single message in the table window of Alarm Logging by inserting a new line or
copy and paste and existing single message.
Requirement
The "Alarm Logging" editor is open.
See also
How to Delete a Single Message (Page931)
Parameters of a Single Message (Page928)
Working with Single Messages (Page927)
5.4.5.4
Introduction
You can delete a single message in the table window of Alarm Logging.
931
Requirement
The "Alarm Logging" editor is open.
Procedure
1. In the table window, select a field of the single message that you want to delete.
2. Select "Delete line" in the shortcut menu.
3. The single message is deleted and removed from the table.
See also
Parameters of a Single Message (Page928)
How to Create a Single Message (Page931)
Working with Single Messages (Page927)
5.4.5.5
to open the dialog for selection of the tag to be used as the message tag.
Click
Note
Do not combine any tag bits of the message with other tags of the message, such as a status
tag.
932
See also
How to Connect Tags and Messages Using the Interconnection Wizard (Page937)
Parameters of a Single Message (Page928)
Status Tag of a Single Message (Page933)
Acknowledgement Tag of a Single Message (Page935)
"Acknowledgment bit"
The acknowledgement bit in the status tag changes to "1" as soon as a single message
requiring acknowledgement has come in and has not yet been acknowledged. The
acknowledgement bit changes to "0" as soon as a single message requiring acknowledgement
has been acknowledged.
933
Click
Note
Do not combine any tag bits of the status with other tags of the message, such as an
acknowledgment tag.
934
See also
How to Connect Tags and Messages Using the Interconnection Wizard (Page937)
Parameters of a Single Message (Page928)
Message Tag of a Single Message (Page932)
Acknowledgement Tag of a Single Message (Page935)
to open the dialog for selection of the tag you want to use as an acknowledgment tag.
Click
Note
Do not combine any bits of the acknowledgment tag with other tags of the message, such as
a status tag.
935
See also
How to Connect Tags and Messages Using the Interconnection Wizard (Page937)
Parameters of a Single Message (Page928)
Status Tag of a Single Message (Page933)
Message Tag of a Single Message (Page932)
Requirement
You have already created single messages.
At least one process value block has been added to the message system.
Procedure
1. Select "Properties" in the shortcut menu of the selected single message. The "Single
Message" dialog opens.
2. Select the "Tag / Action" tab.
936
See also
How to Link a Picture to a Single Message (Page943)
How to Specify the Message Texts of a Single Message (Page938)
How to Add Message Blocks (Page909)
Parameters of a Single Message (Page928)
How to Create a Single Message (Page931)
Requirement
The "Alarm Logging" editor is open.
Procedure
1. In the File menu, select "Select Wizard" and then select "Interconnection Wizard". Click
"OK". Alternatively, you can start the Interconnection Wizard in the "Messages" menu.
2. Click the
button to select a message tag in the "Interconnect Tag: Message Tag" dialog.
Enter the numbers of the messages to which you want to interconnect the selected
message tag.
3. Click the
button to select an acknowledgement tag in the "Interconnect Tag:
Acknowledgement Tag" dialog. Enter the numbers of the messages to which you want to
interconnect the selected acknowledgement tag.
4. Click "Apply" to close the wizard. The selected tags are interconnected with the
corresponding messages.
See also
Parameters of a Single Message (Page928)
937
5.4.5.6
Introduction
In message texts for a message, you can specify, for example, information on the cause of a
fault or the location of the fault.
Description
Info text
Here, you enter an information text containing up to 255 characters. Info texts
cannot be changed during runtime.
Blocks 1 to 10
Here, you enter a text for each block containing up to 255 characters.
Blocks 1 to 10 represent the respective user text blocks.
In the user text block, you can display the field contents of the comment dialog of
the message using the following formatting instructions:
@100%s@ = Computer Name (max. 16 characters)
@101%s@ = Application name (max. 32 characters)
@102%s@ = User name (max. 16 characters)
@103%s@ = Comment (max. 255 characters) of the message in the long-term
archive list. For this, a comment must have been entered in the message.
The format instructions should not contain any alphabets in upper case.
Click the button to display the "Insert Process Value" dialog. Here, you insert a
process value in the user text block.
The inserted process value is identified in the user by the format instruction
@.....@.
938
Requirement
You have already created single messages.
Procedure
1. Select the desired single message in the table window.
2. Select "Properties" in the shortcut menu. The "Single Message" dialog opens.
939
Alternative Procedure
1. In the table window, double-click the field in the selected single message whose text you
want to insert or change. Edit the user text blocks directly in the table field. In the case of
"Info text", the "Info Text" dialog opens.
2. In the "Info Text" dialog, enter an additional information text containing up to 255 characters
for a single message. An information text can be used, for example, to describe why a
message can arrive.
You can use the shortcut menu and the standard editing functions to copy or paste text in
the dialog. Info texts cannot be changed during runtime.
See also
Parameters of a Single Message (Page928)
How to Create a Single Message (Page931)
5.4.5.7
Introduction
You can insert the value of a process variable in a user text block. However, the maximum
length of a user text block (i.e., 255 characters) must not be exceeded.
940
Description
Length
Text
Process value
block
Here, you select the process variable whose value you want to insert.
Type
Position
Determines the position of the format statement in the text. Specifying "Position:
10" causes the process value to be inserted after the tenth character in the user
text.
Number of digits
Defines the number of digits reserved in the user text for the process value.
Accuracy
Defines who many digits of the process value are to be inserted in the user text.
Pad with 0
If this function is activated, floating-point numbers are filled in until the number of
digits specified in the "Precision" text field is reached.
Align Left
If the number of digits in the process value to be inserted is less than the number
of digits reserved, this function is used to specify whether the process value is
aligned right or left when it is inserted in the user text.
Format statement
Example:
Requirement
You have already created single messages.
You have added at least one process value block to the message system.
Procedure
1. Select the desired single message in the table window.
2. Select "Properties" in the shortcut menu. The "Single Message" dialog opens.
941
for a user text block on the "Texts" tab. The "Insert Process Value" dialog opens.
See also
How to Add Message Blocks (Page909)
Parameters of a Single Message (Page928)
How to Create a Single Message (Page931)
942
5.4.5.8
Introduction
You can display a plant graphic for a single message during runtime that represents the part
of the process where the message occurred. To do this, assign the name of the plant graphic
to a picture function that is triggered in the message window as follows:
By double-clicking a message. The configuration is performed on the "Parameters" tab in
the WinCC Alarm Control.
By clicking the "Loop in Alarm" button on the toolbar.
Note
The WinCC standard function "OpenPicture" is used for the picture function. You can
specify any function and specify another file as the transfer parameter.
If you wish to use a different function, you should note the following:
Use a function that accepts a transfer parameter of the type char*, for example: void
MyFunction(char* NameOwnData).
Use only functions whose return parameter corresponds to the "unsigned char", "short
int", "long int", "float", "double", "bool", or "void" types
Requirement
You have already created single messages.
You have configured a plant graphic in the Graphics Designer.
943
Procedure
1. Select "Properties" in the shortcut menu of the selected single message. The "Single
Message" dialog opens.
2. Select the "Tag/Action" tab.
3. Enter the name of the picture in the "Picture Name/Call Parameter" text field or click
Select the picture in the project directory. Click
944
Alternative Procedure
1. Double-click the "Loop in Alarm" field in the selected single message in the table window.
The "Loop in Alarm" dialog opens.
2. Enter the name of the picture in the "Picture Name/Call Parameter" text field or click
Select the desired picture in the directory of your project. Click
assignment. Click "OK."
See also
Parameters of a Single Message (Page928)
How to Create a Single Message (Page931)
5.4.5.9
Introduction
Hiding messages reduces the information load for the system user. You as user can
concentrate better on the messages only if selected messages are shown.
945
Hide process
You can hide messages in two ways:
Automatic hide: Messages are hidden and shown again later depending on a certain system
status of the hide tag. You need to assign a hide tag to a group message. You add the
single messages that you want to hide during runtime to the group message. You can
configure the system status for hide or show using the hide mask in the single message.
Hide Manually: In the message window, you can use a button to define when you want to
hide a message from one of the three message lists. You can also show the messages
again using another button in the Message window. The system displays the messages
again after a configurable time. Operator input messages can be triggered in Manual Hide.
Configuring Hide
You can configure automatic hide and the duration for manual hide in Alarm Logging. This
section describes the configuration process.
You configure the button for manual hide in WinCC Alarm Control in the Graphics Designer.
Refer chapter "How to Hide and Unhide Messages" for details about configuring and operating
in runtime during manual hide in WinCC Alarm Control.
Requirement
The "Alarm Logging" editor is open.
Single messages have been created.
946
3. Enter the name of the new group message in the "Name" box. Choose the hide tag via the
tag selection dialog. You can use an unsigned 8 bit, 16 bit or 32 bit value as a hide tag.
4. Click "OK" to save your settings.
5. Add the single messages that you want to hide automatically to the group message. Select
"Add Single Message" in the pop-up menu of the group message.
947
7. Select the group with the hide tag in the "Group" field.
948
Select the system statuses in the "System status" dialog. The selected system statuses
are then entered into the "Hide mask" as a hexadecimal value.
9. Click "OK" to save your settings.
2. Enter the required duration. 30 minutes are preset. The period is interpreted internally in
minutes. You can enter a maximum of 9 days, 23 hours and 59 minutes. This corresponds
to 239 hours and 59 minutes or 14399 minutes.
3. Click "OK" to save your settings.
949
See also
Hide tag of a User-Defined Group Message (Page975)
Parameters of a Single Message (Page928)
How to Create a User-Defined Group Message (Page979)
How to Add a Single Message to a Group Message (Page982)
How to Hide and Show Messages (Page1100)
5.4.5.10
Introduction
The system messages generated by the various WinCC modules are described below. You
can integrate these messages into your message system using the "WinCC - System
Messages" menu command.
Note
When you assign system messages to a user-defined message class, the message class
must have the same properties as the system message class.
Note
You can obtain additional information on the system messages in the system message block
"Comment" for the message.
950
Number
1000000
WCCRT:Error
1000001
1000002
1000003
1000004
1000005
1000006
1000100
WCCRT:Drive error
1000200
WCCRT:Status
1000201
1000202
1000203
1000204
1000205
WCCRT:Connection established
1000206
1000207
1000208
1000209
WCCRT:Connection deleted
1000210
WCCRT:Connection modified
1000211
WCCRT:Connection reestablished
1000300
WCCRT:Driver state
1000800
PACKAGE:Import
1000801
PACKAGE:Export
1000802
PACKAGE:Delete
1000803
PACKAGE:New
1000804
PACKAGE:Reload
1000805
PACKAGE:DefaultServer
1000806
PACKAGE:Implicit update
1000807
PACKAGE:Update
1000900
PERFMON: is low
1000901
PERFMON: is OK
1000902
PERFMON: is high
1000903
PERFMON: is OK
1000904
PERFMON: is low
1000905
PERFMON: is OK
1000906
PERFMON: is high
1000907
PERFMON: is OK
1000908
PERFMON: is low
1000909
PERFMON: is OK
1000910
PERFMON: is high
1000911
PERFMON: is OK
1000912
1000913
1000914
1000915
1001000
1001001
1001002
1001003
1001004
1001005
1001006
1002000
1002001
1002002
1002003
1002004
951
1002005
1002006
1002007
1002008
1002009
1002010
1002011
1002012
1002013
1002014
1002015
1002016
1002017
1002018
1002019
1002020
1002021
1002022
TLGRT: The problem with the connection to the central archive server was fixed.
1003018
1003019
1003020
1003021
1003022
ALGRT:Message is locked
This message occurs if you attempt to trigger a locked message via the API.
1003023
1003032
1003033
1003034
1003048
1003049
1003050
952
1003051
1003052
1003053
1003054
1003055
1003056
1003057
1003058
ALGRT:Handle invalid
This error message can occur during accesses via the API.
1003059
1003060
1003061
1003062
1003063
ALGRT:Wrong parameter
This error message can occur during accesses via the API.
1003064
1003065
1003066
1003067
1003068
1003069
ALGRT:Invalid log
1003070
1003071
1003072
1003073
1003074
953
1003075
1003076
1003077
1003078
1003079
1003080
1003081
NRMS7:General error
An internal error of unknown cause has occurred.
1003082
1003083
1003084
1003085
1003086
1003087
1003098
1003099
1003100
1003101
1003102
1003103
954
1003104
1003105
1003106
1003107
1003108
1003109
1003110
1004000
RPTRT:General error
1004001
RPTRT:PRT_OUT-Folder full.
1004002
RPTRT:Spool-Folder full.
1004003
1004004
1004005
1004006
RPTRT:Spool-Folder full.
1004007
1005000
TXTRT:General error
1005001
1005002
1005003
1005004
1005005
1005006
1005007
1005008
1005009
1005010
1005011
1005012
1005013
1005014
TXTRT:DBConnect error
No connection to the database could be set up.
1006000
GSCRT:Error
1007000
SCRIPT:Overflow
Overload: either there are too many actions running in a cycle that is too small, or an action
is suspended (endless loop, dialog output). All the other actions are in the queue and cannot
be processed.
955
1007001
SCRIPT:Action error
One of the following errors has occurred:
Exception in the action (specific cause unknown)
Exception upon access to the return result (char* associated memory invalid)
Stack overflow upon execution of the action
The action contains a division by 0
The action contains an access to a non-existing symbol
The action contains an access violation
In WinCC version 4.0 and higher, you can integrate the OnErrorExecute function in
your script, which allows for a detailed analysis of errors.
1007002
SCRIPT:Overflow
Internal lists have overflowed.
1007003
SCRIPT:Connection error
The connection to the server is broken.
1007004
SCRIPT:Action error 1
The called function is not known. Check the spelling in the function call and the
implementation of the function.
1007005
SCRIPT:Action error 2
This error can have several causes:
The action does not contain a P code. Recompile the action.
The function could not be loaded, for example, due to incorrect function name.
The type of the returned value of the function is invalid.
In WinCC version 4.0 and higher, you can integrate the OnErrorExecute function in
your script, which allows for a detailed analysis of errors.
1007006
SCRIPT:Tag error
A requested tag was not supplied by WinCC Explorer within 10 seconds. Check the spelling
of the tag name. In the case of external tags, there may be a communication problem
between the WinCC Explorer and the PLC.
From WinCC version 4.0, you have the option to incorporate the OnErrorExecute function
into your script, which allows for a detailed analysis of errors.
1007007
SCRIPT: Info
Additional information under "Diagnostics of WinCC / Runtime Monitoring for Actions".
1007009
SCRIPT:Error in Thread
Additional information under "Diagnostics of WinCC / Runtime Monitoring for Actions".
956
1008000
1008001
1008002
1008003
USERT:Manual Login
1008004
USERT:Login by chipcard
1008005
USERT:Manual Logout
1008006
USERT:Logout by chipcard
1008007
1009000
LBMRT:Error
1010000
STRRT:Error
1010001
1010002
1010003
1010004
1010005
1010006
1010007
1010008
1010101
1010102
1010103
1010104
1010105
1010106
1010107
1010108
1010109
1010110
CAS:Backup connected
1010111
1010112
CAS:Backup disconnected
1010113
1010114
1010115
1010116
1010117
1010118
CAS:Archive completed
1010119
1010120
1010121
1010122
1010123
CAS: Caution, License not found: SIMATIC PCS7 StoragePlus Server. Long-term archiving
deactivated
1010124
1010130
1010131
1011000
1011001
1011002
1011003
1011101
1011201
1011202
1011203
1012001
957
958
Number
1012002
1012003
1012004
1012005
1012006
1012007
1012008
1012009
1012010
1012011
1012012
1012013
1012014
1012015
1012016
1012017
1012018
1012019
1012020
1012021
1012022
1012023
1012024
SYNC:Configured device name for the time synchronization does not agree with PC
installation
1012025
SYNC:LAN sync: Cannot acquire time from the connected WinCC server
1012026
1012027
1012028
1012029
1012200
1012201
1012202
1012203
1012204
1012205
1012206
1012207
1012208
1012209
REDRT:Synchronization finished
1012210
1012211
1012212
1012213
1012214
1012215
1012216
1012217
1012218
1012219
1012220
1012221
1012222
1012223
1012224
1012225
1012226
1012227
1012228
1012229
1012240
1012241
1012242
1012243
1012244
1012245
1012246
1012247
1012248
1012250
1012251
AM:Internal error
1012252
1012253
1012254
1012255
1012256
1012257
1012258
1012259
1012260
1012265
1012301
1012348
1012349
1012350
959
1012400
1012401
See also
How To Insert WinCC System Messages (Page960)
5.4.5.11
Introduction
The installation directory of WinCC contains the "LTMDaten.CSV" file. This file contains special
system messages that are triggered by various WinCC components at runtime.
Use the "WinCC System Messages" menu command to integrate the system messages into
your message system.
Note
If installing a language later while having already created the WinCC system messages using
this dialog, you once again have to read in the system messages.
Click "OK" in the "WinCC system messages" dialog. This enters the message texts of the
new language in the text library.
960
Prerequisite
The "Alarm Logging" editor is open.
Procedure
1. Select "WinCC System Messages..." in the "Tools" menu. The "WinCC System Messages"
dialog opens.
2. In the dialog, select the message generation parameters.
3. Click "Create" to start generating the system messages according to the options selected.
Click "Close" to exit the dialog.
See also
Description of WinCC System Messages (Page950)
961
5.4.5.12
962
Message number
Parameter bit-coded.
For exact coding details, refer to "ODK Open Developers Kit" documentation. The
documentation is only available when WinCC option "ODK" is installed.
Message type (1-260, depending on class; 256 user-defined message types, 4 systeminternal message types)
Class 1: ;1-16
Class 2: ;17-32,
Class 3: ;33-48,
Class n: ;(n-1)*16+1 to n*16
AA
AB
AC
QD
AE
AF
AG
AH
AI
Message tag
AJ
Message bit
AK
Acknowledgement tag
AL
Acknowledgement bit
AM
Status tag
AN
Status bit
AO
AP
AQ
Info text
AR
AS
Function name
AT
AU
AV
Group identification
QW
Group name
AX
Hide mask
AY
Creator identification
AZ
Priority
963
See also
How to Export Single Messages (Page966)
How to Import Single Messages (Page964)
Description
Deleting messages
Note
The text that you want to import import into the message system must not contain any special
characters, e.g., commas, semicolons, tabs, paragraph end marks, and line breaks. The
special characters are interpreted as separators during an import.
Check files imported from external applications for incorrect assignments and interconnection
errors.
If the tags are not configured in the WinCC tag management, the tag connection is lost when
the messages are imported. These messages must be deleted following an import before
new messages are compiled using "OS-Compile".
964
Requirement
The "Alarm Logging" editor is open.
Procedure
1. In the "Messages" menu, select "Import Single Messages...". The "Import Messages" dialog
is opened.
2. Click the
button next to the "File:" box. Select an import file in the file selection dialog
that appears.
3. If you want to import single messages that were exported using WinCC Version 1.0, select
"File Format WinCC Version 1.0".
4. Specify the import mode of the text file in the "Mode" group.
5. Click "Import" to import the text file into the message system. Click "Cancel Import" to cancel
the import in progress.
6. Click "Close" to close the dialog.
See also
Structure of the Import/Export File (Page962)
965
966
Options
Description
Format
Separator within
the fields
You must activate this option if separators, such as commas, colons, semicolons,
etc., are contained in the field texts to be exported.
During the export, the content of a field is checked. If the text in a field to be
exported contains a separator, this text will be placed in quotation marks in the
export file.
This option is used to specify whether the ID of the message in the text library is
also to be exported.
If an import to another file is to be carried out, we recommend that you set the
IDs to 0.
If the messages are to be re-imported at a later stage into the current project, we
recommend not setting the text IDs to 0.
Set group
identifiers to 0
This option is used to define whether the group ID is also to be exported with the
message.
If an import to another file is to be carried out, we recommend that you set the
group IDs to 0.
If the messages are to be re-imported at a later stage into the current project, we
recommend not setting the group IDs to 0.
Requirement
The "Alarm Logging" editor is open.
Procedure
1. In the "Messages" menu, select "Export Single Messages...". The "Export Message" dialog
opens.
2. Click the
appears.
button next to the "File:" box. Select an export file in the selection dialog that
3. If you want to export only specific single messages, click "Selection". In the "Specify
Selection" dialog, select the message classes you want to export messages from.
4. Click "Export" to start exporting the messages. Click "Cancel Export" to cancel the export
in progress.
5. Click "Close" to close the dialog.
See also
Structure of the Import/Export File (Page962)
5.4.5.13
Introduction
A selection of single messages can be edited simultaneously.
967
Possible Actions
You can edit multiple messages simultaneously with the following actions:
Action
Description
Deleting messages
Requirement
The "Alarm Logging" editor is open.
Procedure
1. In the "Messages" menu, select "Multiple Messages...". The "Multiple Messages" dialog
opens.
2. In the "Message Numbers" field, enter the numbers or the number ranges of the individual
messages that you want to edit.
968
5.4.5.14
Introduction
You can assign the same text to several user text blocks.
Requirement
The "Alarm Logging" editor is open.
Procedure
1. In the "Messages" menu, select "Texts for Multiple Messages...". The "Messages with Same
Text" dialog opens.
2. In the "Message Numbers:" box, enter the numbers or the number range of the individual
messages to which you wish to assign the text.
3. Enter a text of up to 255 characters in the desired user text blocks. By clicking
insert process values into your user text blocks.
, you can
4. If you exit the dialog by clicking "OK", the entries in the text library are changed accordingly.
If the "Keep Existing Text" function is not activated, new text IDs are created in the text
library. The existing texts are no longer linked to the specified messages.
969
See also
How to Change the Text Input Mode (Page901)
How to Insert Process Values in User Text Blocks (Page940)
How to Specify the Message Texts of a Single Message (Page938)
5.4.6
5.4.6.1
Introduction
A group message is used to combine several single messages into one overall message.
You can combine single messages into two different group messages:
Assignment of Tags
The following tags can be assigned to a group message:
The status tag returns the message status. You can also query the message status of a
group message from the other WinCC components.
Using the lock tag you can evaluate the lock of a group message.
Use an acknowledgement tag to define the acknowledgement of the group message.
Use the hide tag of a customized group message to define the conditions for single
messages of the group - when should a message be automatically hidden from the
message list, short-term archive list and long-term archive list.
970
See also
How to Delete a User-Defined Group Message (Page983)
How to Remove a Single Message from a Group Message (Page983)
How to Add a Single Message to a Group Message (Page982)
How to Create a User-Defined Group Message (Page979)
User-defined group message (Page978)
How to Change the Properties of a Group Message from Message Classes (Page977)
Acknowledgement Tag of a Group Message (Page974)
Lock Tag of a Group Message (Page973)
Status Tag of a Group Message (Page971)
Hide tag of a User-Defined Group Message (Page975)
5.4.6.2
Introduction
Two message states are associated with a group message:
The "activated/deactivated" states indicate the corresponding state of one of the nested
messages. This can also be another group message.
The acknowledgment status indicates whether the triggering single message of the group
message requires acknowledgment and has not yet been acknowledged.
Both states of the group message are saved to a status tag. Depending on the data type of
the tag, up to 16 group messages can be logged to a status tag. Each group message uses
2 bits of the status tag.
"Acknowledgment bit"
The acknowledgment bit in the status tag changes to the status "1" as soon as at least one
single message that belongs to the group message and that requires acknowledgment was
activated and was not acknowledged. The acknowledgment bit changes to the status "0" as
soon as all the single messages that belong to the group message and that require
acknowledgment have been acknowledged.
971
972
Click
Click
See also
How to Change the Properties of a Group Message from Message Classes (Page977)
Lock Tag of a Group Message (Page973)
Acknowledgement Tag of a Group Message (Page974)
Working with Group Messages (Page970)
5.4.6.3
Introduction
The lock tag of a group message is used to evaluate the locked status of the group message.
Define a lock bit in the lock tag for this purpose.
The structure of the lock tag is not specified. You have the following options of configuring lock
tags:
Configure a separate lock tag for each group message.
Group several group messages in a single lock tag. Group messages are identified by
means of the lock bit.
If a group message is locked at runtime by means of the lock dialog, the associated lock bit is
set in the configured tag.
to open the dialog for selection of the tag you want to use as a lock tag.
Click
Note
Do not mix any lock tag bits of the message with other tags of the message, such as a status
tag.
973
See also
How to Change the Properties of a Group Message from Message Classes (Page977)
Acknowledgement Tag of a Group Message (Page974)
Status Tag of a Group Message (Page971)
Working with Group Messages (Page970)
5.4.6.4
Introduction
The acknowledgment tag of a group message is used to acknowledge all of its single
messages. Define an acknowledgment bit in the acknowledgment tag for this purpose.
The structure of the acknowledgment tag is not specified. You have the following options of
configuring acknowledgment tags:
Configure a separate acknowledgment tag for each group message.
Group several group messages in a single acknowledgment tag. Group messages are
distinguished by means of the acknowledgment bit.
The corresponding acknowledgment bit is set to acknowledge the group message at runtime.
The acknowledgment or the reset of the acknowledgment bit is triggered by actions, e.g. by
clicking a button on the WinCC process screen, or by means of a program in the AS.
Note
The acknowledgment bit of a group message of a specific message class, or of a user-defined
group message, does not indicate any acknowledgments triggered by the WinCC Alarm
Control.
to open the dialog for selection of the tag you want to use as an acknowledgment tag.
Click
Note
Do not combine any bits of the acknowledgment tag with other tags of the message, such as
a status tag.
974
See also
How to Change the Properties of a Group Message from Message Classes (Page977)
Lock Tag of a Group Message (Page973)
Status Tag of a Group Message (Page971)
Working with Group Messages (Page970)
5.4.6.5
Introduction
The hide tag of a customized group message is used for automatically hiding single messages
that belong to this group message.
Overview
In the parameters of the single message you will specify the system status for the hiding of
the single mask via the hide mask. Select the system statuses in the "System status" dialog.
The selected system statuses are then entered into the "Hide mask" as a hexadecimal value.
During runtime, if the value of the tag number matches a system status, the message is
automatically hidden in the message list, short-term archive list and long-term archive list. The
hidden messages are added to the list of hidden messages.
975
Hide mask 0x1. If the hide tag assumes the value "1", the message is hidden. The system
status is configured as follows:
Hide mask 0xD. If the hide tag assumes the value "1", "3" or "4", the message is hidden.
The system status is configured as follows:
Hide mask 0x80000008. If the hide tag assumes the value "4" or "32", the message is
hidden. The system status is configured as follows:
Hide mask 0xFFFFFFFF. If the hide tag has a value greater than zero, the message is
hidden. The system status is configured as follows:
976
Click
to open the dialog for selecting the tags you want to use as hide tag.
Click
See also
Parameters of a Single Message (Page928)
User-defined group message (Page978)
How to Configure the Hiding of Messages (Page945)
5.4.6.6
Introduction
You can change the properties of the group message:
for Group Message from Message Classes
for the Message Types within the Group Message from Message Classes
As a result, you can assign various status tags, lock tags and acknowledgement tags to the
group messages.
Description
Status tag
Here, you specify the tag in which the statuses of the group message ("Came In /
Went Out" and acknowledgement status) are to be stored.
Status bit
The status bit is used to specify the two bits of the status tag in which the statuses
of the currently selected group message are to be stored.
Lock tag
If you lock a group message via the Lock dialog during runtime, the relevant bit is
set in the tag defined here.
Lock bit
If you are using a lock tag for several group messages, you specify the assignment
to a group message by means of a lock bit.
Acknowledgement Here, you specify the tag to be used as the acknowledgement tag.
tag
Acknowledgement Here, you specify the bit in the acknowledgement tag that is to be used to
bit
acknowledge the message.
Click
Click
977
Requirement
The "Alarm Logging" editor is open.
Procedure
1. Select a group message from message classes or a message type within a message class
from message classes.
2. Select "Properties" in the shortcut menu. The "Properties" dialog opens.
3. Change the specifications for status tags, lock tags and acknowledgement tags, e.g., in the
message class of a group message.
See also
User-defined group message (Page978)
Working with Group Messages (Page970)
5.4.6.7
978
Configuration
You have the following configuration options:
Inserting and configuring customized group messages
Display and modify the properties of a user-defined group message
Add additional single messages to an existing group message
Add additional group messages to an existing group message
Modify the properties of a single message contained in a group message
See also
How to Delete a User-Defined Group Message (Page983)
How to Remove a Single Message from a Group Message (Page983)
How to Add a Single Message to a Group Message (Page982)
How to Create a User-Defined Group Message (Page979)
Hide tag of a User-Defined Group Message (Page975)
Description
Source
Name
Status tag
Here, you specify the tag in which the statuses of the group message ("Came In /
Went Out" and acknowledgement status) are to be stored.
Status bit
The status bit is used to specify the two bits of the status tag in which the statuses
of the currently selected group message are to be stored.
979
Description
Lock tag
If you lock a group message via the Lock dialog during runtime, the relevant bit is
set in the tag defined here.
Lock bit
If you are using a lock tag for several group messages, you specify the assignment
to a group message by means of a lock bit.
Acknowledgement Here, you specify the tag to be used as the acknowledgement tag.
tag
Acknowledgement Here, you specify the bit in the acknowledgement tag that is to be used to
bit
acknowledge the message.
Hide tag
You define here the hide tag needed to hide messages of the single message of
the group message.
Click
Click
Note
In the case of a group message made up of message classes or a user-defined group
message, the acknowledgement bit does not indicate an acknowledgement made through
the WinCC Alarm Control.
Requirement
The "Alarm Logging" editor is open.
Procedure
1. Select the "User-Defined" folder in the "Group Messages" folder.
If you want to subordinate a group message, select a user-defined group message that you
have already created.
2. Select "Add Group Message" in the shortcut menu. The "New Group Message" dialog
opens.
980
See also
How to Delete a User-Defined Group Message (Page983)
How to Remove a Single Message from a Group Message (Page983)
How to Add a Single Message to a Group Message (Page982)
User-defined group message (Page978)
How to Change the Properties of a Group Message from Message Classes (Page977)
Acknowledgement Tag of a Group Message (Page974)
Status Tag of a Group Message (Page971)
Hide tag of a User-Defined Group Message (Page975)
981
Procedure
1. In the "Group Messages" folder, select the user-defined group message to which you want
to add single messages.
2. Select "Add Single Message" in the shortcut menu. The "New Single Message(s)" dialog
opens.
3. Enter the numbers of the single messages in the "Message Number(s)" box that correspond
to the numbers in the table window.
4. The "Only then insert single message(s) if it does not already belong to a group" option
prevents you from changing existing assignments.
If this option is not selected, the existing assignments are canceled and replaced by an
assignment to the selected group message.
If this option is selected, existing assignments of single messages to a group message are
retained.
If the assignment is changed, no message is issued by WinCC.
5. Click "OK" to save your settings.
982
See also
How to Delete a User-Defined Group Message (Page983)
How to Remove a Single Message from a Group Message (Page983)
User-defined group message (Page978)
Procedure
1. Select the single message whose group assignment you want to change in the table window.
2. Select "Properties" in the shortcut menu. The "Single Message" dialog opens.
3. Change the group assignment in the "Group" selection list on the "Parameters" tab. If you
do not want to assign the single message to any group message, select "None".
4. Click "OK" to confirm the change.
Alternative Procedure
1. In the table window, double-click the single message whose group assignment you want
to change.
2. Change the group assignment in the selection list. If you do not want to assign the single
message to any group message, select "None".
See also
How to Delete a User-Defined Group Message (Page983)
How to Add a Single Message to a Group Message (Page982)
User-defined group message (Page978)
983
Procedure
1. In the "Group Messages" folder, select the user-defined group message that you want to
delete.
2. Select "Delete Group Message" in the shortcut menu. The group message is removed from
the message system.
See also
How to Remove a Single Message from a Group Message (Page983)
How to Create a User-Defined Group Message (Page979)
User-defined group message (Page978)
5.4.7
5.4.7.1
Introduction
The limit value monitoring allows you to specify any number of limit values for a tag. A message
is generated in runtime if one of the limit values is exceeded.
The limit value monitoring function is an add-on in WinCC and must be integrated into the
message system. The "Limit Value Monitoring" folder is then incorporated in the navigation
window of the message system.
984
See also
Messages of the Limit Value Monitoring (Page985)
How to Delete Objects of the Limit Value Monitoring (Page991)
How to Specify the Limit Values to be Monitored (Page989)
How to specify the tag to be monitored (Page986)
How to Integrate Add-Ins into the Message System (Page900)
5.4.7.2
See also
Working with the Limit Value Monitoring (Page984)
How to Specify the Limit Values to be Monitored (Page989)
How to specify the tag to be monitored (Page986)
985
5.4.7.3
Description
Number of limit
values
If this option is selected, the same message is always displayed if one of the
configured limit values is violated during runtime.
Message number
Here, you specify the number of the message that is to be generated during
runtime in the event of a limit violation.
Delay time
Here, you specify the delay time between the limit value violation and the
generation of the message. The message will only be triggered if the limit value
has been violated for the entire delay time.
The delay time can be set from 250 to 10,000 ms. If you wish no delay time, enter
the value "0".
Requirement
The "Alarm Logging" editor is open.
Limit value monitoring has been integrated into the message system.
Procedure
1. Select the "Limit Value Monitoring" folder in the navigation window.
2. Select "New..." in the shortcut menu. The "Properties" dialog opens.
986
See also
How to Change the Properties of a Tag to be Monitored (Page988)
Messages of the Limit Value Monitoring (Page985)
How to Delete Objects of the Limit Value Monitoring (Page991)
How to Specify the Limit Values to be Monitored (Page989)
Working with the Limit Value Monitoring (Page984)
987
5.4.7.4
Description
If this option is selected, the same message is always displayed if one of the
configured limit values is violated during runtime.
Message number
Here, you specify the number of the message that is to be generated during
runtime in the event of a limit violation.
Delay time
Here, you specify the delay time between the limit value violation and the
generation of the message. The message will only be triggered if the limit value
has been violated for the entire delay time.
The delay time can be set from 250 to 10,000 ms. If you wish no delay time, enter
the value "0".
Requirement
The "Alarm Logging" editor is open.
Limit value monitoring has been integrated into the message system.
You have configured a tag of the limit value monitoring to be monitored.
Procedure
1. Select the tag whose properties you want to change in the "Limit Value Monitoring" folder
in the navigation window or in the data window.
2. Select "Properties" in the shortcut menu. The "Properties" dialog opens.
988
See also
Messages of the Limit Value Monitoring (Page985)
How to Delete Objects of the Limit Value Monitoring (Page991)
How to Specify the Limit Values to be Monitored (Page989)
How to specify the tag to be monitored (Page986)
How to Integrate Add-Ins into the Message System (Page900)
Working with the Limit Value Monitoring (Page984)
5.4.7.5
Introduction
You can specify any number of limit values to be monitored for a tag. To do this, call up the
dialog for specifying limit values multiple times.
989
Description
High limit
A message is generated when the tag value exceeds the high limit.
Low limit
A message is generated when the tag value falls below the low limit.
The edit box contains the limit value to be monitored or the specified tag. Click
"Tag" to open the tag selection dialog.
When you click "OK" to close the variable selection dialog, the "Indirect" option
will be selected. Do not use a tag whose name is comprised solely of numbers to
define indirect limit values. The tag name must start with a letter. With indirect limit
value specification, the value of the tag to be monitored is stored in process value
block 3 when the message is triggered.
Hysteresis
If a hysteresis has been defined, messages are not triggered immediately when
the limit value is reached; rather, they are triggered when the actual tag value
exceeds or falls below the limit value by the amount of the hysteresis.
You can specify the hysteresis either as an absolute deviation or as a percentage
deviation from the limit value. Depending on the selected setting, the hysteresis
will become effective while a message is generated or revoked.
Message
Here, you enter the number of the message to be generated in runtime if a limit
value violation occurs.
This field can only be edited if you did not select the "A message for all limit values"
option in the "Properties of Tags" dialog.
No check with
quality codes
other than
"GOOD"
If this option is activated, a possible value change for the tag with a quality code
other than "GOOD" is not checked for a limit value violation, such as a failed
connection to the automation system.
Requirements
The "Alarm Logging" editor is open.
Limit value monitoring has been integrated into the message system.
You have configured a tag of the limit value monitoring to be monitored.
Procedure
1. Select the tag to be monitored in the "Limit Value Monitoring" dialog in the navigation
window or in the data window.
2. Select "New..." in the shortcut menu. The "Properties" dialog opens.
990
See also
Examples of Configuring a Limit Value (Page992)
Messages of the Limit Value Monitoring (Page985)
How to Delete Objects of the Limit Value Monitoring (Page991)
How to specify the tag to be monitored (Page986)
Working with the Limit Value Monitoring (Page984)
5.4.7.6
Introduction
You can delete the tag to be monitored and the limit values.
991
5.4.7.7
Introduction
The following examples illustrate how the configuration of limit values affects the behavior of
the limit value monitoring.
Example 1
Message No. 4 is triggered (arrives) when the tag to be monitored has exceeded the value
220.
Message No. 4 is revoked (exits) when the tag to be monitored drops below the value 200.
992
Example 2
Message No. 4 is triggered (arrives) when the tag to be monitored has exceeded the value in
the "Limit Value" tag.
Message No. 4 is revoked (exits) when the tag to be monitored has dropped below the value
of the "Limit Value" tag by 10%.
See also
Messages of the Limit Value Monitoring (Page985)
How to Specify the Limit Values to be Monitored (Page989)
How to specify the tag to be monitored (Page986)
Working with the Limit Value Monitoring (Page984)
993
5.5
Message Archiving
5.5
Resources
5.5.1
Introduction
With the archive management feature in WinCC, you have the option to archive process values
and messages for the documentation of specific operational faults and error statuses. A
Microsoft SQL Server is used for archiving.
Messages configured in Alarm Logging are output during runtime when the corresponding
event occurs, for example, a fault or a limit violation. Messages are archived if events known
as message events occur, for example:
when the message occurs,
when the status of the message changes (e.g., from "Message Came In" to "Message
Acknowledged")
You can save the message events in an archive database and archive it as a message report
on paper. The messages archived in the database can, for example, be output in a message
window.
994
Quantity Structure
The following table shows the number of messages that WinCC can process. The actual
number depends on the server in use. The information in the table refers to the following server
configuration:
Intel Pentium III with 1.4 GHz
512 MB RAM
40 GB hard disk
Maximum of 16 clients
Server
10 messages
100 messages
2,000 messages
15,000 messages
Note
The values for message flow apply only to archiving. For further processing in Alarm Logging,
additional time must be planned: five minutes must elapse before a new message overload
can be created.
See also
Message Server (Page1012)
Output of Message Archive Data in Runtime (Page1004)
Configuration of Message Archiving (Page995)
5.5.2
5.5.2.1
Introduction
To archive messages, WinCC uses short-term archives of configurable size, which you can
configure with or without backup.
995
You can always configure both conditions at the same time. If either of the two criteria is
exceeded, the following happens:
1. Criteria for message archive (DB) is exceeded: the oldest messages (i.e. the oldest
individual segment) are deleted.
2. Criteria for individual segment is exceeded: a new individual segment (ES) is created.
A new individual segment is also created when you configure message data online.
Note
When starting Runtime, the system checks whether the configured size of the individual
segment has been calculated to a sufficient size. If the configured size is too small, the system
automatically adapts the segment to the minimum size.
See also
How to Link an Archive Backup (Page1002)
How to Configure the Archive Backup (Page1000)
How to Configure a Message Archive (Page998)
How to Configure Messages for Archiving (Page997)
996
5.5.2.2
Introduction
You can select the messages to be archived from all configured messages.
Note
A newly created message in WinCC is archived by default. In principle, you need only carry
out the procedure described below for messages whose archiving status has been modified.
Requirement
The message system is configured. For additional information on how to configure the
message system, please refer to the online help for Alarm Logging.
Procedure
1. Open Alarm Logging.
2. Select the message you wish to archive in the Alarm Logging message list.
3. From the shortcut menu, select the "Properties" command.
4. In the Properties dialog for the message, select the "This message will be archived" check
box.
997
See also
How to Configure the Archive Backup (Page1000)
How to Configure a Message Archive (Page998)
Configuration of Message Archiving (Page995)
5.5.2.3
Introduction
You have the option to configure the message archive in Alarm Logging.
Note
Make sure that the archive size does not exceed the free memory space available. The
archive manager does not check the selected settings for plausibility. A high number of linked
database segments can lead to longer waiting periods in the system when starting and ending
Runtime.
998
Procedure
1. Open Alarm Logging and select "Archive Configuration" in the Alarm Logging navigation
window.
2. Select the "Message Archive" and then select the "Properties" command from the shortcut
menu.
The "AlarmLogging" dialog is opened.
999
Example:
In the above screen shot, the segment changes for the first time on January 17 at 23:59. The
next time-related segment change occurs at the configured time in the cycle defined in "Time
period covered by a single segment". With the above cycle settings "1 day", the change is
made every day at 23:59. If the cycle is set to "1 month", the segment change takes place on
the 17th day of the next month at 23:59.
The segment is also changed, if the configured size is violated after Runtime start ("Max. size
of all segments"). In this case, the oldest individual segment is also deleted.
NOTICE
After selecting the "Reset" command in the Archive Configuration shortcut menu, the Runtime
data is deleted from the archives.
See also
How to Configure the Archive Backup (Page1000)
How to Configure Messages for Archiving (Page997)
Configuration of Message Archiving (Page995)
5.5.2.4
General procedure
Create regular backups of your archive data to ensure seamless documentation of your
process.
Note
The backup normally starts 15 minutes after the first time-related segment change. If the start
of backup and start of segment should be synchronous with the start of Runtime, define the
start time for the segment change prior to the start of Runtime.
You can change the displayed message in Runtime using Alarm Control. If the location of
the archive segment where the message is stored has already been changed, then the
modified comment is not accepted in the swapped-out archive. The change is limited to the
local archive segment.
If the archive segment has not yet been swapped out, then the changed comment is accepted
permanently.
1000
Procedure
1. Open Alarm Logging in WinCC Explorer.
2. In the Alarm Logging navigation window, select the "Archive Configuration" option. In the
data window, select "Message Archive" and then select the "Properties" command from
the shortcut menu. The "AlarmLogging" dialog is opened.
3. Select the "Backup Configuration" tab.
4. Select the "Signing off activated" check box, if the swapped archive data are to receive a
signature. Upon reconnection with WinCC, the signature allows the system to determine
whether any modifications have been made to the archive backup file after its swap-out.
5. Select the "Activate Backup" check box, if the archived data are to be backed up. In addition,
select the "Backup to both paths" check box, if the archived data are to be saved in both
directories, "Destination path" and "Alternative destination path".
6. Enter the destination path in which the backup files are to be stored. Network paths are
also valid as destination paths. The "Alternative destination path" is used if:
- The memory space of a backup medium is occupied.
- The original destination path does not exist, for example due to network failure.
After the corresponding system messages have been configured, the messages are output
if the specified destination path is not available.
7. Click "OK" to confirm your entry.
1001
Result
The archive backup is stored in the specified destination path.
See also
How to Link an Archive Backup (Page1002)
How to Configure a Message Archive (Page998)
How to Configure Messages for Archiving (Page997)
Configuration of Message Archiving (Page995)
5.5.2.5
Introduction
To access data in an archive backup during Runtime, link the associated database files to the
project. You have the option to manually establish a link to an archive in the Alarm Logging
Editor or to let the system establish a connection automatically. The archived messages are
displayed in the message display in Runtime.
Requirement
The corresponding LDF file and MDF file of the archive backup are stored in a local directory
on the configuration computer, such as hard disk, MOD, or CD. The project is loaded on the
configuring computer and is in Runtime.
1002
See also
How to Display Archived Messages in Runtime (Page1005)
How to Configure the Archive Backup (Page1000)
How to Disconnect an Archive Backup (Page1004)
1003
5.5.2.6
Introduction
If you no longer wish to access the data in an archive backup during Runtime, disconnect the
associated database files from the project.
Requirements
Archive backup files are linked. The project is loaded on the configuring computer and is in
Runtime.
Procedure
1. Open the Alarm Logging in WinCC Explorer.
2. In the navigation window of Alarm Logging, select "Archive Configuration". Right-click
"Message Archive" in the data window and select "Disconnect from archive" from the
shortcut menu.
3. Select the desired archive file and click "OK".
The link to the archive file is disconnected. Access is no longer possible to the archived
messages in Runtime.
Automatically linked archives must be removed from the "Project name" directory. This can be
done manually or by using a script in "AlarmLogs" VBS object.
See also
Output of Message Archive Data in Runtime (Page1004)
How to Display Archived Messages in Runtime (Page1005)
How to Configure the Archive Backup (Page1000)
How to Link an Archive Backup (Page1002)
5.5.3
5.5.3.1
General procedure
Messages stored in message archives can be output in Runtime in the following ways:
Display the archived messages in a message window; in the event of a power failure, the
messages queued for loading from the archive to the message system are loaded with the
correct time stamp (reloading after power failure).
Prin archive report.
1004
See also
Direct Access to the Archive Database (Page1010)
How to Configure a Message Archive Report (Page1008)
How to Configure Reloading of Messages Following a Power Failure (Page1007)
How to Display Archived Messages in Runtime (Page1005)
5.5.3.2
Introduction
In Runtime, use the WinCC Alarm Control to display current messages and call up messages
from the archive. You have the option to display archive messages in a short-term archive list
or long-term archive list. The short-term archive list also contains current messages.
Requirement
All archived data displayed in Runtime must be stored locally on the archive server. The SQL
server does not permit access to backup files held elsewhere, for example on another computer
in the network.
For additional information on this topic, refer to chapter "Message Server" in this
documentation.
1005
Procedure
The following procedure describes just the principle steps for the display of archived messages
in Runtime. For detailed instructions on the configuration of the WinCC Alarm Control, refer to
the online help, chapter "Message System Structure / Display of Messages in Runtime".
1. Insert a WinCC AlarmControl into the desired picture in the Graphics Designer.
2. Double-click the control to open the "WinCC AlarmControl Properties" dialog.
3. In the "General" tab, select which list will be shown when the picture opens in the
"Properties" area. To display archived messages, select "Short-term archive list" or "Longterm archive list".
1006
5. Go to the "Toolbar" tab. Activate the "Display toolbar" check box. Select at least button
function "Short-term archive list" or "Long-term archive list". Confirm with "OK".
Note
When displaying messages in the short-term archive list, the system immediately updates
new incoming messages. This is not the case when the long-term archive list is selected.
In the short-term archive list, you cannot enter or view comments. This is only possible in
the long-term archive list.
Results
In Runtime, click
or
to display messages from the archive in the message list. You
can also filter the messages from the archive, for example to display messages of the "Fault"
type only or to view messages from particular plant sections.
See also
Direct Access to the Archive Database (Page1010)
How to Configure a Message Archive Report (Page1008)
How to Configure Reloading of Messages Following a Power Failure (Page1007)
Output of Message Archive Data in Runtime (Page1004)
5.5.3.3
General procedure
To display the most recent messages in Runtime following a power failure, configure the
"Reload after power failure" function in the Alarm Logging. In the event of a power failure, a
user-defined number of messages is read from the message archive to reconstruct the most
recent process image.
Procedure
1. Open the "Archive Configuration" group in the Alarm Logging navigation window.
2. Select "Message Archive" and then select the "Reload after power failure" command from
the shortcut menu.
1007
4. Select the "Reload Message List After Power Failure" check box so that the message list
is reloaded in Runtime after the system has rebooted.
5. Click "OK" to confirm your entry.
See also
Direct Access to the Archive Database (Page1010)
How to Configure a Message Archive Report (Page1008)
How to Display Archived Messages in Runtime (Page1005)
Output of Message Archive Data in Runtime (Page1004)
5.5.3.4
Introduction
You can print the archived messages. You configure the log for the message archive in the
Report Designer.
1008
Overview
WinCC provides you with a pre-configured system layout for the log, which you can adjust to
suit your specific needs. You can also create your own log layouts. You have three alternatives
to configure the layout for a message archive:
Configuration with the layout of the "WinCC Control Runtime Print Provider". The layouts
are available with WinCC V7 and higher. The message archive list is either printed out in
table format with all messages or the current display of the message archive list in
AlarmControl is printed out. The output of the archive log is only possible via the WinCC
AlarmControl with the button "Print current view".
Configuration with the layout "WinCC Alarm Control". You initiate the print job with the "Print
current view" button in the WinCC Alarm Control. You can initiate the output of the archive
log outside the Alarm Control as well.
Configuration with the layout "Alarm Logging RT". You initiate the print job outside the Alarm
Control.
Configuration with the layout of the "WinCC Control Runtime Print Provider"
1. Open the Report Designer in the WinCC Explorer. Either open the layout "@Alarm Control
- Table.RPL" for a table print-out or the layout "@Alarm Control - Picture.RPL" for printing
the current display.
2. Double click on "WinCC Control Runtime Print Provider.Table" or "WinCC Control Runtime
Print Provider.Picture" in the open layout. The "Object properties" dialog opens.
3. Configure the layout of the table in the "Properties" tab.
4. Save the configuration in the Report Designer.
5. The layouts of the "WinCC Control Runtime Print Provider" are connected with the
respective print jobs "@Report Alarm Control - Table" or "@Report Alarm Control - Picture".
Select one of these print jobs in the "General" tab of the Graphics Designer in the picture
with the AlarmControl . If you click on the "Print current view" button in Runtime, the
messages are printed according to the configured layout.
1009
See also
Direct Access to the Archive Database (Page1010)
How to Configure Reloading of Messages Following a Power Failure (Page1007)
How to Display Archived Messages in Runtime (Page1005)
Output of Message Archive Data in Runtime (Page1004)
5.5.3.5
Introduction
Various providers offer interfaces that you can use to access databases. These interfaces also
enable you to directly access the WinCC archive databases. Direct access lets you read
process values, for example, for editing in spreadsheet programs.
1010
See also
http://msdn.microsoft.com/en-us/library/default.aspx (http://msdn.microsoft.com/en-us/library/
default.aspx)
How to Configure a Message Archive Report (Page1008)
How to Configure Reloading of Messages Following a Power Failure (Page1007)
How to Display Archived Messages in Runtime (Page1005)
Output of Message Archive Data in Runtime (Page1004)
1011
5.5.4
Message Server
Introduction
When using WinCC to configure a client/server system, you have the option to configure
different scenarios for message archiving.
Use this configuration, if each server is dedicated to a certain section of the plant. Each server
thereby monitors a specific section of the plant, and manages its own messaging and archiving
system.
1012
Note
This configuration cannot be implemented for message archives in a PCS7 environment, as
messages are generated separately on each server and cannot be brought together on a
single server.
For additional information, refer to the WinCC documentation "Client/Server Systems" and
"Redundancy".
See also
Output of Message Archive Data in Runtime (Page1004)
Configuration of Message Archiving (Page995)
Message Archiving in WinCC (Page994)
1013
5.6
5.6
Resources
5.6.1
WinCC AlarmControl
Introduction
WinCC AlarmControl is an alarm window used to display message events. All messages are
displayed in a separate message line. The content of the message line depends on the
message blocks to be displayed.
1014
See also
Short Description of the WinCC Controls and Additional Controls (Page320)
5.6.2
5.6.2.1
Introduction
The messages are displayed in a message window in runtime. You can configure a
corresponding WinCC AlarmControl in Graphics Designer.
Prerequisite
A message system has been set up using the "Alarm Logging" editor.
You configured the necessary message blocks, message classes and the message types
according to requirements configured in "Alarm logging".
You configured the necessary single and group messages and their properties in "Alarm
logging".
Configuration steps
1. Insert the AlarmControl into a picture of Graphic Designer.
2. Configure the basic properties of the AlarmControl in the "General" tab.
The message window properties
The general properties of the control
The time base of the control
The default sorting order in the table
Properties of the long-term archive list
The action to be triggered by double-clicking in the message line
1015
5.6.2.2
Introduction
The message content to be displayed in the message line depends on the message blocks
configured. The message blocks configured in the "Alarm logging" editor can be applied without
changes, or be configured in AlarmControl.
Prerequisite
You created a message system using the "Alarm Logging" editor.
In "Alarm logging", you configured the message blocks to be used in the message line.
1016
2. If the "Apply project settings" option is activated, the message blocks and their properties
you configured in "Alarm logging" are activated in the AlarmControl. The message blocks
are displayed with these properties in the message window and can only be changed by
means of the Alarm logging. The message blocks of the hitlist depend on "Alarm logging".
You can configure these message blocks as required.
3. Deactivate the "Apply project settings" option to let you add or remove message blocks for
the message lists, or to configure message block properties. The changed properties are
stored in the picture. Changes to properties made in "Alarm logging" are ignored in this
control.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1017
5.6.2.3
Introduction
All messages are displayed in a separate message line in the message windows. The content
of the message window is determined by the message blocks and messages selected.
Requirement
You created a message system using the "Alarm Logging" editor.
You configured the message blocks to be used in the message line.
1018
Procedure
1. Go to the "Message lists" tab.
2. Select the "Available message blocks" list and select the configured message blocks to be
displayed in the message lists. Use the arrow buttons to move these message blocks to
the "Selected message blocks" list. Using the arrow keys you can cut selected message
blocks from the message lists and paste these to the "Available message blocks" list.
3. You can define the sorting order of selected message blocks in the message lists and move
these using the "Up" and "Down" buttons.
4. Save the configuration.
1019
Procedure
1. Click "Edit..." in the "Selection" area to create or edit custom selections. The selection dialog
is opened.
2. Click on "New..." to create a selection or import a selection. Activate the new or existing
selections. For further information on the selection of messages, refer to .
3. Click "OK" to close the selection dialog. The activated selections are included in the
message window at the start of Runtime.
4. Click on "Edit..." in the "Fixed selection" area to create or edit a fixed selection. The selection
dialog is opened.
5. Select the message blocks. Enter one operand and a text or value in the "Setting" column,
depending on the message block, or select an option.
6. Press "OK" to save the fixed selection and close the selection dialog. The fixed selection
is included in the message window at the start of Runtime.
1020
Procedure
1. Click "Edit...". The sorting dialog opens.
2. Define a sorting order. For further information on the sorting of messages, refer to .
3. Click "OK" to close the sorting dialog.
Note
You can change the default sorting order by "date/time/number" to "message block/date/
time/number". Configure the "DefaultSort2Column" and "DefaultSort2" object properties
accordingly. Define a message block and its object name in the "DefaultSort2Column"
object property. Define the ascending or the descending sorting order in the "DefaultSort2"
object property.
5.6.2.4
Prerequisite
You opened Graphics Designer and configured a picture with a WinCC control.
The configuration dialog of the WinCC control is open.
1021
Procedure
1. Go to the "Parameters" tab.
Prerequisite
You opened Graphics Designer and configured a picture with a WinCC control.
The configuration dialog of the WinCC control is open.
1022
Procedure
1. Go to the "Display" tab.
1023
Prerequisite
You opened Graphics Designer and configured a picture with a WinCC control.
The configuration dialog of the WinCC control is open.
Procedure
1. Go to the "Marker" tab.
1024
Prerequisite
You opened Graphics Designer and configured a picture with a WinCC control.
The configuration dialog of the WinCC control is open.
Procedure
1. Go to the "Parameters" tab.
2. Define whether to enable sorting and the sorting method by column header. In WinCC
AlarmControl, you can only sort by column header if the "Auto-Scrolling" is disabled. You
can deactivate "Auto-Scrolling" either in the "General" tab, or using the "Autoscroll" toolbar
icon of the WinCC AlarmControl.
3. Determine the sorting order by mouse click on the column header. Select ascending,
descending or no sorting order.
4. Configure the sorting icon and index to be displayed in the column header with right
justification. These show the sorting order and sequence of the columns.
5. Activate the "Use sorting button" to display the sorting icon as sorting button above the
vertical scroll bar. Click this sorting button to activate a configured sorting order for the
column selected. The sort button is not displayed if a vertical scroll bar is missing.
6. Save the configuration.
5.6.2.5
Introduction
The WinCC controls are operated at runtime using the functions of the toolbar buttons. The
status bar contains information pertaining to the current status of the WinCC control. You can
adapt the toolbar and the status bar for all WinCC controls when configuring, or at runtime.
1025
Prerequisite
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The WinCC control is assigned the "Configuration dialog" button function for opening the
configuration dialog in Runtime.
The configuration dialog of the WinCC control is open.
2. In the list, activate the button functions you require for operating the WinCC control in
Runtime. For information on the button functions, refer to the description of the
corresponding WinCC control at "Operation in runtime".
1026
1027
2. Activate the elements required in runtime in the list of status bar elements. For further
information on status bar elements, refer to the descriptions of the corresponding WinCC
control at "Operation in runtime".
3. Determine the sorting order for displaying of the status bar elements. Select the elements
from the list and move these using the "Up" and "Down" buttons.
4. To resize the width of a status bar element, deactivate the "Automatic" option and enter a
pixel value for the width.
5. Configure the general properties of the status bar, e.g. alignment or background color.
1028
5.6.2.6
Introduction
The hit list displays statistic calculations for archived messages in the message window. In
addition to statistics, the hit list can display configured message blocks. The message blocks
display the data of the message most recently activated if contents are variable.
Overview
Customize the hit list columns which consist of message blocks and statistics data.
The following statistic calculations are available for messages:
Frequency of a message number. The frequency is only increased if the archive contains
a message with "activated" state. If the frequency of a message number in the selected
message range is "0", an entry does not exist for this message number in statistics data.
The cumulative duration of a message number for the status:
"activated/activated" (Message block: Sum +/+)
"activated/deactivated" (Message block: Sum +/-)
"activated/initial acknowledgment" (message block: Sum +/*1)
"activated/second acknowledgment" (message block: Sum +/*2).
The average duration of a message number for the states:
"activated/activated" (Message block: average +/+),
"activated/deactivated" (Message block: Average +/-),
"activated/initial acknowledgment" (message block: average +/*1)
"activated/second acknowledgment" (message block: average +/*2).
Only the "Acknowledgment", "System Acknowledgment" and "Emergency Acknowledgment"
states are included in the statistics calculation of acknowledgment times.
Note
Messages with "Acknowledgment", "System acknowledgment", "Emergency
Acknowledgment" and "Deactivated" state are only included in the calculation of statistic data
if the events available for statistics calculation includes a corresponding, previous message
with "activated" state.
If only one acknowledgment is triggered for a message with initial or second acknowledgment,
the acknowledgment time is included in the calculation of the cumulative and average duration
of the "activated/initial Acknowledgment" and "activated/second Acknowledgment"
states.
The message is only entered several times in the archive with "activated" state and included
several times in the calculation if runtime was stopped/restarted several times and a message
was active within this time, for example, due to the external discrete message procedures or
chronological messaging.
1029
Requirement
You opened a picture which contains the AlarmControl in Graphics Designer.
You configured the message blocks to be included in the hit list.
You activated the "Hit List" button function on the "Toolbar" tab of the AlarmControl.
Procedure
1. Go to the "Hit list" tab.
2. Select the message blocks to be displayed in the hit list from the list of available message
blocks. Use the arrow buttons to move these message blocks to the "Selected message
blocks" list. You can cut message blocks from the hit list and paste these to the "Available
message blocks" list using the arrow keys.
1030
Results
The hit list is configured for display in the message window. Call the hit list at runtime by clicking
in the toolbar.
The values in the hit list are sorted by frequency in descending order if you have not set any
sorting criteria.
New activated messages are not automatically included in the hit list. To include them, you
must reselect the hit list.
5.6.2.7
Introduction
Operation of a message can trigger an operator message. Operator messages can be
triggered at the following events:
Lock message
Enable message
Acknowledge message
Hide message
Show message
Configure operator messages in WinCC AlarmControl:
If you want to use and adapt the default operator messages of WinCC
If you want to use custom operator messages
1031
Prerequisite
You defined the WinCC system messages in the "Alarm logging" editor.
In the "Alarm logging" editor, you configured the messages editor to be used as operator
messages in WinCC Alarm control.
You opened Graphics Designer and configured a picture with a WinCC AlarmControl.
The configuration dialog of the AlarmControl is open.
1032
Procedure
1. Go to the "Operator messages" tab.
2. In the list, activate "Operator input message for:" the events which trigger operator
messages.
3. If not using the operator messages from WinCC, enter the message number of the
configured message for every event.
4. Assign the message blocks of the operated message to the process value blocks of the
operator message. The message blocks must be selected in the "Message Blocks" tab.
5. Define whether to transfer the content as text or value for further value-based processing.
1033
Example
An operator message is to be generated on locking a message. The content of "User text block
1" of the locked message, e.g. "Motor faulty", is to be displayed in "Process value block 1" of
the operator message. This requires that you select "1" under process value as the message
block of operated message "User text block 1".
Note
It is recommend to use message class "System, without acknowledgment" for all operator
messages. Always use message classes that are configured as "without deactivated status".
Note
Operator messages can only be logged if corresponding system messages are set up in the
message archive.
Results
The contents of operated messages are displayed in the updated process value blocks of the
operator message. The process value blocks must have been selected in the "Message Lists"
tab to enable the display of process value blocks of the operator message. The hitlist displays
statistic data of the operator messages.
5.6.2.8
Introduction
The runtime data shown in the WinCC controls can be exported using a button function. Set
up operation of the data export in runtime in the configuration dialog.
1034
Requirements
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The configuration dialog of the WinCC control is open.
2. A standard file name and a standard directory are already entered in the "Data export default
settings." In this case for AlarmControl. If necessary, define a file name and a directory for
the export file.
3.
Results
You can export all or selected data to a defined file at runtime using button function
1035
5.6.2.9
Introduction
Users can parameterize the WinCC controls in Runtime. You must define the runtime effects
of the online configuration.
Changes configured at runtime are saved to a separate picture in the configuration system.
The original picture configuration is retained in the configuration system.
Prerequisite
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The configuration dialog of the WinCC control is open.
1036
Procedure
1. Go to the "Online configuration" tab. For example, in OnlineTrendControl:
2. The option buttons of the "Online configuration" field for setting online configuration defaults
are only available in the configuration system. The option buttons are not available in
runtime.
Select one of the three effects of the online configuration:
"Do not retain". The online configurations are not retained in Runtime. This default
setting disables all options for runtime users. Online configurations are lost at the next
picture change and on activation/deactivation of the project.
"Retain during runtime". This default setting enables the "discard", "retain" or "reset"
options for runtime users. Online configurations are retained at the next picture change
1037
5.6.2.10
Introduction
WinCC AlarmControl only supports SQL statements which can also be generated using the
selection dialog of the message window. The following conditions are valid for WinCC:
The syntax consists of the "field", "operand", and "value", with parameters separated by
space characters. For example: DATETIME >= '2007-12-21 00:00:00' AND MSGNR >=
100 (as of 2007-12-21, all messages with message number greater than and equal to 100)
Strings, date, and time must be passed in single quotation marks.
The date and time in the DATETIME argument must be separated by a space character.
The output of DATETIME is based on the "Local Time", regardless of any other time base
setting in the object properties. Exception: UTC is set as the time base: in this case, the
output is based on the "UTC" time base.
1038
Valid arguments
Name
SQL name
Type
Data
Example
Date/time
DATETIME
Date
'YYYY-MM-DD hh:mm:ss.ms'
Number
MSGNR
Integer
Message number
Class
Class
Integer
Class = 1
Outputs messages of message class1.
Class IN ( 1,2 )
Outputs messages of message class1
and message class2.
Type
State
Computer name
Type
State
ComputerName
Integer
Integer
Text
Type = 1
Outputs messages of message type1.
Valid values:
1 = activated messages
2 = deactivated messages
3 = acknowledged
messages
4 = blocked messages
10 = hidden messages
11 = displayed messages
16 = messages acknowledged by
the system
17 = Emergency-acknowledged
messages
18 = ackn. central signaling
devices
State = 1
Type IN (1,2,3 )
Outputs messages of message type1
and message type2
State IN(1,2,3,16,17)
Search text for the computer name Computer name LIKE 'PC1234'
Outputs messages whose computer
name corresponds to "PC1234".
Computer name LIKE '%C12%'
Outputs messages whose computer
name corresponds to "C12".
User name
UserName
Text
Priority
Priority
Integer
1039
Data
Example
Name
SQL name
Integer
AS Number
CPU number
(AS/CPU
number)
CPU__NR
Integer
Instance
Instance
Text
Instance
Block: 1
...
Block: 10
Textxx
Text
Process value:
1
...
Process value:
10
PValuexx
Double
Valid operands
>=, <=, =, >, <
IN(...) : Several values as comma separated array, e.g.: Class IN(1, 2, 3) AND Type IN(1,
2,19, 20, 37,38)
LIKE : The message text must match the string. The message text must only contain the
string if this string is enclosed with "%" characters. The "LIKE" operand is only valid for
"Textxx" arguments.
1040
5.6.2.11
Introduction
The default functions for operating the WinCC AlarmControl are no longer supported in the
new WinCC AlarmControl for WinCC V7.0 or higher. However, you can use the dynamic
methods of WinCC to operate the function of a toolbar button by means of script.
Overview
WinCC Controls V7.0 or higher no longer requires special functionality for operating the control
by means of dynamic toolbar. The default functions "AXC_OnBtn..." and "OnBtn..." used
previously are no longer supported.
If you do not want to operate the message window using the toolbar, you can set the "ID" of a
button to the "ToolbarButtonClick" object property using any dynamic mode.
Determine a toolbar button "ID":
using the table on page "Operation of the AlarmControl in Runtime".
by means of the "Object ID" field of the the "Toolbars" tab in the configuration dialog of the
AlarmControl.
See also
Operating the AlarmControl in runtime (Page1042)
1041
5.6.3
5.6.3.1
Introduction
You operate the message window at runtime using the toolbar buttons. If you do not want to
operate the message window using the toolbar, you can set the "ID" of a button to the
"ToolbarButtonClick" object property using any dynamic mode.
Icon
Description
ID
"Help"
Opens the configuration dialog for editing the properties of the AlarmControl.
"Message list"
Displays the message blocks and the statistic data you configured on the Hitlist tab
of the AlarmControl.
"List of messages to be hidden"
Shows all messages which were hidden automatically or manually in the message
list.
"Ackn. central signaling devices"
10
11
1042
18
13
Specifies the selection criteria for messages to be displayed in the message window.
The messages which do not meet these criteria are not displayed but are
nevertheless archived.
"Display options dialog"
14
15
Defines the locking criteria. All messages that meet these criteria are neither
displayed, nor archived.
"Print"
17
Start printing of the messages of the selected list. Define the print job in the "General"
tab of the the configuration dialog.
"Export data"
35
Use this button to export all or selected runtime data to a CSV file. If the option
"Display dialog" is enabled, a dialog opens in which you can view the export settings
and start the export. You can select the export file and directory, provided you are
granted corresponding authorizations.
The data is exported immediately to the default file if this dialog is not displayed.
"Autoscroll"
12
19
The first of the currently active messages is selected. The visible range of the
message window is moved if necessary. The button is only available if "Autoscroll"
is disabled.
"Previous message"
20
21
The next message relative to the currently selected message is selected. The visible
range of the message window is moved if necessary. The button is only available if
"Autoscroll" is disabled.
1043
"Last message"
The last of the currently active messages is selected. The visible range of the
message window is moved if necessary. The button is only available if "Autoscroll"
is disabled.
"Infotext dialog"
23
24
25
26
The selected message is locked in the message list and in the message archive list.
"Enable message"
27
28
Hides the message you selected in the message list, or in short-term or long-term
archive list. The message is entered in the "List of messages to be hidden".
'Unhide messages"
29
30
Opens a dialog for setting custom sorting criteria for displayed messages.
A custom sorting order has higher priority than the sorting order set at attribute
"MsgCtrlFlags".
"Time base dialog"
31
Opens a dialog for setting the time base for times displayed in the messages.
"Copy rows"
32
Copies the selected messages. You can paste the copy to the table editor or text
editor.
"Connect backup"
33
Use this button to open a dialog for interconnecting selected backup files with WinCC
Runtime.
"Disconnect backup"
34
Use this button to open a dialog for disconnecting selected backup files from WinCC
Runtime.
"First page"
36
Returns you to the first page of the long-term archive list. The button is only available
if paging is enabled in the long-term archive list. You can activate this setting in the
"General" tab of the configuration dialog.
"Previous page"
37
Returns you to the previous page of the long-term archive list. The button is only
available if paging is enabled in the long-term archive list. You can activate this
setting in the "General" tab of the configuration dialog.
1044
38
Opens the next page of the long-term archive list. The button is only available if
paging is enabled in the long-term archive list. You can activate this setting in the
"General" tab of the configuration dialog.
"Last page"
39
Opens the last page of the long-term archive list. The button is only available if
paging is enabled in the long-term archive list. You can activate this setting in the
"General" tab of the configuration dialog.
"User-defined 1"
1001
Shows the first button function created by the user. The button function is userdefined.
Icon
Name
Description
Pending messages
Pending
acknowledgeable
messages
Number of pending
hidden messages
Selection
Display option
Locked
Pending hidden
messages
Connection status
Date
Time
Time base
1045
5.6.3.2
Introduction
You can use the selection dialog in Runtime to specify the messages to be displayed in the
message window. You define new selection criteria in the selection dialog, or select an already
existing selection.
Requirement
You configured the "Selection dialog" button function on the "Toolbar" tab of the
AlarmControl.
You activated the message blocks that are available as the selection criteria on the
"Message blocks" tab using the "Selectable in selection dialog" option.
If a fixed selection is configured, other activated selections and the fixed selection are
logically linked by "AND" operation.
Procedure
1.
Click on
2. Click "New..." to create a selection. You can also activate existing selections by clicking in
the check box in front of the selection name.
3. When creating a new selection, assign a name to the selection and an expressive comment
to distinguish it from other selections.
1046
Note
Displaying messages from WinCC/CAS in WinCC AlarmControl
You must specify a time range in the selection dialog to display messages from WinCC/CAS
in AlarmControl. If you did not specify a time range, only messages from the server are
displayed.
1047
5.6.3.3
Introduction
Message locking suppresses the display and archiving of messages. You can set a lock for
the following:
Single messages
Message types
Message classes
Group messages and user-defined group messages
Prerequisite
You configured the relevant button functions on the "Toolbar" tab of the AlarmControl.
Locking and enabling selected messages using the "Lock message" and "Enable message" button
functions
1. In the message list, select the message row which contains the message to be locked.
2.
3.
You can view the locked message by clicking the "Lock List" button
the selected message again by clicking the "Enable message" button
is removed from the lock list.
Note
Users who are authorized to lock and unlock messages must have been granted both
authorizations in the User Administrator, and these authorizations must be configured
directly one below the other. This is necessary as the authorization level defined below
the authorization for "Lock Messages" in the User Administrator is used automatically as
the authorization for enabling.
Note
If locking/enabling a single message of an Alarm_8P using S7PMC, you lock/enable all 8
single messages of this block.
1048
2. Click a server in the server list, or click the local computer for workstation projects.
3. Click the "Add" button. Enter the message number to be locked in the next dialog.
4. You can lock several messages simultaneously. Enter comma separated message
numbers accordingly. Enter a range with the syntax "5-10" for a message number range.
Only continuous message ranges are locked. If there are gaps in the specified range, the
message "Invalid Range" is returned.
5. To enable a locked message, select the message from the list of locked messages and
then click the "Delete".
Note
You can lock and enable a up to 50 messages simultaneously.
Locking and enabling of messages based on message class, message type, or user-defined group
message criteria
1.
2. Click a server in the server list, or click the local computer for workstation projects.
1049
4. To enable the locked messages, select the relevant message class, message type or userdefined group message and then click the "Enable" button.
Note
The server list contains only those server projects whose "Packages" are loaded on the
computer containing the project where you are configuring the control.
5.6.3.4
Introduction
In exceptional cases, a message can be acknowledged on the basis of its message number.
In this case, the acknowledgment signal is also transferred to the AS if the message is currently
inactive. Acknowledgment of inactive messages only refers to messages which were
configured in proper chronological order.
Note
The emergency acknowledgment function is not provided for general acknowledgment. The
function may only be used in extreme emergency situations.
1050
Prerequisite
You configured the "Emergency Acknowledgment" button function on the "Toolbar" tab of
the AlarmControl.
Procedure
1.
2. Select a server. In the "Message number" input field, enter the number of the message to
be acknowledged.
3. Click the "Send request" button. In the message window, the message now appears in the
color that you specified for an acknowledged message.
Note
In the dialog for the selection of the servers, only server projects are shown whose
"Package" is loaded onto the computer.
5.6.3.5
Introduction
During runtime, you can sort the messages in the message window on the basis of message
blocks. You sort the message blocks either via the "Sort Dialog" keyboard function or directly
via the column headers of the message blocks. User defined sorting is only executed if autoscrolling is disabled. The default sorting mode is executed if auto-scrolling is enabled
Examples of message sorting:
1051
1052
Procedure
1.
2. In the "Sort By" field, select the message block by which to sort first. Select the relevant
check box to specify sorting in ascending or descending order. If you want to sort by more
than one message block, select the other message blocks in the desired order in the "Then
sort by" lists.
How to sort the displayed message blocks with the column heading
When sorting using the column header, you are able to specify the sort order for more than
four message blocks. A sorting icon and sorting index, displayed with right-justification in the
column heading, show sorting order and sorting sequence of the message blocks.
Prerequisite
You have permitted the sorting in the list field "Sorting with column heading" by clicking or
double clicking on the WinCC AlarmControl on the "Parameter" tab.
You have activated the "Show sorting icon" and "Show sorting index" check boxes.
You have deactivated the button function "Autoscroll" in the toolbar or option "Autoscrolling" on the "General" tab.
Procedure
1. Click the column header of the message block you want to sort by first. The sorting index
"1" is displayed, and the sorting icon points upwards for ascending sort order.
2. If you want to sort in descending order, click the column header again.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1053
5.6.3.6
Introduction
Manual hiding of messages puts lesser information load on the user of the system. You as
user can concentrate better on the messages only if lesser important messages are not shown.
Requirement
You have configured the button functions "Hide message" and "Unhide message" and "List
of messages to be hidden" on the "Toolbar" tab in WinCC AlarmControl.
Runtime has been activated and the WinCC AlarmControl is displayed.
Procedure
1. Select the message you want to hide in the message list, short-term archive list or longterm archive list.
2.
3.
4. To show these messages again, display the "List of messages to be hidden". Select a
message and click the "Unhide message"
button. The message is removed from the
"List of messages to be hidden" and displayed back in the original list.
5. If you do not take any action to show the hidden messages, the configured duration will
decide when the system has to display back a message and remove it from the "List of
messages to be hidden".
1054
5.6.4
5.6.4.1
Introduction
The following example shows the configuration of a WinCC Alarm Control and the display of
messages in runtime.
Prerequisite
A message system has been set up using the "Alarm Logging" editor.
1055
5.6.4.2
Introduction
If you have created a message system in Alarm Logging, you configure the message system
in Alarm Logging according to your requirements.
The following settings are configured for the AlarmControl example:
Number of displayable characters in the "Message Text" user text block
Acknowledgment conception for message class "Error"
Coloring of message states for the "Alarm" and "Warning" message classes
1056
Prerequisite
The "Alarm Logging" editor is open.
Procedure
1. Select "Properties" in the shortcut menu of the "Message Text" user text block, and change
the length of the message block.
2. Select "Properties" in the shortcut menu of the "Error" message class, and select the
"Acknowledgment activated" check box on the "Acknowledgment" tab.
1057
3. Select the "Properties" command in the shortcut menus of message type "Alarm" or
"Warning," respectively, and select the font color and background color for the message
states.
1058
5.6.4.3
Introduction
In the example, four message are displayed during runtime. You configure these message in
Alarm Logging with the following settings:
No.
Class
Type
Message tag
Message text
Point of error
Fault
Alarm
Tank1
Tank 1 empty
Tank 1
Fault
Alarm
Tank2
Tank 2 empty
Tank 2
Fault
Alarm
Tank3
Tank 3 empty
Tank 3
Prerequisite
Configure the three "Binary" type tags "Tank1", "Tank2" and "Tank3" in the Tag
Management.
The "Alarm Logging" editor is open.
Procedure
1. In the Alarm Logging table window, add a new line for each message using the shortcut
menu.
2. Select "Properties" in the shortcut menu of the messages created.
1059
4. Activate the option "is single acknowledgment only"in order to acknowledge the message
with an acknowledgment button in the example project.
5. On the "Text" tab of the "Single Message" dialog, enter the text indicated above for
"Message Text" and "Point of Error".
6. Configure two additional messages with "Tank2" and "Tank3".
7. Save the settings in Alarm Logging.
Note
You can create the tags used as message tags either in the Tag Management of WinCC
Explorer or directly by selecting the message tag on the "Parameters" tab of Alarm Logging.
1060
5.6.4.4
Introduction
Messages are displayed in runtime in WinCC AlarmControl. Configure the AlarmControl in the
Graphics Designer.
The following settings are configured for the example project:
Keyboard functions in the toolbar
Selection in the message window
Selection and order of the message blocks that are displayed in the message window
Procedure
1. Start Graphics Designer and open a new picture.
2. On the object palette, double-click the "WinCC AlarmControl" on the "Controls tab".
3. The Control is inserted into the picture. Click the Control at the drag point and drag it to the
desired size.
4. Double-click the Control. The "Properties of WinCC AlarmControl" is opened with the
"General" tab.
1061
1062
1063
8. Define the other display options as you like on the "Parameter" and "Display" tabs.
1064
1065
11.Click "OK" to close the dialog, and save your settings in the Graphics Designer.
Results
The WinCC AlarmControl is configured for the example. If you have activated button function
"Configuration dialog" on the "Toolbar" tab, you can change the display of tables in the control
at any time in runtime.
1066
5.6.4.5
Introduction
You have configured three single messages in Alarm Logging. In order to reproduce the
example for the Alarm Control, you configure three buttons in the Graphics Designer that you
use during runtime to set and reset the binary message tags of the individual messages. The
message window shows the message statuses with the configured colors.
Procedure
1. In the object palette of the Graphics Designer, select the "Standard" tab and click the
"Button" object in the "Windows Object" group. Position the cursor in the picture to the spot
where you want to insert the button, and enter the text "Tank1".
2. Select "Properties" in the shortcut menu.
3. Make the "Press left" event dynamic by establishing a direct link between the constant "1"
and the tag "Tank1".
4. Make the "Press right" event dynamic by establishing a direct link between the constant "0"
and the tag "Tank1".
5. Likewise, configure two additional buttons with "Tank2" and "Tank3".
6. Save your settings in the Graphics Designer.
1067
5.6.4.6
Introduction
In order to operate a button function of the toolbar of the WinCC AlarmControl from another
location, you must provide the "ToolbarButtonClick" property with the respective "ID".
In principle, any object can be used to operate the AlarmControl. In the following example, the
standard object "Button" is used to acknowledge a message.
Prerequisite
You have configured the example project for AlarmControl.
You have opened the picture with the configured AlarmControl in the Graphics Designer.
Procedure
1. Determine the object name of the AlarmControl based on the object properties of the
control, for example, "Control1".
2. Insert a button object from the Windows objects of the object palette into the picture. Enter
a button text, e.g. "Acknowledge".
3. In order to make the button object dynamic, open the shortcut menu for the properties of
the button object. In the "Event" tab, select the "Mouse" property. Make the attribute "Mouse
click" dynamic with a C action.
4. Select "C action..." with the right mouse button. The "Edit action" window is opened.
5. Insert the following into the right window area:
\\ activate toolbar button single acknowledgment (ID: 10)
SetPropWord(lpszPictureName, "Control1", "ToolbarButtonClick", 10);
6. Compile and save the C action.
7. Save your settings in the Graphics Designer.
5.6.4.7
Prerequisite
You have saved the configured picture in the Graphics Designer.
You have entered the configured picture as the start screen in the "Computer properties"
dialog on the "Graphics Runtime" tab.
You have activated "Graphics Runtime", "Alarm Logging Runtime" and "Global Script
Runtime" applications in the startup list of WinCC Explorer using the "Computer properties"
dialog.
1068
4. After you have tested other control capabilities, e.g. locking messages, deactivate runtime.
You can deactivate Runtime using the toolbar or the menu bar of WinCC Explorer.
Click on the
You can unlock the selected message in the lock list again by clicking button
message will be removed from the lock list.
. The
1069
5.7
5.7
Resources
5.7.1
Introduction
WinCC Alarm Control is used as a message window for displaying message events.
1070
See also
Configuration of the WinCC Alarm Control (Page1071)
How to Configure Single Messages (Page1075)
5.7.2
5.7.2.1
Introduction
Using an example, you will see how to display messages during runtime WinCC Alarm Control.
Requirement
You have created a message system with the "Alarm Logging" editor.
General Procedure
In Alarm Logging
1. Configure the required message blocks, message classes and message types according
to your requirements.
2. Configure the single messages and group messages that you require.
In Graphics Designer
1. Link the WinCC Alarm Control to a Graphics Designer picture and change the properties
of the Control.
2. In order to reproduce the message window settings for the example, you must configure
buttons for setting and resetting the message tags in the Graphics Designer.
Note
Standard functions can be used to control the message window. If you do not want to use
the toolbar functions to operate the message window, you can make any of the Graphics
Designer objects dynamic using the appropriate functions.
1071
See also
Standard Functions for Operation of WinCC Alarm Control (Page1106)
How to Configure the Alarm Control in the Graphics Designer (Page1077)
How to Configure Single Messages (Page1075)
How to Configure the Message System (Page1072)
Configuring the Message System (Page903)
5.7.2.2
Introduction
If you have created a message system in Alarm Logging, you configure the message system
in Alarm Logging according to your requirements.
The following settings are configured for the Alarm Control example::
Number of displayable characters in the "Message Text" user text block
Acknowledgement theory for message class "Error".
Color assignment for the message statuses of message types "Alarm" and "Warning"
1072
Requirement
The "Alarm Logging" editor is open.
Procedure
1. Select "Properties" in the shortcut menu of the "Message Text" user text block, and change
the length of the message block.
2. Select "Properties" in the shortcut menu of the "Error" message class, and select the
"Acknowledgement Came In" check box on the "Acknowledgement" tab.
1073
3. Select the "Properties" command in the shortcut menus of message type "Alarm" or
"Warning," respectively, and select the text color and background color for the message
statuses.
1074
See also
How to Configure the Alarm Control in the Graphics Designer (Page1077)
How to Configure Single Messages (Page1075)
Configuring the Message System (Page903)
5.7.2.3
Introduction
In the example, four message are displayed during runtime. You configure these message in
Alarm Logging with the following settings:
No.
Class
Type
Message tag
Message text
Location of
fault
Fault
Alarm
Tank1
Tank 1 empty
Tank 1
Fault
Alarm
Tank2
Tank 2 empty
Tank 2
Fault
Alarm
Tank3
Tank 3 empty
Tank 3
Fault
Warning
Motor
Motor on
Requirement
Configure the four "Binary"-type tags "Tank1", "Tank2", "Tank3" and "Motor" in the Tag
Management.
The "Alarm Logging" editor is open.
Procedure
1. In the Alarm Logging table window, add a new line for each message using the shortcut
menu.
2. Select "Properties" in the shortcut menu of the created message.
1075
4. On the "Text" tab of the "Single Message" dialog, enter the text indicated above for
"Message Text" and "Point of Error".
5. Likewise, configure three additional messages with "Tank2", "Tank3" and "Motor".
6. Save the settings in Alarm Logging.
Note
You can create the tags used as message tags either in the Tag Management of WinCC
Explorer or directly by selecting the message tag on the "Parameters" tab of Alarm Logging.
See also
How to Configure the Message System (Page1072)
Configuring the Message System (Page903)
1076
5.7.2.4
Introduction
During runtime, the message events are displayed in an ActiveX Control, which is inserted
and configured in a picture in the Graphics Designer.
The following settings are configured for the example project:
Keyboard functions in the toolbar
Selection in the message window
Selection and order of the message blocks that are displayed in the message window
Procedure
1. Start Graphics Designer and open a new picture.
2. In the object palette on the "Controls" tab, double-click "WinCC Alarm Control".
3. The Control is inserted into the picture. Click the Control at the drag point and drag it to the
desired size.
1077
1078
1079
1080
1081
9. Click "OK" to close the dialog, and save your settings in the Graphics Designer.
See also
How to Configure Buttons for Changing Message Tags (Page1083)
Configuration of the WinCC Alarm Control (Page1071)
1082
5.7.2.5
Introduction
You have configured four single messages in Alarm Logging. In order to reproduce the example
for the Alarm Control, you configure four buttons in the Graphics Designer that you use during
runtime to set and reset the binary message tags of the individual messages. The message
window shows the message statuses with the configured colors.
Procedure
1. In the object palette of the Graphics Designer, select the "Standard" tab and click the
"Button" object in the "Windows Object" group. Position the cursor on the image at the spot
where you want to insert the button, and enter the text "Tank1".
2. Select "Properties" in the shortcut menu.
3. Make the "Left-click" event dynamic by establishing a direct link between the constant "1"
and the tag "Tank1".
4. Make the "Right-click" event dynamic by establishing a direct link between the constant "0"
and the tag "Tank1".
5. Likewise, configure three additional buttons with "Tank2", "Tank3" and "Motor".
6. Save your settings in the Graphics Designer.
1083
See also
How to Configure the Alarm Control in the Graphics Designer (Page1077)
Configuration of the WinCC Alarm Control (Page1071)
5.7.2.6
Introduction
The hit list displays statistics for the archived messages in the message window. In addition
to statistics, a limited selection of configured message blocks can also be displayed in the hit
list. In the case of variable contents, the message blocks display the data for the last incoming
message.
You assemble the columns of the hit list yourself, which consist of the message blocks and
the statistics.
The following statistical calculations are available fro messages:
Frequency of a message. The frequency is only increased, if a message with status "Came
In" is included in the archive. If the frequency of a message number in the selected message
range is "0", no entry is made in the statistics for this message number.
The cumulative duration of a message number in seconds for status "Came In/Came In"(+/
+),"Came In/Went Out"(+/-), the status "Came In/Initial Acknowledgment"(+/*1) or the status
"Came In/Second Acknowledgement"(+/*2).
The average duration of a message number in seconds for status "Came In/Came In"(+/
+),"Came In/Went Out"(+/-), the status "Came In/Initial Acknowledgment"(+/*1) or the status
"Came In/Second Acknowledgement"(+/*2).
Only the acknowledgement statuses "Acknowledgement", "System Acknowledgement" and
"Emergency Acknowledgement" are taken into account in the statistical calculation of the
acknowledgement times.
Note
Messages with the statuses "Acknowledgement", "System acknowledgement", "Emergency
Acknowledgement" and "Went Out" are only taken into account in the statistical calculation
if the event set available for the statistical calculation includes a relevant, earlier-occurring
message with "Came In" status.
If only one acknowledgement occurs for a message with single or double acknowledgement,
the acknowledgement time is taken into account for the calculation of the cumulative duration
and the average duration of the two statuses "Came In/Initial Acknowledgement" and "Came
In/Second Acknowledgement".
If runtime has been deactivated and reactivated several times and a message is pending
during this time, for example, due to the external bit message procedure or chronological
messaging, the message will be entered multiple times in the archive with status "Came In",
so that it is also counted several times in the calculation.
1084
Requirement
You have opened the Graphics Designer is opened and linked an Alarm Control.
You have selected the message blocks you want to incorporate in the hit list on the
"Message Blocks" tab.
You have specified the properties of the message blocks that you want to incorporate in
the hit list.
You have activated the keyboard function "Hit List" on the "Toolbar" tab of the Alarm Control.
1085
Procedure
1. Double-click the Control. Select the "Hit List" tab.
2.
1086
Select the columns you want to display in the hit list. To do so, click
Columns" dialog opens.
. The "Add
The dialog contains all statistical calculations that are available, as well as a limited number
of configured message blocks. You add the columns to the hit list by making one or more
selections and clicking "OK". If you want to remove columns from the hit list, select the
relevant columns in the "Hit List Columns" list and click
3. You can change the order in which the columns are displayed in the hit list by selecting the
column and clicking
or
4. Configure the column properties for the statistics data columns. You can rename the
column, change the alignment and the format of the values in the column, and adjust the
width of the column.
5. Columns can be named in two ways: If you are assigning a column name that is identical
every runtime language, enter a name in the edit box. If you want to use multiple languages,
use a text entry in the test library. Click
1087
Specify the format settings. The preview shows the effect of your column format settings.
In the Format Specification box, you can enter additional text in front of and behind the
formatting specification. Click
specification.
7. Using the "Selection" button, specify the criteria to be used for displaying messages in the
hit list, such as a specific message class or a specific time range. If no time range is
specified, all times are taken into account in calculating average values. Note that a longrange selection can adversely affect performance. Alternatively, you can specify the
selection criteria for the hit list during runtime.
8. Using the "Sort..." button, specify the criteria to be used for sorting the columns in the hit
list, for example, first descending by date and then ascending by message number.
Alternatively, you can define the sort criteria for the hit list during runtime using the Sort
dialog or "Sort by Column Header" function.
1088
If no time range is specified in the selection dialog, you can select the relevant check box
and enter a time factor and a time type to be used to generate the statistics. If the check
box is not selected, the time factor is set to "0" and no time filter is applied.
In the "Quantity Limitation" field, specify the maximum number of data records from the
message archive that are to be used to generate the hit list.
Example: You have specified the "Message Class Alarm High" filter in the selection dialog.
For the compilation of the hit list, all alarm messages that meet this criteria are retrieved
from the message server. From this group, the number of data records that is taken into
account in the statistics is limited to the amount you specified in the quantity limitation.
When the maximum number of records is reached, a warning can be issued.
10.Click "OK" or "Apply" to confirm the settings for the hit list. The hit list is now compiled. You
can access the hit list during runtime by clicking
in the toolbar.
If no sort criteria are specified, the values in the hit list are sorted in descending order of
frequency.
New incoming messages are not automatically included in the hit list. To include them, you
must reselect the hit list.
See also
How to Configure the Alarm Control in the Graphics Designer (Page1077)
Configuration of the WinCC Alarm Control (Page1071)
1089
5.7.2.7
Requirement
Prior to activating the example for the WinCC Alarm Control, you must
Activate "Graphics Runtime" and "Alarm Logging Runtime" in the startup list of WinCC
Explorer using the "Computer Properties" dialog
Save the picture you configured in the Graphics Designer and enter it as the startup picture
on the "Graphics Runtime" tab of the "Computer Properties" dialog.
Procedure
1. Activate runtime by clicking the relevant button in the toolbar or selecting the relevant menu
option in WinCC Explorer.
2. Click the four buttons. The corresponding messages are displayed. If you now right-click
the "Tank 2" button, the message status changes as indicated by the color assignment.
3. Deactivate runtime by clicking the relevant button in the toolbar or selecting the relevant
menu option in WinCC Explorer.
1090
5.7.3
5.7.3.1
Introduction
The buttons on the toolbar are used to operate the message window during runtime. If you do
not want to use the toolbar to operate the message window, you can use the functions available
in the "Standard Functions/Alarm" group of the "Global Script" editor.
"Message list"
Shows the currently pending messages.
"Short-term archive list"
Shows the archived messages in the short-term archive list.
"Long-term archive list"
Shows the archived messages in the long-term archive list
"Lock List"
Shows all messages blocked in the system.
"Hit List"
Displays the message blocks and the static information that you have configured on the
hit list tab of alarm control.
"Ackn. Central Signaling Devices"
Acknowledges a visual or audio messenger
"Single acknowledgment"
Acknowledges a selected single message
"Group acknowledgement"
Acknowledges all pending visible messages in the message window that require
acknowledgement, unless they require single acknowledgment
"Autoscroll"
If "Autoscroll" has been activated, the latest modified message is selected in the message
window. The visible range of the message window is moved, if necessary.
If "Autoscroll" is not activated, a new message that appears is not selected. The visible
range of the message window is not modified.
Message rows can be selected in a targeted manner only if "Autoscroll" is activated.
"Selection dialog"
Specifies the selection criteria for the messages to be displayed in the message window.
The messages that meet these criteria are not displayed but are nevertheless archived.
"Display options dialog"
Defines which messages are to be displayed in the message window.
If the "Display all messages" option has been activated, the message windows shows the
hidden as well as displayed messages.
If the "Display shown messages only" option is activated, only shown messages are
displayed in the message window.
If the "Display hidden messages only" option is activated, only hidden messages are
displayed in the message window.
1091
1092
Icon
Description
Date
System date
Time of day
System time
List:
Window:
Ackn:
See also
Standard Functions for Operation of WinCC Alarm Control (Page1106)
Configuration of the WinCC Alarm Control (Page1071)
5.7.3.2
Introduction
You can use selection criteria during runtime to define which messages you want to display
in the message window. In the example below, only messages that contain message text
"Motor on" are displayed.
1093
Requirements
You have configured the relevant keyboard functions on the "Toolbar" tab of the Alarm
Control.
Procedure
1.
2. Double-click the "Text Blocks" folder in the tree structure, and click "Message Text". In the
right pane, select the "Search Text" check box and double-click the "Search Text" selection.
1094
Description
Text selection if
exact match
If the "Text selection if exact match" check box is not selected, all text blocks
containing the search string are selected.
If the "Text selection if exact match" check box is selected, all text blocks correspond
exactly to the search string are selected.
Persistence in
RT
If the "Persistent in RT" check box is selected, changes in the search criteria are
retained even after a picture change.
Persistence in
CS and RT
If the "Persistent in RT and CS" check box is selected, the modified settings are also
applied to the configuration system. To do this, you must open the picture in Graphics
Designer and save it once again. The changed settings are also used when the
project is reactivated.
Changes to the control properties in Runtime are not persistently accepted in CS
with PCS 7 projects or TIA projects. When you completely load the ES to the OS,
the changed settings on the OS will be overwritten.
Configure the properties of the controls on the ES.
Delete selection Click this button to delete all configured selection criteria.
1095
See also
Operation of Alarm Control during Runtime (Page1091)
Configuration of the WinCC Alarm Control (Page1071)
5.7.3.3
Introduction
Locked messages are not shown on the display and not archived. You can set a lock for the
following:
Single messages
Single messages with multiple instances. The selected instance of the message will be
locked.
Message types
Alarm classes
Group messages
1096
Requirement
You have configured the relevant keyboard functions on the "Toolbar" tab of the Alarm
Control.
Locking and Unlocking Selected Messages using Keyboard Function "Lock/Unlock Message"
1. In the message list, select the message line containing the message to be locked, for
example, "Tank1".
2.
3.
. The
Note
If a user is authorized to lock and unlock messages, this user must have both authorizations
in the User Administrator, and these authorizations must be configured directly one below
the other. This is necessary, since the unlock authorization for locked messages automatically
uses the authorization level defined in the authorization for "Lock Messages" in the User
Administration.
Note
Locking/unlocking of a single message of an Alarm_8(P) using S7PMC always results in the
locking/unlocking of all 8 single messages of this block.
2. Click a server in the server list, or click the local computer in the case of a single-user
projects.
1097
4. You can lock several messages simultaneously. To do this, enter the message numbers
separated by commas. To select the a range of message numbers, enter a range in the
form "5-10". Only uninterrupted message ranges are locked. If there are gaps in the
specified range, the message "Invalid Range" is returned.
5. To unlock a locked message, select the messages in the list of locked messages and click
the "Delete" button.
Note
You can lock and unlock a maximum of 50 messages simultaneously.
Locking and Unlocking of Messages Using the Message Class, Message Type or User-Defined Group
Message
1.
2. Click a server in the server list, or click the local computer in the case of a single-user
projects.
1098
4. To unlock the locked messages, select the relevant message class, message type or userdefined group message and click the "Unlock" button.
Note
The server list contains only those server projects whose "Packages" are loaded on the
computer containing the project where you are configuring the Control.
1099
Procedure
1. On the "Message Lists" tab in the properties dialog for the Alarm Control, click the "Operator
Input Messages..." button.
2. In the "Operator Input Messages" dialog, select the relevant check boxes if an operator
input message is to be triggered when messages are locked or unlocked.
3. If you want to configure the content of the operator input message yourself, click
.
In the configuration dialog, enter the number of a message that you have configured
previously in Alarm Logging. You assign the message blocks of the locked message to the
process value blocks of the operator input message. These message blocks must be
selected on the "Message Blocks" tab. Click "OK" to confirm your settings.
Note
Operator input messages can only be archived if system messages are set up in the message
archive.
See also
Operation of Alarm Control during Runtime (Page1091)
Configuration of the WinCC Alarm Control (Page1071)
5.7.3.4
Introduction
Manual hiding of messages puts lesser information load on the user of the system. You as
user can concentrate better on the messages only if lesser important messages are not shown.
1100
Hide process
During manual hide, you as user will decide whether to hide a message by using a button in
the message window. You can show the message again using a button or the system will show
the message after a configurable period. Operator input messages can be triggered in Manual
Hide.
Requirement
You have configured the key functions "Hide/Show Message" and "List of Hidden
Messages" in the "Toolbar" tab in WinCC Alarm Control.
Runtime has been activated and the WinCC Alarm Control is displayed.
Procedure
1. Select the message you want to hide in the message list, short-term archive list or longterm archive list.
2.
4. To show these messages again, display the "List of Hidden Messages". Select a message
and click the "Hide/Show Message"
button. The message is removed from the "List
of Hidden Messages" and displayed back in the original list.
5. If you do not take any action to show the hidden messages, the configured duration will
decide when the system has to display back a message and remove it from the "List of
Hidden Messages".
1101
See also
How to Configure the Hiding of Messages (Page945)
5.7.3.5
Introduction
In exceptional cases, a message can be acknowledged on the basis of its message number.
In this case, the acknowledgement signal is sent to the AS even if the message is currently
not pending. Acknowledging messages that are not pending only refers to messages that are
configured in chronological order.
For this reason, the function should only be used in extreme emergency situations.
1102
Requirements
You have configured the keyboard function "Emergency Acknowledgement" on the
"Toolbar" tab of the Alarm Control.
Procedure
1.
2. Select a server. In the "Message Number" box, enter the number of the message to be
acknowledged. Click the "Request" button. In the message window, the message now
appears in the color that you specified for an acknowledged message.
Note
In the dialog for the selection of the servers, only server projects are shown whose "Package"
is loaded onto the computer.
See also
Operation of Alarm Control during Runtime (Page1091)
Configuration of the WinCC Alarm Control (Page1071)
1103
5.7.3.6
Introduction
During runtime, you can sort the messages in the message window on the basis of message
blocks. You sort the message blocks either via the "Sort Dialog" keyboard function or directly
via the column headers of the message blocks.
Examples for sorting messages:
Display of messages in descending order by date, time and message number The most
recent message is displayed at the top.
Display of messages according to priority. To apply this sorting method, you must have
specified the priorities of messages in Alarm Logging and configured the "Priority" message
block in the Alarm Control. As a result, in a single-line message view, only the top-priority
message appears in the message window. A message with a lower priority is not displayed,
even if it is more recent. Normally, the messages are shown in chronological order.
Display of messages in ascending or descending order based on various message blocks,
allowing for user-defined sorting during runtime.
The "Status" message block is sorted according to the status type and not according to the
configured status texts. If sorting is in ascending order, the messages are sorted in the
following order: Came In, Went Out, Acknowledged, Locked, Unlocked, System
Acknowledgement, Emergency Acknowledgement, Came In/Went Out.
Note
You can also specify the sort criteria during configuration in the Alarm Control by clicking
the "Sorting..." button on the "Message Lists" tab. You configure the sort criteria for the
hit list on the "Hit List" tab.
1104
Procedure
1.
2. In the "Sort By" field, select the message block by which to sort first. Select the relevant
check box to specify sorting in ascending or descending order. If you want to sort by more
than one message block, select the other message blocks in the desired order in the "Then
By" lists.
Requirement
You have selected the "Sort by Column Header" check box on the "Parameters" tab of the
Alarm Control.
You have deactivated the "Autoscroll" keyboard function.
1105
Procedure
1. Click the column header of the message block you want to sort by first. The number "1" is
displayed, and the arrow points upwards for ascending sort order.
2. If you want to sort in descending order, click the column header again.
3. If you want to clear the sorting of the message block, click the column header a third time.
4. If you want to sort on the basis of several message blocks, click the header columns of the
respective message blocks in the desired sequence.
Note
Sorting is not affected by events or changes in the message block configuration. If you have
defined a message block as a sort criterion in the sort dialog and you subsequently delete
this block from the message line, the specified sort order remains in place. In the sort dialog,
a blank field is displayed instead of the deleted message block. If you have not specified
another sort order and the deleted message block is included again in the message block
configuration of the Control, the messages are again shown in the original sort order.
See also
Operation of Alarm Control during Runtime (Page1091)
Configuration of the WinCC Alarm Control (Page1071)
5.7.3.7
Introduction
If you do not want to use the toolbar to operate the message window, you can use the functions
available in the "Standard Functions/Alarm" group of the "Global Script" editor.
1106
Function
Description
AXC_OnBtnAlarmHidingList
Function used to switch the message window to show the list of hidden
messages.
AXC_OnBtnArcLong
AXC_OnBtnArcShort
AXC_OnBtnComment
AXC_OnBtnEmergAckn
AXC_OnBtnHideUnhideMsg
The function hides the selected message or displays again the hidden
message.
AXC_OnBtnHit
Description
AXC_OnBtnHornAckn
AXC_OnBtnInfo
AXC_OnBtnLoop
You can use this function to change the picture to the configured loopin alarm picture of the selected message.
AXC_OnBtnMsgFirst
This function selects the first message and shifts the visible range in
the message window, if necessary.
AXC_OnBtnMsgLast
This function selects the last message and shifts the visible range in
the message window, if necessary.
AXC_OnBtnMsgNext
This function selects the next message and shifts the visible range in
the message window, if necessary.
AXC_OnBtnMsgPrev
This function selects the previous message and shifts the visible range
in the message window, if necessary.
AXC_OnBtnMsgWin
AXC_OnBtnPrint
AXC_OnBtnProtocol
This function starts a printout of the current view of the Control. All
messages meeting the selection criteria are printed.
AXC_OnBtnScroll
AXC_OnBtnSelect
AXC_OnBtnSinglAckn
AXC_OnBtnSortDlg
This function opens the dialog for creating a user-defined sort criteria
for the displayed messages.
AXC_OnBtnTimeBase
This function opens the dialog for setting the time base for the time
data displayed in the messages.
AXC_OnBtnVisibleAckn
AXC_OnBtnLock
AXC_OnBtnLockWin
AXC_OnBtnLockUnlock
AXC_SetFilter
1107
See also
Example of the Use of Standard Functions (Page1108)
Operation of Alarm Control during Runtime (Page1091)
Configuration of the WinCC Alarm Control (Page1071)
5.7.3.8
Introduction
In order to operate the WinCC Alarm Control by means a function, you must configure the
corresponding function. This is done by making objects dynamic with standard functions of
Global Script in the Graphics Designer.
In principle, any object can be used to operate the Alarm Control. In order to achieve similarity
with the toolbar of a message window, the following example will insert a graphic object for
acknowledging a message.
Requirement
You have configured the example project for Alarm Control.
You have opened the picture containing the configured Alarm Control in the Graphics
Designer.
Procedure
1. Determine the object name of the Alarm Control based on the object properties of the
Control, for example, "OLE-Control1".
2. Insert a graphic object from the smart objects of the object palette into the picture. Use the
mouse to resize the graphic object to the desired size. In the configuration dialog, select
the picture to be displayed, for example,
1108
1109
5. The "Set Parameters" window opens. Click "OK" to close the window without changes.
1110
See also
How to Configure Buttons for Changing Message Tags (Page1083)
Configuration of the WinCC Alarm Control (Page1071)
Standard Functions for Operation of WinCC Alarm Control (Page1106)
1111
5.7.4
Introduction
In WinCC Alarm Control, only the SQL statements that can also be generated using the
selection dialog of the message window are permitted. The following conditions apply to
WinCC:
The structure consists of "Field", "Operand", and "Value", with the individual parameters
separated by blanks. E.g.: DATETIME >= '2006-12-21 00:00:00' AND MSGNR >= 100 (all
messages as of 21.12.2006 with a message number greater than and equal to 100)
Character strings, date, and time must be passed in single quotation marks.
In the DATETIME argument, the date and time of day are separated by a blank. Regardless
of the time base setting in the object properties, the output of DATETIME is based on the
time base Local Time. The exception to this is when "UTC" is set as the time base. In this
case, output is based on the time base "UTC".
Permissible Arguments
Name
SQL name
Type
Data
Example:
Date/time
DATETIME
Date
'YYYY-MM-DD
hh:mm:ss.msmsms'
Number
MSGNR
Integer
Alarm number
Class/type
State
Priority
CLASS IN
AND TYPE
IN
Integer
STATE
Integer
PRIORITY
Integer
Value "ALARM_STATE_xx"
STATE IN(1,2,3)
ALARM_STATE_1
ALARM_STATE_2
ALARM_STATE_3
ALARM_STATE_4
ALARM_STATE_10
ALARM_STATE_11
ALARM_STATE_16
ALARM_STATE_17
Possible value:
1 = incoming messages
2 = outgoing messages
3 = acknowledged messages
4 = locked messages
10 = hidden messages
11 = shown messages
16 = messages acknowledged by the
system
17 = Emergency-acknowledged
messages
Message priority 0 - 16
1112
SQL name
Type
Data
Example:
AS Number
AGNR
Integer
AS Number
CPU Number
AGSUBNR
Integer
AG sub-number
Instance
INSTANCE
Text
Instance
Block: 1
...
Block: 10
TEXTxx
Text
TEXT2 = "Error"
Outputs the messages whose Text2
corresponds with "Error".
TEXT2 IN ('Error','Fault')
Outputs the messages whose Text2
corresponds with the text "Error" or
"Fault".
TEXT2 LIKE 'Error'
Outputs the messages whose Text2
includes the text "Error".
Process value:
1
...
Process value:
10
PVALUExx
Double
Permissible Operands
>= , <= , = , > , <
IN(...) : Several values as an array, separated by commas, e.g.: CLASS IN( 1 ,2 ,3 ) AND
TYPE IN( 1 ,2 ,19 ,20 ,37 ,38 )
LIKE : Text must contain string, e.g.: TEXT1 LIKE 'Error' relays message where Text1
contains the search text "Error". The operand LIKE is only permitted for Text arguments.
1113
Resources
6.1
Content
WinCC can be used to:
Process and archive process values from a plant
Output process values in pictures or in reports.
The "Tag Logging" editor provides you with a number of wizards for the configuration of
archives.
This chapter contains
the basics of process value archiving
configuration instructions of the process value archiving, and
instructions for the output of process values.
6.2
Introduction
The archive system is used for the archiving of process values in Runtime. The archive system
processes the process values cached in the Runtime database and writes them to the archive
database.
The following WinCC subsystems are involved in the process value archiving:
1115
Term definitions
The question of whether and when process values are acquired and archived is dependent
on a variety of parameters. The parameters to be configured for your project depend on the
applied archiving method.
Acquisition cycle: determines when the value of a process tag is read out in the automation
system. You might configure an acquisition cycle, for example, for the continuous cyclic
archiving of process values.
Archiving cycle: determines when the processed process value is saved in the archive
database. You might configure an archiving cycle, for example, for the continuous cyclic
archiving of process values.
Start event: starts process value archiving when a specified event occurs, for example when
the plant is turned on. You might configure a start event, for example, for a selective cyclic
archiving of process values.
Stop event: terminates process value archiving when a specified event occurs, for example
when the plant is turned off. You might configure a stop event, for example, for a selective
cyclic archiving of process values.
Event-controlled archiving: Process values are archived when a certain event occurs, for
e.g. when marginal values are exceeded. You can configure event-controlled archiving in
acyclic archiving of process values.
Archiving process values during changes: Process values are archived only when they
have been changed. You can configure the archiving in acyclic archiving of process values.
See also
Process Value Archiving for Multi-User Projects (Page1118)
Configuration of Process Value Archiving (Page1142)
Storing Process Values (Page1136)
Archiving Methods (Page1126)
Process Values and Tags (Page1120)
Basics of Process Values Archiving (Page1117)
1116
6.3
6.3.1
Introduction
The process value archiving serves for compiling, processing and archiving of process data
from an industrial plant. The process data gained can be filtered according to important
economic and technical criteria relating to the operating status of a plant.
Principle of Operation
The process values to be archived are compiled, processed and saved in the archive database
in Runtime. Current or previously archived process values can be output in Runtime as a table
or trend. In addition, it is possible to print out archived process values as a protocol.
Configuration
The process value archiving is configured in Tag Logging. There, you can configure process
value archives as well as compressed archives, define acquisition and archiving cycles and
select the process values to be archived.
WinCC Controls are configured in Graphics Designer to display process data in runtime. The
process data can be output in table or trend curve form.
The protocol output of archived process data is configured as a protocol in Report Designer.
The process value output in the protocol can be in table or trend curve form.
Application
The process value archiving can be used for the following tasks:
Early detection of danger and fault conditions
Increase of productivity
Increase of product quality
Optimization of maintenance cycles
Documentation of the progress of process values
1117
See also
Process Value Archiving in WinCC (Page1115)
Output of Process Values (Page1184)
Configuration of Process Value Archiving (Page1142)
Storing Process Values (Page1136)
Archiving Methods (Page1126)
Process Values and Tags (Page1120)
6.3.2
Introduction
In multi-user projects, process values can be archived by various servers. The following clientserver scenarios illustrate possible configurations.
Client/Server Scenarios
Scenario 1
Process value archiving runs on several servers (2). Clients (1) can access the process value
archives on the available servers:
Scenario 2
Message and process value archiving runs on one server (3), together with process
communication. All other servers (2) deal with process-oriented tasks (e.g. displaying pictures).
Clients (1) can access all available servers:
1118
Scenario 3
A server (3) without a process driver connection deals solely with message and process value
archiving. The server (3) collects the data from all other servers (2) through server-server
communication and distributes it to the clients (1):
See also
Process Value Archiving in WinCC (Page1115)
Basics of Process Values Archiving (Page1117)
1119
6.3.3
6.3.3.1
Principle
Process values are data stored in the memory of one of the connected automation systems.
They represent the status of a plant, for example, temperatures, fill levels or states (e.g. motor
off). To work with the process values, you define tags in WinCC.
The link between WinCC and the automation systems is provided by process tags, which
correspond to a certain process value in the memory of an automation system. The value of
a process tag is obtained by reading out the process value from the memory of the automation
system. On the other hand, a process value can also be written back to the memory of the
automation system.
See also
Archiving Methods (Page1126)
Telegram Tags (Page1121)
External and Internal Tags (Page1120)
Basics of Process Values Archiving (Page1117)
6.3.3.2
Introduction
External tags in WinCC are used for acquiring process values and access a memory address
in the connected automation system. External tags are therefore referred to as process tags.
Internal tags do not have a process link and only carry values within WinCC.
External and internal tags can be stored in archive tags in the process value archive.
1120
Archive Tags
Process values are stored in archive tags in the process value archive. The system
distinguishes between the following types of archive tags:
Analog archive tags store numerical process values, e.g. the fill level of a tank.
Binary archive tags store binary process values, e.g. whether a motor is switched on or off.
Process-controlled tags store process values that have been sent to the archive system as
telegrams, e.g. process values in a series of measurements.
Archived process values can be compressed. This compression is achieved through the
application of mathematical functions (e.g. averaging). Compressed process values of this
type are stored in compressed tags in a compressed archive.
See also
Creating Archive Tags (Page1150)
Configuring Archives (Page1144)
Storing Process Values (Page1136)
Compressed Archive (Page1135)
Process-Controlled Process Value Archiving (Page1134)
Telegram Tags (Page1121)
Process Values and Tags (Page1120)
Basics of Process Values Archiving (Page1117)
6.3.3.3
Telegram Tags
Introduction
Telegramtags are needed for the acquisition of quickly changing process values, or if you want
to combine several measuring points from one plant.
Note
Telegram tags are of the "raw data type" in WinCC and are therefore also referred to a "raw
data tags".
1121
Principle
In the automation system the process values are written to a binary file, and are sent as a
telegram to WinCC where they are stored in a raw data tag.
Archiving of Telegrams
If you want the acquired process values belonging to a raw data tag to be archived, you need
to configure a process-controlled tag in the process value archive. To enable the archive
system to process the telegram in the process-controlled tag, select a format DLL. The format
DLL is supplied with the automation system that you are using and dismantles the telegram
(e.g. to ascertain the process values). The process values are then written to the archive
database.
A format DLL for the SIMATIC S7 is included as standard in the scope of delivery of WinCC.
See also
Archiving Methods (Page1126)
Storing Process Values (Page1136)
Process-Controlled Process Value Archiving (Page1134)
External and Internal Tags (Page1120)
Process Values and Tags (Page1120)
Process Value Archiving in WinCC (Page1115)
Basics of Process Values Archiving (Page1117)
6.3.3.4
Introduction
A telegram for the transfer of raw data tags consists of two parts: a header and a body.
1122
Telegram header
The header contains general data, i.e. length of the telegram. The high byte of data word 0 is
not used by the system and might thus be assigned by the user as required.
Telegram body
In the block status word, the format of the measurement values and the format of the
measurement areas, among other things, are defined. Bit 10 is reserved and will be used in
future versions for switching daylight saving and standard times (daylight saving time = 1).
Time and date are structured in accordance with the definition of the sequential time indication.
To transfer a measurement area, 8 data words are necessary. In these words, the upper and
lower limits of the tag and the archive are specified.
1123
Type 1
Measured value of a process tag + date and time
Type 2
n measured values of a process tag + date and time of each measured value
Type 3
n measured values of a process tag with date and time, and sampling cycle
1124
Type 4
n measured values of various process tags with time and date
Type 5
n measured values of various process tags without time and date
1125
6.3.3.5
@TLGRT_TAGS_PER_SECOND
The tag specifies the average archiving rate of Tag Logging cyclically as an archive tag per
second.
@TLGRT_AVARAGE_TAGS_PER_SECOND
The tag specifies the arithmetic average value of the average archiving rate of Tag Logging
cyclically as an archive tag per second since Runtime as started.
@TLGRT_SIZEOF_NOTIFY_QUEUE
This tag contains the current number of entries in the ClientNotify queue. All local trend and
table windows receive current data via this queue.
@TLGRT_SIZEOF_NLL_INPUT_QUEUE
This tag contains the current number of entries in the queue for the format DLL. This queue is
used to store the values transmitted by raw data tags.
6.3.4
Archiving Methods
6.3.4.1
Archiving Methods
Introduction
You can use different archiving methods to archive process values. You can therefore e.g.
monitor a single process value at any point in time and make the monitoring dependent on
certain events. You can archive quickly changing process values without increasing the system
load in doing so. You can compress process values already archived to reduce the data
volume.
1126
Archiving methods
The following archiving methods are available in Runtime:
Continuous cyclic process value archiving: continuous process value archiving (e.g.
monitoring a process value).
Cyclic-selective process value archiving: Event-controlled, continuous process value
archiving, for example for monitoring a process value within a specific period of time.
Acyclic process value archiving: event-controlled process value archiving (e.g. archiving a
current process value when a critical limit value is exceeded).
Archiving process values during changes: Process values are archived in a acylic manner
only when they have been changed.
Process-controlled process value archiving: archiving of several process tags or of rapidly
changing process values.
Compressed archive: compression of individual archive tags or of entire process value
archives (e.g. the hourly averaging of process values archived every minute).
See also
Compressed Archive (Page1135)
Storing Process Values (Page1136)
Process-Controlled Process Value Archiving (Page1134)
Acyclic Process Value Archiving (Page1133)
Cyclic-Selective Process Value Archiving (Page1131)
Continuous cyclic process value archiving (Page1129)
Cycles and Events (Page1127)
Basics of Process Values Archiving (Page1117)
6.3.4.2
Introduction
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 can also be triggered or ended by events and actions. Cycles and events may
be combined: A process value is for example acquired regularly; archiving is however only
triggered by a binary event.
Acquisition cycle
The acquisition cycle determines the interval at which the process value of a process tag is
read. The shortest possible value is 500 ms. All other values are integer multiples of this value.
The starting point of an acquisition cycle is determined by the run-up time of the WinCC
Runtime.
1127
Archiving cycle
The archiving cycle determines when a process value is saved in the archive data bank. The
archiving cycle is always an integer multiple of the acquisition cycle. The starting point of the
archiving cycle depends on either the run-up time of WinCC Runtime or the starting point of
the time used.
Specification of a starting point allows for delay archiving and a more even distribution of the
archiving load. Examples:
Process values are archived in three cycles: every minute, every two minutes, and every
three minutes. This causes a high archiving load every six minutes. Assign a different
starting point to each of the three cycles. For example, archive every minute at the 15th
second, every two minutes at the 30th second, and every three minutes at the 45th second.
The archiving load is thus distributed.
Many process values must be archived every ten seconds. In order to distribute the
archiving load you can, for example, configure two "10 second" cycles with different starting
points. Archiving is carried out at the 0th and the 5th second.
All process values read from the process tags during the time period between acquisition and
archiving will be processed by the archiving function. In the process value archive, you can
use only one of the following archiving functions:
Current value: Saves the last acquired process value.
Total: Saves the sum of all acquired process values.
Maximum value: Saves the highest of all acquired process values.
Minimum value: Saves the lowest of all acquired process values.
Average value: Saves the mean of all acquired process values.
Action: The most recently acquired process value is calculated, using a function created in
Global Script.
Note
If the same cycle is used for acquisition and archiving, it does not necessarily mean that
acquisition and archiving are started simultaneously.
There might be a system delay of up to the length of an acquisition cycle between
acquisition and archiving.
1128
See also
How to Configure a New Timer (Page1151)
Configuration of Process Value Archiving (Page1142)
Compressed Archive (Page1135)
Process-Controlled Process Value Archiving (Page1134)
Acyclic Process Value Archiving (Page1133)
Cyclic-Selective Process Value Archiving (Page1131)
Continuous cyclic process value archiving (Page1129)
Archiving Methods (Page1126)
Basics of Process Values Archiving (Page1117)
6.3.4.3
Introduction
Continuous cyclic process value archiving begins when Runtime is started. The process values
are acquired at fixed cycles and stored in the archive database. Continuous cyclic process
value archiving ends when Runtime is terminated.
1129
Mode of Operation
Each process tag in WinCC corresponds to a certain process value in the memory of one of
the connected automation systems (A). The acquisition cycle (1) governs when the process
value is read out from the memory of the connected automation system.
The Runtime component of the archive system (C) processes the process value:
Whether the process value is archived at all depends on the way you have configured the
system. Example: the process value must be changed by a certain amount or percentage
(2).
The archiving function (3) determines how the acquired process values are to be processed
(e.g. averaging).
The archiving cycle (4) determines when the processed process value is written to the archive
database (D).
Note
If you have configured a fast acquisition cycle but a slow archiving cycle, it may give the
impression when displaying the values in the controls, that no more values will be archived.
This is because the control updates are based on the archiving cycles.
If you want the values in the controls to be updated with the acquisition cycle, activate the
option "Refresh cyclic values in the acquisition cycle" in the project properties in the "Tag
Logging" editor. The project properties are opened by clicking with the right mouse-button on
the project name in the navigation window in Tag Logging.
1130
See also
Configuration of Process Value Archiving (Page1142)
Storing Process Values (Page1136)
Compressed Archive (Page1135)
Process-Controlled Process Value Archiving (Page1134)
Acyclic Process Value Archiving (Page1133)
Cyclic-Selective Process Value Archiving (Page1131)
Cycles and Events (Page1127)
Archiving Methods (Page1126)
Basics of Process Values Archiving (Page1117)
6.3.4.4
Introduction
The cyclic-selective process value archiving is started in Runtime as soon as a start event
occurs. The process values are subsequently acquired at fixed cycles and stored in the archive
database.
The cyclic process value archiving ends in the following cases:
When a stop event occurs
When you terminate Runtime
When the start event no longer exists
The start event or the stop event is determined from the value or the return value of the
configured tags or script. You configure the tags or scripts in Tag Logging in the properties of
the process value tags in the "Actions" area.
1131
Mode of Operation
Each process tag in WinCC corresponds to a certain process value in the memory of one of
the connected automation systems (A). Process value archiving begins on the occurrence of
the start event (1). The acquisition cycle (2) governs when the process value is read out from
the memory of the connected automation system.
The Runtime component of the archive system (C) processes the process value:
Whether the process value is archived at all depends on the way you have configured a
hysteresis. The process value must be changed by a certain amount or percentage (3).
The processing method (4) determines how the acquired process values are processed,
e.g. by averaging.
Until the occurrence of the Stop event (6), the archiving cycle (5) determines when the
processed process value is written to the archive database (D).
See also
Configuration of Process Value Archiving (Page1142)
Storing Process Values (Page1136)
Compressed Archive (Page1135)
Process-Controlled Process Value Archiving (Page1134)
Acyclic Process Value Archiving (Page1133)
Continuous cyclic process value archiving (Page1129)
Cycles and Events (Page1127)
Archiving Methods (Page1126)
Basics of Process Values Archiving (Page1117)
1132
6.3.4.5
Introduction
Acyclic process value archiving uniquely saves during runtime the current process value in the
archive database. The following is archived:
every time the process value changes.
if a trigger variable assumes a value of "1" and then takes on value "0" again. The
prerequisite is that you have configured an event with a tag for the acyclic process value
archiving.
If a script receives return value "TRUE" and then takes on the return value "FALSE" again.
The prerequisite is that you have created an event with a script for the acyclic process value
archiving.
Mode of Operation
Each process tag in WinCC corresponds to a certain process value in the memory of one of
the connected automation systems (A).
If the tag takes on a value of "1" and then a value of "0" again or the script takes on return
value "TRUE" and then "FALSE" again with a configured event (1), the process value is
archived.
If you have not configured an event, then each process value change is read from the memory
of the connected automation system (2).
The Runtime component of the archive system (C) processes the process value.
The current process value is then written to the archive database (D) (3).
Acyclic process value archiving ends when Runtime is terminated
1133
See also
Storing Process Values (Page1136)
Configuration of Process Value Archiving (Page1142)
Compressed Archive (Page1135)
Process-Controlled Process Value Archiving (Page1134)
Cyclic-Selective Process Value Archiving (Page1131)
Continuous cyclic process value archiving (Page1129)
Cycles and Events (Page1127)
Archiving Methods (Page1126)
Basics of Process Values Archiving (Page1117)
6.3.4.6
Introduction
Process-controlled process value archiving is used for archiving several process tags or rapidly
changing process values. The process values are written to a telegram tag, which is decoded
by the archive system. The process values obtained in this way are then stored in the archive
database.
Principle
Each process tag in WinCC corresponds to a certain process value in the memory of one of
the connected automation systems (A). At the start of Runtime, the process values of the
selected process tags are read out (1) and written to the configured telegram tag as binary
data.
The Runtime component of the archive system (C) processes the telegram tag:
The format DLL (2) is part of the archive system and decodes the binary data of the telegram
tag.
The decoded process values are then written to the archive database (D) (3).
1134
See also
Compressed Archive (Page1135)
Configuration of Process Value Archiving (Page1142)
Storing Process Values (Page1136)
Acyclic Process Value Archiving (Page1133)
Cyclic-Selective Process Value Archiving (Page1131)
Continuous cyclic process value archiving (Page1129)
Cycles and Events (Page1127)
Archiving Methods (Page1126)
Telegram Tags (Page1121)
Basics of Process Values Archiving (Page1117)
6.3.4.7
Compressed Archive
Introduction
In order to reduce the volume of data in the archive database, the archive tags for a specified
period can be compressed. To do this a compressed archive is created, which stores each
archive tag in a compressed tag. The archive tags are retained, but they can also be copied,
moved or deleted. The compressed archive is stored in the archive database in the same way
as the process value archive.
Mode of Operation
This compression is achieved through the application of mathematical functions. To achieve
this, one of the following functions is applied to the archived process values in a specified
period of time:
Max. Value: The highest process value is saved in the compressed tag.
Min. Value: The lowest process value is saved in the compressed tag.
Average value: The average process value is saved in the compressed tag.
Weighted Average Value: Saves the weighted average value of the process values in the
compressed tag. The time span, in which a recorded value has the same value, is
considered in the calculation of the weighted average value.
Sum: The sum of all process values is saved in the compressed tag.
What happens to the old archived process values after compression depends on which method
of compression is used:
Calculate: the process values of the archive tags of the specified period are read out and
compressed. The process values of the archive tags are retained.
Calculate and copy: the process values of the archive tags of the specified period are read
out, compressed and copied to the compressed archive.
1135
Example
The following examples illustrate the way that the compressed archive works:
Average value: A process value is archived once every minute and returns 60 values in
one hour. The compression with the average value is performed over a period of one hour.
Every hour, the average value is formed from the 60 values and is stored in the compressed
tag. What happens to the 60 values depends on the compression method described above.
Weighted Average Value: A process value is acquired every second and returns 60 values
in one minute. The value is "50" for 40 seconds, the value is "60" for 20 seconds The
compression with the weighted average value is performed over a period of one minute.
Every minute, the weighted average value of 60 values is archived, therefore 40x50 +
20x60 / 60 = 53.33.
See also
Configuration of Process Value Archiving (Page1142)
Process-Controlled Process Value Archiving (Page1134)
Acyclic Process Value Archiving (Page1133)
Cyclic-Selective Process Value Archiving (Page1131)
Continuous cyclic process value archiving (Page1129)
Archiving Methods (Page1126)
Basics of Process Values Archiving (Page1117)
6.3.5
Introduction
Process values can be stored either on hard disk in the archive database or in the main memory
of Tag Logging Runtime.
1136
The process values are written continuously in the data buffers (1). When the configured size
of the data buffer is reached or the time periods exceeded, the system switches to the next
one (2). When all the data buffers are full, the process data in the first data buffer is overwritten
(3). In order that process data is not destroyed by the overwritten process, it can be swapped
(exported).
Cyclic archive A stores the process values whose acquisition cycle is less than or equal to one
minute. These process values are initially saved and compressed in a binary file. When the
binary file has reached a specific size, it is stored in the cyclic archive.
Cyclic archive B stores process values whose acquisition cycle is greater than one minute and
compressed archives. The data is written immediately in the cyclic archive and not compressed.
Note
When starting Runtime, the system tests whether the configured size of a data buffer has
been calculated to a sufficient size. If the configured size is too small, the system automatically
adapts to the minimum size.
1137
See also
How to Configure an Archive Backup (Page1177)
How to Configure Archive (Page1175)
How to Configure the Data Buffer on the Hard Disk (Page1174)
Configuration of Process Value Archiving (Page1142)
Swapping Out Process Values (Page1138)
Basics of Process Values Archiving (Page1117)
6.3.6
Introduction
You can swap out process values from the archive database as a backup. All process values
contained in a data puffer are swapped out. When the swapping-out actually takes place
depends on how you configure the system.
1138
General procedure
You configure the swapping-out of process values in Tag Logging in the "Archive
Configuration" dialog. This is where you configure the data buffer on the hard disk and the
swap-out settings:
On the Archive Configuration tab enter the settings for the individual data buffers and specify
what period of time is to be contained in the archive.
On the "Backup Configuration" tab, specify whether you want to create a backup of the archived
process values and where the backup is to be stored.
Note
You can change the displayed process value in runtime using Online Table Control.
If the location of the archive segment where the process value is stored has already been
changed, then the modified value is not accepted in the shifted archive. The change is done
only in the local archive segment.
If the archive segment has not yet been moved out, then the changed value is accepted
permanently.
1139
See also
How to Configure an Archive Backup (Page1177)
How to Configure Archive (Page1175)
How to Configure the Data Buffer on the Hard Disk (Page1174)
Direct Access to the Archive Database (Page1423)
Storing Process Values (Page1136)
6.3.7
The high word contains the WinCC status flag or quality code and the low word contains the
tag logging status flags, as well as a code for the content of the high word.
1140
Description
0x0
0x1
Quality Code
Value
Description
PDE_RT_DAYLIGHT
0x001
Summer time
PDE_RT_SUBSTITUTION
0x002
Substitute value
PDE_RT_TIME_BEVOR_JUMP
0x004
PDE_RT_TIME_BEHIND_JUMP
0x008
PDE_RT_TIME_OVERLAPPED
0x010
PDE_RT_LOAD_SYSTEM
0x020
PDE_RT_RELOAD_SYSTEM
0x040
PDE_RT_CMPCOPY
0x080
Compressed value
PDE_RT_TIME_CHANGED
0x100
PDE_RT_HAND
0x200
Examples
Value in database
16842753
Hexadecimal
representation
0101 0001
Value in database
266242
Hexadecimal representation
0004 1002
Quality Code
1141
6.4
6.4.1
Introduction
The process value archiving is configured in Tag Logging. There, you can define the process
values to be archived. WinCC provides you with the process value archive and the compressed
archive for the archiving of process values.
General Procedure
The configuration procedure for process value archives consists of the following steps:
1. Configuring the process value archive: In Tag Logging, the process value archive is created
and the process tags are selected with the help of the "Archive Wizard".
2. Creating the archive tags: Define whether and when a process value is to be archived for
each archive tag.
See also
How to Link an Archive Backup (Page1180)
Output of Process Values (Page1184)
Configuring Archives (Page1144)
Creating Archive Tags (Page1150)
Cycles and Events (Page1127)
Tag Logging (Page1142)
Process Values and Tags (Page1120)
Archiving Methods (Page1126)
6.4.2
Tag Logging
Introduction
In Tag Logging, the archives, the process values to be archived and the times for the acquisition
and archiving cycles are configured. In addition, you also specify the configuration of the data
buffer on the hard disk and the swapping out of process values in Tag Logging.
As with all editors in WinCC, to start Tag Logging double-click it in WinCCExplorer.
1142
See also
Configuring Archives (Page1144)
Creating Archive Tags (Page1150)
Configuration of Process Value Archiving (Page1142)
1143
6.4.3
Configuring Archives
6.4.3.1
Configuring Archives
Principle
For the configuration of archives, the system distinguishes between the following archive types:
The process value archive stores process values in archive tags. When configuring the
process value archive you select the process tags that are to be archived and the storage
location.
The compressed archive compresses archive tags from process value archives. When
configuring the compressed archive you select a calculation method and the compression
time period.
See also
How to Configure Compressed Archives (Page1147)
How to Configure a Process Value Archive (Page1144)
Output of Process Values (Page1184)
Configuration of Process Value Archiving (Page1142)
Compressed Archive (Page1135)
Process-Controlled Process Value Archiving (Page1134)
Acyclic Process Value Archiving (Page1133)
Cyclic-Selective Process Value Archiving (Page1131)
Continuous cyclic process value archiving (Page1129)
6.4.3.2
Introduction
The procedure for the configuration of a process value archive is broken down into the following
steps:
1. Creating process value archive: Create the new process value archive and select the tags
that are to be archived.
2. Configuring the process value archive: Configure the process value archive by selecting
the memory location, etc.
1144
Procedure
Creating Process Value Archive
1. In the navigation window of Tag Logging, right-click "Archives". From the pop-up menu,
select the "Archive Wizard..." command. The "Creating an archive" dialog is opened.
2. Enter an appropriate name in "Archive name". "Process value archive" is already selected.
Click "Next".
3. Click "Select" to select the tags whose values you wish to be archived. You can add further
tags after you have created the process value archive.
4. Click "Apply". The new process value archive is included in the Tag Logging data window.
The selected tags are displayed in the table window.
1145
See also
How to Configure a New Timer (Page1151)
Output of Process Values (Page1184)
Creating Archive Tags (Page1150)
Configuring Archives (Page1144)
Tag Logging (Page1142)
1146
6.4.3.3
Introduction
The procedure for the configuration of a compressed archive consists of the following steps:
1. Creating the compressed archive: Create the new compressed archive and select the tags
to be archived.
2. Configuring the compressed archive: Configure the compressed archive by selecting the
memory location, calculation method, etc.
3. Creating the compressed tag: Select the archive tags to be included in the compressed
archive.
Procedure
Creating Compressed Archive
1. In the navigation window of Tag Logging, right-click "Archives". From the pop-up menu,
select the "Archive Wizard..." command. The "Creating an archive" dialog is opened.
2. Enter an appropriate name in "Archive name" and select "Compressed archive". Click
"Apply". The new compressed archive is included in the Tag Logging data window.
1147
3. On the "Compression" tab, select the calculation method and the compression time period.
1148
1149
See also
How to Configure a New Timer (Page1151)
How to Create a Compressed Tag (Page1170)
Output of Process Values (Page1184)
Creating Archive Tags (Page1150)
Configuring Archives (Page1144)
Tag Logging (Page1142)
6.4.4
6.4.4.1
General procedure
Archive tags are used to save the process values to be archived. The following archive tags
can be used in a process value archive:
A binary archive tag is used for storing binary process values.
An analog archive tag is used for storing numeric process values.
A process-controlled tag is used for storing process values which have been sent to the
archive system as a telegram.
In a compressed archive each compressed process value is stored in a separate compressed
tag.
Basic procedure
In the case of binary and analog archive tags you specify the archiving type (e.g. cyclic) and
acquisition and archiving cycles. Depending on the archiving type, select events and actions
which trigger or end archiving. Depending on the type of archive tag, specify the display limits
and parameters for processing the process values.
When configuring a compressed tag, select the compression function that for example forms
the average value from the process values that are to be compressed.
Note
In Tag Logging, if you delete, save and subsequently recreate a tag with the same name as
the deleted tag, the values of the deleted tag can no longer be accessed for display or
archiving. Reason: The newly created archive tag is assigned a new ID. The ID of the deleted
archive tag is no longer accessible.
1150
See also
How to Create a Compressed Tag (Page1170)
How to Create a Process-Controlled Tag (Page1167)
How to Create an Analog Archive Tag (Page1159)
How to Create a Binary Archive Tag (Page1153)
How to Configure a New Timer (Page1151)
Configuring Archives (Page1144)
Tag Logging (Page1142)
6.4.4.2
Introduction
If you wish to use timers for acquisition and archiving cycles other than the standard timers,
you can configure new timers. The new timer is calculated on a defined basis (for example 1
second), multiplied with an integer factor.
1151
Procedure
1. In the navigation window of Tag Logging, right-click "Timers". From the pop-up menu, select
the "New..." command. The "Timers Properties" dialog is opened.
2. Define the new timer: Enter a name, select the desired basis from the list, and enter an
integer factor.
3. Under "Starting point of the cycle" you can enter additional properties for the new timer. By
entering the new starting point, you can specify when an archiving is executed by the cycle
(e.g. at the 0th second every 7 seconds). Specification of the starting point allows for an
even distribution of the archiving load.
4. Click "OK" to apply the new timer. It is displayed in the data window and can be selected
as the acquisition and archiving cycle.
See also
How to Create a Compressed Tag (Page1170)
How to Create a Process-Controlled Tag (Page1167)
How to Create an Analog Archive Tag (Page1159)
How to Create a Binary Archive Tag (Page1153)
Cycles and Events (Page1127)
Creating Archive Tags (Page1150)
1152
6.4.4.3
Introduction
The procedure for the creation of binary archive tags consists of two steps:
1. Creating the binary archive tag: Select the process tag whose process value is to be stored
in the binary archive tag.
2. Configuring the binary archive tag. You can define the following settings:
Properties of archive tags
Archiving type and acquisition of archiving
Archiving parameters
Procedure
Creating Binary Archive Tag
1. In the Tag Logging data window, select the archive in which you wish to create a new binary
archive tag. Right-click the table window and select the "New tag" menu option from the
pop-up menu.
2. In the "Tags" window select the binary tag whose value you wish to archive. You also have
the option to create a new binary tag.
3. Click "OK" to accept the selected tag in the Tag Logging table window.
1153
2. In the "Archive Tag" tab change, if required, the name of the archive tag.
3. Define whether the archive tags are provided manually or by the same.
4. In the "Archiving" group, define whether archiving is to be released at system start. Activate
the control box "Relevant long term" if the archive tag is viewed by the Central Archive
Server (CAS) as a tag with long-term relevance.
5. The value of the archive tag can also be written into an internal tag in order to use the
archived tags for other purposes. The update process is determined by the cycle settings
for the archive tag. Select the internal tag by clicking the "Select" button.
1154
3. For cyclic-selective archiving, you can also configure the start and stop events in the
"Actions" group. Use "..." to select a tag in Tag Management or a C-Script in the Function
Browser. The tag or function must return the values "1" or "0" or the return values "TRUE"
or "FALSE". If the value TRUE occurs, the archiving is started or closed as the case may
be.
1155
5. To archive process tags due to change in values, select archiving type "acyclic" and "On
Change" for acquisition. In WinCC Controls, define a cycle for the display to display values
that have not been modified for a long time. Otherwise, in the long run, the value will
disappear from the display. Activate option "Archive after segment change", if during a
segment change, the process value of the tags are also to be archived if the value has not
been changed.
1156
1157
1158
See also
How to Create a Compressed Tag (Page1170)
How to Create a Process-Controlled Tag (Page1167)
How to Create an Analog Archive Tag (Page1159)
How to Configure a New Timer (Page1151)
Configuring Archives (Page1144)
Creating Archive Tags (Page1150)
Process Values and Tags (Page1120)
Cycles and Events (Page1127)
Tag Logging (Page1142)
6.4.4.4
Introduction
The procedure for the creation of analog archive tags consists of two steps:
1. Creating the analog archive tag: Select the process tag whose process value is to be stored
in the analog archive tag.
2. Configuring the analog archive tag: You can define the following settings:
Properties of archive tags
Archiving type and acquisition of archiving
Archiving parameters
the display area or the adding area of the archive tags
Procedure
Creating Analog Archive Tag
1. In the Tag Logging data window, select the archive in which you wish to create a new analog
archive tag. Right-click the table window and select the "New tag" menu option from the
pop-up menu.
2. In the "Tags" window, select the tag whose value you wish to archive. You can also create
a new tag.
3. Click "OK" to accept the selected tag in the Tag Logging table window.
1159
2. In the "Archive Tag" tab change, if required, the name of the archive tag.
3. Define whether the archive tags are provided manually or by the same.
4. In the "Archiving" group, define whether archiving is to be released at system start. Activate
the control box "Relevant long term" if the archive tag is viewed by the Central Archive
Server (CAS) as a tag with long-term relevance.
5. The value of the archive tag can also be written into an internal tag in order to use the
archived tags for other purposes. The update process is determined by the cycle settings
for the archive tag. Select the internal tag by clicking the "Select" button.
1160
1161
1162
5. To archive process tags due to change in values, select archiving type "acyclic" and "On
Change" for acquisition. In WinCC Controls, define a cycle for the display to display values
that have not been modified for a long time. Otherwise, in the long run, the value will
disappear from the display. Activate option "Archive after segment change", if during a
segment change, the process value of the tags are also to be archived if the value has not
been changed.
1163
1164
1165
Configure the display area or the adding area of the archive tags
1. To archive or display only the process values that lie between the lower and upper limit,
select the "Configured directly" option in the Display tab.
1166
See also
How to Create a Compressed Tag (Page1170)
How to Create a Process-Controlled Tag (Page1167)
How to Create a Binary Archive Tag (Page1153)
How to Configure a New Timer (Page1151)
Configuring Archives (Page1144)
Creating Archive Tags (Page1150)
Process Values and Tags (Page1120)
Cycles and Events (Page1127)
Tag Logging (Page1142)
6.4.4.5
Introduction
In order to acquire and archive rapidly changing process values or process values from several
measuring points, these values are sent from the AS to WinCC using a raw data tag. To archive
the data in archive tags, the assignment of a raw data tag to an archive tag is defined in a
process-controlled tag. Only raw data tags for the supply of values to archive tags can be
assigned in process-controlled tags.
1167
Meaning
<raw_tag_name>
pppppppp
ssss
xxxxxxxx
yyyy
Note
When using the format DLL "nrms7pmc.nll", before WinCC Version 5.1 Hotfix, 4 the name of
the process-controlled archive tag was generated automatically. The name was limited to
maximum 25 characters and instead of the name of the raw data tag it contained its ID as an
eight-digit hexadecimal value. In projects that have been migrated to Version V5.1 HF4 or
higher, the archive tag names can continue to be used in the original structure with ID or they
can be converted to the new structure. The names are converted by once opening and closing
the properties dialog box of the process-controlled archive tags. An alias does not have to
be assigned.
If in a project all external tags are remapped using the "AS-OS-Transfer" function, the archive
tag name must therefore be converted once to the new structure! The new structure is then
maintained.
1168
Procedure
1. In the Tag Logging data window, select the process value archive in which you wish to
create a new process-controlled tag. Right-click the table window and select the "New
Process Controlled Tag" menu option from the pop-up menu. The "Properties of process
controlled tag" dialog is opened.
2. From the list, select the "format DLL" matching the controller being used.
3. Click "Select" in order to select the raw data tag in the tag selection dialog. When you have
selected the raw data tag, you are prompted to enter one or more IDs. The number of IDs
depends on the selected format DLL. Values are used to form the internal archive tag name.
4. If necessary, enter an alias for the process-controlled tag under "Archive Tag Name". If no
name is entered in this field, the internal archive tag name in WinCC is used.
5. Activate the control box "Long-time relevance" if the archive tag is viewed by the Central
Archive Server (CAS) as a tag with long-term relevance.
6. Click "OK" to accept the new process-controlled tag in the Tag Logging table window.
1169
See also
How to Create a Compressed Tag (Page1170)
How to Create an Analog Archive Tag (Page1159)
How to Create a Binary Archive Tag (Page1153)
Creating Archive Tags (Page1150)
Configuring Archives (Page1144)
Process Values and Tags (Page1120)
Cycles and Events (Page1127)
Tag Logging (Page1142)
6.4.4.6
Introduction
The procedure for creating a compressed tag consists of two steps:
1. Creating the compressed tag: Select the archive tags that are to be included in the
compressed archive.
2. Configuring the compressed tag: Select the method by which the process values are to be
compressed (e.g. averaging).
Requirement
The relevant compressed archive must have been created.
1170
Procedure
Creating Compressed Tag
1. Select a compressed archive in the Tag Logging data window. Right-click the table window
and select the "Select tag" menu option from the pop-up menu. The "Select Compressed
Tags" dialog is opened.
All available archives are displayed in the left half of the window.
2. To include an archive tag in the compressed archive, select the archive tag and click ">".
If you want to include all displayed archive tags, click ">>".
3. Click "OK" to transfer the compressed tags. A compressed tag appears in the table window
for each selected archive tag.
1171
1172
See also
How to Create a Process-Controlled Tag (Page1167)
How to Create an Analog Archive Tag (Page1159)
How to Create a Binary Archive Tag (Page1153)
Configuring Archives (Page1144)
Creating Archive Tags (Page1150)
Process Values and Tags (Page1120)
Cycles and Events (Page1127)
Tag Logging (Page1142)
1173
6.4.5
Introduction
In the case of a process value archive, it is possible to define whether the data buffer should
be stored on the hard disk or in the main memory.
In contrast with storage in the archive database, process values archived in the main memory
are only available for as long as Runtime is active. Storing in the main memory has the
advantage, however, that the values can be written and read out very quickly. The process
values stored in the main memory cannot be swapped out.
Note
Compressed archives can only be stored on the hard disk.
Procedure
1. In the data window, double-click the required process value archive whose data buffer is
to be configured. The "Properties" dialog is opened:.
1174
See also
Storing Process Values (Page1136)
Basics of Process Values Archiving (Page1117)
6.4.6
Introduction
The Archive is configured in Tag Logging. The data buffer of an archive with an archiving cycle
of less than one minute is configured in "Tag Logging Fast". The data buffer of an archive with
an archiving cycle greater than one minute is configured in "Tag Logging Slow".
Note
Ensure that the archive size does not exceed the free memory space available. The archive
manager does not check the selected settings for plausibility. A high number of linked
database segments can lead to longer waiting periods in the system when starting and ending
Runtime.
1175
Procedure
1. Open Tag Logging in WinCC Explorer.
2. In the "Tag Logging" navigation window, select the "Archive Configuration" entry. In the
data window, double-click "Tag Logging Slow" or "Tag Logging Fast". The "Archive
Configuration" dialog is opened.
1176
Example:
In the above screen shot, the segment changes for the first time on January 17 at 23:59. The
next time-related segment change occurs at the configured time in the cycle defined in "Time
period covered by a single segment". The segment is also changed even if the configured size
("Max. size of all segments") is exceeded after starting Runtime. In this case, the oldest
individual segment is also deleted.
See also
Swapping Out Process Values (Page1138)
Basics of Process Values Archiving (Page1117)
6.4.7
Introduction
Create regular backups of your archive data in order to ensure seamless documentation of
your processes.
1177
Procedure
1. Open Tag Logging in WinCC Explorer.
2. In the "Tag Logging" navigation window, select the "Archive Configuration" entry. In the
data window, double-click "Tag Logging Slow" or "Tag Logging Fast". The "Archive
Configuration" dialog is opened.
3. Click the "Backup Configuration" tab.
1178
Results
The archive backup is stored in the specified destination path.
1179
Values/second
1.000
5.000
5001)
5001)
During "Tag Logging Slow", you must expect longer picture selection times for identical
quantity structures than in "Tag Logging Fast".
1)
Note
If you deactivate signing off, for example in order to establish a quick link to the backup files,
any segment change during deactivation should be avoided. After the link has been
established, signing off should be reactivated in order to enable signing off for archived data.
See also
How to Link an Archive Backup (Page1180)
Swapping Out Process Values (Page1138)
Basics of Process Values Archiving (Page1117)
6.4.8
Introduction
In order to access a file in an archive backup in Runtime, connect the associated database
files to the project again. You can link to the archive yourself using the Tag Logging Editor, or
have the link established automatically.
Requirement
The corresponding LDF file and MDF file of the archive backup are located in a local directory
on the configuration computer, e.g. hard disk, MOD, or CD. The project is loaded on the
configuration computer and is located in Runtime.
1180
See also
How to Configure Archive (Page1175)
Output of Process Values (Page1184)
Basics of Process Values Archiving (Page1117)
6.4.9
Introduction
If you no longer wish to access the data in an archive backup during Runtime, disconnect the
associated database files from the project.
1181
Requirement
Archive backup files are linked. The project is loaded on the configuration computer and is in
Runtime.
Procedure
1. Open Tag Logging in WinCC Explorer.
2. In the navigation window of Tag Logging, select the "Archive Configuration" entry. In the
data window, right-click "Tag Logging Slow" or "Tag Logging Fast" and select "Disconnect
from Archive" from the pop-up menu.
3. Select the desired archive file and click "OK".
The link to the archive file is disconnected. You will no longer have access to the archived
process values in Runtime.
Automatically linked archives must be removed from the "Project name" directory. This can be
done manually or by using a script in "DataLogs" VBS object.
See also
Basics of Process Values Archiving (Page1117)
6.4.10
Introduction
The process value archiving uses two different archive types for saving data:
"Tag Logging Slow" process value archive
"Tag Logging Fast" process value archive
The archive tags are automatically assigned to the respective archive type by WinCC.
However, you can change this assignment in Tag Logging.
In Runtime, a changed assignment will only be accepted when the project has been
deactivated and runtime is restarted.
Procedure
1. Open Tag Logging in WinCC Explorer.
2. In the "Tag Logging" navigation window, select the "Archive Configuration" entry. Doubleclick "Tag Logging Fast" in the data window. The "Archive Configuration" dialog is opened.
1182
4. If the acyclic measured value should be archived in the "Tag Logging Fast" process value
archive, select the "Event-controlled measured values" check box.
5. If all cyclic measured values should be archived at an archiving cycle shorter than or equal
to a limit value in the "Tag Logging Fast" archive, proceed as follows:
6. Select the "Cyclic measured values with cycle <=" check box.
7. Enter the required value for the upper limit of the archiving cycle.
8. If all compressed measured values should be archived at an archiving cycle shorter than
or equal to a limit value in the "Tag Logging Fast" archive, proceed as follows:
9. Select the "Compressed measured values with cycle <=" check box.
10.Enter the required value for the upper limit of the archiving cycle.
11.If the process-controlled measured value should be archived in the "Tag Logging Fast"
process value archive, select the "process-controlled measured value" check box.
Results
All the archive tags, for which these settings apply, are archived in the "Tag Logging Fast"
archive. All the archive tags to which these settings apply are archived in the "Tag Logging
Fast" archive.
See also
Basics of Process Values Archiving (Page1117)
Archiving Methods (Page1126)
1183
6.5
6.5.1
Introduction
You can output process values in process displays and as a report. You can also directly
access the archive database via various interfaces.
See also
Process value output in reports (Page1313)
Configuration of Process Value Archiving (Page1142)
Basics of Process Values Archiving (Page1117)
6.5.2
6.5.2.1
Introduction
You have the option to display archived and current process values in Runtime. WinCC
provides two ActiveXControls that you insert as table windows or trend windows in a process
picture for this.
1184
1185
6.5.2.2
Resources
WinCC OnlineTableControl
Overview
Current incoming process data or archived values are shown in a table with the WinCC Online
Table Control. The process data is represented in online tags, archive values in archive tags.
You can arrange the display of the table as you wish.
You can create statistics from them in runtime or you can export the data for further processing.
See also
Short Description of the WinCC Controls and Additional Controls (Page320)
Configuration steps
1. Link the WinCC OnlineTableControl to a Graphics Designer picture.
2. Configure the basic properties for the OnlineTableControl on the "General" tab.
1186
Dynamic display. The time range of the table is determined retrospectively from the most
current values. The display is continuously updated. The configured time range follows the
current system time.
You have three different ways to define the time range of a time column for each of the two
time references:
1187
1188
Requirement
You have opened the picture with the WinCC OnlineTableControl in the Graphics Designer.
Procedure
1. Define one or more time columns with the "New" button on the "Time columns" tab. The
sequence in the list determines the arrangement of the columns in the table.
2. If you do not want to show a time column in the table, deactivate the time column by clicking
on the checkbox in front of the name in the list. During runtime, you can show it again by
activating the time column in the table.
3. Configure the properties and the formats for time and date for every time column.
1189
Requirements
You have opened the picture with the WinCC OnlineTableControl in the Graphics Designer.
You have defined time columns.
1190
Procedure
1. Define one or more value columns with the "New" button on the "Value columns" tab. The
sequence in the list determines the arrangement of the value columns in the table relative
to the assigned time axis.
2. Assign time columns that have been configured already to the value columns. If more than
one value column is to use a common time column, assign the same time column to these
value columns.
3. If you do not want to show a value column in the table, deactivate the value column by
clicking on the checkbox in front of the name in the list. You can use key function "Column
On/Off/Move" in runtime to display the value column in the table again.
4. Configure the properties and the display for each value column.
1191
Click on
, to select a tag.
Prerequisite
You opened Graphics Designer and configured a picture with a WinCC control.
The configuration dialog of the WinCC control is open.
1192
Procedure
1. Go to the "Parameters" tab.
Prerequisite
You opened Graphics Designer and configured a picture with a WinCC control.
The configuration dialog of the WinCC control is open.
1193
Procedure
1. Go to the "Display" tab.
1194
Prerequisite
You opened Graphics Designer and configured a picture with a WinCC control.
The configuration dialog of the WinCC control is open.
Procedure
1. Go to the "Marker" tab.
1195
Prerequisite
You opened Graphics Designer and configured a picture with a WinCC control.
The configuration dialog of the WinCC control is open.
Procedure
1. Go to the "Parameters" tab.
2. Define whether to enable sorting and the sorting method by column header. In WinCC
AlarmControl, you can only sort by column header if the "Auto-Scrolling" is disabled. You
can deactivate "Auto-Scrolling" either in the "General" tab, or using the "Autoscroll" toolbar
icon of the WinCC AlarmControl.
3. Determine the sorting order by mouse click on the column header. Select ascending,
descending or no sorting order.
4. Configure the sorting icon and index to be displayed in the column header with right
justification. These show the sorting order and sequence of the columns.
5. Activate the "Use sorting button" to display the sorting icon as sorting button above the
vertical scroll bar. Click this sorting button to activate a configured sorting order for the
column selected. The sort button is not displayed if a vertical scroll bar is missing.
6. Save the configuration.
1196
Prerequisite
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The WinCC control is assigned the "Configuration dialog" button function for opening the
configuration dialog in Runtime.
The configuration dialog of the WinCC control is open.
2. In the list, activate the button functions you require for operating the WinCC control in
Runtime. For information on the button functions, refer to the description of the
corresponding WinCC control at "Operation in runtime".
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1197
1198
2. Activate the elements required in runtime in the list of status bar elements. For further
information on status bar elements, refer to the descriptions of the corresponding WinCC
control at "Operation in runtime".
3. Determine the sorting order for displaying of the status bar elements. Select the elements
from the list and move these using the "Up" and "Down" buttons.
4. To resize the width of a status bar element, deactivate the "Automatic" option and enter a
pixel value for the width.
5. Configure the general properties of the status bar, e.g. alignment or background color.
1199
1200
Requirements
You have opened a picture with an OnlineTrendControl, OnlineTableControl or
FunctionTrendControl in the Graphics Designer.
Procedure
1. Insert RulerControl into the picture from the WinCC object palette.
2. Double click on the RulerControl to open the configuration dialog.
3. Configure the properties of the control on the "General", "Toolbar" and "Status bar" tabs.
4. Go to the "General" tab in the field "Source" and select the object name of the control that
is already configured. The type of control is displayed in the "Type" field.
1201
7. Use the arrow keys to select the column of the window type that you want to display for the
assigned control. Columns for the basic data and columns that are only for the selected
window type or the assigned control are available. Define the column sequence with buttons
"Up" and "Down".
1202
Every column corresponds with a block. In order to define the properties for the selected
columns, click on the respective blocks.
9. If a special format exists for a block, you can configure the format of the block. Deactivate
the option "Apply from source" if the format settings of the connected control are not to
apply in this case. Define the desired format.
10.Define whether the data for the column and the column heading is to be displays as text or
as an icon in the table under "Display".
11.Save the configuration.
1203
Requirements
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The configuration dialog of the WinCC control is open.
2. A standard file name and a standard directory are already entered in the "Data export default
settings." In this case for AlarmControl. If necessary, define a file name and a directory for
the export file.
3.
1204
Results
You can export all or selected data to a defined file at runtime using button function
Prerequisite
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The configuration dialog of the WinCC control is open.
1205
Procedure
1. Go to the "Online configuration" tab. For example, in OnlineTrendControl:
2. The option buttons of the "Online configuration" field for setting online configuration defaults
are only available in the configuration system. The option buttons are not available in
runtime.
Select one of the three effects of the online configuration:
"Do not retain". The online configurations are not retained in Runtime. This default
setting disables all options for runtime users. Online configurations are lost at the next
picture change and on activation/deactivation of the project.
"Retain during runtime". This default setting enables the "discard", "retain" or "reset"
options for runtime users. Online configurations are retained at the next picture change
1206
Overview
With WinCC controls as of V7.0, special functions are no longer required for operating the
control with toolbar dynamics. The previously used standard functions
"TlgTableWindowPress..." are no longer supported.
If you do not want to operate the control via the toolbar, you can write the "ID" for the desired
button in the "ToolbarButtonClick" object property with an optional type of dynamics.
The "ID" of a button of the toolbar can be determined:
1207
See also
Operating the OnlineTableControl in runtime (Page1208)
Operation in Runtime
Operating the OnlineTableControl in runtime
Introduction
In Runtime, the table window is operated by means of the toolbar buttons. If you do not want
to operate the table window via the toolbar, you can write the "ID" for the desired button in the
"ToolbarButtonClick" object property with an optional type of dynamics.
Overview
Icon
Description
ID
"Help"
1208
Opens the configuration dialog, in which you can change the properties of
the Online TableControl.
"First Data Record"
This button displays the tag trend over time in the table window, starting with
the first archived value and extending over a defined time range. The button
is only available if the values originate from a process value archive.
"Previous Data Record"
This button displays the tag trend of the previous time interval in the table
window, starting from the currently displayed time interval. The button is only
available if the values originate from a process value archive.
"Next Data Record"
This button displays the tag trend of the following time interval in the table
window, starting from the currently displayed time interval. The button is only
available if the values originate from a process value archive.
"Last Data Record"
This button displays the tag trend over time in the table window, ending with
the last archived value and extending over a defined time range. The button
is only available if the values originate from a process value archive.
"Edit"
Upon activating this button, you can double-click any table cell to edit its
contents This requires stopping the updated display.
"Copy lines"
Copies the content of the selected lines to the clipboard. This requires
stopping the updated display.
"Select data connection"
This button opens a dialog for the archive selection and tag selection.
"Select columns"
10
This button opens the dialog for toggling the visible and invisible column
view. You can also change the sequence of the columns in the table.
"Select Time Range"
11
This button opens the dialog where you can specify the time range to be
displayed in a table window.
"Previous column"
12
This button is used to move the value column in front of the previous value
column. The function refers to the value columns that are assigned with a
time axis.
"Next column"
13
This button is used to move the value column in behind of the next value
column. The function refers to the value columns that are assigned with a
time axis.
"Stop"
14
The updated display is stopped. The data is saved to the clipboard and
added to the table when the button is clicked again.
"Start"
14
1209
15
Start the print-out of the values shown in the table. The print job used for
printing is defined in the configuration dialog on the "General" tab.
"Export data"
20
This button is used for exporting all or the selected runtime data into a "CSV"
file. If the option "Display dialog" is active, a dialog opens in which you can
view the settings for exporting and can start the export. With the respective
authorization, you are also allowed to select the file and the directory for the
export.
If a dialog is displayed, the export of the data to the predefined file starts
immediately.
"Define statistics area"
16
This button is used to define the time range for calculating the statistics in
the table window.
"Calculate Statistics"
17
The button shows the statistical values in the statistics window. The
displayed values refer to a selected column with the configured calculation
time range. The button is only functional if a statistics window is connected
with the OnlineTableControl.
"Connect backup"
18
This button opens a dialog in which you connect the selected archive with
WinCC Runtime.
"Disconnect backup"
19
This button opens a dialog in which you disconnect the selected archive from
WinCC Runtime.
"User-defined 1"
1001
Shows the first key function created by the user. The function of the button
is user-defined.
Icon
Name
Description
Connection status
1210
Selected Row
Selected column
Date
Time
Time Base
Overview
The following buttons functions make online configuration possible in OnlineTableControl:
With key function "Configuration dialog"
With key function "Select data connection"
With key function "Select columns"
With key function "Select time range"
1211
Description
Value column
Choose the configured value column for which you want to change the data
connection.
Data Source
Define whether the selected value column is supplied with an archive tag or online
tag.
Tag name
1212
Description
Time column
Select the configured time column for which you want to define a time range.
time range
The entry format of the date and time depends on the runtime language used.
Requirements
You have configured an OnlineTableControl.
You have configured the "Edit" key function.
You have activated runtime.
1213
Procedure
1.
2.
In OnlineTableControl, click on
continues being archived.
Click
3. Double click on the desired table field of a value column. Now, change the value of the
table field. The changed values are archived.
4.
Requirements
You have configured key functions "Select columns", "Previous column" and "Next column".
Procedure
1214
changes the sequence of the columns in the dialog. Deactivate the checkbox in front
of the column name if you do not want to display the column.
is used to move the value column behind the next value column. The function refers
to the value columns that are assigned with a time axis.
is used to move the value column in front of the previous value column. The function
refers to the value columns that are assigned with a time axis.
button.
1215
Overview
Depending on the data evaluation, there are three different types of windows for displaying
values. The following window types are available:
The ruler window shows the values of a selected line in the table.
The statistics area window shows the values of the lower limit and upper limit of the selected
area in the table.
The statistics window shows the statistical evaluation of the selected values in the table.
Among other things, the statistics include:
Minimum
Maximum
Average
Standard deviation
Integral
All windows can also show additional information on the values of the connected columns.
Requirements
You have configured a WinCCOnlineTableControl.
You have configured a WinCC RulerControl and connected it with the OnlineTableControl.
You have selected the window in the RulerControl which shows the desired data.
You have configured key functions "Set statistics range", "Calculate statistics" and "Start/
Stop". If a display of the values in a ruler window is sufficient, you do not need key functions
"Select statistics area" and "Calculate statistics".
You require key function "Select time range", if you wish to choose a statistics area outside
of the time range displayed in the table.
You require key function "Configuration dialog" of the RulerControl if you want to switch
between the statistics window and the ruler window.
You have activated runtime.
1216
In OnlineTableControl, click on
continues being archived.
2. Select an line. Data in the columns that you have configured is shown in the ruler window.
3.
1217
In OnlineTableControl, click on
continues being archived.
2. In order to specify the time period for the calculation, use the mouse to select the table lines
for the desired time frame. For different columns with different time frames you can select
different time ranges for the calculation of statistics.
3.
Click
in the toolbar. The evaluated data is displayed in the columns that you have
configured in the statistics area window.
1218
2.
3.
In OnlineTableControl, click on
continues being archived.
Click
. In order to specify the time period for the calculation, use the mouse to select
the table lines for the desired time frame. For different columns with different time frames
you can select different time ranges for the calculation of statistics.
Click
. The evaluated data is displayed in the columns that you have configured in the
statistics window.
4. If you want an evaluation of process data that is not displayed in OnlineTableControl, click
. Enter the desired time range for the selected time column in the "Time selection"
on
dialog. The process data for the defined time range is displayed. You can now evaluate
this data.
5.
Note
For additional statistical analysis of process data and archiving of results you can write
the scripts yourself.
1219
6.5.2.3
Resources
WinCC OnlineTrendControl
Introduction
In order to process data in graphic form, WinCC uses Online TrendControl to offer the option
of displaying the data as a trend. The trend display can be configured as you wish. The trends
can display currently incoming values and archived values.
Requirements
The following requirements apply to the display of trends in WinCC Online Trend Control:
In a WinCC Online Trend Control any number of trends can be displayed in one or more
trend windows. Displaying a maximum of 8 trends is recommended.
In order to display tags as a function of other tags, use the WinCC Function Trend Control.
1220
See also
Short Description of the WinCC Controls and Additional Controls (Page320)
1221
Representation formats
To display values graphically, three basic representation types are available:
No trend
The values are shown as dots. The display of the points can be configured as you wish.
Stepped trend
The progress of the trend line is determined from the values as a stepped trend. The display
of the lines and points can be configured as you wish.
The display of the trend can be configured on the "Trends" tab of the OnlineTrendControl.
Write direction
With the write direction option, you can specify where the current values for all trend windows
are to be entered. Normally, the current values are written in the trend window from the right.
All four write directions can be configured. The write direction is configured on the "General"
tab of the OnlineTrendControl.
1222
1223
Configuring
The axes are configured on the "Value axis" and "Time axis" tabs of OnlineTrendControl. The
assignment of the axes for the trends can be configured on the "Trends" tab. In this case, you
can assign the individual trends to the same axes.
Note
In OnlineTrendControl, only tags with the same update cycles should be displayed for more
than one trend with a common time axis. In the case of different updating cycles, the length
of the time axis is not identical for all tags. Since the trends are updated at different times
due to the different updating cycles, a minimal different in the end time for the time axis occurs
on each change. As a result, the trends displayed skip slightly to and fro on each change.
Configuration steps
1. Insert the OnlineTrendControl into a picture of the Graphics Designer.
2. Configure the basic properties for the OnlineTrendControl on the "General" tab:
the window properties of the control
the display of the control
the write direction of the trend values
the time base of the control
3. Define one or more trend windows.
4. Configure one or more time axes and value axes with their respective properties. Assign
the axes to the trend windows.
5. Define trends that you want to display in the trend windows. Assign the trends to the trend
windows. The value axis of a trend can only be the value axis of the assigned trend window.
Assign the trends with one or more time axes.
6. Every configured trend must be connected with an online tag or an archive tag. Define the
data connection for each trend.
7. Configure the display for each trend.
8. Configure the toolbar and status bar of the trend window.
1224
1225
Procedure
1. Define one or more trend windows with the "New" button on the "trend windows" tab.
2. If you have defined more than one trend window, more configurations are possible:
Assign every trend window with an area selection in the displayed OnlineTrendControl.
Define the position of the trend windows with the "Up" and "Down" buttons.
Define whether the trend window will be connected on the "General" tab.
3. If you want to hide a trend window in runtime, deactivate the checkbox in front of the name
of the trend window in the list. The respective axes are then hidden as well.
4. Configure the gridlines for every trend window.
1226
Dynamic display. The time range of the trend display is determined retrospectively from the
most current values. The display is continuously updated. The configured time range follows
the current system time.
You have three different ways to define the time range of a time range for each of the two time
references:
1227
Requirements
You have opened a picture with the OnlineTrendControl in the Graphics Designer.
You have defined one or more trend windows.
1228
Procedure
1. Define one or more time axes with the "New" button on the "Time axes" tab.
2. Define the positioning of the configured time axes for a trend window. The sequence in the
list of time axes determines the positioning in the trend window. If several time axes are
arranged on the same page of a trend window, the first time axis in the list assumes the
position in the bottom left and the last time axis in the list then assumes the position at the
top right.
3. Assign the time axes to the configured trend windows.
4. If you want to hide a time axis in the trend window, click on the checkbox in front of the
name of the time axis in the list. You can display the axes again in runtime with the key
functions.
1229
Requirements
You have opened the picture with the OnlineTrendControl in the Graphics Designer.
You have defined trend windows.
1230
Procedure
1. Define one or more value axes with the "New" button on the "value axes" tab.
1231
9. Click "Add" to define an area. You must define segments without gaps for the entire
configured value range and assign areas on the value axis. If you have defined a value
range of "0 - 100000" you can divide this value range e.g. into three sections that you can
display as follows on the value axis:
E.g. value range "0 - 50000" is displayed in runtime on the value axis in the "100 - 500"
range.
10.In a ruler window, the key function "Ruler" displays e.g. measurement values. You can have
a name shown as well in the "Y value" of the ruler window next to the measurement value
and the status display "i" and "u". Area names can be assigned for certain value ranges.
11.If you want to display area names, activate the "Display" option in the "Area names" field.
Click on
1232
Requirements
You have inserted the OnlineTrendControl into a picture of the Graphics Designer.
You have configured time axes, value axes and trend windows.
The following prerequisites apply for the data source:
If you want to connect data of online tags, you have to have defined process values in
the tag management.
If you want to connect the data from archive tags, you have to have configured a process
value archive with archive tags.
If you want to supply the trend values with data in runtime with scripts, you require a
script via the API interface.
1233
Procedure
1. Go to the "Trends" tab.
1234
Click on
Configure the value range for the data in which the trend will be displayed. Click the
button in the "Data connection" field. The dialog "Automatic value range" will be opened.
Choose how the value range is defined from the following possibilities:
Automatically from the displayed data.
From the defined value range. Enter the values for the lower limit and the upper limit of
the value range.
From online tags. The lower limit and the upper limit of the value range are made from
the values from connected online tags. Enter a tag name for the lower limit and the upper
limit.
8. Configure the display for each trend. More information can be found on page "How to
configure the display of trends".
9. Save the configuration.
1235
Overview
The following trends features can be configured:
The types of trends and trend lines
The properties of trend lines
The colors of the trends, the trend points and the fill color
Color identification for a limit value violation
Requirements
You have opened the Graphics Designer and configured a picture with the above mentioned
WinCC control.
The configuration dialog of the WinCC control is opened.
1236
1237
Configuring the colors of the trends, the trend points and the fill color
1. Choose a trend under "Trends".
2. Define the colors in the "Display" area.
3. If you want to configure the colors of the trend points and the fill color, activate the
"Extended" option.
4. In the small picture in the right-hand margin of the "Display" area, the result of the
configuration is shown.
5. Save the configuration.
3. Activate the limit values, for which you want a colored identification.
4. Define the color for every activated option.
1238
Prerequisite
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The WinCC control is assigned the "Configuration dialog" button function for opening the
configuration dialog in Runtime.
The configuration dialog of the WinCC control is open.
1239
2. In the list, activate the button functions you require for operating the WinCC control in
Runtime. For information on the button functions, refer to the description of the
corresponding WinCC control at "Operation in runtime".
3. Determine the sorting order for displaying the button functions in the toolbar. Select the
button functions from the list and the move the functions using the "Up" and "Down" buttons.
4. Define a hotkey for the functions of the toolbar buttons.
5. Any button functions assigned operator authorizations are only available in Runtime to
authorized users.
1240
2. Activate the elements required in runtime in the list of status bar elements. For further
information on status bar elements, refer to the descriptions of the corresponding WinCC
control at "Operation in runtime".
1241
1242
Requirements
You have opened a picture with an OnlineTrendControl, OnlineTableControl or
FunctionTrendControl in the Graphics Designer.
Procedure
1. Insert RulerControl into the picture from the WinCC object palette.
2. Double click on the RulerControl to open the configuration dialog.
3. Configure the properties of the control on the "General", "Toolbar" and "Status bar" tabs.
4. Go to the "General" tab in the field "Source" and select the object name of the control that
is already configured. The type of control is displayed in the "Type" field.
1243
7. Use the arrow keys to select the column of the window type that you want to display for the
assigned control. Columns for the basic data and columns that are only for the selected
window type or the assigned control are available. Define the column sequence with buttons
"Up" and "Down".
1244
Every column corresponds with a block. In order to define the properties for the selected
columns, click on the respective blocks.
9. If a special format exists for a block, you can configure the format of the block. Deactivate
the option "Apply from source" if the format settings of the connected control are not to
apply in this case. Define the desired format.
10.Define whether the data for the column and the column heading is to be displays as text or
as an icon in the table under "Display".
11.Save the configuration.
1245
See also
How to define the effect of the online configuration (Page1247)
Requirements
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The configuration dialog of the WinCC control is open.
2. A standard file name and a standard directory are already entered in the "Data export default
settings." In this case for AlarmControl. If necessary, define a file name and a directory for
the export file.
1246
Results
You can export all or selected data to a defined file at runtime using button function
Prerequisite
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The configuration dialog of the WinCC control is open.
1247
Procedure
1. Go to the "Online configuration" tab. For example, in OnlineTrendControl:
2. The option buttons of the "Online configuration" field for setting online configuration defaults
are only available in the configuration system. The option buttons are not available in
runtime.
Select one of the three effects of the online configuration:
"Do not retain". The online configurations are not retained in Runtime. This default
setting disables all options for runtime users. Online configurations are lost at the next
picture change and on activation/deactivation of the project.
"Retain during runtime". This default setting enables the "discard", "retain" or "reset"
options for runtime users. Online configurations are retained at the next picture change
1248
Overview
With WinCC controls as of V7.0, special functions are no longer required for operating the
control with toolbar dynamics. The previously used standard functions
"TlgTrendWindowPress..." and "TrendToolbarButton" are no longer supported.
If you do not want to operate the control via the toolbar, you can write the "ID" for the desired
button in the "ToolbarButtonClick" object property with an optional type of dynamics.
The "ID" of a button of the toolbar can be determined:
1249
See also
Operating the OnlineTrendControl in runtime (Page1250)
Operation in Runtime
Operating the OnlineTrendControl in runtime
Introduction
The trend window is operated in runtime via the buttons in the toolbar. If you do not want to
operate the trend window via the toolbar, you can write the "ID" for the desired button in the
"ToolbarButtonClick" object property with an optional type of dynamics.
Overview
Icon
Description
ID
"Help"
1250
Opens the configuration dialog, in which you can change the properties of
the OnlineTrendControl.
"First Data Record"
This button displays the tag trend over time in the trend window, starting with
the first archived value and extending over a defined time range. The button
is only available if the values originate from a process value archive.
"Previous Data Record"
This button displays the tag trend of the previous time interval in the trend
window, starting from the currently displayed time interval. The button is only
available if the values originate from a process value archive.
"Next Data Record"
This button displays the tag trend of the following time interval in the trend
window, starting from the currently displayed time interval. The button is only
available if the values originate from a process value archive.
"Last Data Record"
This button displays the tag trend over time in the trend window, ending with
the last archived value and extending over a defined time range. The button
is only available if the values originate from a process value archive.
"Zoom area"
Define an area by dragging with the mouse in the trend window. This cut-out
of the trend window is made larger. The "Original view" button brings back
the original size of the view.
"Zoom +/-"
Zooms in on or out off the trends in the trend window. The left mouse button
increases the size of the trends. By holding the "Shift" button down, the left
mouse button zooms out of the trends. The "Original view" button brings
back the original size of the view.
"Zoom time axis +/-"
10
Zooms in on or out off the time axes in the trend window. The left mouse
button increases the size of the time axes. By holding the "Shift" button down,
the left mouse button zooms out of the time axes. The "Original view" button
brings back the original size of the view.
"Zoom value axis +/-"
11
Zooms in on or out off the value axes in the trend window. The left mouse
button increases the size of the value axes. By holding the "Shift" button
down, the left mouse button zooms out of the value axes. The "Original view"
button brings back the original size of the view.
"Move trend area"
12
This button moves the trends along the time axis and the value axis in the
trend window.
"Move axes area"
13
This button moves the trends along the value axis in the trend window.
"Original view"
14
This button returns from the zoomed trend display back to the original view.
"Select data connection"
15
This button opens a dialog for the archive selection and tag selection.
1251
16
This button opens the dialog for toggling the visible and invisible trends. You
can also define which trend is displayed in the foreground.
"Select Time Range"
17
This button opens the dialog where you can specify the time range to be
displayed in a trend window.
"Previous trend"
18
This button is used for displaying the previous trend of the trend window in
the foreground.
"Next trend"
19
This button is used for displaying the next trend of the trend window in the
foreground.
"Stop"
20
The updated display is stopped. The data is saved to the clipboard and
added when the button in the trend window is clicked again.
"Start"
20
21
Click this button to print the trend shown in the trend window. The print job
used for printing is defined in the configuration dialog on the "General" tab.
"Export data"
26
This button is used for exporting all or the selected runtime data into a "CSV"
file. If the option "Display dialog" is active, a dialog opens in which you can
view the settings for exporting and can start the export. With the respective
authorization, you are also allowed to select the file and the directory for the
export.
If a dialog is displayed, the export of the data to the predefined file starts
immediately.
"Ruler"
The coordinate points of a trend are queried with this button. The trend data
is displayed in the ruler window.
"Define statistics area"
22
This button is used to define the time range for calculating the statistics in
the trend window.
"Calculate Statistics"
23
The button shows the statistical values in the statistics window. The
displayed values refer to a selected trend with the configured calculation
time range. The button is only functional if a statistics window is connected
with the OnlineTrendControl.
"Connect backup"
24
This button opens a dialog in which you connect the selected archive with
WinCC Runtime.
"Disconnect backup"
25
This button opens a dialog in which you disconnect the selected archive from
WinCC Runtime.
1252
27
1001
Shows the first key function created by the user. The function of the button
is user-defined.
Icon
Name
Description
Connection status
Date
Time
Time Base
Double click on the icon for the connection status to open the window "Status of the data
connections", in which the name, status and tag name of the data connection are listed.
Overview
The following buttons functions make online configuration possible in OnlineTrendControl:
With key function "Configuration dialog"
With key function "Select data connection"
With key function "Select trends"
With key function "Select time range"
1253
Field
Description
Trend
Data Source
Define whether the selected trend is supplied with an archive tag or online tag.
Tag name
1254
Field
Description
Time axis
Select the configured time axis for which you want to define a time range.
time range
The entry format of the date and time depends on the Runtime language used.
1255
Requirements
You have configured key functions "Select trends", "Previous trend" and "Next trend".
Procedure
is used for opening a dialog for displaying or hiding trends. You can also define which
trend is in the foreground.
is used for displaying the next trend of the trend window in the foreground.
is used for displaying the previous trend of the trend window in the foreground.
Requirements
You have configured a WinCCOnlineTrendControl. In order to highlight the ruler in the
trend window, you can increase the line weight of the ruler on the "Trend window" tab and
configure the color.
You have configured the "Ruler" key function. If you want to zoom in on a section of the
trend, configure key functions "Zoom area" and "Original view".
You have configured a WinCC RulerControl and connected it with the OnlineTrendControl.
1256
In OnlineTrendControl, click on
4.
Result
A ruler appears in the trend window. In the ruler window, besides the X value/time stamp and
the Y value, the data that you have configured in WinCC RulerControl is shown in the columns.
The displayed values can be assigned an additional attribute in the form of a letter:
1257
Other values can be determined by positioning the mouse pointer on the ruler and moving it
to the desired position while holding the left mouse button pressed.
Note
The "uncertain" status of a value can also be indicated in the displayed trend characteristic.
You must activate the "Value with uncertain status" option on the "Trends" tab under "Limit
values".
1258
Overview
The following zoom functions are available in the trend window:
"Zoom area"
"Original view"
"Zoom +/-"
"Zoom time axis +/-"
"Zoom value axis +/-"
"Move trend area"
Requirements
You have configured a WinCCOnlineTrendControl.
You have configured the buttons for the required zoom functions for the toolbar.
You have activated runtime.
Click
2. In the trend window, click one corner of the area that you wish to enlarge.
3. Hold down your left mouse button and drag the area you want to enlarge until it reaches
the desired size. If the highlighted area contains at least two measured values, the selected
trend area is displayed in the trend window.
4. Release the left mouse button. The selected segment is magnified. If you want to increase
the size further, repeat the process.
5.
6.
Click
Click on
to start the update again. The values that have been defined earlier are used
for the X axis and the Y axis.
Click
2. Click in the trend window with the left mouse button to zoom in on the trends in the trend
window. If you want to increase the size further, repeat the process.
3. If you want to zoom out of the trends, press the "Shift" button while clicking with the left
mouse button.
4. While zooming in or zooming out with trends, the 50% value of the trends is always in the
middle of the value axes.
1259
Click
Click on
to start the update again. The values that have been defined earlier are used
for the X axis and the Y axis.
Note
If you change the value area of a value axis on the "Value Axis" tab in the configuration
dialog while zooming, the visible zoom area is set to the new value area.
Click on
stopped.
2. Click in the trend window with the left mouse button to zoom in on the time axes or value
axes. If you want to increase the size further, repeat the process.
3. If you want to zoom out of the time axes or value axes, press the "Shift" button while clicking
with the left mouse button.
4. While zooming with axes, the 50% value of the trend is always in the middle of the axes.
5.
6.
Click
Click on
to start the update again. The values that have been defined earlier are used
for the X axis and the Y axis.
Click
2. While holding the left mouse button down, move the cursor in the desired direction in the
trend window. The displayed area in the trend window is adapted on the time axis and on
the value axis.
3.
If you click on
1260
Overview
Depending on the data evaluation, there are three different types of windows for displaying
values. The following window types are available:
The ruler window shows the coordinates of a trend on the ruler.
The statistics area window shows the values of the lower limit and upper limit of the trends.
The statistics window shows the statistical evaluation of the trends. Among other things,
the statistics include:
Minimum
Maximum
Average
Standard deviation
Integral
All windows can also show additional information on the values of the connected trends.
Requirements
You have configured a WinCCOnlineTrendControl. In order to highlight the ruler defining
the statistics area, you can increase the line weight of the ruler on the "Trend window" tab
and configure the color.
You have configured a WinCC RulerControl and connected it with the OnlineTrendControl.
You have selected the window in the RulerControl which shows the desired data.
You have configured key functions "Set statistics range", "Calculate statistics" and "Start/
Stop". If a display of the values in a ruler window is sufficient, you do not need key functions
"Select statistics area" and "Calculate statistics".
You require key function "Select time range", if you wish to choose a statistics area outside
of the time range displayed in the trend window.
You require key function "Configuration dialog" if you want to switch between the statistics
windows and the ruler window.
You have activated runtime.
Click on
Click
. The updated display is stopped, process data continue to be archived. Two
vertical lines are displayed at the left and right edge of the trend window.
1261
2.
In OnlineTrendControl, click on
continues being archived.
Click
. The updated display is stopped, process data continue to be archived. Two
vertical lines are displayed at the left and right edge of the trend window.
1262
Click
. The evaluated data is displayed in the columns that you have configured in the
statistics window.
Note
The displayed values can be assigned an additional attribute in the form of a letter:
Letter "i." : The displayed value is an interpolated value.
Letter "u." : The displayed value has an uncertain status. The value is not certain if the
initial value is not known after runtime has been activated, or when a substitute value
is used.
Note
For additional statistical analysis of process data and archiving of results you must write
the scripts yourself.
1263
Requirements
The buttons for browsing in archive are available only if data is supplied through archive
tags.
You have defined a time range or a start and end time.
The progress of a tag over a specified time period, beginning with the first archived value,
is displayed in the trend window.
The progress of a tag within the previous time interval is displayed in the trend window,
starting with the currently displayed time interval.
The progress of a tag within the following time interval is displayed in the trend window,
starting with the currently displayed time interval.
The progress of a tag over a specified time period, ending with the last archived value, is
displayed in the trend window.
Configuration steps
1. Insert the OnlineTrendControl into a picture of the Graphics Designer.
2. Configure the OnlineTrendControl properties.
3. Create a trend window.
1264
Requirements
You have opened a picture in the Graphics Designer.
Procedure
1. Insert a WinCC OnlineTrendControl into the picture from the object palette in the Graphics
Designer. Use the mouse to drag the control to the desired size.
2. Double-click in the control. The configuration dialog opens.
1265
4. Select the "Normal" window heading. Activate the "Moveable", "Can Be Closed" and
"Sizeable" options. "From the right" is defined as the writer orientation and updating will
start when the picture is opened.
5. Save the configuration.
6. Go to the "Trend windows" tab. Define a trend window with the "New" button. The gridlines
are displayed in runtime.
7. Configure the display of the ruler. If you use "Graphic" for the display of the ruler, you can
configure the color and the line weight of the ruler.
8. Save the configuration.
1266
1267
Requirements
You have defined a trend window.
Procedure
1. Go to the "Time axes" tab. Define a time axis with the "New" button.
2. Assign the time axis to the configured trend window. Select "Bottom" for the alignment of
the time axis.
3. Activate the "Update" option to display the values in relation to the current time.
1268
1269
Requirements
You have defined a trend window.
You have configured a time axis and two value axes.
You have created two non-binary tags in the tag management.
1270
Procedure
1. Go to the "Trends" tab. Define two trends with the "New" button.
2. Assign each trend with the configured trend window and the time axes. Trend1 is assigned
with ValueAxis1 and Trend2 with ValueAxis2.
3. Define the data connection for each trend. Select "Online tags".
4. Click on , to select the tags for the trends.
5. Configure the display for each trend as desired. More information on configuration can be
found on page .
6. Save the configuration.
1271
Requirements
You have saved the configured picture in the Graphics Designer.
You have defined the picture in the WinCC Explorer as the start picture via the context
menu.
You have checked for whether "Graphics Runtime" and "Tag Logging Runtime" are
activated in the "Computer properties" dialog.
Procedure
1. Activate runtime by clicking the relevant button in the toolbar or selecting the relevant menu
bar.
2. Start the tag simulator to test the WinCC OnlineTrendControl with the tags.
3. Go to "Start/SIMATIC/WinCC/Tools" on your computer.
4. Select the "WinCC Tag Simulator". The simulation program will open.
5. Define two tags that you have connected in OnlineTrendControl.
6. Assign the tag with property "Random" and click on the "Active" option.
7. Save the settings in each case.
1272
Result
The trends are displayed in runtime with the values that create the tag simulator.
Button
brings you to the configuration dialog, in which you can change the display of the
trends as you wish on the "Trends" tab. You will immediately see the results of your
configuration.
Test all functions for zooming and move the trend or the axes. More information is found under
.
More information on operating the OnlineTrendControl in runtime is found under .
You can expand the OnlineTrendControl with a ruler window for example. More information
can be found under and .
1273
6.5.2.4
Resources
WinCC FunctionTrendControl
Introduction
For a graphic processing of tags, WinCC FunctionTrendControl in WinCC offers the option of
displaying one tag as a function of another tag. For example, temperature may be shown as
a function of pressure.
Requirements
For the display of trends in WinCC FunctionTrendControl the following prerequisites apply:
You can display as many trends as you need in a WinCC FunctionTrendControl.
Configuring a maximum of 8 trends is recommended.
A trend can represent a maximum of 10000 value pairs.
You can use online tags, archive tags or data from user archives for the trends.
The online tags of a trend must have the identical update cycle.
1274
See also
Short Description of the WinCC Controls and Additional Controls (Page320)
Display of Trends
Representing Trend Lines
Introduction
The WinCC FunctionTrendControl has many ways of displaying the progress of a trend.
1275
Representation formats
To display values graphically, three basic representation types are available:
No trend
The values are shown as dots. The display of the points can be configured as you wish.
Stepped trend
The progress of the trend line is determined from the values as a stepped trend. The display
of the lines and points can be configured as you wish.
The display of the trend can be configured on the "Trends" tab of the FunctionTrendControl.
Write direction
With the write direction option, you can specify where the current values for all trend windows
are to be entered. Normally, the current values are written in the trend window from the right.
All four write directions can be configured. The write direction is configured on the "General"
tab of the FunctionTrendControl.
1276
1277
Configuring
The axes are configured on the "X axis" and "Y axis" tabs of the FunctionTrendControl. The
assignment of the axes for the trends can be configured on the "Trends" tab. In this case, you
can assign the individual trends to the same axes.
1278
Configuration steps
1. Insert the FunctionTrendControl into a picture of the Graphics Designer.
2. Configure the basic properties for the FunctionTrendControl on the "General" tab:
the window properties of the control
the display of the control
the write direction of the trend values
the time base of the control
3. Define one or more trend windows.
4. Configure one or more X axes and Y axes with their respective properties. Assign the axes
to the trend windows.
5. Define trends that you want to display in the trend windows. Assign the trends to the trend
windows. Assign each trend an X axis and a Y axis that belong to the respective trend
window.
6. Configure the display for each trend.
7. Every configured trend must be connected with an online tag, archive tag or a user archive
via the X axis and Y axis. Define the data supply for the axes of each trend.
8. Configure the toolbar and status bar of the trend window.
9. If you want to display the coordinates of the trends, configure a ruler window as well.
Connect the ruler window with the FunctionTrendControl.
10.Save the configurations.
1279
1280
Procedure
1. Define one or more trend windows with the "New" button on the "trend windows" tab.
2. If you have defined more than one trend window, more configurations are possible:
Assign every trend window with an area selection in the displayed FunctionTrendControl.
Define the position of the trend windows with the "Up" and "Down" buttons.
Define whether the trend window will be connected on the "General" tab.
3. If you want to hide a trend window in runtime, deactivate the checkbox in front of the name
of the trend window in the list. The respective axes are then hidden as well.
4. Configure the gridlines for every trend window.
1281
Requirements
You have opened the picture with the FunctionTrendControl in the Graphics Designer.
You have defined trend windows.
1282
Procedure
1. Define one or more axes with the "New" button on the "X axes" and "Y axes" tabs. Here
e.g. tab "X axes":
1283
Requirements
You have inserted the FunctionTrendControl into a picture of the Graphics Designer.
You have configured X axes, Y axes and trend window.
1284
Procedure
1. Go to the "Trends" tab.
1285
Overview
The following trends features can be configured:
The types of trends and trend lines
The properties of trend lines
The colors of the trends, the trend points and the fill color
Color identification for a limit value violation
Requirements
You have opened the Graphics Designer and configured a picture with the above mentioned
WinCC control.
The configuration dialog of the WinCC control is opened.
1286
1287
Configuring the colors of the trends, the trend points and the fill color
1. Choose a trend under "Trends".
2. Define the colors in the "Display" area.
3. If you want to configure the colors of the trend points and the fill color, activate the
"Extended" option.
4. In the small picture in the right-hand margin of the "Display" area, the result of the
configuration is shown.
5. Save the configuration.
3. Activate the limit values, for which you want a colored identification.
4. Define the color for every activated option.
1288
1289
Dynamic display. The time range of the trend display is determined retrospectively from the
most current values. The display is continuously updated. The configured time range follows
the current system time.
You have three different ways to define the time range of a time range for each of the two time
references:
The trend is displayed within a defined time interval. You define a start time and an end
time. In a dynamic display, the end time corresponds with the current system time. The
time difference between the start time and the end time is the time range for the trend
display.
The trend is displayed from a start time throughout a defined time range, e.g. 30 minutes
from the start time. In the dynamic display, the defined time range up to the current system
time is used, e.g. 30 minutes to the current system time.
Starting from a start time, a defined number of values are shown, e.g. 100 values from the
start time. With the dynamic display, the last values up to the current system time are shown.
1290
Requirements
You have opened a picture with the FunctionTrendControl in the Graphics Designer.
You have defined one or more trends.
The following prerequisites apply for the basic data:
If you want to connect data of online tags, you have to have defined process values in
the tag management.
If you want to connect the data from archive tags, you have to have configured a process
value archive with archive tags.
If you want to connect the data from an archive tag, you have to have configured a user
archive with columns.
If you want to use a script to supply the trend values with data in runtime, you will require
a script through the API interface. E.g. the display of a tag as a time function if you do
not want to use the WinCC OnlineTrendControl.
1291
Procedure
1. Go to the "Data connection" tab.
2. Define the data source for each trend. You can select the following:
Archive tags of a process value archive
Online tags from the tag management
User archive columns
No configured data source to establish a connection in runtime via a script.
1292
Click on
to select the tags for the X axis and the Y axis. The online tags connected to
a trend must have the identical update cycle. The archive tags connected with a trend must
originate from the process archive of a server and be acquired in a continuous cycle.
4. If the data is connected with a user archive, select columns of the user archive for the X
axis and Y axis. Define the "ID" for each column, starting from which the values of the
column will be used.
5. If the trends in the trend window are always updated, activate the "Update" option. If you
e.g. want to compare a current trend display with an earlier trend display, deactivate the
"Update" option for the comparison trend.
6. Configure the time range in which the trend will be displayed:
If you want to define a fixed time interval, select setting "Start to end time". Enter the
date and time for each.
If you want to define a time period, select the setting "Time range". Define the date and
time for the start time. The time range is the result of a multiplication of the "Factor" and
"Time unit", e.g. 30 times "1 minute" for a time range of 30 minutes. Enter the factor and
the time unit in the "Time range" field.
If you want to display a certain number of values, select the setting "Number of
measurement points". Define the date and time for the start time. Enter the desired
number of measurement points in the input field.
If the trend will be provided via a user archive, define the number of value pairs for the
area to be displayed. Enter the desired number in the "Number of measurement points"
field.
7. Save the configuration.
Prerequisite
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The WinCC control is assigned the "Configuration dialog" button function for opening the
configuration dialog in Runtime.
The configuration dialog of the WinCC control is open.
1293
2. In the list, activate the button functions you require for operating the WinCC control in
Runtime. For information on the button functions, refer to the description of the
corresponding WinCC control at "Operation in runtime".
3. Determine the sorting order for displaying the button functions in the toolbar. Select the
button functions from the list and the move the functions using the "Up" and "Down" buttons.
4. Define a hotkey for the functions of the toolbar buttons.
5. Any button functions assigned operator authorizations are only available in Runtime to
authorized users.
1294
2. Activate the elements required in runtime in the list of status bar elements. For further
information on status bar elements, refer to the descriptions of the corresponding WinCC
control at "Operation in runtime".
1295
1296
Requirements
You have opened a picture with an OnlineTrendControl, OnlineTableControl or
FunctionTrendControl in the Graphics Designer.
Procedure
1. Insert RulerControl into the picture from the WinCC object palette.
2. Double click on the RulerControl to open the configuration dialog.
3. Configure the properties of the control on the "General", "Toolbar" and "Status bar" tabs.
4. Go to the "General" tab in the field "Source" and select the object name of the control that
is already configured. The type of control is displayed in the "Type" field.
1297
7. Use the arrow keys to select the column of the window type that you want to display for the
assigned control. Columns for the basic data and columns that are only for the selected
window type or the assigned control are available. Define the column sequence with buttons
"Up" and "Down".
1298
Every column corresponds with a block. In order to define the properties for the selected
columns, click on the respective blocks.
9. If a special format exists for a block, you can configure the format of the block. Deactivate
the option "Apply from source" if the format settings of the connected control are not to
apply in this case. Define the desired format.
10.Define whether the data for the column and the column heading is to be displays as text or
as an icon in the table under "Display".
11.Save the configuration.
1299
Requirements
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The configuration dialog of the WinCC control is open.
2. A standard file name and a standard directory are already entered in the "Data export default
settings." In this case for AlarmControl. If necessary, define a file name and a directory for
the export file.
3.
1300
Results
You can export all or selected data to a defined file at runtime using button function
Prerequisite
A picture showing a WinCC control is opened in Graphics Designer when configuring.
The configuration dialog of the WinCC control is open.
1301
Procedure
1. Go to the "Online configuration" tab. For example, in OnlineTrendControl:
2. The option buttons of the "Online configuration" field for setting online configuration defaults
are only available in the configuration system. The option buttons are not available in
runtime.
Select one of the three effects of the online configuration:
"Do not retain". The online configurations are not retained in Runtime. This default
setting disables all options for runtime users. Online configurations are lost at the next
picture change and on activation/deactivation of the project.
"Retain during runtime". This default setting enables the "discard", "retain" or "reset"
options for runtime users. Online configurations are retained at the next picture change
1302
Overview
With WinCC controls as of V7.0, special functions are no longer required for operating the
control with toolbar dynamics. The previously used standard functions "TrendToolbarButton"
are no longer supported.
If you do not want to operate the control via the toolbar, you can write the "ID" for the desired
button in the "ToolbarButtonClick" object property with an optional type of dynamics.
The "ID" of a button of the toolbar can be determined:
1303
See also
Operating the FunctionTrendControl in runtime (Page1304)
Operation in Runtime
Operating the FunctionTrendControl in runtime
Introduction
The trend window is operated in runtime via the buttons in the toolbar. If you do not want to
operate the trend window via the toolbar, you can write the "ID" for the desired button in the
"ToolbarButtonClick" object property with an optional type of dynamics.
Overview
Icon
Description
ID
"Help"
1304
Opens the configuration dialog, in which you can change the properties of
the FunctionTrendControl.
"Zoom area"
Define an area by dragging with the mouse in the trend window. This cut-out
of the trend window is made larger. The "Original view" button brings back
the original size of the view.
"Zoom +/-"
Zooms in on or out off the trends in the trend window. . The left mouse button
increases the size of the trends. By holding the "Shift" button down, the left
mouse button zooms out of the trends. The "Original view" button brings
back the original size of the view.
"Zoom X axis +/-"
Zooms in on or out off the X axis in the trend window. The left mouse button
increases the size of the X axis. By holding the "Shift" button down, the left
mouse button zooms out of the X axis. The "Original view" button brings back
the original size of the view.
"Zoom Y axis +/-"
Zooms in on or out off the Y axis in the trend window. The left mouse button
increases the size of the Y axis. By holding the "Shift" button down, the left
mouse button zooms out of the Y axis. The "Original view" button brings back
the original size of the view.
"Move trend area"
The button moves the trend along the X axis and Y axis in the trend window.
"Move axes area"
This button moves the trends along the value axis in the trend window.
"Original view"
10
This button returns from the zoomed trend display back to the original view.
"Select data connection"
11
This button opens a dialog for the archive selection and tag selection.
"Select trends"
12
This button opens the dialog for toggling the visible and invisible trends. You
can also define which trend is displayed in the foreground.
"Select Time Range"
13
This button opens the dialog where you can specify the time range to be
displayed in a trend window.
"Previous trend"
14
This button is used for displaying the previous trend of the trend window in
the foreground.
"Next trend"
15
This button is used for displaying the next trend of the trend window in the
foreground.
"Stop"
16
The updated display is stopped. The data is saved to the clipboard and
added when the button in the trend window is clicked again.
"Start"
16
1305
17
Click this button to print the trend shown in the trend window. The print job
used for printing is defined in the configuration dialog on the "General" tab.
"Export data"
20
This button is used for exporting all or the selected runtime data into a "CSV"
file. If the option "Display dialog" is active, a dialog opens in which you can
view the settings for exporting and can start the export. With the respective
authorization, you are also allowed to select the file and the directory for the
export.
If a dialog is displayed, the export of the data to the predefined file starts
immediately.
"Ruler"
The coordinate points of a trend are queried with this button. The trend data
is displayed in the ruler window. The button is only functional if a ruler window
is connected with the FunctionTrendControl.
"Connect backup"
18
This button opens a dialog in which you connect the selected archive with
WinCC Runtime.
"Disconnect backup"
19
This button opens a dialog in which you disconnect the selected archive from
WinCC Runtime.
"User-defined 1"
1001
Shows the first key function created by the user. The function of the button
is user-defined.
Icon
Name
Description
Connection status
Date
Time
Time Base
Double click on the icon for the connection status to open the window "Status of the data
connections", in which the name, status and tag name of the data connection are listed.
1306
Overview
The following buttons functions make online configuration possible in FunctionTrendControl:
With key function "Configuration dialog"
With key function "Select trends"
With key function "Select time range"
1307
Field
Description
Trends
Select the trend for which you want to define a time range.
time range
The entry format of the date and time depends on the Runtime language used.
1308
Requirements
You have configured key functions "Select trends", "Previous trend" and "Next trend".
Procedure
is used for opening a dialog for displaying or hiding trends. You can also define which
trend is in the foreground.
is used for displaying the next trend of the trend window in the foreground.
is used for displaying the previous trend of the trend window in the foreground.
Requirements
You have configured a WinCC FunctionTrendControl. In order to highlight the ruler in the
trend window, you can increase the line weight on the "Trend window" tab and configure
the color.
You have configured the "Ruler" key function. If you want to zoom in on a section of the
trend, configure key functions "Zoom area" and "Original view".
You have configured a WinCC RulerControl as a ruler window and connected it with the
FunctionTrendControl.
You have activated runtime.
1309
In FunctionTrendControl, click on
2. Move the cross-hairs or the ruler to the desired position with the mouse.
3.
4.
Result
Two rulers or the cross-hairs appear in the trend window. In the ruler window, besides the X
value and the Y value, the data that you have configured in WinCC RulerControl is shown in
the columns.
The displayed values can be assigned an additional attribute in the form of a letter:
Letter "i." : The displayed value is an interpolated value.
Letter "u." : The displayed value has an uncertain status. The value is not certain if the initial
value is not known after runtime has been activated, or when a substitute value is used.
1310
Overview
The following zoom functions are available in the trend window:
"Zoom area"
"Original view"
"Zoom +/-"
"Zoom X axis +/-"
"Zoom Y axis +/-"
"Move trend area"
Requirements
You have configured a WinCC FunctionTrendControl.
You have configured the buttons for the required zoom functions for the toolbar.
You have activated runtime.
Click
2. In the trend window, click one corner of the area that you wish to enlarge.
3. Hold down your left mouse button and drag the area you want to enlarge until it reaches
the desired size. If the highlighted area contains at least two measured values, the selected
trend area is displayed in the trend window.
1311
Click
Click
2. Click in the trend window with the left mouse button to zoom in on the trends in the trend
window. If you want to increase the size further, repeat the process.
3. If you want to zoom out of the trends, press the "Shift" button while clicking with the left
mouse button.
4. While zooming in or zooming out with trends, the 50% value of the trends is always in the
middle of the value axes.
5.
Click
Note
If you change the value area on the "X Axes" or "Y Axes" tab in the configuration dialog
while zooming, the visible zoom area is set to the new value area.
Click on
2. Click in the trend window with the left mouse button to zoom in on the X axis or Y axis. If
you want to increase the size further, repeat the process.
3. If you want to zoom out of the X axis or Y axis, press the "Shift" button while clicking with
the left mouse button.
4. While zooming with axes, the 50% value of the trend is always in the middle of the axes.
5.
Click
Click
2. While holding the left mouse button down, move the cursor in the desired direction in the
trend window. The displayed area in the trend window is adapted on the X axis and on the
Y axis.
3.
1312
If you click on
6.5.3
6.5.3.1
Introduction
You have the option to output process values in the form of a report. At the end of each shift,
you can for example load the achieved production figures from the process value archive and
print them out in report format. You create reports in the Report Designer.
Report Designer:
The Report Designer contains a number of preset layout templates that you can change to
suit your needs. The Report Designer is also used to create print jobs to initiate the output.
For the output of process values in report format, you can make use of many preset layout
templates.
Layouts on the basis of WinCC Controls as of WinCC V7
Use the new layouts that are based on the "WinCC Control Runtime Printprovider" layout
templates in WinCC V7 or higher. The output of the report object depends on the layout of the
control in Runtime.
1313
Basic procedure
The configuration procedure for reports consists of the following steps:
1. Selection of process data and adjustment layout: Select the process data that will be
displayed in the report. If necessary, modify the report layout.
2. Configuring the Print Job Configure the print output of the report by defining the time period,
the number of pages and the output medium.
See also
Output of Process Values (Page1184)
How to Configure the Static Parameters of WinCC Online Table Control (Page1635)
How to Configure the Dynamic Parameters of WinCC Online Table Control (Page1638)
How to Configure the Static Parameters of WinCC Online Trend Control (Page1640)
How to Configure the Dynamic Parameters of the WinCC Online Trend Control (Page1643)
How to Configure the Static Parameters of WinCC Function Trend Control (Page1645)
Configuring the dynamic parameters of the WinCC Function Trend Control (Page1647)
Introduction to Runtime Documentation (Page1469)
How to create print jobs for the Runtime documentation (Page1474)
1314
6.5.4
6.5.4.1
Introduction
You have the option to output archived and current process values in Runtime. For this, WinCC
provides two ActiveX Control that can be inserted into a process picture, which consists of a
table or trend window.
1315
Use the WinCC Online Trend Control to display process trends, etc. You also have the option
to show more than one trends in a window, and to highlight areas that are outside the limit
range in a different color.
6.5.4.2
Resources
WinCC Online Trend Control
Introduction
In order to process data in table form, WinCC uses Online Table Control to offer the option of
displaying process data in a table. You have the option to display either current or archived
values.
Display of tag values during Runtime takes place in ActiveX Control, inserted and configured
in a picture in Graphics Designer. In order to facilitate access to the tags to be displayed,
process value archives and the tags contained therein must be configured in Tag Logging.
1316
Requirement
The following prerequisites apply to the display of trends in WinCC Online Table Control:
Only archive tags can be used for tables.
Each table can contain maximum 30,000 values.
Archive tags in a table must originate from the same process value archive of a server,
must have the same update cycle, and must be recorded in a continuous cycle.
Representation Formats
Introduction
Two basic display types are available for displaying tag values in tabular format.
1317
Configuration
The table display type to be used is specified on the "General" tab of the "Properties of WinCC
Online Table Control" dialog.
See also
Time Range of a Table Display (Page1319)
1318
Static Display
In a static display the archived tag values are shown for a defined time period.
In the "Column" tab of the "WinCC Online Table Controls" property dialog, the static display
type is configured by deactivating the "Update" option. The time range to be displayed is set
either
by entering a start time and a time range.
by entering a start time and an end time.
1319
Dynamic Display
In a dynamic display the end time in a table always corresponds to the current system time.
New measurement values coming in will be included in the display.
In the "Column" tab of the property dialog of "WinCC Online Table Controls" the dynamic
display type is configured by activating the "Update" option. The time range to be displayed is
set either
by entering a time range.
by the time difference between the specified start and end times.
Note
Upon starting Runtime the tag values to be displayed are either read from the archive or are
set to zero. This function is set in the "General" tab of the "Properties" dialog.
See also
Representation Formats (Page1317)
1320
Configuration
Configuration of WinCC Online Table Control
Introduction
In order to display process values in Runtime using WinCC Table Control, you must execute
the following steps:
In Tag Logging
1. Use the Archive Wizard to create a process value archive.
2. Configure the process value tags it will contain.
In Graphics Designer
1. Link the WinCC Table Control to a Graphics Designer picture.
2. Link the columns to be displayed in Table Control to the tags of the process value archive.
Note
The table window can be influenced by means of standard functions. If you do not wish to
use the toolbar functions to operate the table window, any Graphics Designer objects can be
made dynamic using the appropriate functions.
See also
How to Create a Process Value Archive (Page1322)
How to Insert the Online Table Control in a Picture (Page1321)
1321
Procedure
1. Start Graphics Designer and open a new picture.
2. Click the "WinCC Online Table Control" object on the "Controls" tab in the object palette.
3. Place the mouse pointer at the position in the picture where you want to insert the
control.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Drag the control to the desired size.
The "Insert a Control" dialog is opened.
5. Select the WinCC Online Table Control and confirm your selection by clicking "OK".
The "Properties of WinCC Online Table Control" quick configuration dialog box opens.
6. Configure the table properties according to your specifications.
7. Close the dialog with the "OK" button.
See also
How to Display Process Value Tags (Page1323)
1322
Procedure
1. Start Tag Logging and select the "Archive Wizard ...". command in the archive pop-up menu.
2. In the second step of the Archive Wizard, assign a meaningful name to the process value
archive.
3. In the third step of the Archive Wizard, include the desired tags in the process value archive.
4. Close the Wizard by clicking "Apply".
Note
Provided that the process tags contained in an archive were not defined within the Archive
Wizard, new tags can be added by using the pop-up menu of a process value archive.
See also
Configuration of WinCC Online Table Control (Page1321)
Procedure
1. Open a picture in Graphics Designer using Online Table Control.
2. Double-click the Online Table Control.
1323
4. In the "Archive/Tag Selection" section, use the "Selection" button to select the process
value tag for the selected column.
1324
See also
How to Insert the Online Table Control in a Picture (Page1321)
How to Create a Process Value Archive (Page1322)
1325
Operation in Runtime
Operation of Online Table Control in Runtime
Introduction
In Runtime, the table window is operated by means of the toolbar buttons.
"Online Help System"
Calls up the online help
"Open the Configuration Dialog"
Select dialog to assign display parameters.
"First Data Record"
The table displays the tag values within a specified time range, beginning with
the first archived value.
"Previous Data Record"
The table displays the tag values within the previous time interval, based on
the currently displayed time interval.
"Next Data Record"
The table displays the tag values within the next time interval, based on the
currently displayed time interval.
"Last Data Record"
The table displays the tag values within the specified time interval, ending
with the last archived value.
"Edit"
Upon activating this button, you can double-click any table cell to edit its
contents This will stop the updated display.
"Dialog for Archive and Tag Selection"
This button will open the dialog for archive and tag selection.
"Dialog for Selecting Columns"
This button will open the dialog for toggling visible and invisible column view.
"Select Time Range"
This button will open the dialog to specify the time range displayed in a table
window.
"Previous Column to Front"
This button allows you to display the current last column of the table window
as the first data column of the table. In a joint selection the corresponding
archived times are displayed in the time column. In a joint selection the
corresponding archived times are displayed in the time column
1326
See also
Starting and Stopping Update (Page1332)
How to Generate Statistics of Runtime Data (Page1335)
Display Column in Front (Page1332)
How to Edit a Table Cell in Runtime (Page1333)
Online Configuration for Online Table Control (Page1327)
1327
1328
Array
Description
Column
Selectio
n
Using the "Selection" button, you open the dialog to select an archive and the tags contained
therein.
Persiste
nce
If the "Persistence in RT and CS" option is not activated, any changes made to the settings
are only effective within Runtime. Whether or not any changed settings remain effective
after a picture change depends on the "Persistence in RT" option.
If the "Persistence in RT and CS" option is activated, any changed settings are also
transferred to the configuration system. To do this, you must open the picture in Graphics
Designer and save it once again. The changed settings are also used when the project is
reactivated.
Changes to the control properties in Runtime are not persistently accepted in CS with PCS
7 projects or TIA projects. When you completely load the ES to the OS, the changed settings
on the OS will be overwritten.
Configure the properties of the controls on the ES.
1329
Array
Description
Column to
Front
If a shared time column is used, the archived timers of the first column of the table will
be displayed. The first column can be changed either in this dialog or by using the
"Previous column in the front" and "Next column in the front" buttons in the toolbar.
Column
visible/
invisible
In this area, you can specify which configured columns are not to be shown.
Persistence
If the "Persistence in RT and CS" option is not activated, any changes made to the
settings are only effective within Runtime. Whether or not any changed settings remain
effective after a picture change depends on the "Persistence in RT" option.
If the "Persistence in RT and CS" option is activated, any changed settings are also
transferred to the configuration system. To do this, you must open the picture in
Graphics Designer and save it once again. The changed settings are also used when
the project is reactivated.
Changes to the control properties in Runtime are not persistently accepted in CS with
PCS 7 projects or TIA projects. When you completely load the ES to the OS, the
changed settings on the OS will be overwritten.
Configure the properties of the controls on the ES.
Note
The first column of a table window cannot take the "invisible" attribute.
1330
Array
Description
Column
Time
Selection
Persistenc
e
If the "Persistence in RT and CS" option is not activated, any changes made to the settings
are only effective within Runtime. Whether or not any changed settings remain effective
after a picture change depends on the "Persistence in RT" option.
If the "Persistence in RT and CS" option is activated, any changed settings are also
transferred to the configuration system. To do this, you must open the picture in Graphics
Designer and save it once again. The changed settings are also used when the project
is reactivated.
Changes to the control properties in Runtime are not persistently accepted in CS with
PCS 7 projects or TIA projects. When you completely load the ES to the OS, the changed
settings on the OS will be overwritten.
Configure the properties of the controls on the ES.
The entry format of the date and time depends on the Runtime language used.
1331
See also
Configuration of WinCC Online Table Control (Page1321)
Operation of Online Table Control in Runtime (Page1326)
: When updates are stopped, you can change the displayed time frame and therefore
display measurement values from the process value archive in the table window.
: When updates are started, you can change the displayed time frame and therefore
display measurement values from the process value archive in the table window.
See also
Operation of Online Table Control in Runtime (Page1326)
1332
using the
using the
using the
Configuration
The sequence of columns is configured on the "Column" tab of the "Properties of WinCC Online
Table Control" dialog. It can be changed via the "Up" and "Down" buttons.
See also
Operation of Online Table Control in Runtime (Page1326)
Requirement
Configuration of Online Table Control.
Configure the display of a toolbar by using the "Edit" key function.
Start Runtime.
1333
Procedure
, the table display is halted. Double-click any cell in the table
By clicking the "Edit" button
to change the content of that cell. Values that occur during the edit process are archived.
Note
Values occurring during the edit process can be viewed in the static display. The static display
is configured on the "Column" tab of the "Properties" dialog by deactivating the "Update"
option.
If the time stamp for a joint selection is changed by editing, the new value will only be written
in the first column of the database. The time stamp for the other columns will remain
unchanged.
Return to the table display in Runtime mode by clicking the "Edit" button again.
See also
Operation of Online Table Control in Runtime (Page1326)
1334
See also
Operation of Online Table Control in Runtime (Page1326)
Online Configuration for Online Table Control (Page1327)
Configuration of WinCC Online Table Control (Page1321)
Requirement
Configuration of Online Table Control.
Configure the display of a toolbar by using the key functions "Select statistics area",
"Calculate statistics" and "Start/stop update". If you wish to calculate statistics for all values
of a table, you do not need the key function "Select statistics area".
Configure the display by using the key function "Select time range" if you wish to choose
a statistics area outside of the time range displayed in the columns.
You can specify the font for the table that is displayed with the key function "Calculate
statistics" in the "Font" tab and via the property "StatisticsFont".
Start Runtime.
1335
Procedure
1. In the toolbar, click the
click
.
The updated display is stopped, while process data archiving is continued.
2. In order to specify the time period for the calculation, use the mouse to select the table lines
for the desired time frame. For different columns with different time frames you can select
different time ranges for the calculation of statistics.
3.
button.
4. The "Statistics" window opens with results of the calculation for the specified time frame of
one column.
5. If you wish to display the results of additional table columns, select the appropriate column
in the "Column" field.
6. In order to continue with the display of Runtime data in the table, close the statistics window
and click the
7. If you require a statistical analysis of process data not displayed in the table window, click
the
button. Enter the desired time frame in the "Select time range" dialog. The process
data will be displayed for the specified time frame, and statistics can be calculated.
Note
For additional statistical analysis of process data and archiving of results you must write the
scripts yourself.
1336
See also
Operation of Online Table Control in Runtime (Page1326)
Online Configuration for Online Table Control (Page1327)
Configuration of WinCC Online Table Control (Page1321)
6.5.4.3
Before WinCC V7: Process Value Output in the Form of Trends in Process Pictures
Resources
WinCC Online Trend Control
Introduction
In order to process data in graphic form, WinCC uses Online Trend Control to offer the option
of displaying process data as a trend. The trend type to be used can be selected. Furthermore
you have the option of displaying current or archived values.
Display of tag values during Runtime takes place in ActiveX Control, inserted and configured
in a picture in Graphics Designer.
Requirement
The following requirements apply to the display of trends in WinCC Online Trend Control:
In a WinCC Online Trend Control any number of trends can be displayed. However, it is
recommended to configure no more than 8 trends.
A trend can represent a maximum of 30000 value pairs. Depending on the screen resolution
and the settings, the display might however vary.
The trends can be based on online tags or archived tags.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1337
See also
Representation of Staggered Trends (Page1342)
Identification of Time Jumps and Time Overlaps (Page1346)
Time Range of Trend Display (Page1343)
Write direction (Page1343)
Representation Using Common Axes (Page1340)
Representation formats (Page1339)
1338
Representation formats
Introduction
Three basic trend format are available for the graphic display of tag values.
Single Values
Value of measurement points are shown as dots.
Linear Interpolation
The trend line is interpolated on a linear basis from values of measurement points. The trend
is represented as either a solid line or a dashed line. The area under the curve can also be
displayed in a solid color.
Stepped trend
The trend line is interpolated as a stepped curve from the values of measurement points. The
trend is represented as either a solid line or a dashed line. The area under the curve can also
be displayed in a solid color.
1339
Configuration
You configure the trends in the Graphics Designer in the Properties dialog on WinCC Online
Trend Control in the Trends tab.
See also
Representation Trend Lines (Page1338)
1340
1341
Configuration
You configure the display options of the axes in the Graphics Designer in the Properties dialog
on WinCC Online Trend Control in the General tab.
Note
When configuring an Online Trend Control, only tags with an identical updating cycle should
be displayed in a trend window in the case of several trends with a common time axis. In the
case of tags with different updating cycles, the length of the time axis is not identical for all
tags. Since the tag trends are updated at different times due to the different updating cycles,
a minimal different in the end time for the time axis occurs on each change. As a result, the
trends displayed skip slightly to and fro on each change.
See also
Representation Trend Lines (Page1338)
Configuration
You configure the display of the staggered curves in the Graphics Designer in the Properties
dialog on WinCC Online Trend Control in the General tab.
1342
See also
Representation Trend Lines (Page1338)
Write direction
Introduction
With the "Write Direction" option, you can specify where the current measurement values are
to be displayed. Setting "From the bottom" means that the current measurement values are
processed from downward.
If you select for the write direction the "From the top" or "From the bottom" setting, you must
use a True-Type font for the best display of the time axes labels in the trend window.
Configuration
You configure the write direction of the data in the Graphics Designer in the Properties dialog
on WinCC Online Trend Control in the General tab.
See also
Representation Trend Lines (Page1338)
1343
The static display is configured on the "Time Axis" tab of the "Properties" dialog by deactivating
the "Update" option. The time range to be displayed is set either
by entering a start time and a time range.
by entering a start time and an end time.
by entering a start time and the number of measurement points to be displayed.
Note
This type of display can only be used for archive tags.
1344
The static display is configured on the "Time Axis" tab of the "Properties" dialog by deactivating
the "Update" option. The time range to be displayed is set either
by entering a time range.
by entering the number of measurement points to be displayed.
by the time difference between the specified start and end times.
Note
Upon opening the trend window in Runtime, the tag values to be displayed are either read
from the archive or are set to zero. This function is set in the "General" tab of the "Properties"
dialog.
See also
How to Dynamize a Time Range in a Sript (Page1352)
Representation Trend Lines (Page1338)
1345
1346
Configuration
On the "Limit Values" tab of the "Properties of WinCC Online Trend Control" dialog, the marker
line can be assigned a color.
See also
Representation Trend Lines (Page1338)
Configuration
Configuration of WinCC Online Trend Control
Introduction
The steps necessary for configuration of WinCC Online Trend Control depend on the tags you
wish to display.
1347
See also
How to Insert an Online Trend Control in a Picture (Page1348)
How to Configure Trends in Online Trend Control (Page1350)
How to Dynamize a Time Range in a Sript (Page1352)
How to Activate the Example for Online Trend Control (Page1355)
1348
Procedure
1. Start Graphics Designer and open a new picture.
2. Click the "WinCC Online Trend Control" object on the "Controls" tab in the object palette.
3. Place the mouse pointer at the position in the picture where you want to insert the control.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Drag the control to the desired size.
The "Properties of WinCC WinCC Online Trend Control" quick configuration dialog is
opened.
1349
See also
How to Configure Trends in Online Trend Control (Page1350)
1350
Requirement
You have inserted the tags for data supply to the trends in Tag Management.
You have configured the process value archive while supplying archive tags as data.
You have inserted WinCC Online Trend Control in a picture in Graphics Designer and
defined the properties of Control.
Procedure
1. Double-click WinCC Online Trend Control.
2. Click the "Curves" tab.
1351
See also
How to Configure the Value Range of Trends (Page1353)
Procedure
1. In Tag Management, configure the tags "strVar_1" and "strVar_2" of data type "text tag 8bit value" and the tag "TagLog" of data type"unsigned 16-bit value".
2. Start Tag Logging and create a process value archive by using the Archive Wizard and
configure the process value tag contained therein.
3. Start Graphics Designer and open a picture. Insert a WinCC Online Trend Control into the
picture and link it to the process value tag.
4. Insert two I/O fields into the picture and link it to the tags "strVar_1" and "strVar_2",
respectively. In object properties "Output/Input" of the I/O fields, enter "String" as data
format and "*" as output format.
5. Insert a button into the picture and save the picture as NewPDL0.PDL.
6. Open the "Object Properties" dialog of the button and click the "Event" tab.
7. In the left pane, select "Mouse click" as the trigger of the event.
1352
See also
How to Activate the Example for Online Trend Control (Page1355)
Time Range of Trend Display (Page1343)
1353
Requirement
You have inserted the trends and configured the data supply.
Procedure
1. Click the configuration dialog of WinCC Online Trend Control on the Value Axis tab.
1. In Trend: select the trend whose value axis you want to change.
2. In the Range Selection, deactivate the Automatic option button if you want to define a fixed
value range and a separate scaling of the value axis.
3. In the "From:" and "To:" input fields enter the minimum and maximum value of the value
range.
1354
For e.g. value range "0 - 50000" is displayed during Runtime on the value axis in the "100 500" range if the User Scaling option box is activated.
1355
Check whether "Graphics Runtime" and "Tag Logging Runtime" are selected in the startup
list of WinCC Explorer ("Computer Properties" dialog).
Procedure
You have several options to start Runtime:
From the toolbar of the WinCC Explorer
From the menu bar of the WinCC Explorer
During configuration you can call individual pictures in Runtime:
From the toolbar of the Graphics Designer
From the menu bar of the Graphics Designer
1356
Procedure
1. Add a new trend in WinCC Online Trend Control.
2. Select an archive tag or online tag that has already been configured in PCS 7. If the
properties indicated above are configured for these tags, the following parameters are
configured in the "Value Axis" tab:
The "Label" field contains the unit of measurement for the tag. You can change the label.
In the "Range selection" area, the "Apply the properties of the tag display" option is
activated and the "Automatic" option is deactivated.
The tag names for the high limit and the low limit of the variables are entered in the fields
"From" and "To" in the "Range selection" area. These limits cannot be changed.
The "User Scaling" option is deactivated in the "Scaling" area.
3. If you want to change the limits for the trend range and configure a user scale, deactivate
the "Apply tag properties" option.
Operation in Runtime
How to Operate Online Trend Control in Runtime
Introduction
The trend window is operated in runtime via the buttons in the toolbar.
Overview
"Online-Help-System"
Opening the online help
"Open the Configuration Dialog"
Selecting the dialog to assign display parameters.
"First Data Record"
Click this button to display the tag trend in the trend window, starting with the first
archived tag.
"Previous Data Record"
Click this button to display the tag trend of the previous time interval in the trend
window, based on the currently displayed time interval.
"Next Data Record"
Click this button to display the tag trend of the next time interval in the trend window,
based on the currently displayed time interval.
1357
1358
When the update is stopped, right-click the trend to display the archive name, the
tag name and the coordinates of the respective point.
Note
Click the "Display value at this position" button in the toolbar to display the coordinate points
of a trend. The displayed tag values can be assigned an additional attribute in the form of a
letter. Where:
Letter "i" : The displayed tag value is interpolated.
Letter "u" : The displayed value is of uncertain status. This attribute is displayed when the
initial value is not known after Runtime has been activated, or when a substitute value is
used.
The "Page" buttons in archives are only available, if the trend to be displayed originates in a
process value archive.
1359
See also
How to Generate Statistics of Runtime Data (Page1371)
Starting and Stopping Update (Page1365)
Trend to Front (Page1365)
How To Enlarge a Segment of a Trend (Page1369)
How to Determine the Coordinates of a Point (Page1367)
Online Configuration of Online Trend Control (Page1360)
1360
1361
Array
Description
Trend
Selectio
n
Use the Selection button to open the dialog for selecting the linked tags.
Persiste
nce
If the "Persistence in RT and CS" option is not activated, any changes made to the settings
are only effective within Runtime. Whether or not any changed settings remain effective
after a picture change depends on the "Persistence in RT" option.
If the "Persistence in RT and CS" option is activated, all changed settings are also
transferred to the configuration system. To do this, you must open the picture in Graphics
Designer and save it once again. The changed settings are also used when the project is
reactivated.
Changes to the control properties in Runtime are not persistently accepted in CS with PCS
7 projects or TIA projects. When you completely load the ES to the OS, the changed settings
on the OS will be overwritten.
Configure the properties of the controls on the ES.
1362
Array
Description
Trend in the
foreground
If a common axis is used, the settings for the display of the first trend are applied for
the display of the axis. You can configure a uniform color for the common X-axis. The
first trend can be changed either in this dialog or by using the "Previous trend in
foreground" and "Next trend in the front" buttons in the toolbar.
Trend visible/ In this area, you can specify the trends that are not to be shown.
invisible:
Persistence
If the "Persistent in RT and CS" option is not activated, any changes made to the
settings are only effective within Runtime. Whether or not any changed settings remain
effective after a picture change depends on the "Persistence in RT" option.
If the "Persistence in RT and CS" option is activated, all changed settings are also
transferred to the configuration system. To do this, you must open the picture in
Graphics Designer and save it once again. The changed settings are also used when
the project is reactivated.
Changes to the control properties in Runtime are not persistently accepted in CS with
PCS 7 projects or TIA projects. When you completely load the ES to the OS, the
changed settings on the OS will be overwritten.
Configure the properties of the controls on the ES.
Note
The first trend in a trend window cannot be made "invisible".
1363
Array
Description
Trend
Time
Selection
Persistenc
e
If the "Persistent in RT and CS" option is not activated, any changes made to the settings
are only effective within Runtime. Whether or not any changed settings remain effective
after a picture change depends on the "Persistence in RT" option.
If the "Persistence in RT and CS" option is activated, all changed settings are also
transferred to the configuration system. To do this, you must open the picture in Graphics
Designer and save it once again. The changed settings are also used when the project
is reactivated.
Changes to the control properties in Runtime are not persistently accepted in CS with
PCS 7 projects or TIA projects. When you completely load the ES to the OS, the changed
settings on the OS will be overwritten.
Configure the properties of the controls on the ES.
The entry format of the date and time depends on the Runtime language used.
1364
See also
Configuration of WinCC Online Trend Control (Page1347)
How to Generate Statistics of Runtime Data (Page1371)
How to Operate Online Trend Control in Runtime (Page1357)
: When updates are stopped, you may change the displayed time frame and therefore
display measurement values from the process value archive in the table window.
: When updates are started, you may change the displayed time frame and therefore
display measurement values from the process value archive in the table window.
See also
How to Operate Online Trend Control in Runtime (Page1357)
Trend to Front
Introduction
You can modify the trend displayed on top in runtime:
by clicking the
by clicking the
by clicking the
If common axes are used, the settings for the trend displayed in the foreground are used for
displaying the axes. You can however configure a uniform color for the common X-axis.
1365
Configuration
You define the sequence of the trends in the Trends tab of the Properties dialog in WinCC
Online Trend Control. Select a trend and click "Up" or "Down" button.
See also
How to Operate Online Trend Control in Runtime (Page1357)
1366
Requirement
Configure the Online Trend Control.
Configure the display of a toolbar, using the key functions "Zoom Area" and "Activate
Original View".
You can specify the font for the tag value table that is displayed with the key function
"Display value here" in the "Font" tab and via the property "RulerFont".
Start Runtime.
Procedure
When activating the
button for "Display Value at This Position" a vertical line, a ruler, is
added to the trend window. Below the trend window, the X and Y coordinates of the measured
value are displayed together with the archive and tag names.
The displayed tag values can be assigned an additional attribute in the form of a letter. Where:
1367
Other measurement values can be determined by positioning the mouse pointer on the ruler
and moving it while keeping the left mouse button pressed to the desired position.
Note
The "uncertain" status of a tag value can also be identified in the displayed trend
characteristic. To do this, you must activate the "Value with uncertain status" option on the
"Limit Values" tab of the "Properties of WinCC Online Trend Control" dialog.
If you do not wish to display the tag link in the table, you must set "HideTagNames" in the
object property dialog to "Yes".
See also
How to Operate Online Trend Control in Runtime (Page1357)
1368
Requirement
Configure the Online Trend Control.
Configure the display of a toolbar, using the buttons assigned to key functions "Zoom Area"
and "Activate Original View".
Start Runtime.
Procedure
1. Click the "Enlarge Area"
button in the toolbar.
The display stops being updated and the mouse pointer changes to a cross-hair.
2. In the trend window, click one corner of the area that you wish to enlarge.
3. Hold down your left mouse button and drag the area you want to enlarge until it reaches
the desired size. If the highlighted area contains at least two measured values, the selected
trend area is displayed in the trend window.
4. Release the left mouse button.
The section you selected is now shown enlarged.
5. Click the "Activate Original View" button
in the toolbar.
The trend window is displayed again in normal view as originally configured.
6. Click the "Start/Stop the Update" button in the toolbar to restart updating the display in the
trend window. For the value ranges of the X and Y axes, the preset values is used by default.
See also
How to Operate Online Trend Control in Runtime (Page1357)
1369
Requirement
The following requirements apply to "Zoom in" and "Zoom out.
All trends displayed are assigned a fixed value range.
The trends have no user scaling.
The trends are scaled linearly.
Requirement
The buttons for browsing in archive are available only if data is supplied through archive tags.
1370
The trend displays the tag values within a specified time range, beginning with the first
archived value.
The trend displays the tag values within the previous time interval, based on the currently
displayed time interval.
The trend displays the tag values within the next time interval, based on the currently
displayed time interval.
The trend displays the tag values within a specified time range, ending with the last
archived value.
See also
How to Operate Online Trend Control in Runtime (Page1357)
Online Configuration of Online Trend Control (Page1360)
Configuration of WinCC Online Trend Control (Page1347)
Requirement
Configure the Online Trend Control.
Configure the display of a toolbar by using the key functions "Select statistics area",
"Calculate statistics" and "Start/stop update".
Configure the display with the "Select Time Range" keyboard function, if you wish to choose
a statistics area outside of the time range displayed in the columns.
You can specify the font for the tables that is displayed with the key functions "Select
statistics range" and "Calculate statistics" in the "Font" tab and via the property
"StatisticsFont".
Start Runtime.
1371
Procedure
1. In the toolbar, click the
button.
The updated display is stopped; process data continues to be archived. The updated display
is stopped, process data continue to be archived. Two vertical lines are displayed at the
left and right edge of the trend window. A window containing the statistics area shows the
current upper (OG) and lower (UG) limits of the trends.
2. Specify the time frame for calculation by dragging both lines to their desired x axis position,
using the mouse.
3.
button.
4. The "Statistics" window opens showing the results of the calculation for the specified time
frame of one trend.
5. If you wish to display the results of an additional trend in the trend window, select the
appropriate trends in the "Trends" field.
6. In order to continue with the display of Runtime data in trends, close the statistics window
button in the toolbar.
and click the
7. If you require a statistical analysis of process data that are not displayed in the trend window,
click the
button. Enter the desired time frame in the "Select time range" dialog. The
process data are displayed for the specified time frame, and statistics can be calculated.
1372
See also
How to Operate Online Trend Control in Runtime (Page1357)
Online Configuration of Online Trend Control (Page1360)
Configuration of WinCC Online Trend Control (Page1347)
6.5.4.4
Resources
WinCC Function Trend Control
Introduction
For a graphic processing of tags, Function Trend Control in WinCC offers the option of
displaying one tag as a function of another tag. For example, temperature may be shown as
a function of pressure. Furthermore, trends may be compared to target trends.
Display of trends during Runtime takes place in ActiveX Control, inserted and configured in a
picture in Graphics Designer.
1373
Requirement
For the display of trends in WinCC Function Trend Control the following prerequisites apply:
In a WinCC Function Trend Control any number of trends may be displayed. However, it
is recommended to configure no more than 8 trends.
A trend can represent a maximum of 10000 value pairs.
For these trends, either online tags, archive tags or data from user archives may be used.
Online tags of a trend must have the identical update cycle.
Archive tags of a trend must have the same update cycle and must be recorded in a
continuous cycle.
Data from user archives can be used for target trends.
The representation of tags in the form of functions over time is only possible, if the values
of the trend are supplied through the API interface. In order to display tags as a function of
time, you should use the WinCC Online Trend Control.
1374
Display of Trends
Representing Trend Lines
Introduction
WinCC Function Trend Control provides a number of options for representing a trend line.
See also
Comparison with an Ideal Trend (Page1389)
Identification of Special Values (Page1387)
Time Range of Trend Display (Page1386)
Write Direction (Page1384)
Display of Staggered Trends (Page1382)
Display with Logarithmic Axes (Page1380)
Display with common axes (Page1378)
Forms of Display (Page1375)
Forms of Display
Introduction
To graphically display tag values, three basic representation types are available.
1375
Single Values
Value of measurement points are shown as dots.
Linear Interpolation
The trend line is interpolated on a linear basis from values of measurement points. The trend
is represented as either a solid line or a dashed line. The area under the curve can also be
displayed in a solid color.
Stepped Trend
The trend line is interpolated as a stepped curve from the values of measurement points. The
trend is represented as either a solid line or a dashed line. The area under the curve can also
be displayed in a solid color.
1376
Configuration
The display of trends is configured on the General tab of the Properties of WinCC Online Trend
Control dialog.
See also
Properties of Function Trend Control - Trends Tab (Page1420)
Representing Trend Lines (Page1375)
1377
1378
Configuration
The display of common axes is configured in the General tab of the Properties of WinCC
Function Trend Control dialog.
1379
See also
Properties of Function Trend Control - General Tab (Page1416)
Representing Trend Lines (Page1375)
1380
Configuration
Representations using logarithmic axes are configured in the X axis or Y axis tab of the
Properties of WinCC Function Trend Control dialog.
See also
Representing Trend Lines (Page1375)
1381
1382
Configuration
The display of staggered trends is configured in the General tab of the Properties of WinCC
Online Trend Control dialog.
See also
Properties of Function Trend Control - General Tab (Page1416)
Representing Trend Lines (Page1375)
1383
Write Direction
Introduction
The write direction defines the direction in which the positive values on the axes are depicted.
Thus the setting from the bottom means that positive values on the Y axis will be shown in the
downward direction.
If a setting of From the top or From the bottom is selected for the write direction, only TrueType fonts should be used inside the Trend window to ensure a clear display of labels on the
vertical axis.
1384
Configuration
The write direction configured in the General tab of the Properties of WinCC Function Trend
Control dialog.
See also
Properties of Function Trend Control - General Tab (Page1416)
Representing Trend Lines (Page1375)
1385
If display updating is stopped in runtime, the Data Linking tab of the Properties of WinCC
Function Trend Control dialog can be used to configure the time range that needs to be
represented. This time range is derived either by defining a starting time and end time or by
defining a starting time and the number of value pairs to be represented.
1386
The time range to be represented is configured in the Data Linking tab of the Properties of
WinCC Function Trend Control dialog. This time range is derived either by defining a starting
time and end time or by defining the number of value pairs to be represented.
See also
Representing Trend Lines (Page1375)
1387
Configuration
Color-coded identification of special values is configured in the Limiting Values tab of the
Properties of WinCC Function Trend Control dialog.
See also
Representing Trend Lines (Page1375)
1388
Configuration
The values for the ideal trend are configured in a user archive.
The display for an ideal trend is configured in the Trends tab of the Properties of WinCC
Function Trend Control dialog box.
1389
See also
Properties of Function Trend Control - Trends Tab (Page1420)
Representing Trend Lines (Page1375)
1390
Configuration
Configuration of WinCC Online Trend Control
Introduction
The steps you need to take in order to configure WinCC Function Trend Control are dependent
on the tags you wish to display.
1391
See also
How to Display Archive Tags (Page1394)
How to Compare Tag Values with an Ideal Trend (Page1396)
How to Display Data from User Archives (Page1395)
How to Display Online Tags (Page1393)
How to Insert Function Trend Control in a Picture (Page1392)
Procedure
1. Start Graphics Designer and open a new picture.
2. In the Object Palette Default tab, click the smart object Control.
3. Place the mouse pointer at the position in the picture where you want to insert the
control.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Drag the control to the desired size.
The Insert a Control dialog is opened.
5. Select WinCC Function Trend Control and confirm your selection by clicking OK.
The Properties of WinCC Function Trend Control quick configuration dialog box opens.
6. Click OK to close the dialog.
See also
How to Compare Tag Values with an Ideal Trend (Page1396)
How to Display Data from User Archives (Page1395)
How to Display Online Tags (Page1393)
How to Display Archive Tags (Page1394)
1392
Procedure
1. In Graphics Designer, open a picture using Function Trend Control.
2. Double-click the Function Trend Control.
3. Click the "Data Linking" tab.
4. For "Data Source", select the "Online Tags" setting.
5. In the "Select Archive/Tag" area, use the button marked "..." and select Tag1 for the X axis.
6. In the "Select Archive/Tag" area, use the button marked "..." and select Tag2 for the Y axis.
7. To define the time range you wish to display, specify a starting time and the number of
value pairs to be represented.
See also
How to Use the Simulator (Page1401)
How to Insert Function Trend Control in a Picture (Page1392)
1393
Procedure
1. In Graphics Designer, open a picture using Function Trend Control.
2. Double-click the Function Trend Control.
3. Click the "Data Linking" tab.
4. For "Data Source", select the "Archive Tags" setting.
5. In the "Select Archive/Tag" area, use the button marked "..." and select Tag1 stored in
process value archive PW1 for the X axis.
6. In the "Select Archive/Tag" area, use the button marked "..." and select Tag2 stored in
process value archive PW2 for the Y axis.
7. To define the time range you wish to display, specify a starting time and the number of
value pairs to be represented.
1394
See also
How to Use the Simulator (Page1401)
How to Insert Function Trend Control in a Picture (Page1392)
How to Create a Process Value Archive (Page1412)
Requirement
Configure a user archive with the columns "Setpoint X" and "Setpoint Y".
In runtime, input values for "Setpoint X" and "Setpoint Y".
Insert the Function Trend Control into a Graphics Designer picture.
Procedure
1. In Graphics Designer, open a picture using Function Trend Control.
2. Double-click the Function Trend Control.
3. Click the "Data Linking" tab.
4. Go to "Provider" and select the setting "User Archive".
5. In the "User Archive" area, use the button marked "..." and select user archive UA1.
6. In the "Column for X Values" area, select the "Setpoint X" column.
7. In the "Column for Y Values" area, select the "Setpoint Y" column.
8. To define the time range you wish to display, specify the number of value pairs to be
represented and the ID of the first value pair.
1395
See also
How to Use the Simulator (Page1401)
How to Insert Function Trend Control in a Picture (Page1392)
How to Create a User Archive (Page1413)
Procedure
1. In Graphics Designer, open a picture using Function Trend Control.
2. Double-click the Function Trend Control.
3. Click the "Trends" tab.
4. Select the "Ideal Trend" check box.
5. Click the "Properties..." button.
The "Properties of the Ideal Trend" dialog box opens.
6. In the "User Archive" area, use the button marked "..." and select user archive UA1.
7. In the "Column for X Values" area, select the "Setpoint X" column.
8. In the "Column for Y Values" area, select the "Setpoint Y" column.
1396
10.Select the color and representation type for the ideal trend.
11.Click "OK" to close all open dialogs.
12.Save the picture.
13.Enable runtime and start the WinCC Tag Simulator.
See also
How to Use the Simulator (Page1401)
How to Insert Function Trend Control in a Picture (Page1392)
How to Create a User Archive (Page1413)
How to Create a Process Value Archive (Page1412)
1397
Note
In order to display tags as a function of time, you should use the WinCC Online Trend Control.
Example
The example shows the supply of values for a trend using the API interface. The third trend
(index = 2) of Control1 in a picture is supplied with data. This results in a sine curve, consisting
of 1440 value pairs:
// Definitions for the calculation of sine
#define NUMVALUES 1440 // Number of value pairs
#define PI 3.14159265359 // PI
// Variant for supply of DataXY property
VARIANT vtDataXY;
// Variant that contains a single data pair
VARIANT vtPair;
// Represents the X value of a data pair
VARIANT vtDataX;
// Represents the Y value of a data pair
VARIANT vtDataY;
// For faster access to the SAFEARRAY data that is contained in the
Variants.
VARIANT* pvtDataXY = NULL;
1398
1399
1400
Requirement
Configure a WinCC Function Trend Control in the Graphics Designer.
Enable runtime.
Start the Tag Simulator.
Procedure
1. In the Edit menu, click the New Tag command.
2. Select Tag 1 and confirm your selection by clicking OK.
3. Click the Properties tab and input the following values for Tag 1.
Amplitude: 50
Offset: 50
Vibration period: 25
4. Click the Tags tab.
5. In the Edit menu, click the New Tag command.
6. Select Tag 1 and confirm your selection by clicking OK.
7. Click the Properties tab and input the following values for Tag 1.
Amplitude: 50
Offset: 50
Vibration period: 50
8. Click the Tags tab.
1401
Operation in Runtime
How to Operate Function Trend Control in Runtime
Introduction
The trend window is operated in runtime via the buttons in the toolbar.
"Online-Help-System"
Calling up the Online help
"Open the Configuration Dialog"
Selecting the dialog to assign display parameters.
"Display Value at this Position"
Click this button to query the coordinate points of a trend.
"Zoom Area"
Click this button to zoom in on any section of the trend window.
"Activate Original View"
Click this button to return to the configured normal view (after
zooming).
"Opens the dialog for selecting a trend"
Opens a dialog to configure the settings for the selected trends
"Previous trend in foreground"
Click this button to display the previous trend in the foreground of the
trend window
"Next trend in the front"
Click this button to display the next trend in the foreground of the trend
window
"Start/Stop update"
Updates are stopped/started and can be continued/stopped by
clicking the button.
"Print Log"
Click this button to print the trend shown in the trend window. Print job
used during printing can be specified in the control properties on the
"General" tab.
1402
See also
Properties of Function Trend Control - Toolbar Tab (Page1414)
Starting and Stopping Update (Page1405)
Displaying a Trend on Top (Page1406)
How To Enlarge a Segment of a Trend (Page1410)
How to Determine the Coordinates of a Point (Page1408)
Online Configuration of Function Trend Control (Page1403)
1403
1404
See also
How to Operate Function Trend Control in Runtime (Page1402)
1405
See also
How to Operate Function Trend Control in Runtime (Page1402)
1406
with the
with the
with the
Configuration
The sequence to be used for the trends is configured in the Limiting Value tab of the Properties
of WinCC Function Trend Control dialog box. It can be changed via the Up and Down buttons.
See also
How to Operate Function Trend Control in Runtime (Page1402)
1407
Requirement
Configure a Function Trend Control.
Configure the display of a toolbar, using the buttons assigned to key functions "Zoom Area"
and "Activate Normal View".
You can specify the font for the tag value table that is displayed with the key function
"Display value here" in the "Font" tab and via the property "RulerFont".
Start Runtime.
Procedure
1. In the toolbar, click the "Display Value at this Position" button.
A cross-hair appears in the trend window. The coordinates for the center point of the crosshair are displayed below the trend window.
2. Move the mouse over one of the axes or the center point of the crosshair.
3. Hold down your left mouse button and drag the center point of the crosshair to the position
of the value of measurement point whose coordinates you wish to know.
1408
5. Read off the coordinates for the value of measurement point from the area below the trend
window.
6. In the toolbar, click the "Display Value at this Position" button.
The cross-hair disappears.
Note
Points which lie between two measured value pairs and have therefore interpolated are
identified with an "i".
See also
How to Operate Function Trend Control in Runtime (Page1402)
1409
Requirement
Configure a Function Trend Control.
Configure the display of a toolbar, using the buttons assigned to key functions "Zoom Area"
and "Activate Normal View".
Start Runtime.
Procedure
1. Click the "Enlarge Area" button in the toolbar.
The display stops being updated and the mouse pointer changes to a cross-hair.
2. In the trend window, click one corner of the area that you wish to enlarge.
1410
See also
How to Operate Function Trend Control in Runtime (Page1402)
1411
Appendix
How to Create a Process Value Archive
Introduction
In order to display archive tags in a WinCC Function Trend Control, you must configure a
process value archive. A process value archive is created most easily with the help of the
Archive wizard.
Procedure
1. Start Tag Logging and select the "Archive Wizard ...". command in the archive pop-up menu.
2. In the second step of the Archive Wizard, assign a meaningful name to the process value
archive.
3. In the third step of the Archive Wizard, include the desired tags in the process value archive.
4. Close the Wizard by clicking "Apply".
Note
For the other examples of Function Trend Control, you require process value archive PW1
with the three tags Tag 1, Tag 2 and Tag 3, each with data type signed 16-bit value.
See also
How to Display Archive Tags (Page1394)
1412
Procedure
1. Start User Archives and from the Archives pop-up menu select the command New Archive.
2. Give the user archive a meaningful name and click the Finish button.
3. Answer the question about creating a field in the archive with Yes.
4. Give the first field a meaningful name and click the Finish button.
5. Answer the question about creating another field in the archive with Yes.
6. Give the second field a meaningful name and click the Finish button.
7. Answer the question about creating another field with No.
8. Answer the question about creating another archive with No.
9. Click the Save button in the toolbar.
Note
For the other examples of Function Trend Control, you require user archive UA1 with columns
Setpoint X and Setpoint Y.
1413
See also
How to Insert the User Archive Table Element into a Picture (Page1419)
How to Compare Tag Values with an Ideal Trend (Page1396)
How to Display Data from User Archives (Page1395)
Display
Defines whether a toolbar can be used to operate the trend window in runtime.
Alignment
Defines at which edge of the trend window the toolbar will be displayed.
Keyboard Functions
This attribute defines which keyboard functions will be displayed as buttons in the toolbar and
be available for operating the trend window.
Online-Help System
Open the Configuration Dialog
Display Value at this Position
Enlarge Area
1414
See also
How to Operate Function Trend Control in Runtime (Page1402)
Properties of the Function Trend Control (Page1421)
Font
Specifies the name of the character set which is to be used.
Font Size
Sets the size of the selected character set.
1415
Display
Sets the font style for the selected character set (e.g. bold, italic, underline).
Sample Text
Shows a preview using the chosen settings.
See also
Properties of the Function Trend Control (Page1421)
Background Color
Defines the background color that will be used in the trend window in Runtime.
1416
Display - Toolbar
Defines whether the toolbar of the trend window will be displayed in Runtime.
Display - Sizable
Defines whether the size of the trend window can be changed in Runtime.
Persistence in RT
Specifies in Runtime whether changes made to the Function Trend Control settings should
also be effective after a picture exchange.
1417
Persistence in RT and CS
Specifies in runtime whether changes made to the Function Trend Control settings will also
be applied to the Configuration System and be used when the project is reactivated.
In the Configuration System you can use the "Selection..." button to select one of the
authorizations configured in the User Administrator. Should you assign an operator
authorization, the persistence setting can only be changed in runtime if the logged in user has
the authorization to do so.
Changes to the control properties in Runtime are not persistently accepted in CS with PCS 7
projects or TIA projects. When you completely load the ES to the OS, the changed settings
on the OS will be overwritten.
Configure the properties of the controls on the ES.
Time Base
Defines the base for the time setting in WinCC.
See also
Properties of the Function Trend Control (Page1421)
Setting Time in WinCC (Page64)
1418
See also
Properties of the Function Trend Control (Page1421)
Requirement
Configure a user archive UA1 with the columns Setpoint X and Setpoint Y.
Procedure
1. Start Graphics Designer and open a new picture.
2. In the Object Palette, Controls tab, click the object WinCC User Archive - Table Element.
3. Place the mouse pointer at the position in the picture where you want to insert the
control.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the control to the desired size.
5. Double-click the User Archive - Table Element.
6. In the Source area, click the Select button.
7. Select the user archive.
8. Click OK to close the dialog.
9. Save the picture.
10.Enable runtime and enter values in the Setpoint X and Setpoint Y columns.
See also
How to Compare Tag Values with an Ideal Trend (Page1396)
How to Display Data from User Archives (Page1395)
How to Create a User Archive (Page1413)
1419
Trends
Defines the trends to be displayed. Use the + and - buttons to add new or delete existing trends.
Use the Up and Down buttons to change the order of the trends. The order of the trends is
analyzed in runtime by the keyboard functions Previous trend on top and Next trend on top.
When using shared axes, the first trend in the list determines the color and value range of the
axes.
1420
Name
Defines the name of the trend. This name is used in the list of elements.
Display - Visible
Defines whether the trend selected in the list of elements is to be displayed in runtime. With
this setting, you can suppress the display of configured trends without actually having to delete
them.
Display - Color
Defines the color with which the trend selected in the list of elements and its associated axes
will be displayed in runtime.
Ideal Trend
Defines whether an ideal trend is to be displayed with the trend selected in the list of elements.
Use the Properties button to set the properties of the ideal trend.
See also
Displaying a Trend on Top (Page1406)
Properties of the Function Trend Control - Setpoint Trend Properties (Page1422)
Properties of the Function Trend Control (Page1421)
Quick Configuration
The Quick Configuration dialog box opens automatically when you insert a Function Trend
Control into a picture in the Graphics Designer.
Configuration Dialog
The Configuration dialog box opens when you double-click or use the Configuration dialog...
command in the Function Trend Control pop-up menu.
Properties
The Properties dialog box opens when you use the Properties command in the Function Trend
Control pop-up menu.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1421
See also
Properties of Function Trend Control - Font Tab (Page1415)
Properties of Function Trend Control - Toolbar Tab (Page1414)
Properties of Function Trend Control - Trends Tab (Page1420)
Properties of Function Trend Control - General Tab (Page1416)
Quick Configuration of Function Trend Control (Page1418)
1422
Display - Color
Defines the color in which the trend is displayed in runtime.
Display of Format
Defines the format in which the trend is displayed in runtime.
See also
Properties of the Function Trend Control (Page1421)
6.6
Introduction
Various providers offer interfaces that you can use to access databases. These interfaces also
enable you to directly access the WinCC archive databases. Direct access lets you, for
example, read process values for editing in spreadsheet programs.
Prerequisite
The project is loaded on the configuration computer and is located in Runtime.
1423
See also
http://msdn.microsoft.com/en-us/library/default.aspx (http://msdn.microsoft.com/en-us/library/
default.aspx)
1424
6.7
6.7.1
See also
Function to Stop Archiving (Page1427)
Function to Start Archiving (Page1427)
Function for Conversion of Tag Values (Page1426)
Function During Start of Archiving (Page1425)
6.7.2
Parameters
fFlag
TRUE Lock Archive
FALSE Unlock Archive
Application Example
You can for example use this function to obtain information on the status of an archive.
1425
6.7.3
Parameters
dLmtValue:last acquired value (from last acquisition cycle)
doValue :currently acquired value
dwCount: number of acquisition cycles since the last archiving
Logging: TRUE when archiving is performed
Application Example
The current process value should be divided by 10 and archived.
1426
6.7.4
6.7.5
1427
6.7.6
Appendix
6.7.6.1
Parameters
lpszArchivName
Pointer on Name of Archive.
lpszVariablenName
Pointer on Name of Tag.
dwNumberOfRecords
Number of measured values saved in short-term archive.
Note
The function is also executed if the archive is locked.
1428
6.7.6.2
Parameters
fFlag
The parameter is assigned value "FALSE" and is reserved for future upgrades.
Application Example
This function can be used to ensure that a message is displayed when a raw data tag is sent.
6.7.6.3
Parameters
fFlag
The parameter is assigned value "FALSE" and is reserved for future upgrades.
1429
Application Example
This function can be used, for example, to evaluate a raw data tag immediately after it is
received.
1430
Resources
7.1
Content
WinCC offers you extensive scope for documenting a project. There are two categories of log
available to you for outputting data:
Reports for project documentation
Logs for Runtime documentation
The reports for project documentation output the configuration data of a WinCC project (e.g.
a table with the tags used and their parameters, plant mimic diagrams with their objects, or
the user groups created).
The logs for Runtime documentation output process data during Runtime (e.g. for printing
messages chronologically or for logging message archives or user archives during Runtime).
This help system shows you how to document your configuration and Runtime data using the
layouts contained in the system.
7.2
Introduction
To document configuration and Runtime data, reports and logs are created in WinCC, for which
predefined layouts are supplied. These predefined layouts will cover most of the cases in which
you need to document data. You can use Report Designer to edit predefined layouts or create
new layouts to suit your requirements and wishes.
Applications
The reporting system allows you to output:
Configuration data in a report
Runtime data in a log
1431
Usage
The documentation of configuration data is referred to below as project documentation. It
allows the configuration data of a WinCC project to be output in a report.
The documentation of Runtime data is referred to below as Runtime documentation. It allows
the process data to be output in a log during Runtime. In order to output the Runtime data, the
corresponding application must be in Runtime.
Report Designer makes print jobs available for outputting the reports and logs. The scheduling,
output medium and extent of the output is defined in the print jobs.
The dynamic objects of Report Designer are used for data output. These dynamic objects are
associated with the corresponding applications.
Selection of data for output is application-dependent and is carried out when the layout is
created, when the print job is created, or when printing is initiated. The current view or the table
content is output in the WinCC V7 controls and the corresponding layouts and print jobs.
The dynamic objects are supplied with the current values during output of the reports and logs.
The structure and configuration of the reports for project documentation and logs for Runtime
documentation is largely identical. The essential differences lie in the connection of the data
source with the dynamic objects and in the initiation of printing.
Output Media
The reports and logs can be output with the following layouts:
To a printer
To a file
To the screen
Output Formats
The reports and logs can be output with the following layouts:
A page layout
A line layout (message sequence report only)
1432
See also
Introduction to Runtime Documentation (Page1469)
Introduction to Project Documentation (Page1445)
How to Create Reports in Line Layout (Page1435)
How to Set Up Reports in the Page Layout (Page1433)
7.3
The report and log layout contain a static layer and a dynamic layer. The static layer contains
the header and footer of a layout for outputting the company name, company logo, project
name, layout name, page number, time, etc. The dynamic layer contains the dynamic objects
for outputting the configuration and Runtime data.
In the static layer, only static and system objects can be inserted. In the dynamic layer, static
and dynamic objects can be inserted.
Objects that are inserted in the dynamic part of a page layout are extended dynamically, if
required. If an object of the type dynamic table is supplied with data, for example, this table is
extended to allow all data in the table to be output. If there are other objects in the dynamic
part of the layout, these are moved accordingly. Objects that are to have a fixed position must
therefore be inserted in the static part of the layout.
1433
The cover sheet is a fixed component of a page layout. It is therefore possible to design
a separate cover sheet for each report.
Report
contents
The structure and contents of the report for output are defined in this part of the page
layout. system objects available for defining the report contents.
The report contents have a static and a dynamic component (configuration
layer).
If necessary, the dynamic part of the contents of the report is spread across the various
subsequent pages at output, since it is not known until the time of output how much
data there is.
Final page
The final page is a fixed part of a page layout. It is therefore possible to design a
separate final page for each report.
The creation and output of the cover sheet and final page are optional. By default, a cover
sheet is output, but a final page is not output. You edit a page layout in the page layout editor.
The cover sheet and final page also have a static and a dynamic component (configuration
layer).
Important:
If you use dynamic objects on the cover sheet or final page, only some of this data may be
included at output. This happens when the data of dynamic objects do not fit on a single page.
The cover sheet and final page only ever consist of a single page and never contain a page
break.
1434
See also
How to Create Reports in Line Layout (Page1435)
Print Jobs in WinCC (Page1436)
Introduction to Runtime Documentation (Page1469)
Introduction to Project Documentation (Page1445)
7.4
The line layouts contain a static layer and a dynamic layer. The static layer contains the header
and footer for outputting the company name, project name, layout name, etc. as pure text. The
dynamic layer contains a dynamic table for outputting Alarm Logging messages.
1435
The header is a fixed component of a line layout that is output together with every
page. A header in the line layout can consist of up to 10 lines. Graphics cannot be
inserted.
Log
content
(table)
The structure and contents of the log for output are defined in this part of the line layout.
The Alarm Logging selection options and filter criteria for defining the contents of the
log are available to you for alarm output.
The design depends on the width of the individual columns and of the font size set.
Page footer
The footer is a fixed component of a line layout that is output together with every page.
A footer in the line layout can consist of up to 10 lines. Graphics cannot be inserted.
The creation and output of a header and footer are optional. By default, 3 lines each are output
for the header and footer.
See also
How to Output Online Data with Message Sequence Report (Page1486)
Print Jobs in WinCC (Page1436)
How to Create a User-Defined Message Sequence Report (Page1489)
7.5
7.5.1
Introduction
Print jobs in WinCC are of central importance to the output of project and Runtime
documentation. In the layouts you configure the external appearance and data supply for
1436
See also
Introduction to Runtime Documentation (Page1469)
Introduction to Project Documentation (Page1445)
How to Change Output Options in Runtime (Page1476)
How to Change an Existing Print Job (Page1452)
How to Create a New Print Job (Page1450)
Print Job Properties (Page1438)
Defining a Printer (Page1442)
Selecting the Print Range (Page1440)
1437
7.5.2
Introduction
You enter the name, the layout used, and the start parameters on the "General" tab. You also
set additional options that determine what happens when the print job is called on the "General"
tab.
Layout
There are line layouts and page layouts. In the "Layout:" selection field you can select the
desired layout for the output.
1438
Page layout
There are language-neutral and language-dependent line layouts. Further information can be
found in the "Creating Page Layouts" and "Setting Up Multilingual Projects" documents.
Line layout
You can only select a line layout in the "@Report Alarm Logging RT Message sequence" print
job. Line layouts do not contain language-dependent text; thus, no language-dependent layout
files are needed.
Only in this job can the Line Layout for Line Printer option be selected. If the check box is
checked, then the message sequence report is output to the locally installed line printer. If the
check box is not checked, the message sequence report is output to a selectable printer in
page format.
The system print jobs provided and the layouts set in them are for outputting the project
documentation. Do not connect the system print jobs with other layouts, since otherwise the
project documentation will no longer function correctly.
1439
See also
How to Change Output Options in Runtime (Page1476)
How to Change an Existing Print Job (Page1452)
How to Create a New Print Job (Page1450)
Defining a Printer (Page1442)
Selecting the Print Range (Page1440)
Print Jobs in WinCC (Page1436)
7.5.3
Introduction
On the Selection tab you can specify how much is to be printed. You can specify a selection
of the page range or a time range for the data to be output.
1440
See also
How to Change Output Options in Runtime (Page1476)
How to Change an Existing Print Job (Page1452)
How to Create a New Print Job (Page1450)
Defining a Printer (Page1442)
Print Job Properties (Page1438)
Print Jobs in WinCC (Page1436)
1441
7.5.4
Defining a Printer
Introduction
On the Printer Setup tab you can specify the printer or printers for output. You can use the lists
in the Printer Priorities area to specify the order in which they are to be used. You also specify
the settings for the print buffer and for output to a file here.
Output to a Printer
On the Printer Setup tab you can specify the printer or printers for output. The printers are
arranged in order of priority. Reports and logs are output to the printer set under 1.). If this
printer fails, they are automatically output to the printer set under 2.). The same procedure
applies to a third printer. If no printer is found that is ready for operation, the print data is saved
to a file on the hard disk. The files are stored in the project directory in the PRT_OUT folder.
1442
Two substitute printers can also be configured for the line-based message sequence report.
The line printers must be connected to and installed on the computer carrying out the logging.
The switchover is takes place as described above. If no printer is found that is ready for
operation, a WinCC dialog is displayed in addition to the operating system message. The dialog
provides information on the status of the print job and outputs the printer's fault. The message
sequence report can be switched off in this dialog. If the message sequence report is switched
off in this dialog, it is switched on again automatically as soon as one of the configured printers
is ready for operation again.
Output to a File
If you like, you can output the reports and logs to a file. You find more information in the chapter
Creating a New Print Job.
Note
If you print a message sequence log in line layout, the output as a file is deactivated.
1443
Triggered Action
Generate
warnings
If the free disk space on the hard disk being used is below the value set here, an
entry is created in the WinCC_SStart_01.log file. If Runtime is activated, a system
message is generated. The message informs you about the imminent resource
bottleneck.
If the free disk space on the hard disk being used falls under the value set here,
log triggering is rejected. In addition, an entry is created in the
WinCC_SStart_01.log file. If Runtime is activated, a system message is generated
that brings your attention to the lost log.
1444
See also
How to Change an Existing Print Job (Page1452)
How to Change Output Options in Runtime (Page1476)
How to Create a New Print Job (Page1450)
Selecting the Print Range (Page1440)
Print Job Properties (Page1438)
Print Jobs in WinCC (Page1436)
7.6
Project Documentation
7.6.1
Introduction
In order to create project documentation in WinCC, you can start the output of the reports from
within the various WinCC editors. For this purpose, the editors are associated with print jobs,
which call a predefined layout for output. Default parameters for output are already set in the
predefined layouts. You find more information on the output parameters in the the project
documentation of the various WinCC components.
1445
Function
Special Features
Print Project
Documentation
View Project
Documentation
Project
Documentation
Setup...
See also
How to Create a New Print Job (Page1450)
How to Change an Existing Print Job (Page1452)
Print Jobs in WinCC (Page1436)
How to Output Project Documentation (Page1446)
How to Set Up Reports in the Page Layout (Page1433)
7.6.2
Introduction
The basic procedure for outputting project documentation is described below. You can use the
page layouts provided with the product for project documentation.
Procedure
In the simplest case you use WinCC's defaults. If you want to check the output before printout,
choose the View Project Documentation menu command, as described below.
1446
Alternative Operation
If the print job used is known, project documentation can be started in WinCC Explorer by
starting the corresponding print job directly.
1. Select the Report Designer entry in the navigation window of WinCC Explorer. The Layouts
and Print Job entries are displayed.
2. Double-click the Print Jobs entry in the file window. All existing print jobs are displayed in
the file window.
3. Open the pop-up menu of the desired print job, and choose the Print the Print Job command.
Note
By default, a printer selection dialog is not displayed; printing starts immediately. Depending
on the size of the project, this process can take some time. The process cannot be canceled
while the data is being read from the system.
In some editors the output of project documentation from the application differs from the
output of project documentation that is started directly via the print job in WinCC Explorer.
You find more information on this in chapters Project Documentation... for the various WinCC
editors.
1447
See also
System Layouts for Project Documentation (Page1510)
How to Change an Existing Print Job (Page1452)
Project Documentation in the Component List Editor (Page1468)
Project Documentation in the OS Project Editor (Page1467)
Project Documentation in Lifebeat Monitoring (Page1467)
Project Documentation in the Picture Tree Manager (Page1466)
Project Documentation in the Audio Alarm Editor (Page1465)
Project Documentation in the Time Synchronization Editor (Page1464)
Project Documentation in the User Administrator (Page1463)
Project Documentation in the Text Library (Page1462)
Project Documentation in Global Script (Page1460)
Project Documentation in Tag Logging (Page1459)
Project Documentation in Alarm Logging (Page1457)
Project Documentation in the Graphics Designer (Page1455)
Project Documentation in the WinCC Explorer (Page1454)
7.6.3
Introduction
You can open project documentation reports in a preview. This enables you to check that the
report meets your requirements before you print it.
Procedure
1. In WinCC Explorer, open the desired WinCC component via the menu bar or the pop-up
menu in the navigation window.
2. In the component you have started, choose the View Project Documentation command
from the File menu. The preview is opened.
Alternative Operation
1. Select the Report Designer entry in the navigation window of WinCC Explorer. The Layouts
and Print Job entries are displayed.
2. Double-click the Print Jobs entry in the file window. All existing print jobs are displayed in
the file window.
3. Open the pop-up menu of the desired print job, and choose the Preview Print Job command.
The preview is opened.
1448
See also
Project Documentation in the Text Library (Page1462)
System Layouts for Project Documentation (Page1510)
Project Documentation in the Component List Editor (Page1468)
Project Documentation in the OS Project Editor (Page1467)
Project Documentation in Lifebeat Monitoring (Page1467)
Project Documentation in the Picture Tree Manager (Page1466)
Project Documentation in the Audio Alarm Editor (Page1465)
Project Documentation in the Time Synchronization Editor (Page1464)
Project Documentation in the User Administrator (Page1463)
Project Documentation in Global Script (Page1460)
Project Documentation in Tag Logging (Page1459)
Project Documentation in Alarm Logging (Page1457)
Project Documentation in the Graphics Designer (Page1455)
Project Documentation in the WinCC Explorer (Page1454)
1449
7.6.4
Introduction
In order to output a report to a printer or a file, the page layout used must be associated with
a print job. The options for output are specified in the print job.
Requirements
You must have specified a page layout that can output the desired data. This can be a
predefined WinCC layout or a layout you have created or edited yourself in which the desired
objects are integrated for data output.
Procedure
1. Select the Report Designer entry in the navigation window of WinCC Explorer. The
"Layouts" and "Print Job" entries are displayed in the data window.
2. Select the Print Jobs entry. Choose the New Print Job command from the pop-up menu of
the print job. A new print job called "Print Job001" is created. The number in the print job
name is incremented each time a new print job is created. After the print job is created, all
existing print jobs are displayed in the data window.
1450
Description
Layout is language-dependent.
Layout files exist in all runtime languages. No language-neutral layout file exists.
Layout is language-dependent.
Layout files do not exist in all runtime languages. You can use the layout. If you change
to a runtime language, for which there is no layout file available, the English layout file
is used.
The layout is language-neutral. In Runtime, the language-neutral layout is always
printed, regardless of whether there are also language-specific layout files for the
selected layout.
1. Change to the "Printer Setup" tab, and select output to a printer or a file. It is also possible
to select both output types at the same time.
2. If you select output to a file, you have to specify a folder name in the Location text box. The
folder PRT_OUT is created in the project path of the WinCC project. A folder with the name
you entered is created in this folder, and a creation date and time are added to the folder
name. When output is started, the report is saved in this folder page by page in the form
of emf files.
3. Click the OK button to apply the settings.
4. Select the print job in the file window, and use the pop-up menu to start output.
Note
If you select output to a file, the data is saved in the form of EMF files. A documentation viewer
is provided for these files with the WinCC Smart Tools.
Output options
On the Selection tab you can specify under Page Range whether you want to output all or only
some of the pages.
1451
7.6.5
Introduction
The layouts provided with WinCC are already associated with print jobs. The print jobs have
basic settings. The output options of these print jobs can be changed.
If a print job is renamed, the original print job is overwritten. Changes therefore cannot be
undone. A print job cannot be copied. It is therefore advisable to create a new print job to
prevent any unwanted changes being made to a system print job.
1452
Procedure
1. Select the Report Designer entry in the navigation window of WinCC Explorer. The Layouts
and Print Jobs entries are displayed in the data window.
2. Double-click the "Print Job" entry in the data window. All existing print jobs are displayed
in the data window. Choose the Properties command from the pop-up menu of the desired
print job. The Print Job Properties dialog is displayed.
3. In the Name text box you can change the name of the print job. When you click OK to apply
the change, the print job is renamed and the previous name overwritten.
4. On the General tab, select the desired layout under Layout by using the selection dialog.
5. Change to the Printer Setup tab, and select output to a printer or a file. It is also possible
to select both output types at the same time.
6. If you select output to a file, you have to specify a folder name in the Location text box. The
folder PRT_OUT is created in the project path of the WinCC project. A folder with the name
you entered is created in this folder, and a creation date and time are added to the folder
name. When output is started, the report is saved in this folder page by page in the form
of emf files.
7. Click the OK button to apply the settings.
8. Select the print job in the file window, and use the pop-up menu to start output.
To change the print job properties for project documentation, you can use the File/Project
Documentation Setup... command in the editor to call the integrated print job directly.
Note
If you select output to a file, the data is saved in the form of EMF files. A documentation viewer
is provided for these files with the WinCC Smart Tools.
Output options
On the Selection tab you can specify under Page Range whether you want to output all or only
some of the pages.
On the Printer Setup tab you can specify a number of printers for output. If the first printer
cannot be reached, the second printer is used. If this cannot be reached either, the third printer
is used.
1453
7.6.6
Introduction
WinCC Explorer is prepared for project documentation. The following commands are available
in the File menu for this purpose:
Print Project Documentation
View Project Documentation
Project Documentation Setup...
Output options
Function
Computer
Tags
Selection of tags
Selection of tag groups
Selection of tag
parameters
Format
Connections
Selection of connections in a
selection dialog.
Layout used
Objects Contained
@mcpcs.RPL
See also
How to Output Project Documentation (Page1446)
1454
7.6.7
Introduction
Graphics Designer is prepared for project documentation. The following commands are
available in the File menu for this purpose:
Print Project Documentation
View Project Documentation
Project Documentation Setup...
The print jobs for project documentation can be started from the menu of the WinCC component
or directly in WinCC Explorer. However, there is an important difference to note in the case of
Graphics Designer project documentation. When a print job is started in Graphics Designer,
the data of the open picture are output. If the print job is started in WinCC Explorer, the data
of all Graphics Designer pictures in the project are output. This applies to all documentable
parameters of Graphics Designer pictures.
Output options
Function
Info
Trigger description
Source text
Output options
Function
General display
Selecting Elements:
All available elements
The selected element
Picture statistics
1455
Output options
Function
Attributes
Selection of attributes
Selection of table data
Embedded objects
Object selection
Actions
Trigger
Object selection
Selection of actions
Source text
Selection of actions
Direct connections
Selecting Elements:
All available elements
The selected element
Object
Output options
Function
Object statistics
Object selection
Selection of statistics on the
object
Attributes
Object selection
Selection of attributes
Selection of table data
Actions
Object selection
Selection of actions
Trigger
Object selection
Selection of actions
Source text
Object selection
Selection of actions
Direct connection
Object selection
1456
Layout used
Objects contained
@Documentation Graphics
Designer Dynamics
@PDLPicDyn.RPL
@Documentation Graphics
Designer Overview
@PDLPicOvr.RPL
@Documentation Graphics
Designer
@PDLPic.RPL
See also
How to Output Project Documentation (Page1446)
7.6.8
Introduction
The Alarm Logging editor is prepared for project documentation. The following commands are
available in the File menu for this purpose:
Print Project Documentation
View Project Documentation
Project Documentation Setup...
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1457
Output options
Function
Message classes -
Archives
Output options
Function
System Blocks
Process value
blocks
Output options
Function
Message
class
User-defined
1458
Print job
Layout used
Objects contained
@Documentation Alarm
Logging
@AlgCS.RPL
See also
How to Output Project Documentation (Page1446)
7.6.9
Introduction
The Tag Logging editor is prepared for project documentation. The following commands are
available in the File menu for this purpose:
Print Project Documentation
View Project Documentation
Project Documentation - Setup...
Output options
Function
Timers
Output options
Function
Archive names
Process value
archive data
Compressed archive
Archive names
Process value
archive data
Tag
Tag data
Compressed archive
tag
Tag
Tag data
1459
Layout used
Objects contained
@Documentation Tag
Logging
@tlgcs.RPL
See also
How to Output Project Documentation (Page1446)
7.6.10
Introduction
There are two editors available in Global Script, the C editor and the VBS editor. Both of these
editors are prepared for project documentation. If you open an action, a function, or a module
in one of these editors, the following commands are available to you in the File menu of the
editor:
Print Project Documentation
View Project Documentation
Project Documentation - Setup...
The output applies to the open function, action, or module.
Documentation of all actions, project functions, and standard functions can be output by means
of three of the print jobs listed below. The output is started in WinCC Explorer.
The same predefined layouts are used to output the project documentation in the C editor and
the VBS editor. The identifier Language: C Script or Language: VB Script is output in the
information box at output. This indicates which of the two editors the documentation comes
from.
Note
The documentation of all actions, functions, and modules can be very extensive. To check
the number of pages, open the print preview of the print job, and check the page number
there (format: page 1 of x).
1460
Output options
Function
Info
Trigger description
Source text
Layout used
Objects contained
@GSC_RPFC.RPL
@GSC_RSFC.RPL
@GSC_ACT.RPL
@GSC_PFC.RPL
@GSC_SFC.RPL
1461
See also
How to Output Project Documentation (Page1446)
7.6.11
Introduction
The Text Library is prepared for project documentation. The following commands are available
in the File menu for this purpose:
Print Project Documentation
View Project Documentation
Project Documentation - Setup...
Output options
Function
General data
Text table
Layout used
Objects contained
@Documentation Text @Textlibrary.RPL General data and text table. The texts of the different
Library
languages are output line by line one after the other.
1462
See also
How to Output Project Documentation (Page1446)
7.6.12
Introduction
The User Administrator editor is prepared for project documentation. The following commands
are available in the File menu for this purpose:
Print Project Documentation
View Project Documentation
Project Documentation - Setup...
Output options
Function
Groups
functions
Serves to output the texts from the configured functions from the User
Administrator.
Layout used
Objects contained
@UACS.RPL
See also
How to Output Project Documentation (Page1446)
1463
7.6.13
Introduction
The Time Synchronization editor is prepared for project documentation. The following buttons
are available in the editor's dialog:
Printing
Preview
Setup
Output options
Function
Devices
General
Layout used
Objects contained
@Documentation Time
Synchronization
@TimeSync(landscape).R
PL
See also
How to Output Project Documentation (Page1446)
1464
7.6.14
Introduction
The audio alarm editor is prepared for project documentation. The following buttons are
available in the editor's dialog:
Project documentation
Printing
Preview
Setup...
Output options
Function
HornTags
General settings
Horn signals
Layout used
Objects contained
@Documentation
Horn
@Horn(landscape).RP
L
See also
How to Output Project Documentation (Page1446)
1465
7.6.15
Introduction
The Picture Tree Manager is prepared for project documentation. The following commands
are available in the File menu for this purpose:
Print Project Documentation Hierarchy
View Project Documentation Hierarchy
Setup Project Documentation Hierarchy...
Print Project Documentation Group display
View Project Documentation Group Display
Project Documentation Group Display Setup...
Output options
Function
PTN table
Layout used
Objects contained
@ptmcs.RPL
@SCollect.RPL
See also
How to Output Project Documentation (Page1446)
1466
7.6.16
Introduction
The Lifebeat Monitoring editor is prepared for project documentation. The following commands
are available on the File menu for this purpose:
Printing
View
Printer Setup...
Output options
Function
Lifebeat
Monitoring
table
Layout used
Objects contained
@lbmcs.RPL
7.6.17
Introduction
The OS Project Editor is prepared for project documentation. The following buttons are
available for it on the General tab:
Printing
View
Printer Setup...
1467
Output options
Function
ProjectEditor table
TopField table
TopfieldConfig2
table
TopfieldConfig3
table
AlarmConfig table
Serves to output the settings for the display of the small alarm
window.
AreaButton table
HiddenArea table
RestData table
Layout used
Objects contained
@Documentation OS
Projecteditor
@Projecteditor.RP
L
7.6.18
Introduction
The Component List Editor is prepared for project documentation. The following commands
are available in the File menu for this purpose:
Project Documentation Setup...
View Project Documentation
Print Project Documentation
1468
Output options
Function
Attribute table
Measuring
point table
Layout used
Objects contained
@Documentation LTO
Component List
@LTO
Bausteinliste(landscape).RPL
7.7
Runtime Documentation
7.7.1
Introduction
A number of options are available for logging Runtime data in WinCC. The WinCC control for
displaying Runtime data have an interface for the output of the reports of the Runtime data.
You can also output Runtime data outside of the WinCC controls.
Overview
The following WinCC controls have a configurable interface for the log output:
WinCC OnlineTableControl
WinCC OnlineTrendControl
WinCC FunctionTrendControl
WinCC RulerControl
1469
1470
Report object
Function
Table
The entire contents of the table of the control is output in the table. Output of the
report object depends on the display of the control in Runtime and must be initiated
using the button in the control. You cannot dynamize report parameters. The report
object is not available for the WinCC OnlineTrendControl and WinCC
FunctionTrendControl.
Text
In addition to the "Table" and "Picture" report objects, you can use report object "Text"
to output the window caption, the name and the picture name of the control.
Picture
The current control display is output in the picture. Output of the report object
depends on the display of the control in Runtime and must be initiated using the
button in the control. You cannot dynamize report parameters.
Function
Table
The table contains the contents of the tags from the process value archives and
compressed archives. You configure the static and dynamic parameters of the
control for the output in Reports Designer.
Function
Picture
The picture outputs the the content of the tags of process value archives and
compressed archives in trend format. Configure the output of static and dynamic
parameters of the controls in the Reports Designer.
Function
Picture
The picture shows the process values as a function of another tag from process value
archives, compressed archives or user archives in trend format. You configure the
static and dynamic parameters of the control for the output in Reports Designer.
Function
Table
The table is used for the output of message lists. In contrast to the "message report"
and "archive report" report objects, all message lists can be accessed. You configure
the static and dynamic parameters of the control for the output in Reports Designer.
Function
Table
1471
Function
Message Report
The message report outputs all messages in the current message list in Alarm
Logging.
Archive report
The archive log serves to output messages that are stored in the message archive.
Function
CSV provider
table
The CSV provider table logs data from a file in CSV format. The data is output in
tabular form.
CSV provider
trend
The CSV provider trend logs data from a file in CSV format. The data is output in
the form of a trend.
Function
Serves to output data from a field of a data source by means of ODBC. The
data is output as text.
ODBC database table Serves to output data from a table of a data source by means of ODBC. The
data is output in tabular form.
Function
COM server
The COM server object allows you to integrate your own COM object in WinCC and
log the data from this object. The COM object can be of the type text, table, or picture.
1472
Report object
Function
Hard copy
Serves to output the current contents of the screen, a subarea of it, or a currently
selected picture window.
See also
How to Create Layouts for Runtime Documentation (Page1473)
How to Create Reports in Line Layout (Page1435)
How to Set Up Reports in the Page Layout (Page1433)
7.7.2
Introduction
For Runtime documentation, new layouts have to be created or predefined layouts adapted to
suit the project before they are used. You specify in the layout which data are to be logged in
Runtime. You configure the output format and specify whether the output can be changed
before printing is started.
We recommend saving an existing layout with a new name first and only then editing the layout.
If you do this, you can always fall back on the layouts provided with WinCC if you need to.
The system layouts and system print jobs provided with WinCC are used by the WinCC
components when logging is started. For this reason, you can neither delete nor rename
system layouts and system print jobs. Changes to the dynamic part of system layouts affect
logging in Runtime. The system layouts can be identified by the prefix "@" in the layout name.
Editing a Layout
1. Select the Report Designer entry in the navigation window of WinCC Explorer. The Layouts
and Print Job entries are displayed.
2. Double-click the "Layouts" entry in the file window. All existing layouts are displayed in the
file window.
3. Select the layout according to the desired output. Double-click to use the pop-up menu to
open the layout. The page layout editor is opened to allow you to edit the layout. You find
a list of the layouts provided for Runtime documentation in the appendix.
4. Select the first report object in the open layout and open the object properties dialog by
double-clicking it or using the pop-up menu.
1473
Alternative Procedure
You can also create new layouts for Runtime documentation and use them for logging. A new
layout must be associated with a print job for output. You can use an existing print job or create
a new one. The system print jobs provided are used for the log functions integrated in WinCC.
It is thus only worthwhile using a system print job if you want to use a user-defined layout
instead of the system layout set there.
See also
System Layouts and Print Jobs for Runtime Documentation (Page1513)
How to create print jobs for the Runtime documentation (Page1474)
How to Change Output Options in Runtime (Page1476)
Changing Predefined Layouts (Page1554)
7.7.3
Introduction
Predefined print jobs are provided with WinCC for logging Runtime data. These system print
jobs are used by various WinCC components for Runtime documentation. The system print
jobs can therefore be neither deleted nor renamed. When you use system print jobs for Runtime
documentation, you can specify output options, how much is to be printed, and the layout to
be used. Additional information can be found in the chapter "Print Jobs in WinCC".
1474
Procedure
1. Select the Report Designer entry in the navigation window of WinCC Explorer. The Layouts
and Print Jobs entries are displayed.
2. Double-click the Print Jobs entry in the data window. All existing print jobs are displayed in
the data window. Choose the Properties command from the pop-up menu of the desired
print job. The Print Job Properties dialog is displayed. You find a list of the print jobs provided
for Runtime documentation in the appendix.
3. Use the three tabs in the dialog to set the parameters of the print job. Additional information
can be found in the chapter "Print Jobs in WinCC".
4. To create a new print job, select the Print Jobs entry in the navigation window of WinCC
Explorer, and choose the New Print Job command from the pop-up menu. A new print job
is created with a consecutive number in its name. To assign parameters, proceed as
described above.
1475
See also
Reporting Messages in Runtime (Page1484)
Print Jobs in WinCC (Page1436)
System Layouts and Print Jobs for Runtime Documentation (Page1513)
Reporting Data from Other Data Sources (Page1492)
Reporting Process Values in Runtime (Page1490)
How to Change Output Options in Runtime (Page1476)
How to Output Online Data with Message Sequence Report (Page1486)
7.7.4
Introduction
To make Runtime documentation more flexible, a number of log parameters can be dynamized.
This allows you to change log output in Runtime. There are two different ways to change these
log parameters.
When configuring a layout for Runtime documentation, the parameters can be
interconnected with WinCC tags for report objects of controls created in a version older
than WinCC V7. For a print order, the parameters that can be dynamized are provided with
the current values of the WinCC tag during runtime. Values are supplied to the WinCC tags
by means of appropriate configuration (e.g. by means of input/output fields in a WinCC
picture, configurable options with fixed, stored values, or process-controlled actions, or they
are supplied by other WinCC applications). An overview of the Runtime documentation
parameters that can be dynamized is included in chapter Dynamizable Parameters for
Runtime Documentation.
During configuration of a print job, you can set a parameter dialog in the Dialog field. When
the print job starts, a dialog listing the dynamic log elements is displayed. The log elements
are displayed with all dynamizable parameters. If you double-click a parameter, the
corresponding configuration dialog is displayed. The settings for the current output can be
changed in the input fields of the configuration dialog. Any WinCC tags which were
configured in a configuration dialog for report objects of a control created in a version older
than WinCC V7 are read. The values are entered in the corresponding fields of the static
parameters. The tag fields themselves are deactivated and cannot be changed in Runtime.
The printer for output can be changed in Runtime by means of the Printer Setup option.
During configuration of a print job, you can select the Printer Setup dialog in the Dialog field.
When the print job starts, a dialog is displayed in which you can select the printer for output.
1476
Assigning dynamic properties to report parameters of report objects for WinCC Controls created in a
version older than WinCC V7
Apart from the static parameterization by means of the tabs of the WinCC Controls, you have
the option to dynamize a number of object properties of the WinCC Controls.
1. Open the desired layout in the page layout editor and call the object properties dialog of
the log object.
2. In the Object Properties dialog, select the Connect tab and then the log object in the left
section of the tab. The list of things you can do is displayed on the right.
3. Double-click to open the Dynamizable Parameters configuration dialog. The object
properties that can be dynamized are shown in the parameter list.
4. In the list of properties, select the parameter you want to dynamize.
5. Click the tag selection symbol on the upper right side. The tag selection dialog is displayed.
6. Select the desired tag, or create a new tag. Edit the properties of the tag in the tag selection
dialog. If necessary, specify a start value for the tag.
7. Apply the settings by clicking OK and save the layout.
8. Before the log is started in Runtime, the WinCC tag must be supplied with values.
1477
5. The Printer Setup button allows you to change the selected printer.
6. The Delete button allows you to delete a selection. To do this, select the log object and
click the Delete button.
7. Once the selection is made, you can start the log.
1478
See also
System Layouts and Print Jobs for Runtime Documentation (Page1513)
Reporting Data from Other Data Sources (Page1492)
Dynamizable Parameters for Runtime Documentation (Page1479)
How to Configure the Dynamic Parameters of WinCC Online Table Control (Page1638)
How to Configure the Dynamic Parameters of the WinCC Online Trend Control (Page1643)
Configuring the dynamic parameters of the WinCC Function Trend Control (Page1647)
How to Configure the Dynamic Parameters of WinCC Alarm Control (Page1651)
How to Change the Output Options for Message Reports from Alarm Logging Runtime
(Page1654)
How to Change the Output Options for User Archive Tables (Page1658)
7.7.5
Introduction
To make Runtime documentation more flexible, a number of report object parameters can be
dynamized. The tables below show the parameters that can be dynamized.
Parameters of report objects for WinCC Controls created in a version older than WinCC V7 which
support dynamization
WinCC Alarm Control
Dynamizable Parameters
Explanation
MsgFilterSQL
ServerNames
TimeBase
Explanation
Archives
BackColor
1479
Explanation
BeginTime
Color
CommonTime
EndTime
End time of the column time range The "Time range" checkbox
in the "Column" tab must be deactivated. The value depends on
TimeAxisX.
ItemVisible
Hide/show column
Name
Precisions
TimeColumnAlignment
TimeFormat
TimeRangeBase
TimeRangeFactor
TimeZone
ValueColumnAlignment
Variable
1480
Explanation
BackColor
BeginTime
BeginValue
Color
CommonX
CommonY
CurveForm
EndTime
Explanation
EndValue
GraphDirection
ItemVisible
Hide/show trend
LineWidth
MeasurePoints
The number of measuring points that are output since start time.
The "Time range" checkbox in the "Time Axis" tab must be
unchecked.
Relay Curves
TagName
TimeRangeBase
TimeRangeFactor
TimeZone
Explanation
AutorangeX
AutorangeY
BackColor
BeginX
BeginY
Color
CommonX
CommonY
CurveForm
DesiredCurveColor
DesiredCurveCurveForm
DesiredCurveSourceNumberOfUAValues
DesiredCurveSourceUAArchive
1481
Explanation
DesiredCurveSourceUAArchiveStartID
DesiredCurveSourceUAColumnX
DesiredCurveSourceUAColumnY
DesiredCurveVisible
EndX
EndY
GraphDirection
ItemVisible
Hide/show trend
LabelX
LabelY
Name
Name of a trend
Relay Curves
SourceBeginTime
SourceEndTime
SourceNumberOfUAValues
SourceNumberOfValues
SourceTagNameX
SourceTagNameY
SourceUAArchive
SourceUAArchiveStartID
SourceUAColumnX
SourceUAColumnY
TimeAxisX
TimeZone
1482
Explanation
Filter
Sort
TimeZone
Dynamizable Parameters
Message reports
Selected servers
Filter criterion for alarm output
Hard copy
Range selection
Size and position of a subarea
See also
How to Configure the Dynamic Parameters of WinCC Online Table Control (Page1638)
How to Configure the Dynamic Parameters of the WinCC Online Trend Control (Page1643)
Configuring the dynamic parameters of the WinCC Function Trend Control (Page1647)
How to Configure the Dynamic Parameters of WinCC Alarm Control (Page1651)
1483
7.7.6
7.7.6.1
Overview
You can log all messages occurring in the system using the WinCC reporting system. The
following options are available:
Output of Runtime data from the message lists.
Output of a message sequence report.
You print the messages from the message lists directly via a configurable interface in the
WinCC AlarmControl. The messages from the archive lists are output in accordance with the
selection configured in the WinCC Alarm Control.
To output messages, you have to do the following things:
Configure the button in the WinCC AlarmControl for starting the report in Runtime.
Select "Alarm Logging Runtime" and "Graphics Runtime" in the startup list of the WinCC
project.
Select the project, and start the log.
You have the option of logging messages with a selection independent of the WinCC
AlarmControl. The report system provides layouts, in which you can determine parameters
that can be made dynamic. For more information, please read , and .
See also
How to Create a User-Defined Message Sequence Report (Page1489)
How to Output Online Data with Message Sequence Report (Page1486)
How to Output Runtime Data from the Message Lists (Page1485)
How to Configure the Static Parameters of WinCC Alarm Control (Page1649)
How to Configure the Dynamic Parameters of WinCC Alarm Control (Page1651)
1484
7.7.6.2
Introduction
In WinCC AlarmControl, you configure a button for the report call for the output of the messages
from the message lists. In Runtime, you must activate the desired message list in AlarmControl
and press the "Print" button. You determine how the data is output using the print job in
AlarmControl.
Overview
When messages from the message archive lists are output, you must select the messages
(e.g. all messages of the last shift) before outputting the report. When outputting a report
without selection of messages, the scope of the output can be too great and the system can
become overloaded.
For the output of the messages, the "@Alarm Control - Picture.RPL" or "@ Alarm Control Table.RPL" system layouts are provided with the WinCC V7 AlarmControl. If you want to output
the messages from the message archive outside of the WinCC AlarmControl, use the
"@CCAlarmCtrl-CP.RPL" system layout.
However, you can create a new layout to configure desired settings (e.g. landscape format,
other aspects of the layout). In this case, you must link the print job to the layout.
Further information on the layouts and print jobs of the WinCC AlarmControl can be found
under System Layouts and Print Jobs for Runtime Documentation (Page1513).
Procedure
1. Open the WinCC picture with the WinCC AlarmControl in Graphics Designer.
2. Double-click the control to open the properties dialog.
3. Go to the "Toolbar" tab and activate the "Print" button function.
4. Go to the "General" tab. A print job is set for output in the "View current print job" field. If
you want to use a different print job, select the desired print job using the
button.
5. Confirm the setting with "OK". Save and close the WinCC picture.
6. Select the "Graphics Runtime" and "Alarm Logging Runtime" options in the computer's
startup list.
7. Activate the project.
8. Click the "Print" button in the WinCC AlarmControl for the print output. The current view or
the full contents of the selected message list of the WinCC AlarmControl is output on the
printer set in the print job.
Note
When the application starts log output, the system print jobs are used. For this reason
neither system layouts nor system print jobs can be deleted or renamed.
1485
See also
System Layouts and Print Jobs for Runtime Documentation (Page1513)
Reporting Data from Other Data Sources (Page1492)
Reporting Process Values in Runtime (Page1490)
How to Change Output Options in Runtime (Page1476)
7.7.6.3
Introduction
The message sequence report allows you to output a chronological list of all messages that
occur in a project. It is generally output on a line printer. The messages are output in the order
in which they occur.
If a line printer is used for output, it must be connected locally to the logging computer. The
Line layout for Line Printer check box in the print job must be selected. However, the message
sequence report can also be output in a page layout.
The printer does not have to be connected locally to the logging computer in order to output
the report with a page layout. A message sequence report in a page layout can also be output
on a network printer. Upon output in page layout, the printout is generated when incoming
messages have filled a page or if you initiate the printout of the page by clicking the operation
button.
1486
Print job
Layout
Remarks
@CCAlgRtSequence.R
P1
1487
See also
Defining a Printer (Page1442)
System Layouts and Print Jobs for Runtime Documentation (Page1513)
Reporting Data from Other Data Sources (Page1492)
Reporting Process Values in Runtime (Page1490)
How to create print jobs for the Runtime documentation (Page1474)
1488
7.7.6.4
Introduction
To create a user-defined message sequence report, you can create a new line layout or page
layout or save an existing layout with a new name and edit it. Always use the @Report Alarm
Logging RT Message Sequence print job to output the message sequence report.
1489
See also
Print Jobs in WinCC (Page1436)
How to Output Online Data with Message Sequence Report (Page1486)
System Layouts and Print Jobs for Runtime Documentation (Page1513)
Reporting Data from Other Data Sources (Page1492)
Reporting Process Values in Runtime (Page1490)
7.7.7
Introduction
You can output process values from the Logging tag using the WinCC report system. The
following options are available:
Output of process values in table form from process value archives and compressed
archives via the WinCC OnlineTableControl.
Output of process values in trend curve form from process value archives and compressed
archives via the WinCC OnlineTrendControl.
Output of process values in trend curve form as a function of another tag from process
value archives, compressed archives and user archives via the WinCC
FunctionTrendControl.
The data can be output directly in the relevant WinCC control using the "Print" button.
Overview
For the output of the data, the new WinCC V7 controls provide new system layouts for each
WinCC control. If you output the process values outside of the WinCC controls and you want
to dynamize the report parameters, continue to use the previous system layouts of the
respective WinCC control.
However, you can create a new layout to configure desired settings (e.g. landscape format,
other aspects of the layout). In this case, you must link the print job to the layout.
Further information on the layouts and print jobs of the controls can be found under .
1490
Procedure
1. Open the WinCC picture with one of the aforementioned WinCC controls in Graphics
Designer.
2. Double-click the control to open the properties dialog.
3. Go to the "Toolbar" tab and activate the "Print" button function.
4. Go to the "General" tab. A print job is set for output in the "View current print job" field. If
you want to use a different print job, select the desired print job using the
button.
5. Confirm the setting with "OK". Save and close the WinCC picture.
6. Select the "Graphics Runtime" and "Tag Logging Runtime" options in the computer's startup
list.
7. Activate the project.
8. Click the "Print" button in the displayed WinCC AlarmControl for the print output. The current
view or the trend curves or the full contents of the table is output on the printer set in the
print job.
Note
When the application starts report output, the system print jobs are used. For this reason
neither system layouts nor system print jobs can be deleted or renamed.
See also
How to Output Data from User Archives (Page1491)
How to Configure the Dynamic Parameters of WinCC Online Table Control (Page1638)
How to Configure the Dynamic Parameters of the WinCC Online Trend Control (Page1643)
Configuring the dynamic parameters of the WinCC Function Trend Control (Page1647)
7.7.8
Introduction
You authorize output of the table of the Win CC UserArchiveControl in Runtime using the "Print"
button. You determine how the data is output using the print job in the WinCC control.
Overview
For the output of the data, the "@User Archive Control - Picture.RPL" or "@User Archive
Control - Table.RPL" system layouts are provided with the new WinCC WinCC
UserArchiveControl. If you want to output the data of the user archive outside of the WinCC
UserArchiveControl, use the "User Archive - Runtime" layout in Reports Designer.
However, you can create a new layout to configure desired settings (e.g. landscape format,
other aspects of the layout). In this case, you must link the print job to the layout.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1491
Procedure
1. Open the WinCC picture with the WinCC UserArchiveControl in Graphics Designer.
2. Double-click the control to open the properties dialog.
3. Go to the "Toolbar" tab and activate the "Print" button function.
4. Go to the "General" tab. A print job is set for output in the "View current print job" field. If
you want to use a different print job, select the desired print job using the
button.
5. Confirm the setting with "OK". Save and close the WinCC picture.
6. Select the Graphics Runtime option in the computer's startup list.
7. Activate the project.
8. Click the "Print" button in the WinCC UserArchiveControl for the print output. The current
view or the full contents of the table of the WinCC UserArchiveControl is output on the
printer set in the print job.
Note
When the application starts report output, the system print jobs are used. For this reason
neither system layouts nor system print jobs can be deleted or renamed.
See also
Reporting Data from Other Data Sources (Page1492)
System Layouts and Print Jobs for Runtime Documentation (Page1513)
Reporting Messages in Runtime (Page1484)
7.7.9
7.7.9.1
Overview
The WinCC reporting system also allows you to log data that do not come from a WinCC
project. There are various log objects available for integrating this kind of data in a WinCC log.
In addition, WinCC provides a hard copy log object, by means of which the screen or a section
of the screen showing the current Runtime status can be output in a report.
The following log objects are available for output:
1492
Detailed knowledge is required in order to configure these logs. Creating a COM server, in
particular, requires appropriate background knowledge. Information on database accesses by
means of ODBC, COM servers, and CSV files is not provided here. You find more information
on these subjects in the relevant technical literature.
See also
How to Output Data from a COM Server in a Report (Page1509)
How to Output a Hard Copy by Means of a Log Object (Page1501)
How to Output Data from a CSV Table in a Log (Page1495)
How to Output Data from an ODBC Database in a Report (Page1493)
7.7.9.2
Introduction
Special log objects are provided in the reporting system for integrating data from user-specific
data sources. It is possible to use two of these log objects to access data sources by means
of ODBC and to output the data that is read out in a WinCC log. These report objects allow for
access to these data and output in a WinCC log. This gives the reports and logs uniformity,
even if the data do not come from WinCC. If WinCC tags are integrated, the selection of the
data can be dynamized. In other words, the data selection can be changed online before output.
Requirements
Knowledge of how to create layouts and insert log objects
Knowledge of how to access data sources by means of ODBC
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1493
Procedure
1. Create a new page layout, and open it in the page layout editor.
2. In the object palette on the Standard Objects tab, select the log object Database Field or
Database Table, depending on your requirements, and drag it to the required size in the
working area.
3. Open the Object Properties dialog by double-clicking the object, and select the Connect
tab.
4. In the list of possible things to do, double-click Database Link. The Data Connection dialog
is displayed.
5. In the ODBC Data Source area of the selection dialog, select an existing data source, or
enter a data source in the text box.
6. Edit the other text boxes in accordance with the requirements of your data source.
7. Click OK to close the dialog and save the layout.
8. Create a print job, and select the configured page layout there.
9. Start output by means of the print job in WinCC Explorer or by means of a configured call
in a WinCC picture, for example.
Output Options
You can use any SQL statement to select the data. Enter it in the SQL Statement field. You
can use WinCC tags to dynamize the selection of data by means of a SQL statement. For full
dynamization, select the Tag check box, and integrate a tag. You can also dynamize a
substring of the SQL statement. To do this, use the Insert Tag button. Select the tag you require
from the tag selection dialog that is displayed. The tag will be inserted at the current cursor
positionin the text box. The syntax for this is $tagname$.
You can use the Test SQL Statement button to check whether the SQL statement is correct.
Access to the data source is required in order to carry out the test. If there are WinCC tags in
the SQL statement, WinCC must be activated for the test. The result of the test is displayed
in a dialog. If the test is successful, the number of fields is entered automatically for a data
table.
Errors that occur in Runtime are written to a log file.
You find more information in chapters Changing Output Options for the ODBC Database Field
and Changing Output Options for the ODBC Database Table.
CAUTION
The SQL statements are not subject to any constraints. If you do the wrong thing, it is possible
to destroy or delete the data source.
1494
7.7.9.3
Introduction
Two log objects are provided in the reporting system for the integration of data in CSV format.
These report objects allow for access to these data and output in a WinCC log. This gives the
reports and logs uniformity, even if the data do not come from WinCC. If WinCC tags are
integrated, the selection of the data can be dynamized. In other words, the data selection can
be changed in Runtime before output.
Serves to output data from a file in CSV format. The data is output in
tabular form.
Serves to output data from a file in CSV format. The data is output in the
form of a trend.
Requirements
Knowledge of how to create layouts and insert log objects
Knowledge of the structure of CSV tables.
If WinCC tags are used for dynamization, the WinCC project must be activated for testing
and output.
Procedure
1. Create a new page layout, and open it in the page layout editor.
2. In the object palette on the Runtime Documentation tab, select the log object CSV-Provider
Table or CSV-Provider Trend, depending on your requirements, and drag it to the desired
size in the working area.
3. Open the Object Properties dialog by double-clicking the object, and select the Connect
tab.
4. In the list of possible things to do, select CSV Table Selection or CSV Trend Selection. A
dialog is displayed in which you can select the data source.
5. In CSV File Name area of the selection dialog, select an existing data source, or enter a
data source in the text box.
6. Click OK to close the dialog and save the layout.
7. Create a print job, and select the configured page layout there.
8. Start output by means of the print job in WinCC Explorer or by means of a configured call
in a WinCC picture, for example.
1495
See also
Requirements to be Met by a CSV File for Reporting (Page1498)
Example of the Output of CSV Files in a Report (Page1496)
7.7.9.4
Introduction
To illustrate the output of CSV files in a WinCC log, an example is provided of output in tabular
form, and another is provided of output in the form of a trend. The notation must be rigorously
adhered to. If the CSV file is created using a spreadsheet program, please check the notation
before outputting it for the first time. To this end, open the CSV file in a text editor and check
the contents. You find more information on this in chapters How to Output Data from a CSV
Table in a Log and Requirements to Be Met by a CSV File for Logging.
Procedure
1. Create a CSV file in which the data are stored as in the examples described below.
2. Configure a page layout for the output. Proceed in the same way as for configuration
described in chapter How to Output Data from a CSV Table in a Log.
3. Create a print job, and associate it with the page layout. Proceed in the same way as for
configuration described in chapter Creating Print Jobs for Runtime Documentation.
4. Start the print job. The log is output.
5. Delete the CSV file after output.
1496
Output file
1497
Output file
See also
Requirements to be Met by a CSV File for Reporting (Page1498)
How to Output Data from a CSV Table in a Log (Page1495)
7.7.9.5
Introduction
To permit the data from a CSV file to be output in a WinCC log, the data must correspond to
a set structure. The data in a CSV file are prepared by the user. You find more information in
chapters How to Output Data from a CSV Table in a Log and Example of the Output of CSV
Files in a Report.
1498
1499
<COLOR=#rrggbb>
<BGCOLOR=#rrggbb Background color in hexadecimal notation (default = as set for the table)
>
<B>
Bold
<U>
Underlined
<I>
Italic
<STRIKE>
Strike-through
<ALIGN=left>
Left aligned
<ALIGN=center>
Centered
<ALIGN=right>
Right aligned
Note
The definition of the Color attribute conforms to the Intel byte format. The notation is 0xbbggrr
(hex blue blue green green red red). The control characters for formatting the table cells
conform to the HTML standard. The notation for <color=> is #rrggbb.
Each section must begin with the name of the corresponding file structure, followed by one or
more lines containing the elements of the file structure. The following file structures are defined:
1500
7.7.9.6
Introduction
For outputting a hard copy in a log, the page layout editor provides the Hardcopy log object.
This log object allows you to create a hard copy of the entire screen, a section of the screen,
or the current window. In contrast to output by means of a key combination, this can be output
in a defined page layout. It is also possible to insert the log object in a different log and output
it together with other data.
Requirements
Knowledge of how to create layouts and insert log objects
If WinCC tags are used for dynamization, the WinCC project must be activated for testing
and output.
1501
Output Options
The selection of the area and the position and size specifications can also be dynamized by
means of WinCC tags. To do this, select the relevant Tag check box, and use the folder button
to select a tag from the Tag Selection dialog. If you know the tag name, you can enter it directly
instead.
You configure tag supply in Graphics Designer.
See also
How to Output a Hard Copy by Means of a Key Combination (Page1502)
How to Change Output Options in Runtime (Page1476)
7.7.9.7
Introduction
In WinCC Explorer you can use the project properties to specify a key combination for
outputting a hard copy. It is possible to create a hard copy of the entire screen, a section of
the screen, or the current window. For this purpose, command-line parameters have to be
transferred to the executing application PrintScreen. In contrast to output of a hard copy via a
log object, output via PrintScreen is directly to the default printer. A defined page layout is not
used. Output can be started in two ways:
1. By means of a configured key combination in the project properties
2. By starting the PrintScreen application in the computer's startup list
In the startup list you can pass parameters for output. The parameters are taken into account
in both of the above ways of starting output. If a hot key has been configured both in the project
1502
3. Click in the text box below the Assign button, and enter the key combination. The key
combination is displayed in the text box.
4. Apply the setting by clicking the Assign button, and close the dialog.
5. The hard copy is output by entering the specified key combination.
1503
4. Click the Browse... button, and navigate to the bin folder in the WinCC installation directory.
Select the PrtScr.exe application, and click Open.
5. Enter the desired parameters in the Parameters field.
6. The Working Directory and Window at Open fields are not required for PrintScreen.
7. Confirm your entries with "OK."
The PrintScreen application can also be called by means of a script. The parameters for output
also apply when a script is used.
See also
Output Parameters for Hard Copy (Page1504)
How to Output a Hard Copy by Means of a Log Object (Page1501)
7.7.9.8
Introduction
When you output a hard copy by means of a key combination or a WinCC Script, you can pass
parameters for the output. If the output is to be started by means of a key combination, this
does not have to be specified in the project properties. The key combination can also be passed
as a parameter.
-end
1504
The PrtScr.exe application is started and waits for the key combination
for the printout to be pressed. In this case, the key combination must be
specified in the project properties.
Terminates a current instance of PrtScr.exe
Starts PrtScr.exe, starts a hard copy immediately, and then waits for the
key combination for the next printout to be pressed.
-nomcp
Starts PrtScr.exe, starts a hard copy immediately, and then terminates
PrtScr.exe.
-C=
Starts PrtScr.exe, immediately starts a hard copy for the specified area,
left;top;right;botto and then terminates PrtScr.exe (the blank after -C= is important!).
m
Example: prtscr.exe -C= 50;50;300;400 (Starting position 50 pixels from
top, 50 pixels from left, End position 300 pixels from right, 400 pixels from
bottom).
-l
Prints the hard copy in landscape format.
-infinit
Serves as a parameter for starting PrtScr.exe on a system without WinCC
(e.g. a Web client). The key combination for the printout and the
parameters for the printout are not obtained from the WinCC project;
instead, they are passed in the command line. The PrtScr.exe application
is started and waits for the key combination for the printout to be pressed.
The parameters are passed once only at startup. If you want to change
the parameters, you have to terminate the PrtScr.exe application and
restart it with the changed parameters.
-SpoolerLevels= a = SpoolerLevelWarning, b= SpoolerLevelStop. Defines the limit value
at which a warning is generated or the print job is rejected, if the required
a,b
spooler capacity is not available. If no parameters is specified, the limit
values are150MB for warnings and 100MB for rejection of print
job.
Example: -SpoolerLevels= 50,30. if the available capacity of the spooler
is less than 50MB, system message 1004006 Spool full is generated. If
less than 30MB are available, the print job is rejected. System message
1004007 No hard copy printed. Spool full is generated.
-hotkey=x
Parameters for specifying the key combination for starting the output. The
following key combinations are permitted:
{<ALT>, <SHIFT>,<CTRL>} + {0-9, A-Z, 0xXX}
The parameters must be entered in upper casing. The keys <ALT>,
<SHIFT> and <CTRL> can be combined with each other, but it is not
essential. By means of the hexadecimal value 0xXX, all virtual key codes
can be expressed for XX. See the table below.
The parameters must be separated by blanks. In addition, a distinction must be drawn between
upper and lower case.
1505
Starting in a Script
PrtScr.exe nomcp
PrtScr.exe C=
10;10;100;100
1506
Value (hexadecimal)
VK_LBUTTON
01
Touch screen
VK_CANCEL
03
Control-break processing
--
05-07
undefined
VK_BACK
08
BACKSPACE key
VK_TAB
09
TAB key
--
0A-0B
undefined
VK_CLEAR
0C
CLEAR key
VK_RETURN
0D
ENTER key
--
0E-0F
undefined
VK_SHIFT
10
SHIFT key
VK_CONTROL
11
CTRL key
VK_MENU
12
ALT key
VK_CAPITAL
14
--
15-19
--
1A
undefined
VK_ESCAPE
1B
ESC key
--
1C-1F
VK_SPACE
20
SPACEBAR key
Value (hexadecimal)
VK_PRIOR
21
PAGE UP key
VK_NEXT
22
VK_END
23
END key
VK_HOME
24
HOME key
VK_LEFT
25
VK_UP
26
UP ARROW key
VK_RIGHT
27
VK_DOWN
28
VK_SELECT
29
SELECT key
--
2A
VK_EXECUTE
2B
EXECUTE key
VK_SNAPSHOT
2C
VK_HELP
2F
HELP key
VK_0
30
0 key
VK_1
31
1 key
VK_2
32
2 key
VK_3
33
3 key
VK_4
34
4 key
VK_5
35
5 key
VK_6
36
6 key
VK_7
37
7 key
VK_8
38
8 key
VK_9
39
9 key
--
3A-40
undefined
VK_A
41
A key
VK_B
42
B key
VK_C
43
C key
VK_D
44
D key
VK_E
45
E key
VK_F
46
F key
VK_G
47
G key
VK_H
48
H key
VK_I
49
I key
VK_J
4A
J key
VK_K
4B
K key
VK_L
4C
L key
VK_M
4D
M key
VK_N
4E
N key
VK_O
4F
O key
VK_P
50
P key
VK_Q
51
Q key
VK_R
52
R key
1507
1508
Value (hexadecimal)
VK_S
53
S key
VK_T
54
T key
VK_U
55
U key
VK_V
56
V key
VK_W
57
W key
VK_X
58
X key
VK_Y
59
Y key
VK_Z
5A
Z key
--
5B-5F
undefined
VK_NUMPAD0
60
VK_NUMPAD1
61
VK_NUMPAD2
62
VK_NUMPAD3
63
VK_NUMPAD4
64
VK_NUMPAD5
65
VK_NUMPAD6
66
VK_NUMPAD7
67
VK_NUMPAD8
68
VK_NUMPAD9
69
VK_MULTIPLY
6A
VK_ADD
6B
VK_SEPARATOR
6C
Separator key
VK_SUBTRACT
6D
VK_DECIMAL
6E
VK_DIVIDE
6F
--
88-8F
unassigned
--
92-B9
unassigned
--
BA-C0
OEM-specific
--
C1-DA
unassigned
--
DB-E4
OEM-specific
--
E5
unassigned
--
E6
OEM-specific
--
E7-E8
unassigned
--
E9-F5
OEM-specific
VK_ATTN
F6
VK_CRSEL
F7
VK_EXSEL
F8
VK_EREOF
F9
VK_PLAY
FA
VK_ZOOM
FB
VK_NONAME
FC
VK_PA1
FD
VK_EM_CLEAR
FE
Value (hexadecimal)
VK_LWIN
5B
VK_RWIN
5C
VK_APPS
5D
VK_LSHIFT
A0
VK_RSHIFT
A1
VK_LCONTROL
A2
VK_RCONTROL
A3
VK_LMENU
A4
VK_RMENU
A5
7.7.9.9
Introduction
To integrate user-specific data in a WinCC log, you can integrate a COM server in the reporting
system. This COM server makes a log object available in the object palette that can be selected
in the page layout editor and inserted in a page layout. The COM object then provides the userspecific data for output in the log. You find more information in section COM Provider in the
Page Layout Editor.
Serves to output data from data sources of the user in a WinCC log.
Requirements
Knowledge of how to create layouts and insert log objects
Procedure
1. Create a new page layout, and open it in the page layout editor.
2. In the object palette on the COM Server tab, select a COM object integrated by the user,
and drag it to the desired size in the working area.
3. The creator of the COM object makes specifications available on the connection and
selection of the data.
4. Configure the COM object in accordance with the specifications made there.
5. Save the layout.
1509
Output Options
You receive information on possible output options from whoever wrote the COM object.
7.8
Appendix
7.8.1
Introduction
WinCC provides you with a number of system layouts that have fixed associations with print
jobs and are used for project documentation.
Layout name
@AlgCS.RPL (P)
@MCPCS.RPL (P)
@GSC_RACT.RPL (P)
@GSC_RPFC.RPL (P)
@GSC_RSFC.RPL (P)
@pdlpic.RPL (P)
1510
Layout name
@pdlpicOvr.RPL (P)
@TlgCS.RPL (P)
@Textlibrary.RPL (P)
@UACS.RPL (P)
@gsc_act.RPL (P)
@gsc_pfc.RPL (P)
@gsc_sfc.RPL (P)
@akt_obj.RPL (P)
@akt_prop.RPL (P)
You can start project documentation in the application or by starting the corresponding print
job in WinCC Explorer.
Print Jobs and Layouts of the WinCC Option Basic Process Control
Name of the Print Job
Layout name
@Documentation Horn
Used for the output of the configuration data of the horn
editor.
@Horn(landscape).RPL (P)
@LBMCS.RPL (P)
@LTOBausteinliste(landscape).RPL (P)
1511
Layout name
@Projecteditor.RPL (P)
@PTMCS.RPL (P)
@SCollect.RPL (P)
@TimeSync(landscape).RPL (P)
1512
Layout name
@gscract.RPL
@gscrpfc.RPL
@gscrsfc.RPL
Layout name
@PDLOBJLT.RPL
@PDLPICLT.RPL
@ptmcs (landscape).RPL
Note
The system print jobs provided with WinCC can be neither deleted nor renamed. These
system print jobs have fixed associations with the applications.
7.8.2
Introduction
WinCC provides you with a number of system layouts that have fixed associations with print
jobs and are used to log Runtime data.
Layout name
@AlarmControl - Picture
@AlarmControl - Table
@FunctionTrendControl - Picture
@OnlineTableControl - Picture
1513
Layout name
@OnlineTableControl - Table
@OnlineTrendControl - Picture
@RulerControl - Picture
@RulerControl - Table
@UserArchiveControl - Picture
@UserArchiveControl - Table
@Report OnlineTableControl-CP
@CCOnlineTableCtrl-CP.RPL
@Report FunctionTrendControl-CP
@CCFunctionTrendCtrlCP.RPL
@Report OnlineTrendControl-Curves-CP
@Report AlarmControl-CP
@CCAlarmCtrl-CP.RPL
@CCAlgRtSequence.RPL
@ALRtUmA.RPL
@ALRtFoA.RPL
@CCAlgRtOnline
Messages.RPL
@CCAlgRtSequence
Archive.RPL
@CCAlgRtShortTerm Archiv
e.RPL
@CCCurveControlContents
(P).RPL
@CCTlgtRtCurves.RPL
@CCTlgRtTables.RPL
1514
Print Jobs and Layouts of the WinCC Option Basic Process Control
Name of the Print Job
Layout name
@CCAlgRtOnlineMessagesNew.RP
L (P)
@CCAlgRtOnlineMessagesOld.RPL
(P)
@CCAlgRtOnlineMessagesGone.R
PL (P)
Output of Hidden
Messages
@CCAlgRtOnlineMessagesHidden.
RPL (P)
@CCAlgRtSequenceArchiveJournal.
RPL (P)
@CCAlgRtSequenceArchiveOperati
on.RPL (P)
@CCAlgRtSequenceArchiveProcess
.RPL (P)
@AssetFaceplate.RPL (P)
Note
The system print jobs provided with WinCC can be neither deleted nor renamed. These
system print jobs have fixed associations with the applications.
7.8.3
Introduction
When the selection criteria are transferred from the selection dialog, the filter criteria for alarm
output are transferred to the Filter Criteria for Alarm Output area. The filter criteria can be edited.
1515
Permissible Arguments:
Name
Type
data
Example:
DATETIME
Date
'YYYY-MM-DD
hh:mm:ss.msmsms'
MSGNR
Integer
Message number
CLASS
IN
AND
TYPE IN
Integer
1516
Type
data
Example:
STATE
Integer
Value of
ALARM_STATE_xx
Only the operands
"=" and "IN(...)" are
permitted
ALARM_STATE_1
ALARM_STATE_2
ALARM_STATE_3
ALARM_STATE_4
ALARM_STATE_5(*)
ALARM_STATE_6(*)
ALARM_STATE_7(*)
ALARM_STATE_10
ALARM_STATE_11
ALARM_STATE_16
ALARM_STATE_17
STATE IN(1,2,3)
Output of all message that came in,
went out and were
acknowledged.
Possible values:
1 = Came In messages
2 = Went Out messages
3 = acknowledged messages
4 = locked message
5 = released messages
6 = messages that came in and have
been acknowledged
7 = messages that came in and went
out
10 = hidden messages
11 = displayed messages
16 = messages acknowledged by the
system
17 = emergency-acknowledged
messages
The "ALARM_STATE_5",
"ALARM_STATE_6" and
"ALARM_STATE_7" states can only
be output via the "Alarm Logging
Runtime" layout. These states cannot
be selected in the AlarmControl.
(*)
PRIORITY
Integer
Message priority 0 - 16
AGNR
Integer
PLC number
AGSUBNR
Integer
AG sub-number
TEXTxx
Text
TEXT2 = "Error"
Outputs the messages whose Text2
corresponds with "Error".
TEXT2 IN ('Error','Fault')
Outputs the messages whose Text2
corresponds with the text "Error" or
"Fault".
TEXT2 LIKE 'Error'
Outputs the messages whose Text2
includes the text "Error".
PVALUExx
Double
1517
1518
Resources
8.1
Content
The page layout editor is a component of the Report Designer and is used to create and
dynamize page layouts for the output of reports. The page layout editor can only be used for
the project currently open in the WinCC Explorer. The layouts are saved are the basis of their
projects.
This online help will show you
how to set up the page layout editor
how to create and edit page layouts
how to use objects in the object palette
how to adapt the object properties to the requirements of your project
how to change the output options for reports and logs
8.2
Introduction
The page layout editor can be opened in several standard Windows ways. The page layout
editor can only be used for the project currently open in the WinCC Explorer.
Requirement
A project must be opened in WinCC Explorer.
1519
See also
The Page Layout Editor (Page1520)
8.3
8.3.1
Introduction
The page layout editor offers objects and tools for creating page layouts. Start the page layout
editor in WinCC Explorer.
1520
1521
1522
See also
The Alignment Palette (Page1533)
The Status Bar (Page1538)
The Color Palette (Page1536)
The Zoom Palette (Page1535)
The Style Palette (Page1533)
The Object Palette (Page1525)
The Font Palette (Page1537)
The Standard Toolbar (Page1523)
8.3.2
Usage
The toolbar is located in its default position under the menu bar, on the upper edge of the page
layout editor. The buttons arranged on the toolbar allow quick and comfortable access to the
offered functionality of the page layout editor.
Contents
The standard toolbar contains buttons with the following functions:
Button
Function
Key combination
<CTRL+N>
<CTRL+O>
<CTRL+S>
Cuts out the highlighted object (text or drawing object) and copies
it to the clipboard. Therefore the function is only available when an
object is highlighted.
<CTRL+X>
<CTRL+C>
<CTRL+V>
<CTRL+Z>
Redoes the last undone action. This function is only available when <CTRL+A>
an action has been undone.
1523
Function
Key combination
<CTRL+P>
Makes the static part of a layout active and the dynamic part
inactive. If the static part is already active, it remains active. The
static part can be individually defined for the cover sheet, the
succeeding pages and for the closing page. The same static part
will be repeated on all of the succeeding pages.
Makes the dynamic part of a layout active and the static part
inactive. If the dynamic part is already active, it remains active.
Makes the cover sheet of a layout active and the contents of the
report and the closing page inactive. If the cover sheet page type
is already active, it remains active.
Makes the report contents of a layout active and the cover sheet
and closing page inactive. If the report contents page type is
already active, it remains active.
Makes the closing page of a log active and the cover sheet and
report contents inactive. If the closing page page type is already
active, it remains so.
Copies the properties of an object to apply them to another object. Applies the previously copied properties of an object to another
object. The function is only active when properties have been
previously copied.
<SHIFT+F1>
Characteristics
The toolbar can be hidden or shown. It can be attached under the menu bar. When it is not
attached it can be positioned anywhere on the screen with the mouse.
1524
See also
How to Change the Standard Toolbar (Page1541)
How to Show and Hide the Toolbar and Palettes (Page1540)
How to Arrange the Toolbar and Palettes (Page1540)
8.3.3
8.3.3.1
Usage
The object palette contains object types that can be inserted into the page layout. Static objects
and system objects are available for the visual construction of the page layout. Dynamic objects
are available for data output.
Contents
The objects in the object palette can be summarized in the following 4 object groups:
Standard objects: static objects, dynamic objects and system objects
Objects of the runtime documentation: for example Alarm Logging RT, user archive runtime,
CSV provider,etc.
COM server objects
Project documentation objects: for example actions in the Graphics Designer, Alarm
Logging CS, Global Script, etc.
Operation
Click one of the tabs and select the object you want.
Characteristics
The object palette can be shown and hidden. It can be moved anywhere on the screen with
the mouse.
1525
See also
Standard Objects (Page1526)
Objects for the Project Documentation (Page1532)
COM Server Objects (Page1531)
Objects for the Runtime Documentation (Page1529)
8.3.3.2
Standard Objects
Standard Objects
Usage
Standard objects contain object types that are used to visually construct the page layout.
Dynamic object types can also be used for this, unlike objects for runtime documentation and
project documentation, which are not connected to the WinCC components.
Overview
Standard objects can be divided into three object classes:
Static objects are used for the visual creation of a page layout. You can insert static objects
into both the static and dynamic parts of a page layout.
Dynamic objects can be connected with data sources which have a valid data format for
the current object. That way these data can be output in a WinCC layout. You can only
insert dynamic objects in the dynamic part of the page layout.
System objects are used as placeholders for the system time, the current page number
and the project and layout names. You can only use system objects in the static part of the
page layout. The required entries are described in the "Format" attribute in the
"Miscellaneous" property of the system object.
Shared Properties
The object properties (e.g. geometry, color) of the individual standard objects are preset.
However, these defaults can be changed. The objects are displayed with the standard
object properties.
The properties of the displayed objects can be changed at any time.
1526
See also
How to Change an Attribute (Page1576)
Working with Standard Objects (Page1589)
Overview of the System Objects (Page1529)
Overview of the Dynamic Objects (Page1528)
Overview of the Static Objects (Page1527)
Overview
Icon
Object
Description
Line
The line is an open object. The length and angle of a line are determined
by the height and width of the rectangle around the object.
Polygon
The polygon is a closed object that can be filled with a color or pattern.
A polygon can have any number of corner points; these are numbered
in the order of their creation and can be changed individually, or even
deleted.
Polyline
The polyline is an open object. Even if the start and finish point have
the same coordinates, the area cannot be filled. A polyline can have
any number of corner points; these are numbered in the order of their
creation and can be changed individually, or even deleted.
Ellipse
The ellipse is a closed object that can be filled with a color or pattern.
The height and width of an ellipse can be modified as desired to allow
it to be aligned horizontally or vertically.
Circle
Ellipse segment
The ellipse segment is a closed object that can be filled with a color or
pattern. The height and width of an ellipse segment can be modified
as desired to allow it to be aligned horizontally or vertically.
Pie segment
The pie segment is a closed object that can be filled with a color or
pattern. A pie segment can be resized at will.
Ellipse arc
The ellipse arc is an open object. The height and width of an ellipse arc
can be modified as desired to allow it to be aligned horizontally or
vertically.
Circular arc
The circular arc is an open object. A circular arc can be resized at will.
Rectangle
The rectangle is a closed object that can be filled with a color or pattern.
The height and width of a rectangle can be modified as desired to allow
it to be aligned horizontally or vertically.
1527
Object
Description
Rounded
rectangle
The rounded rectangle is a closed object that can be filled with a color
or pattern. The height and width of a rounded rectangle can be modified
as desired to allow it to be aligned horizontally or vertically. The corners
of a rounded rectangle can rounded as much as desired.
Static text
The field for static text is a closed object that can be filled with a color
or pattern. The static text is entered into a field of any desired size. The
text can be entered on one or more lines.
OLE object
You can import the contents of a file or new object into a layout with
any data type, e.g. an Adobe Acrobat document.
Static metafile
You can insert graphic data into a layout with the "Static Metafile"
object. The graphic files must be in the *.emf (Enhanced Meta File)
format.
See also
Overview of the System Objects (Page1529)
Overview of the Dynamic Objects (Page1528)
Standard Objects (Page1526)
Overview
Icon
Object
Description
Embedded layout Layouts for the project documentation can be nested with the
"Embedded Layout" dynamic object. The object is only used for the
project documentation in ready-made layouts for WinCC.
1528
Hard copy
With the "Hard Copy" object type, you can output a picture of the
current screen, contents or a defined section of it, in a log. You can
also output a currently selected picture window.
ODBC database
field
With the "ODBC Database Field" object type, you can output texts
from some data sources into a log via the ODBC interface.
ODBC database
table
With the "ODBC Database Table" object type, you can output tables
from some data sources into a log via the ODBC interface.
Tag
Output the "Variable" values in runtime with the Tag object type. Tag
values can only be output if the project is activated. In runtime you can
also call a script for the output.
See also
Overview of the System Objects (Page1529)
Overview of the Static Objects (Page1527)
Standard Objects (Page1526)
Overview
Icon
Object
Description
Date/time
Insert a placeholder for the date and time of the output in the page layout
with the "Date/Time" system object. During printing, the system date and
time are added by the computer.
Page number
Insert a placeholder for the current page number of the report or log in
the page layout with the "Page Number" system object.
Project name
Insert a placeholder for the project name in the page layout with the
"Project Name" system object.
Layout name
Insert a placeholder for the layout name in the page layout with the
"Layout Name" system object.
See also
Standard Objects (Page1526)
Overview of the Static Objects (Page1527)
Overview of the Dynamic Objects (Page1528)
8.3.3.3
Application
The runtime documentation objects are for outputting logs of the runtime data. The output
options can be configured using the "Object Properties" dialog. The data for the logs are taken
1529
Overview
1530
Object
Description
Alarm Logging RT
Archive Log
The "Archive Report" object is connected to the message system and outputs
the messages saved in the message archive to a table.
Alarm Logging RT
Message Log
The "Message Report" object is connected to the message system and outputs
the current messages in the message list to a table.
User archive
Runtime
Table
The "User Archive Runtime Table" object is connected to the User Archive and
outputs the runtime data from the user archives and views to a table.
The "CSV Provider Table" object can be linked to a CSV file. The data contained
in the file are output to a table. The data must be in a predefined structure.
CSV Provider
Trend
The "CSV Provider Trend" object can be linked to a CSV file. The data contained
in the file are output in a curve. The data must be in a predefined structure.
WinCC Alarm
Control
Table
The "WinCC Alarm Control/Table" object is used to output the message lists in
a tabular format. You configure the static and dynamic parameters of the control
for the output in Reports Designer.
WinCC Control
Runtime
Printprovider
Table
The entire contents of the table of a WinCC control is output in the table. The
report object is not available for the WinCC OnlineTrendControl and WinCC
FunctionTrendControl. The report can only be output via the button in the
WinCC control.
WinCC Control
Runtime
Printprovider
Picture
The current control display is output in the picture. The report can only be output
via the button in the WinCC control.
Description
WinCC Function
Trend Control
Picture
The "WinCC Online Table Control/Table" object is used to output process data
from the associated process value archives and compressed archives in a
tabular format. You configure the static and dynamic parameters of the control
for the output in Reports Designer.
The "WinCC Online Trend Control/Picture" object is used to output process data
from the associated process value archives and compressed archives in trend
curve format. You configure the static and dynamic parameters of the control
for the output in Reports Designer.
Common features
The object properties (e.g. font) of the individual objects are preset. However, these defaults
can be changed. The objects are displayed with the default object properties.
The properties of the displayed objects can be changed at any time.
See also
How to Change an Attribute (Page1576)
Working with Objects for the Project Documentation (Page1666)
Working with Objects for the Runtime Documentation (Page1634)
8.3.3.4
Usage
In order to use a COM server object, a COM server projector must be integrated into WinCC.
This COM server makes the object for logging data available. This way, it is possible to
integrate user-specific data in a WinCC log. The form and properties of a COM server object
are determined by the COM server writer. The description of the COM server object is delivered
with the COM server writer. The options for selecting the output data are determined by the
current COM server object. The COM server objects can only be inserted into the dynamic
part of a page layout. Additional information can be found in chapter "Working with COM Server
Objects".
1531
8.3.3.5
Usage
The project documentation objects are provided for the report output of configured data. The
objects for project documentation can only be inserted into the dynamic part of a page layout.
The objects for project documentation are closely connected with the WinCC components.
The object types are fixed. Depending on the type and size of the configuration data for the
output, the "Static Text", "Dynamic Metafile" or "Dynamic Table" object types are used. A
detailed description of the objects used and the output data can be found in chapter "Outputting
Project Documentation".
For some of the objects used with the "Dynamic Metafile" and "Dynamic Table" object types,
you can change the selection of the configuration data for output. Additional information can
be found in chapter "Working with Objects for Project Documentation".
Shared Properties
The object properties (e.g. font) of the individual objects are preset. However, these defaults
can be changed. The objects are displayed with the default object properties.
The properties of the displayed objects can be changed at any time.
See also
How to Change an Attribute (Page1576)
Working with Objects for the Runtime Documentation (Page1634)
Working with Objects for the Project Documentation (Page1666)
1532
8.3.4
Usage
The line type, line weight and background pattern of the selected object can be changed with
the style palette. Depending on the object type, different style forms are available.
Contents
The "Line Type" style group contains different line types, such as dashed, dotted, etc.
The "Line Weight" style group contains different line weights. The line weight is given in
pixels. 1 mm = 4.73 pixels.
The "Fill Pattern" style group contains fill patterns for the background of closed objects,
such as transparent, checkered, diagonal lines, etc.
Characteristics
The style palette can be shown or hidden. It can be placed anywhere on the screen with the
mouse.
See also
How to Show and Hide the Toolbar and Palettes (Page1540)
How to Arrange the Toolbar and Palettes (Page1540)
8.3.5
Usage
The alignment palette is used to:
change the absolute position of one or more objects
change the position of the selected objects relative to one another
align the heights and widths of several objects.
1533
Requirements
The palette buttons are enabled when at least two objects are highlighted.
Overview
Button
Function
Align objects left.
The type of selection determines which object is used as reference for
alignment.
If the objects are selected with a selection frame (lasso), the object lying farthest out
will be used as reference. If the objects are selected with the left mouse button, the
object selected first will be used as reference for alignment.
Align objects right.
See section "Align Objects Left" to determine which object will be used as reference for
alignment.
Align objects top.
See section "Align Objects Left" to determine which object will be used as reference for
alignment.
Align objects bottom.
See section "Align Objects Left" to determine which object will be used as reference for
alignment.
Align objects on horizontal center.
The objects are moved to be aligned along a common central horizontal axis.
Align objects on vertical center.
The objects are moved to be aligned along a common central vertical axis.
Distribute objects evenly in horizontal direction.
The objects maintain the same horizontal distance from one another.. The location of
the outer objects remains unchanged.
Distribute objects evenly in vertical direction.
The objects maintain the same vertical distance from one another.. The position of the
upper and lower objects remains unchanged.
Standardize width of objects.
If the objects were selected with the left mouse button, they receive the width of the first
object selected. The width of lines remains however unchanged.
If the objects were selected using a selection frame (lasso), the widths will be adjusted
to the largest width in the group.
1534
Function
Standardize heights of objects.
If the objects were selected with the left mouse button, they receive the height of the
first object selected.
If the objects were selected using a selection frame (lasso), the heights will be adjusted
to the largest height in the group.
Standardize width and height of objects.
The objects receive the width and height of the first object configured in the group.
Characteristics
The alignment palette can be show and hidden. It can be placed anywhere on the screen with
the mouse.
See also
How to Select Multiple Objects (Page1567)
How to Align Multiple Objects (Page1568)
How to Show and Hide the Toolbar and Palettes (Page1540)
How to Arrange the Toolbar and Palettes (Page1540)
8.3.6
Usage
The zoom factor for the objects in the active layout is set with the zoom palette. The current
zoom factor is displayed under the slider. The zoom palette offers two options for enlarging or
reducing the objects:
using buttons with standard zoom factors (e.g. 8, 1/2)
using a slider.
Characteristics
The zoom palette can be shown and hidden. It can be placed anywhere on the screen with
the mouse.
1535
and
See also
How to Show and Hide the Toolbar and Palettes (Page1540)
How to Arrange the Toolbar and Palettes (Page1540)
8.3.7
Usage
Selected objects can be assigned one of the 16 standard colors, a primary color or a selfdefined color with the color palette. For example, one mouse click in the color palette can
change:
the fill color for area objects (e.g. rectangle),
the line color for line objects (e.g. polyline),
the background color of text objects.
Characteristics
The color palette can be shown and hidden. It can be placed anywhere on the screen with the
mouse.
1536
See also
The Colors Property Group (Page1579)
How to Create Custom Colors (Page1539)
How to Show and Hide the Toolbar and Palettes (Page1540)
How to Arrange the Toolbar and Palettes (Page1540)
8.3.8
Usage
A new text object or another object which contains text will be created with preset text
properties. The font palette contains tools for changing the font, size and color of text objects,
as well as the line color of standard objects, at any time.
Overview
Button
Description
Changing font
Change font size
Change font color
Change line color.
For area objects, this function influences the color of the borderline
and for line objects it influences the line color.
Characteristics
The font palette can be shown and hidden. It can be placed anywhere on the screen with the
mouse.
Note
Additional text properties, such as orientation, italic, bold, underline, are changed in the
"Object Properties" window.
1537
See also
The Font Property Group (Page1584)
How to Show and Hide the Toolbar and Palettes (Page1540)
How to Arrange the Toolbar and Palettes (Page1540)
8.3.9
Usage
The status bar provides you with the following information:
help text for a selected functions, menu commands and buttons
information about the name, position and size of a highlighted object
information about the keyboard status (e.g. the NUM LOCK key).
Characteristics
The status bar can be shown or hidden.
See also
How to Show and Hide the Toolbar and Palettes (Page1540)
8.3.10
8.3.10.1
1538
See also
The Basic Settings of the Page Layout Editor (Page1543)
How to Change the Appearance of the Toolbar and Palettes (Page1546)
How to Change the Standard Toolbar (Page1541)
How to Arrange the Toolbar and Palettes (Page1540)
How to Show and Hide the Toolbar and Palettes (Page1540)
8.3.10.2
Introduction
In addition to the 16 basic colors from the Color Palette, you are free to define other colors.
Procedure
1. On the Color Palette, click
2. Click the primary color that comes closest to the color to be created.
3. To change the selected color, open the color matrix using the "Define Colors" button.
4. Change the brightness of the selected color with the slider to the right of the color matrix.
5. Change the saturation of the selected color by vertically moving the cross.
1539
See also
The Colors Property Group (Page1579)
The Color Palette (Page1536)
8.3.10.3
Introduction
Normally, the standard toolbar and palettes are shown. In order to obtain a larger working area,
you can hide palettes that you do not need and the standard toolbar and show them again as
required.
Procedure
1. Open the "View" menu and select the "Toolbars..." option. The "Toolbars" dialog is opened.
2. Clear the check box for the toolbar to be hidden. Alternatively, select the check box for the
toolbar to be shown.
3. If the dialog should remain open so that you can make additional settings on other tabs,
click "Apply".
4. If you would like to restore the most recently saved settings, click the "Restore" button.
5. Apply the new settings with "OK". The settings will be saved and the dialog is closed.
See also
How to Change the Appearance of the Toolbar and Palettes (Page1546)
How to Change the Standard Toolbar (Page1541)
How to Arrange the Toolbar and Palettes (Page1540)
8.3.10.4
Introduction
The standard toolbar and the palettes are normally arranged along the edge of the screen.
You can remove them from their anchoring, change their size and move them anywhere you
like. The toolbar and palettes can be reanchored in any location.
1540
Special features
The size of a palette can only be changed when it is not anchored.
When you reanchor a palette, its size will not be adjusted to the free space on the edge of
the screen. Therefore, you must adjust the size of the palette to fit the free space before
anchoring it.
When you close the page layout editor, the changed palette positions are saved and used
again the next time the program is started.
See also
How to Change the Appearance of the Toolbar and Palettes (Page1546)
How to Show and Hide the Toolbar and Palettes (Page1540)
8.3.10.5
Application
You can use drag and drop to adjust the standard toolbar to your requirements, that is adding,
removing or rearranging buttons.
1541
Requirements
On the "Menu/Toolbars" tab in the "Settings" window of the "Tools" menu, all of the checkboxes
in the "Standard Toolbar" area must be marked.
3. Add: Drag the desired button from the Available buttons list to the Current Buttons
list.
Remove: Drag the desired button from the Current Buttons list to the Available Buttons list.
4. Set the order of the buttons on the toolbar using the "Move up" and "Move down" buttons
in this dialog.
5. You can restore the original state by clicking on the "Reset" button.
6. The changes will be applied and the dialog closed when you click on the "Close" button.
See also
How to Arrange the Toolbar and Palettes (Page1540)
How to Show and Hide the Toolbar and Palettes (Page1540)
How to Change the Appearance of the Toolbar and Palettes (Page1546)
1542
8.3.10.6
Calling:
The window can be called
from the menu Tools > Settings and
from the menu View > Grid.
Setting Options
Tab
Description
Grid
Options
This is where the fundamental program settings are changed, for example what should
happen with altered program settings when the program is closed, or how objects should
be selected and edited.
Units
This is where you choose which units of measurement you would like to use for entering
the size of coordinates, text height and line width.
Menu /
Toolbars
This is where the appearance and properties for the menu bar, toolbar and palettes can
be set, for example whether the standard toolbar should be configurable, whether the
keyboard shortcuts should be shown, etc.
1543
See also
How to Paste an Object into a Layout (Page1562)
How to Set the Options for the configuration settings (Page1545)
How to Set the Grid (Page1544)
Possible Settings
Snapping to Determines whether the objects should be positioned anywhere on the
grid
drawing area or aligned to the grid.
Display grid Determines whether the grid should be visible or not. If the grid is invisible,
objects still align to it when the Snap to Grid option is switched on.
Width in/
Changes the distance between grid points as necessary. Set the units for the
Height in
size entry in the Units tab. The grid width to be set is oriented to the size and
variety of objects and to the desired positioning precision.
Procedure
1. Open the Tools menu and select the entry Settings. The Settings dialog opens.
2. Change the individual settings as required by selecting or clearing the check boxes.
3. If you want to keep the dialog open to make changes in other tabs, confirm the changes
you have made with the Apply button.
4. Save the settings with OK.
1544
See also
How to Set the Options for the configuration settings (Page1545)
How to Change the Appearance of the Toolbar and Palettes (Page1546)
Possible Settings
Save settings on exit
Object selection
Surrounding/touching
Determines whether the settings for the page layout editor are
saved when the program closes.
Surrounding: A frame will be drawn when the left mouse button
is held down, so that all objects that are completely within this
frame will be selected.
Touching: A frame will be drawn when the left mouse button is
held down, so that all objects touched by this frame will be
selected.
If this option is enabled, an object will be deselected as soon as
it is pasted into the layout. If the option is disabled, the object will
remain selected after it has been pasted into the layout. With this
method, you can paste the same object several times without
having to reselect the object.
1545
Procedure
1. Open the Tools menu and select the entry Settings. The Settings dialog opens.
2. Click the Options tab.
3. Change the individual settings as required by selecting or clearing the check boxes.
4. If you want to keep the dialog open to make changes in other tabs, confirm the changes
you have made with the Apply button.
5. Save the settings with OK.
See also
How to Change the Appearance of the Toolbar and Palettes (Page1546)
How to Set the Grid (Page1544)
1546
Possible Settings
Flat style for toolbars Determines whether the buttons on the toolbar and palettes are
displayed with a border or without.
Display move
Determines whether the buttons on the toolbar and palettes are
handles
displayed with move handles or without.
Display buttons in the Determines whether the buttons on the toolbar will be shown in the
menu
menus on the menu bar.
Display all shortcuts Determines whether the keyboard shortcuts for the menu commands
will be shown in the menus on the menu bar.
Deactivated buttons Determines whether deactivated buttons on the toolbar and palettes
in color
are displayed in color or grayed out.
Standard toolbar:
Determines whether the standard toolbar can be changed. If this
customizable
option is enabled, the Toolbar dialog can be opened with [ALT
+double-click].
Standard
If this option is enabled, the icons on the toolbar can be moved or
toolbar:
removed with the mouse by holding down the ALT key.
Drag&drop with ALT
key active
Procedure
1. Open the Tools menu and select the entry Settings. The Settings dialog opens.
2. Click the Menu/Toolbars tab.
3. Change the individual settings as required by marking or clearing the check boxes.
4. If you want to keep the dialog open to make changes in other tabs, confirm the changes
you have made with the Apply button.
5. Save the settings with OK.
See also
How to Change the Standard Toolbar (Page1541)
How to Arrange the Toolbar and Palettes (Page1540)
How to Show and Hide the Toolbar and Palettes (Page1540)
The Standard Toolbar (Page1523)
How to Set the Options for the configuration settings (Page1545)
How to Set the Grid (Page1544)
1547
8.4
8.4.1
Introduction
The difference between a layout in the sense of a file and a layout as an object must be clearly
understood. In this chapter, we will describe dealing with a layout in the form of a file. A layout
opened in the page layout editor is treated as an object. The layout object has object properties
and can be edited accordingly. Additional information can be found in the chapter "Working
with the layout object".
In this chapter we will show you how to create layouts, display the properties of layouts and
how to work with several layouts. WinCC comes with several ready-made layouts for most
standard applications. So it is often simpler and less time consuming to save one of these
layouts under a new name and adapt it to your own requirements, than to create a new layout.
Note
Language-Neutral and Language-Dependent Layouts
There are language-neutral and language-dependent layouts. Language-neutral layouts
have the following designation: "<Name of the layout>.rpl". Language-neutral layouts are
saved in folder "\\<Name of system on which the layout was created>\Project name\PRT".
Language-dependent page layouts contain layout files with the following designation:
"<Name of the layout>_XXX.rpl". "XXX" stands for the language code of the layout file. The
language-specific layout file is saved in a language-specific folder in folder "\\<Name of the
system on which the layout was created>\Project name\PRT".
Create layout files in all Runtime languages for a language-dependent layout. If the layout
file of a Runtime language is missing, the English layout file will be used.
The following table shows the language code and the designations of the folders in folder "\
\<Name of the system on which the layout was created>\Project name".
1548
Language
Language-specific folder
Language-neutral
\PRT
German
DEU
\PRT\DEU
English
ENU
\PRT\ENU
French
FRA
\PRT\FRA
Italian
ITA
\PRT\ITA
Spanish
ESP
\PRT\ESP
Simplified Chinese
CHS
\PRT\CHS
Traditional Chinese
CHT
\PRT\CHT
Korean
KOR
\PRT\KOR
Japanese
JPN
\PRT\JPN
Configuration steps
1. Create a new page layout.
2. Design the outward appearance in the static part of the layout and save the newly designed
layout as a template.
3. Apply the design in the layout for the output.
Editing Options
In order to configure quickly, use the various program functions such as:
Save Layout under New Name
Applying Object Properties to Other Objects
Coping or Transferring Objects in Other Layouts
Adopting Fully Designed Objects and Layouts from Other Projects
Note
This path of the layouts is retained when you duplicate a project or load it on a target
machine. While printing, the system first tries to load the layout using the entered path. If
that is not possible, the system searches the layout in the project path of the local computer.
See also
Working with Objects (Page1558)
Working with Multiple Layouts (Page1556)
Changing Predefined Layouts (Page1554)
How to Display the Layout Properties (Page1553)
Layout File Operations (Page1549)
8.4.2
Introduction
Because layouts are saved as independent files with the extension .rpl, you can carry out the
usual file operations in the page layout editor or in WinCC Explorer. Many file operations can
be carried out in the page layout editor and the WinCC Explorer. Layouts are saved as separate
files.
1549
Creating Layout
To create a new report, you first have to create a new layout. Page layouts contain layout files
with ending ".rpl".
1. Select the "Report Designer" editor in WinCC Explorer.
The entries "Layouts" and "Print Jobs" appear in the data window.
2. Select the "Layouts" entry and open its context menu.
1550
Alternative Operation
You can also create a new layout file in the open page layout editor. To do this, select "New"
from the "File" menu. The page layout editor creates an empty layout file. Save the layout file
under the desired name and in the correct folder.
Saving Layout
Note
Language Code in the Layout File
When saving the file, enter the correct language code in the file name, e.g.
NewRPL01_ENU.RPL. Save the layout file in the correct language folder.
1. Select "Save as..." from the "File" menu in the page layout editor.
2. If you choose "Save as...", a dialog will open.
Navigate to the correct folder.
Enter a file name and a language code and save the layout file.
3. The layout file receives extension .rpl.
Opening Layout
1. Select the "Report Designer" editor in WinCC Explorer.
The entries "Layouts" and "Print Jobs" appear in the data window.
2. Select the "Layouts" entry.
The existing language directories are displayed in WinCC Explorer.
3. Select the desired language folder and open its context menu.
The layout files of the current language are listed in the right window.
4. Select the desired layout file and select the "Open page layout" command from the context
menu.
1551
Alternative Operation
If the page layout editor has already been started, you can select "Open" from the "File" menu.
In the file selection dialog, navigate to the desired language directory. Select the desired layout
file and then click on "Open".
1552
If you wish to create a page layout using the SIMATIC Manager, you cannot rename or delete
this layout in WinCC Explorer. This also applies to a page layout created in WinCC and
subsequently imported into SIMATIC Manager using the function "Import WinCC Object".
This import changes the WinCC object into a TIA object.
If you copy a page layout using the Report Designer, the copy is created as a WinCC object.
You may rename or copy this copy as a WinCC object.
See also
Working with Multiple Layouts (Page1556)
Changing Predefined Layouts (Page1554)
How to Display the Layout Properties (Page1553)
Working with Layouts (Page1548)
8.4.3
Usage
For each layout file, you can call the creation date, the date of last change and the file size.
Requirements
The WinCC project must be open.
Procedure
1. Select the "Report Designer" editor in WinCC Explorer.
The entries "Layouts" and "Print Jobs" appear in the data window.
2. Select the "Layouts" entry in the data window.
The existing language folders are displayed in WinCC Explorer.
3. Select the desired language folder.
All project layout files in the selected language are listed.
4. Select the desired layout file and select the "Properties" entry from the context menu.
The "Properties" window opens.
1553
See also
Working with Multiple Layouts (Page1556)
Changing Predefined Layouts (Page1554)
Working with Layouts (Page1548)
Layout File Operations (Page1549)
8.4.4
Introduction
You can change the predefined layouts in order to fit your needs better. It is advisable to save
an existing layout file with a new name first and only then to edit the layout file. If you do this,
you can always fall back on the layouts provided with WinCC if you need to.
The system layouts and system print jobs delivered with WinCC are used by the WinCC
components when the report output is triggered (e.g. project documentation in the Graphics
Designer). Therefore, neither the system layouts nor the system print jobs may be deleted or
renamed.
The system files are located in the WinCC directory in the language-specific folders under
folder "..\WinCC\syslay". The language-specific folders in a new project are copied to the
corresponding project directory in the "..\<Project name>\PRT" folder the first time it is
accessed.
The system layouts and system print jobs are created for every new project.
1554
Important:
During the definition of a page layout, you can not predict with absolute certainty on how many
pages the dynamic part will require. The size of the dynamic tables and text fields is determined
by the data which is used at the moment of output. Succeeding objects are moved downward
according to the dynamic size changes.
Generally no line breaks are provided for the output of data in table cells. However, you can
output large amounts of data in a table cell without the data being cut off by:
1. Select the output of the report in landscape format.
2. Select the "Vertical" table format in the table object properties.
3. Set the relative column width of all columns as narrowly as possible.
4. Use the smallest font size possible.
Static objects which are pasted into the static part of a page layout are in a layer below the
dynamic objects. Thus, it can happen that the static objects will be covered by the dynamic
objects, especially by the dynamic extension of a table.
1555
See also
Changing Predefined Layouts (Page1554)
How to Display the Layout Properties (Page1553)
Working with Layouts (Page1548)
Layout File Operations (Page1549)
8.4.5
Introduction
The page layout editor offers your some options for efficient configuration. In order not to have
to keep repeating the same configuration steps, you can
Save Layout under New Name
Applying Object Properties to Other Objects
Coping or Transferring Objects in Other Layouts
Adopting Fully Designed Objects and Layouts from Other Projects
Note
Language-Neutral and Language-Dependent Layouts
There are language-neutral and language-dependent layouts.
Language-neutral layouts have the following designation: "<Name of the layout>.rpl".
Language-neutral layouts are saved in folder "\\<Name of system on which the layout was
created>\Project name\PRT".
Language-dependent page layouts contain layout files with the following designation:
"<Name of the layout>_XXX.rpl". "XXX" stands for the language code of the layout file.
The language-specific layout file is saved in a language-specific folder in folder "\\<Name
of the system on which the layout was created>\Project name\PRT".
In the case of multi-language configurations, be sure to make all changes, copies and
deletions to all layout files of a layout.
See chapter " Working with Layouts (Page1548) " for further instructions.
1556
1557
Requirements
In order to transfer a fully defined object from another project, open the layout which contains
this object in one of the two ways described above. Select the object or group of objects that
you want and copy the selection to the clipboard. Open the target layout and paste in the
contents of the clipboard.
Note
If you are copying system layouts, we recommend creating a backup copy of the new system
layout before overwriting it in the "PRT" folder.
See also
How to Transfer Object Properties (Page1577)
Changing Predefined Layouts (Page1554)
How to Display the Layout Properties (Page1553)
Layout File Operations (Page1549)
8.5
8.5.1
Introduction
In this chapter, you will learn
which basic functions of the page layout editor can be used for working with objects
what characteristics the individual objects have
how to use objects to create layouts
how to specifically change object properties
You will find a description of the available objects in the chapter on the Object Palette.
See also
The Properties of an Object (Page1570)
Working with Objects for the Project Documentation (Page1666)
Working with Objects for the Runtime Documentation (Page1634)
Working with Standard Objects (Page1589)
The Object Palette (Page1525)
1558
8.5.2
Introduction
The basis for the definition of position and size entries in the page layout editor is a twodimensional coordinate system. The two axes of the coordinate system, x-axis and y-axis, are
perpendicular to one another and intersect at the coordinate origin. The coordinate origin lies
with the coordinates (X = 0 / Y = 0) in the top left corner of the desktop. Extending from the
coordinate origin, the horizontal X-axis runs in the positive direction to the right edge of the
working area, and the vertical Y-axis runs in the positive direction to the lower edge of the
working area. Thus the values for X and Y displayed in the status bar of the page layout editor
increase when the mouse is moved from the upper left to the lower right of the working area.
Coordinates are displayed in the units set in the Tools/Settings menu on the Units tab.
The position and size of objects in a layout are determined by the coordinates which an object
has in the coordinate system. For example, the position of the object origin is determined by
the attributes Position X and Position Y; thus, it has the coordinates (X = Position X / Y =
Position Y). The values of these attributes describe the distance of the object origin from the
coordinate axes.
1559
Definition of Origin
The origin is defined as the point of an area or an object that is used as the reference point for
entering position and size. For creating a layout in the page layout editor, the following
reference points are significant:
Coordinate system origin (X = 0 / Y = 0)
= Top left corner of the working area
Picture origin (X = 0 / Y = 0)
= Top left corner of the layout
Object origin (X = position X / Y = position Y)
= Top left corner of the rectangle surrounding the object
See also
The Status Bar (Page1538)
The Rectangle Surrounding the Object (Page1560)
8.5.3
Introduction
The rectangle surrounding an object is defined as a rectangular frame which lies on the outer
limit of an object. The rectangle surrounding an object is not visible in the page layout editor.
When an object is selected, however, the handles which are used to grab an object for
1560
The special significance of the rectangle surrounding the object for determining the position
can be illustrated with a circular or ellipse-shaped object as an example:
The position of an object is defined by means of the position of its origin relative to the
coordinate system. The object origin has the coordinates (Position X / Position Y) and is defined
as the upper left corner of the rectangle surrounding the object. Specified in this way, the
position of a circular or ellipse-shaped object can be set clearly.
1561
See also
Multiple Selection of Objects (Page1565)
How to Paste an Object into a Layout (Page1562)
The coordinate system in the Report Designer (Page1559)
How to Edit Objects (Page1563)
8.5.4
Introduction
A layout is created in the page layout editor by pasting objects from the object palette into a
layout.
In the page layout editor, the various object types have predefined properties. When added,
objects take on these defaults, with the exception of individual geometric properties. After
insertion the properties of an object can be modified. In the same way the default settings for
the object types can be modified as required.
When an object is inserted, the object name assigned as standard is the description of the
object type with a consecutive number. This name can be changed using the Object Name
attribute.
Requirement
The display of the object palette must be enabled.
Procedure
The Rectangle standard object is shown here as an example for the general procedure for
pasting an object into a layout. Some object types require additional steps. You can learn more
about these additional steps in the detailed description of the individual objects.
1. Open the layout in which you want to insert an object.
2. Click the Rectangle standard object in the Object palette.
3. Place the mouse pointer at the position in the layout where you want to insert the
rectangle.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the rectangle to the required size.
As soon as you release the mouse, the rectangle is added.
1562
Alternative Operation
Using the Paste command, the current contents of the clipboard can be pasted into the active
layout as often as you like. If an object has been copied to the clipboard, this command can
be used to paste as many copies of the object as you like, also into different layouts. The Paste
command is available through the respective button in the toolbar, by pressing keys <CTRL
+V> or by selecting Edit/Paste in the menu bar.
See also
The Properties of an Object (Page1570)
Working with Objects for the Project Documentation (Page1666)
Working with Objects for the Runtime Documentation (Page1634)
Working with Standard Objects (Page1589)
The Object Palette (Page1525)
How to Edit Objects (Page1563)
8.5.5
Introduction
You can select, position, scale, delete, cut, copy, duplicate and change the properties of objects
in a layout.
Selecting Objects
Select an object of any type by clicking it. As an alternative, you can select the object you want
from the object selection list in the Object Properties window.
Positioning Objects
1. Select the object you want.
2. The mouse pointer changes to a crosshair with arrowheads.
The handles of the rectangle surrounding the object appear as soon as an object is
selected.
3. Hold down the mouse button and move the object to the desired position.
You can also select the object using the arrow keys or by changing the values for the geometric
attributes Position X and Position Y in the Object Properties window.
1563
Scaling objects
1. Select the object you want.
2. Position the mouse pointer on one of the handles of the object. The mouse pointer will
change to a double arrow. The orientation of the double arrow indicates the direction in
which you can move the handles.
3. Use the mouse to drag the handle to the position you want.
You can also resize the object by changing the values for the geometric attributes Width and
Height in the Object Properties window.
Deleting Objects
1. Select the object you want.
2. Press the DEL key. The selected object is deleted.
You can also delete the selected object by selecting Delete from the pop-up menu or by
selecting Edit/Delete from the menu bar.
Cutting Objects
1. Select the object you want.
2. Click the
button in the toolbar. The selected object will be cut from the layout and copied
to the clipboard.
You can also cut the selected object using the Cut command in the pop-up menu, with the
CTRL+X key combination or by selecting Edit/Cut from the menu bar.
Copying Objects
1. Select the object you want.
2. Click the
button in the toolbar. The selected object will be copied to the clipboard.
You can also copy the selected object using the Copy command in the pop-up menu, with the
CTRL+C key combination or by selecting Edit/Copy from the menu bar.
Duplicating Objects
1. Select the object you want.
2. Select Duplicate from the pop-up menu. A copy of the selected object will be created directly
in the active layout. Position X and Position Y of the copy are approximately 20 pixels higher
than Position X and Y of the original object.
You can also duplicate the selected object by selecting Edit/Duplicate from the menu bar.
See also
Multiple Selection of Objects (Page1565)
The Rectangle Surrounding the Object (Page1560)
1564
8.5.6
8.5.6.1
Introduction
In order to change the properties of several objects at once, all of the objects to be changed
must be selected. This procedure is called "multiple selection".
During a multiple selection, the attributes held by at least one of the selected objects are
displayed in the "Object properties" window. The value of an attribute will only be displayed,
however, if it is the same for all selected objects.
Along with "selection frames" and the "reference object", a multiple selection has two
characteristics which play an important role, for example for the common alignment of the
selected objects. However, these characteristics are not visibly displayed in the page layout
editor.
1565
The position and size of the selection frame are dependent on the position of the selected
object. The midpoint of the selection frame corresponds to the common midpoint of the
selected objects. The limit line of the selection frame touches the outer edges of the objects
which have the greatest distance from the common midpoint.
The selection frame is not visible. After finishing the multiple selection, only the handles of the
individual objects will be shown.
1566
See also
The Rectangle Surrounding the Object (Page1560)
The Alignment Palette (Page1533)
How to Align Multiple Objects (Page1568)
How to Select Multiple Objects (Page1567)
8.5.6.2
Introduction
In order to change the properties of several objects at once, all of the objects to be changed
must be selected. This procedure is called multiple selection.
Requirements
The layout must contain at least two objects.
Procedure
1. On the keyboard hold down the SHIFT key.
2. With the mouse, click the objects you want, one after the other.
The handles of the rectangle surrounding the object appear for every selected
object.
The mouse pointer will change to a crosshair with arrow points when it is positioned over
a selected object.
The reference object in this type of multiple selection is the object that was selected first.
Note
If an object has been selected accidentally, it can be removed from the multiple selection by
clicking it again while holding down the Shift key.
Alternative Procedure
The multiple selection can also be made by dragging a selection frame with the mouse. The
objects will be selected in accordance with the setting for the type of object selection. The
procedure described here is for the surrounding object selection type.
1. Hold down the mouse button and drag a frame around the objects you want.
2. As soon as you release the mouse button, the handles for the rectangles surrounding the
objects will be shown for every selected object.
1567
See also
The Rectangle Surrounding the Object (Page1560)
Multiple Selection of Objects (Page1565)
How to Set the Options for the configuration settings (Page1545)
How to Align Multiple Objects (Page1568)
8.5.6.3
Introduction
The objects in a multiple selection can be edited together using the functions of the Alignment
palette. These functions can also be called from the "Arrange / Align" menu.
The Alignment Palette contains the following functions for processing the objects in a multiple
selection:
1568
Align:The selected objects are aligned on the border line of the selection frame (up, down,
left, right).
Center:The selected objects are centered on a middle axis of the selection frame
(horizontally, vertically).
Space: The selected objects are distributed evenly across the height or width of the
selection frame (horizontally, vertically).
Align: The size of the reference object is assigned to the selected objects (height, width or
height and width).
A detailed description of these functions can be found in the section "The Alignment palette".
Requirement
Select at least two objects of any type.
Procedure
1. Click the icon you want in the Alignment Palette.
The alignment or the size of the selected objects changes.
Alternative Procedure
1. Select the entry you want from the Arrange / Align menu.
The alignment or the size of the selected objects changes.
See also
Multiple Selection of Objects (Page1565)
The Alignment Palette (Page1533)
How to Select Multiple Objects (Page1567)
1569
8.5.7
8.5.7.1
Introduction
The shape, appearance, position and application linking of an object are set by the Object
Properties. These properties can be changed in the page layout editor as needed.
The properties of an object are described by a large number of attributes. An object property
can be changed by assigning a new value to its attribute.
The Properties tab of the Object Properties window contains all the attributes of a selected
object or objects in a multiple selection. The attributes are divided into property groups, such
as geometry or color. The type and number of the available property groups and attributes are
dependent on the type of the selected objects. So, for example, the Font property group is only
shown for the object types which can be displayed with text.
As an alternative to changing the attributes in the Object Properties window, objects can also
be adjusted with the mouse and keyboard or by using the toolbar and palettes. However, in
this way only certain object properties, such as the basic geometric size, color and line style,
can be changed.
See also
How to Change an Attribute (Page1576)
How to Transfer Object Properties (Page1577)
The Object Palette (Page1525)
How to Access the Object Properties Window (Page1571)
The Object Properties Window (Page1570)
8.5.7.2
1570
The Object Properties window can be kept in the foreground of the page layout editor. The
position and size of the window can be changed as you like.
The Object Properties window is subdivided into Elements toolbar, and the Properties and Link
tabs. You can find more about these elements in their detailed description.
See also
How to Access the Object Properties Window (Page1571)
The Link tab in the Object Properties Window (Page1575)
The Properties tab in the Object Properties window (Page1573)
The Toolbar in the Object Properties Window (Page1572)
The Properties of an Object (Page1570)
1571
Requirement
Select an object of any type.
Procedure
You can open the Object Properties window in the following ways:
In the standard toolbar, click the
button.
See also
How to Change an Attribute (Page1576)
The Link tab in the Object Properties Window (Page1575)
The Properties tab in the Object Properties window (Page1573)
The Toolbar in the Object Properties Window (Page1572)
The Object Properties Window (Page1570)
The Properties of an Object (Page1570)
1572
Name
Function
Pin
activated/
deactivated
Object
selection
See also
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Link tab in the Object Properties Window (Page1575)
The Properties tab in the Object Properties window (Page1573)
How to Access the Object Properties Window (Page1571)
The Object Properties Window (Page1570)
The Properties of an Object (Page1570)
1573
1574
Column
Description
Attribute
Name of the attribute. All of the attributes from the selected property group that
are available for the selected object will be shown.
The name of the attribute cannot be changed. The static value of the attribute can
be changed by double-clicking the attribute name.
Static
Static value of the attribute. The current value of the attribute for the selected object
is displayed. The value will be displayed as a number, text or graphic display,
depending on the type of attribute.
The static value of the attribute can be changed by double-clicking the attribute
name. You can find more in chapter Changing Attributes.
See also
The Object Properties Window (Page1570)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Link tab in the Object Properties Window (Page1575)
The Toolbar in the Object Properties Window (Page1572)
How to Access the Object Properties Window (Page1571)
The Properties of an Object (Page1570)
1575
See also
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties tab in the Object Properties window (Page1573)
The Toolbar in the Object Properties Window (Page1572)
How to Access the Object Properties Window (Page1571)
The Object Properties Window (Page1570)
The Properties of an Object (Page1570)
8.5.7.3
Introduction
The properties of an object in the page layout editor are determined by the values of the object
attributes. Every change to an object, for example made with the mouse or via a configuration
dialog, changes the value of the accompanying attributes.
The Properties tab of the Object Properties window displays all the attributes of a selected
object or objects in a multiple selection. The attributes are assigned to so-called property
groups. The type and number of the available property groups and attributes are dependent
on the type of the selected objects. So, for example, the Font property group is only shown for
the object types which can be displayed with text.
An object property can be changed by assigning a new value to its attribute. Entries for
changing a specific attribute can be found in the detailed description of that attribute.
Procedure
1. Open the Object Properties window.
2. In the Properties tab, select the property group you want.
3. Double-click the attribute you want. A dialog for changing attributes will open. Enter a new
value according to the table below.
4. Click OK to confirm your entries.
As an alternative, you can directly open a dialog for changing attributes by double-clicking in
the Static column. You can call up direct help for each attribute by right-clicking it in the Attribute
column.
1576
Procedure
Value input
Text Input
Switchover
Selecting a color
Select one of the 16 standard colors or open the palette with the user-defined
colors. In this palette, you can freely define additional colors.
Example:
Object: static text; properties group: color; attribute: font color
Selecting a picture
Choose a picture from the selection dialog or use the Search In dialog to
find a directory where you can take additional pictures in the picture
selection.
Example:
Object: static metafile; properties group: other; attribute: metafile name
See also
The Styles Property Group (Page1587)
The Miscellaneous Property Group (Page1585)
The Font Property Group (Page1584)
The Geometry Property Group (Page1581)
The Colors Property Group (Page1579)
How to Rename Objects (Page1578)
How to Transfer Object Properties (Page1577)
8.5.7.4
Introduction
The properties of an object can be transferred to another object with the Eyedropper. The
following buttons can be used to transfer object properties in the page layout editor:
1577
Procedure
1. Select the object whose properties you want to copy.
2. In the standard toolbar, click
.
The properties of the selected object are copied.
3. Select the object to which you want to assign the copied properties.
4. In the standard toolbar, click
.
The selected object will be displayed with the new properties, but without changing its
geometric attributes.
See also
The Styles Property Group (Page1587)
The Miscellaneous Property Group (Page1585)
The Font Property Group (Page1584)
The Geometry Property Group (Page1581)
The Colors Property Group (Page1579)
How to Rename Objects (Page1578)
How to Change an Attribute (Page1576)
8.5.7.5
Introduction
The Object Name attribute determines the name of an object in the layout. The object name
is unique within a layout.
When an object is inserted, the object name assigned as standard is the description of the
object type with a consecutive number. This name can be changed using the Object Name
attribute.
1578
Requirement
Select an object of any type.
Procedure
1. Open the Object Properties window.
2. In the Properties tab, select the entry for the selected object type to which the property
groups of the object are subordinate.
3. Double-click the Object Name attribute. The Text Entry dialog opens.
4. Enter the new name.
5. Click OK to confirm your entries.
Value area
The object name is freely selectable and can contain up to 128 characters. When entering the
name, please make note of the list of characters which are not permitted.
8.5.7.6
1579
Requirement
The Colors property group is available for all object types.
The availability of the attributes is dependent on the type of object selected. Only the attributes
which the selected object has will be displayed.
Overview
The following table shows all attributes in the Colors property group. The function of an attribute
is described briefly and the object types for which the attribute is available are listed.
Attribute
Function
Object type
Background color
Background color of
the object
Line color
Color of a line
Line background
color
Background color of
a line
Font color
See also
Working with the Colors Property Group (Page1580)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Color Palette (Page1536)
1580
Requirement
Select an object of any type.
Procedure
1. Open the Object Properties window, e.g. using the pop-up menu.
2. On the Properties tab, select the Colors property group.
3. Double-click the Background Color attribute. A selection dialog opens.
4. Select one of the 16 standard colors or open the palette with the user-defined colors. In
this palette, you can freely define additional colors.
See also
Working with the Colors Property Group (Page1580)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Color Palette (Page1536)
8.5.7.7
Requirement
The Geometry property group is available for all objects.
The availability of the attributes is dependent on the type of object selected. Only the attributes
which the selected object has will be displayed.
Overview
The following table shows all attributes in the Geometry property group. The function of an
attribute is described briefly and the object types for which the attribute is available are listed.
Attribute
Function
Object type
Current value X
Polygon, polyline
Current value Y
Polygon, polyline
1581
1582
Attribute
Function
Object type
Starting angle
Polygon, polyline
Width
All objects
Corner radius X
Rounded rectangle
Corner radius Y
Rounded rectangle
End angle
Height
All objects
Index
Layout object
Left dynamic
margin
Layout object
Layout object
Top dynamic
margin
Layout object
Orientation
Layout object
Position X
All objects
Position Y
All objects
Radius
Radius X
Radius Y
Right dynamic
margin
Layout object
Paper size
Layout object
Columns
Bottom print
margin
Layout object
Bottom dynamic
margin
Layout object
See also
Working with the Geometry Property Group (Page1583)
How to Change an Attribute (Page1576)
The Rectangle Surrounding the Object (Page1560)
The coordinate system in the Report Designer (Page1559)
The Properties of an Object (Page1570)
Requirement
Select an object of any type. You have already set the units of the coordinates (e.g.
centimeters) in the Tools/Settings/Units menu.
Procedure
1. Open the Object Properties window, e.g. using the pop-up menu.
2. On the Properties tab, select the Geometry property group.
3. Double-click the Width attribute. The Value Input dialog opens.
4. Enter the new value.
5. Click OK to confirm your entries.
Alternative Operation
Change the object size with the mouse by dragging one of the handles on the rectangle
surrounding the object to the width you want.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Rectangle Surrounding the Object (Page1560)
The coordinate system in the Report Designer (Page1559)
The Geometry Property Group (Page1581)
1583
8.5.7.8
Requirement
The Font property group is available for all objects. Static text, the dynamic objects ODBC
Database and Tags, the system objects and the objects for online and project documentation
The availability of the attributes is dependent on the type of object selected. Only the attributes
which the selected object has will be displayed.
Overview
The following table shows all attributes in the Font property group. The function of an attribute
is described briefly and the object types for which the attribute is available are listed.
1584
Attribute
Function
Object type
Bold
Text is displayed in
boldface
Italic
Text is displayed in
italics
Text
Static text
Underline
Text is displayed
underlined
X alignment
Horizontal orientation
of the text in the object
Y alignment
Vertical orientation of
the text in the object
Font
Font size
Text wrap
Automatic line
wrapping during output
of the text
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with the Font Property Group (Page1585)
Requirement
Select one of the following objects: Static text, the dynamic objects ODBC Database and Tags,
the system objects and the objects for online and project documentation
Procedure
1. Open the Object Properties window, e.g. using the pop-up menu.
2. On the Properties tab, select the Font property group.
3. Double-click the Font attribute. The Font Selection dialog opens.
4. Select the font you want in the dialog.
5. Click OK to confirm your entries.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with the Font Property Group (Page1585)
8.5.7.9
1585
Requirement
The Miscellaneous property group is available for all objects.
The availability of the attributes is dependent on the type of object selected. Only the attributes
which the selected object has will be displayed.
Overview
The following table shows all attributes in the Miscellaneous property group. The function of
an attribute is described briefly and the object types for which the attribute is available are
listed.
Attribute
Function
Object type
Output format
Output value
Calculation
Data type
Cover sheet
Layout object
Format
Layout file
Embedded layout
Metafile name
Static metafile
Final page
Layout object
Page break
all objects
Polling list
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with the Miscellaneous Property Group (Page1586)
Requirement
Select an object of any type.
1586
Procedure
1. Open the Object Properties window, e.g. using the pop-up menu.
2. On the Properties tab, select the Miscellaneous property group.
3. Double-click the Page Break attribute. The entered value changes, for example from No to
Yes. With Yes, a page break is inserted in front of the object. The default setting is Yes.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with the Miscellaneous Property Group (Page1586)
8.5.7.10
Requirement
The Styles property group is available for all objects.
The availability of the attributes is dependent on the type of object selected. Only the attributes
which the selected object has will be displayed.
Overview
The following table shows all attributes in the Styles property group. The function of an attribute
is described briefly and the object types for which the attribute is available are listed.
Attribute
Function
Object type
Corners
all objects
Fill pattern
1587
Function
Object type
all objects
Line type
all objects
Line weight
all objects
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with the Styles Property Group (Page1588)
Requirement
Select an object of any type.
Procedure
1. Open the Object Properties window, e.g. using the pop-up menu.
2. On the Properties tab, select the Styles property group.
3. Double-click the Fill Pattern attribute. The Fill Pattern Selection dialog opens.
4. Select the fill pattern you want in the dialog.
5. Click OK to confirm your entries.
Alternative Operation
You can also change the fill pattern with the style palette.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with the Styles Property Group (Page1588)
1588
8.5.8
8.5.8.1
Introduction
Standard objects include geometric shapes, static text, OLE objects, static metafiles, the
dynamic objects and the system objects. You can use static objects to design the layout for
the output. System objects can be used, as an example, to inscribe the project name and page
numbers in the static part of the report.
In the page layout editor, the various object types have predefined properties. When they are
inserted the objects import these default properties, with the exception of individual geometric
properties. After insertion the properties of an object can be modified. In the same way the
default settings for the object types can be modified as required.
See also
Working with System Objects (Page1631)
Working with Dynamic Standard Objects (Page1618)
Working with Static Objects (Page1589)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
8.5.8.2
1589
Usage
Static objects are used for the visual design of a report. The static objects can be pasted into
the static and dynamic parts of a layout.
See also
How to Paste an Object into a Layout (Page1562)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Rectangle Surrounding the Object (Page1560)
The Properties of an Object (Page1570)
Overview of the Static Objects (Page1527)
1590
Requirement
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to paste a line.
2. Click the "Line" standard object in the Object palette.
3. Place the mouse pointer at the position in the layout where you want to insert the
line.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the line to the length and direction you want.
When you release the mouse button, the line is finished.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1591
Requirement
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert a polygon.
2. Click the standard object "Polygon" in the Object palette.
3. Place the mouse pointer at the position in the layout where you want to insert the
polygon.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Click the selected starting point with the left mouse button.
1592
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1593
Requirement
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert a polyline.
2. Click the "Polyline" standard object in the Object palette.
3. Place the mouse pointer at the position in the layout where you want to insert the
polyline.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Click the selected starting point with the left mouse button.
5. Move the mouse pointer to the next corner point. Click with the left mouse button to set the
corner point. Set as many further corner points as you like in the same way.
6. Double-click with the left mouse button to set the last corner point and finish the polyline.
1594
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1595
Requirement
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert an ellipse.
2. Click on the "Ellipse" standard object in the Object palette.
1596
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1597
Requirement
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert a circle.
2. Click the "Circle" standard object in the Object palette.
1598
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1599
Requirement
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert an ellipse segment.
2. Click the "Ellipse segment" standard object in the Object palette.
3. Place the mouse pointer at the position in the layout where you wish to position the origin
of the ellipse segment.
The mouse pointer changes into a crosshair with an object symbol attached.
1600
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1601
Requirement
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert a pie segment.
2. Click in the "pie segment" standard object in the Object palette.
3. Place the mouse pointer at the position in the layout where you wish to position the origin
of the pie segment.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the pie segment to the size and direction you
want.
When you release the mouse button, the pie segment insertion is finished.
1602
See also
Working with Standard Objects (Page1589)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
How to Paste an Object into a Layout (Page1562)
1603
Requirement
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert an ellipse arc.
2. Click the "Ellipse arc" standard object in the Object palette.
3. Place the mouse pointer at the position in the layout where you wish to position the origin
of the ellipse arc.
The mouse pointer changes into a crosshair with an object symbol attached.
1604
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1605
Requirement
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert a circular arc.
2. Click the "Circular arc" standard object in the Object palette.
3. Place the mouse pointer at the position in the layout where you wish to position the origin
of the circular arc.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the circular arc to the size and direction you
want.
When you release the mouse button, the circular arc insertion is finished.
1606
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1607
Requirements
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert a rectangle.
2. Click the "Rectangle" standard object in the Object palette.
3. Place the mouse pointer at the position in the layout where you want to insert the
rectangle.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the rectangle to the size and direction you
want.
When you release the mouse button, the rectangle is finished.
1608
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1609
Requirements
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert a rounded rectangle.
2. Click the "Rounded rectangle" standard object in the Object palette.
1610
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1611
Requirements
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to insert static text.
2. Click the "static text" standard object in the Object palette.
3. Place the mouse pointer at the position in the layout where you want to insert the static
text.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the text field to the required size.
The field for the static text is complete as soon as you release the mouse button.
The word Text appears in the field.
1612
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1613
Requirements
The display of the object palette must be enabled.
The file type you wish to use must be registered in the Windows operating system.
1614
1. Open the layout where you want to paste an OLE object, and click on the "OLE object" in
the Object palette.
2. Place the mouse pointer at the position in the layout where you want to insert the OLE
object.
The mouse pointer changes into a crosshair with an object symbol attached.
3. Drag the OLE object to the desired size.
The "Insert Object" dialog is opened.
4. Select the option Create New.
The Insert Object dialog, a list of all file types registered in the Windows operating system
is displayed.
5. Select the object type for the file that you want to create in the selected OLE object.
6. Mark the "As icon" check box if only an icon for the associated file type should be displayed
and not the contents of the selected file.
7. Confirm your entry with "OK". The insertion process for the OLE object is finished.
1615
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
Requirements
The display of the object palette must be enabled.
The graphic file must be in the *.emf format.
1616
Procedure
1. Open the layout in which you want to insert a static metafile.
2. Click the Static Metafile standard object in the Object palette.
3. Place the mouse pointer at the position in the layout where you want to insert the static
metafile.
The mouse pointer changes into a crosshair with an object symbol attached.
4. Hold down the mouse button and drag the object to the size and direction you want.
When you release the mouse button, the static metafile is finished.
5. Double-click the Metafile Name attribute in the Miscellaneous property group of the Object
Properties window in order to enter the name of the graphic file.
6. A file dialog opens in which you can select the graphic file you want in the *.emf format.
7. Confirm the selected file with the Open button. The selected graphic file will be inserted in
the object.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Standard Objects (Page1589)
How to Paste an Object into a Layout (Page1562)
1617
8.5.8.3
Usage
With dynamic standard objects you link to tags, databases and screen contents that you wish
to output in a log. You can only paste dynamic standard objects in the dynamic part of a page
layout.
See also
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Rectangle Surrounding the Object (Page1560)
The Properties of an Object (Page1570)
How to Paste an Object into a Layout (Page1562)
Overview of the Dynamic Objects (Page1528)
1618
Possible combinations: Layouts B1, B2 and a log object are directly embedded in Layout A1.
An embedded layout with several log objects of the same type is embedded in layout A2.
1619
Purpose
The functionality of the "Embedded layout" object is used, for example, with the project
documentation of pictures from the Graphics Designer. The configuration data of all pictures
in a WinCC project are output with the "@PdlPic" layout in this way. The data are output in
blocks for every picture. The output thus occurs in this form:
Picture 1
- output of all data for picture 1
Picture 2
- output of all data for picture 2
Picture n
- output of all data for picture n
If the objects for the project documentation are pasted from the object palette one after the
other into a layout, then the data of the current object will be collected and output. The output
then occurs in this form:
Object 1
- output of object data for picture 1, picture 2, picture n
Object 2
1620
Applications
Print job
Layout used
Function
@Documentation
Graphics Designer
Dynamics
@PDLPicDyn
@Documentation
Graphics Designer
@PDLPic
@Documentation
Global Script Project
Function
@GSC_RPFC
@Documentation
Global Script
Standard Function
@GSC_SFC
Requirements
The hardcopy object is already pasted into the layout
The inserted object has been selected.
The "Object properties" window is open
You are familiar with the Link tab.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1621
Procedure
1. Select "Area selection" from the "Name" column in the right area of the Link tab. Clicking
on the "Edit..." button opens the "Area selection" dialog.
2. From the selection list, choose the area from which you want to prepare a hard copy for
the report.
3. The configured area is static. You can, however, link a WinCC tag in order to change the
area to dynamic in runtime. The report system reads the value from the variable at runtime.
If the variable cannot be read, the configured value is used.
The WinCC tag must be of the Number type. The numbers have the following
significance:
0 Hard copy of the entire screen
1 Hard copy of the current window
2 Hard copy of a section
4. If you have selected "Hardcopy of a section", you must enter the X and Y positions of the
upper left corner of the area in the lower part of the dialog, as well as set the width and
height of the section in pixels.
5. The numeric values for setting the section can also be dynamized using WinCC tags. The
WinCC tags must be of the number type. The report system reads the value from the
variable at runtime. If the variable cannot be read, the configured value is used.
6. If you want to maintain the proportions of the screen contents during printing, select the
appropriate check box.
1622
See also
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Dynamic Standard Objects (Page1618)
How to Paste an Object into a Layout (Page1562)
How to Change the Output Options for the ODBC Database Field
Introduction
With the "ODBC database field" object, you can paste the contents of a database field as text
in the dynamic part of a page layout via the ODBC interface. If the content of the database
field concerns a text object, only the first value of the first line will be delivered, independent
of the size of the volume of results.
Requirements
The "ODBC database field" object is already pasted into the layout
The inserted object has been selected.
The "Object properties" window is open
You are familiar with the Link tab.
A valid ODBC data source exists and is registered
Knowledge of ODBC and SQL
1623
Procedure
1. Select "Database link" from the "Name" column in the right area of the Link tab. Click the
"Edit..." button to open a configuration dialog.
2. Use the selection list in the "ODBC data source" area to select the desired data source. All
registered ODBC data sources are available for selection. The project creator is responsible
for the registration and validity of the data sources.
3. If the data source has any database-specific access limitations, enter the necessary
information in the fields for the user and password.
4. The selection of the data for output takes place using an SQL statement. Enter the required
statement in the SQL statement area. Using the "Insert tag..." button, you can insert a tag
into the SQL statement in order to complete it at runtime.
5. You can check your entries by using the "Test SQL statement" button. The project must be
activated for the check when using WinCC tags.
6. Confirm your entries by clicking "OK". The dialog closes.
7. Save the layout.
1624
See also
How to Paste an Object into a Layout (Page1562)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Dynamic Standard Objects (Page1618)
How to Change the Output Options for the ODBC Database Table
Introduction
With the "ODBC database table" object, you can paste the contents of a database table as
text in the dynamic part of a page layout via the ODBC interface.
Requirements
The "ODBC database table" object is already pasted into the layout
The inserted object has been selected.
The "Object properties" window is open
You are familiar with the Link tab.
A valid ODBC data source exists and is registered
Knowledge of ODBC and SQL
1625
Procedure
1. Select "Database link" from the "Name" column in the right area of the Link tab. Click the
"Edit..." button to open a configuration dialog.
2. Use the selection list in the "ODBC data source" area to select the desired data source. All
registered ODBC data sources are available for selection. The project creator is responsible
for the registration and validity of the data sources.
3. If the data source has any access limitations, enter the necessary information in the fields
for the user and password.
4. The selection of the data for output takes place using an SQL statement. Enter the required
statement in the SQL statement area. The example refers to the MCPTVARIABLEDESC
table from the WinCC database. Using the "Insert tag..." button, you can insert a tag into
the SQL statement in order to complete it at runtime.
5. You can check your entries by using the "Test SQL statement" button. If the test is
successful, then the number of columns found in the "Number of columns" field will be
applied. The project must be activated for the check when using WinCC tags.
6. If the column headings are to be output, then confirm this by marking the accompanying
check box. Confirm your entries by clicking "OK". The dialog is closed.
7. Save the layout.
1626
Representation
SELECT tag name FROM MCPTVARIABLEDESC aligns by default the column text to the left
SELECT tag name as '<ALIGN=right> tag name '
FROM MCPTVARIABLEDESC
1627
3. Use the dialog to define the column width of the individual columns. The widths of the
columns can be changed relative to one another. Every column will receive its assigned
share of the total width.
4. Confirm your entries with "OK".
See also
How to Change an Attribute (Page1576)
How to Transfer Object Properties (Page1577)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Dynamic Standard Objects (Page1618)
How to Paste an Object into a Layout (Page1562)
1628
Procedure
1. Open the layout in which you want to insert a Tag object.
2. In the Object Palette, click the standard object Tag.
3. Place the mouse pointer at the position in the layout where you with to insert the
tag.
The Tag Selection dialog is opened.
4. Select the tag you want from the list of WinCC tags and confirm your selection with the OK
button. The Output Value attribute now contains this tag.
Linking a Script
Using the Calculation attribute in the Miscellaneous object property, you can call up a script
for the output. Then a tag must not be selected.
1. If no script has been specified, then the Create a New Script option field is enabled. After
confirmation of this dialog, the Edit Action dialog opens. In this dialog you can formulate an
action in the high-level language ANSI-C.
2. Set the data type for the return value in the Return Value field. You can only set the data
type while creating the script; it is not possible to change it later.
The following data types are available: long, double and char.
3. If a script has already been specified, then you can edit this script by selecting the option
Edit an Existing Script
4. Select the option Delete an Existing Script to delete the specified script without a query
when the dialog is confirmed.
Format
Description
Binary
String
String
Hexadecimal
1629
Format
Description
Decimal
Decimal
Exponent display
Decimal
Decimal
Decimal
Decimal point
Display
9.9
1.0
s9.9
+1.0
s9.99e
+1.0e+000
099.99
01.00
See also
Working with Dynamic Standard Objects (Page1618)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
How to Paste an Object into a Layout (Page1562)
1630
8.5.8.4
Introduction
The following system objects can be output in a report:
date and time
Page number
Project name
Layout name
You can only paste system objects into the static part of a page layout.
Requirements
The display of the object palette must be enabled.
Procedure
1. Open the layout in which you want to paste a system object.
2. Select Static Part from the View menu.
3. Click the system object you want on the Standard Objects tab in the object palette.
4. Place the mouse pointer at the position in the layout where
5. Hold down the mouse button and drag the object to the size and direction you want.
When you release the mouse button, the system object is finished.
Format Options
You can set the display of the output value with the following format options. The representation
is dependent on the data format. If no format is set, a predefined format will be used for all
system objects during the report output.
System object
Format
Description
Layout name
%L or %l
Project name
%R or %r
Page number
%N or %n
Page number
%T or %t
Date/Time
%a
Date/Time
%A
Date/Time
%b
Date/Time
%B
Date/Time
%c
Date/Time
%d
Date/Time
%H
1631
Format
Description
Date/Time
%I
Date/Time
%j
Date/Time
%m
Date/Time
%M
Date/Time
%p
Date/Time
%S
Date/Time
%U
Date/Time
%x
Date/Time
%X
Date/Time
%y
Date/Time
%Y
Date/Time
%z
Date/Time
%%
Percentage sign
See also
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
How to Paste an Object into a Layout (Page1562)
Overview of the System Objects (Page1529)
1632
8.5.8.5
Introduction
A layout opened in the page layout editor is treated as an object. The layout object has object
properties and can be edited Object Properties dialog. However, the properties of the layout
object cannot be transferred to another layout object using the eyedropper.
The layout object has the following property groups:
Colors
Geometry
Miscellaneous
You can obtain further information in the descriptions of the individual property groups in
chapter Properties of an Object.
Requirements
A layout must be open in the page layout editor.
Procedure
1. Click with the mouse on any free space in the working area. Click the Properties button in
the toolbar. The Object Properties dialog will open.
2. Click the Properties tab.
3. Select the property group you want from the left area. The available attributes are shown
in the right area.
4. Edit the attributes you want.
5. Save your changes.
In principle, changes to the properties of a layout object effect the cover sheet, the report
contents and the closing page.
The object name of the layout object is not displayed in the object selection of the Object
Properties dialog. Therefore, the layout object cannot be selected in the Object Properties
dialog using the object selection. If the Object Properties dialog is already open and fixed with
the pin, then simply click any free area of the work area for selection.
See also
The Miscellaneous Property Group (Page1585)
The Geometry Property Group (Page1581)
The Colors Property Group (Page1579)
1633
8.5.9
8.5.9.1
Introduction
The following chapters provide details regarding the Page Layout Editor objects available for
the runtime documentation.
Application
The runtime documentation objects are available for the output of runtime data in logs. The
objects are linked with the pertinent WinCC applications and provide the output data in runtime.
The objects for runtime documentation can only be inserted in the dynamic part of a page
layout.
Configure only the basic properties of the layout for the "WinCC Control Runtime Printprovider"
object. The report parameters for the output are determined by properties of the WinCC Control
and cannot be assigned dynamic properties.
In addition to the basic properties, configure the static and dynamic report parameters of the
layout for all other objects of the Runtime documentation. The objects provide dialogs for the
selection of output data.
See also
How to Configure the Dynamic Parameters of WinCC Alarm Control (Page1651)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Rectangle Surrounding the Object (Page1560)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
How to Configure the Static Parameters of WinCC Online Table Control (Page1635)
How to Configure the Dynamic Parameters of WinCC Online Table Control (Page1638)
How to Configure the Static Parameters of WinCC Online Trend Control (Page1640)
How to Configure the Dynamic Parameters of the WinCC Online Trend Control (Page1643)
How to Configure the Static Parameters of WinCC Function Trend Control (Page1645)
Configuring the dynamic parameters of the WinCC Function Trend Control (Page1647)
How to Configure the Static Parameters of WinCC Alarm Control (Page1649)
Objects for the Runtime Documentation (Page1529)
1634
8.5.9.2
Requirements
The WinCC Online Table Control/Table object is pasted into the layout.
The inserted object has been selected.
The "Object properties" window is open
Process value archives or compression archives are inserted
Archive tags have been inserted
Procedure
1. In the "Link" tab of the "Object Properties" window, click the entry "Parameterization". The
dialog with the Control properites is displayed.
2. Configure in the Columns tab the columns you want to output. Select an archive tag for
each column.
1635
4. Configure the time range to be considered for each column in the Column tab.
1636
You can enter a start time and an end time or a start time with a time range. If the "Update"
checkbox is activated, the start time refers to the current time. The previous values are then
output in the defined time interval.
1. Configure the time and value display formats in the Column tab.
See also
How to Configure the Dynamic Parameters of WinCC Online Table Control (Page1638)
1637
Requirements
The WinCC Online Table Control/Table object is pasted into the layout.
The inserted object has been selected.
The "Object properties" window is open
Process value archives or compression archives are inserted
Archive tags have been inserted
You have inserted the columns for the output via the static parameters.
1638
Procedure
1. In the "Link" tab of the "Object Properties" window, click the entry "Dynamized
Parameterization". The dialog with the list of dynamizable properties opens.
2. In the Parameter list, click the property you want to dynamize. When you click with the
mouse the "?" icon, you will get the following information:
Description of the properties
Format of the properties
Suitable tag type
3. Click the tag selection symbol on the upper right side. The tag selection dialog is displayed.
4. Select the desired tag, or create a new tag. Edit the properties of the tag in the tag selection
dialog. If necessary, specify a start value for the tag.
5. Apply the settings by clicking OK and save the layout.
See also
How to Configure the Static Parameters of WinCC Online Table Control (Page1635)
Dynamizable Parameters for Runtime Documentation (Page1479)
1639
8.5.9.3
Requirements
The WinCC Online Trend Control/Picture object is pasted into the layout.
The inserted object has been selected.
The "Object properties" window is open
Process value archives or compression archives are inserted
Archive tags have been inserted
Procedure
1. In the "Link" tab of the "Object Properties" window, click the entry "Parameterization". The
dialog with the Control properites is displayed.
2. Configure in the Columns tab the columns you want to output.
Select an archive tag for each trend
Define the display format for each trend
Define the display line weight for each trend
1640
4. Configure the time range or measurement range for each trend in the "Time Axis" tab.
1641
To output values for a time range, either define the start time or the end time or a start time
with a time range. To output values for a measurement range define the start time and the
number of measuring points.
If the "Update" checkbox is activated, the start time refers to the current time. The previous
values are then output in the defined time interval or measurement range.
1. For each trend, comfigure the properties of the value axis in the Value Axis tab.
See also
How to Configure the Dynamic Parameters of the WinCC Online Trend Control (Page1643)
1642
How to Configure the Dynamic Parameters of the WinCC Online Trend Control
Introduction
The "WinCC Online Trend Control/Picture" report object is used to output process data from
the associated Tag Logging Archives in the form of a trend.
You can define dynamic parameters for each trend and for some properties of Control.
For a print order, the dynamizable parameters of WinCC Online Trend Control are provided
with the current values of the assigned WinCC tags during runtime.
Value are supplied to WinCC tag through scripts, process-controlled actions or via other
WinCC applications. An overview of the Runtime documentation parameters that can be
dynamized is included in chapter Dynamizable Parameters for Runtime Documentation.
Requirements
The WinCC Online Trend Control/Picture object is pasted into the layout.
The inserted object has been selected.
The "Object properties" window is open
Process value archives or compression archives are inserted
Archive tags have been inserted
You have inserted the trends for the output via the static parameters.
1643
Procedure
1. In the "Link" tab of the "Object Properties" window, click the entry "Dynamized
Parameterization". The dialog with the list of dynamizable properties opens.
2. In the Parameter list, click the property you want to dynamize. When you click in the list the
"?" icon, you will get the following information:
Description of the properties
Format of the properties
Suitable tag type
3. Click the tag selection symbol on the upper right side. The tag selection dialog is displayed.
4. Select the desired tag, or create a new tag. Edit the properties of the tag in the tag selection
dialog. If necessary, specify a start value for the tag.
5. Apply the settings by clicking OK and save the layout.
See also
How to Configure the Static Parameters of WinCC Online Trend Control (Page1640)
Dynamizable Parameters for Runtime Documentation (Page1479)
1644
8.5.9.4
Requirements
The WinCC Function Trend Control/Picture object is pasted into the layout.
The inserted object has been selected.
The "Object properties" window is open
Process value archives, compression archives or user archives are inserted
Archive tags have been inserted
Procedure
1. In the "Link" tab of the "Object Properties" window, click the entry "Parameterization". The
dialog with the Control properites is displayed.
2. Configure in the Columns tab the columns you want to output.
Configure, if required, the setpoint trend for each trend
Define the display format for each trend
Define the display line weight for each trend
1645
4. In the Data Link tab, configure the data supply for the trends with archive tags or from user
archives.
5. In the X-Axis and Y-Axis tabs, configure the axis properties for each trend.
See also
Configuring the dynamic parameters of the WinCC Function Trend Control (Page1647)
1646
Requirements
The WinCC Function Trend Control/Picture object is pasted into the layout.
The inserted object has been selected.
The "Object properties" window is open
Process value archives, compression archives or user archives are inserted
Archive tags have been inserted
You have inserted the trends for the output via the static parameters.
1647
Procedure
1. In the "Link" tab of the "Object Properties" window, click the entry "Dynamized
Parameterization". The dialog with the list of dynamizable properties opens.
2. In the Parameter list, click the property of a trend or control you want to dynamize. When
you click with the mouse the "?" icon, you will get the following information:
Description of the properties
Format of the properties
Suitable tag type
3. Click the tag selection symbol on the upper right side. The tag selection dialog is displayed.
4. Select the desired tag, or create a new tag. Edit the properties of the tag in the tag selection
dialog. If necessary, specify a start value for the tag.
5. Apply the settings by clicking OK and save the layout.
See also
How to Configure the Static Parameters of WinCC Function Trend Control (Page1645)
Dynamizable Parameters for Runtime Documentation (Page1479)
1648
8.5.9.5
Requirements
The "WinCC Alarm Control/Table" object is pasted into the layout.
The inserted object has been selected.
The "Object properties" window is open
Message configuration has been carried out in Alarm Logging
1649
Procedure
1. In the "Link" tab of the "Object Properties" window, click the entry "Parameterization". The
dialog with the Control properites is displayed.
2. Define the message list you want to output in the General tab. Configure the Control
properties. Only the non-grayed options can be customized for report output.
1650
See also
How to Configure the Dynamic Parameters of WinCC Alarm Control (Page1651)
1651
Requirements
The "WinCC Alarm Control/Table" object is pasted into the layout.
The inserted object has been selected.
The "Object properties" window is open
Message configuration has been carried out in Alarm Logging
You have configured the message list for the output via the static parameters.
1652
Procedure
1. In the "Link" tab of the "Object Properties" window, click the entry "Dynamized
Parameterization". The dialog with the list of dynamizable properties opens.
2. In the Parameter list, click the property you want to dynamize. When you click with the
mouse the "?" icon, you will get the following information:
Description of the properties
Format of the properties
Suitable tag type
3. Click the tag selection symbol on the upper right side. The tag selection dialog is displayed.
4. Select the desired tag, or create a new tag. Edit the properties of the tag in the tag selection
dialog. If necessary, specify a start value for the tag.
5. Apply the settings by clicking OK and save the layout.
See also
How to Configure the Static Parameters of WinCC Alarm Control (Page1649)
Dynamizable Parameters for Runtime Documentation (Page1479)
1653
8.5.9.6
How to Change the Output Options for Message Reports from Alarm Logging Runtime
Introduction
You can control the output of messages from the message list or from the message archive
in Runtime in advance via a user-specific selection of messages.
Overview
The following layouts are available for alarm logging in Runtime in the page layout editor:
Archive report
Message report
The layout is linked to the Alarm Logging message archive and serves to
display the messages recorded there in a log.
The layout is linked to the Alarm Logging Runtime and serves to display
the current message list in a log. The layout also provides a message
sequence report in a page layout.
The output data selection procedure is the same for both layouts. In the following, the steps
are described for the message report.
In order to return a user-specific selection of messages, you can use a pre-defined layout, or
create your own layout. You can also create multiple layouts, filter the messages through the
selection criteria, and return them in separate logs. For the layout output, you need to configure
a job. See for more information.
Requirements
The object "Message report" has already been inserted in the layout
The inserted object has been selected
The "Object properties" window is open
You are familiar with the Link tab.
Message configuration has been carried out in Alarm Logging.
Editing Options
For the objects "Archive report" and "Message report", you can select the data from the
message system as well as the time base.
1654
Procedure
1. Open the "Link" tab in the "Object Properties" window and double-click the entry "Selection"
in the list of editing options. The "Alarm Logging Runtime: Log Tables - Selection" dialog
opens.
2. Select the output data using the dialog. The dialog is described under "Selection of data
for a message report".
3. Apply the settings by clicking "OK".
See also
How to Modify the Time Range (Page1655)
Filter Criteria for the Alarm Output (Page1699)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Runtime Documentation (Page1634)
Selection of the Data for a Message Report (Page1656)
Requirements
The object "Message report" has already been inserted in the layout
The inserted object has been selected.
The "Object properties" window is open
You are familiar with the Link tab.
Message configuration has been carried out in Alarm Logging.
1655
Edit Options
For the objects "Archive report" and "Message report", you can select the data from the
message system as well as the time base.
Procedure
1. In the "Object Properties" window, you can also change the base for time specifications.
To do that, double-click the entry "Base for time specifications" in the list of editing options.
The following dialog will open.
2. Select the required time base and confirm your selection with "OK".
3. Modify the external form of the object, if necessary, by changing the attribute values in the
Properties tag.
4. Close the "Object Properties" dialog and save the layout.
See also
How to Change the Output Options for User Archive Tables (Page1658)
How to Change the Output Options for Message Reports from Alarm Logging Runtime
(Page1654)
1656
1657
See also
Filter Criteria for the Alarm Output (Page1699)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Runtime Documentation (Page1634)
8.5.9.7
1658
Requirements
The object User Archive Runtime Table has already been inserted in the layout.
The inserted object has been selected.
The Object Properties window is open
You are familiar with the Link tab.
At least one user archive has been created
Editing Options
For the object User Archive Runtime/Table, you can select the data from a user archive or a
view, as well as the time base.
Procedure
1. Open the Link tab in the Object Properties window and double-click the entry Table
Selection in the list of editing options. This opens the Table Selection dialog.
2. Use the dialog to configure the selection of data for output. The dialog is described under
Selection of Data for User Archive Tables.
3. Apply the settings by clicking OK.
See also
How to Modify the Time Range (Page1661)
How to Modify the Time Range (Page1655)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Runtime Documentation (Page1634)
Selection of Data for the User Archive Table (Page1660)
1659
1660
See also
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Runtime Documentation (Page1634)
1661
Requirements
The object "Message report" has already been inserted in the layout
The inserted object has been selected.
The "Object properties" window is open
You are familiar with the Link tab.
Message configuration has been carried out in Alarm Logging.
Edit Options
For the objects "Archive report" and "Message report", you can select the data from the
message system as well as the time base.
Procedure
1. In the "Object Properties" window, you can also change the base for time specifications.
To do that, double-click the entry "Base for time specifications" in the list of editing options.
The following dialog will open.
2. Select the required time base and confirm your selection with "OK".
3. Modify the external form of the object, if necessary, by changing the attribute values in the
Properties tag.
4. Close the "Object Properties" dialog and save the layout.
See also
How to Change the Output Options for User Archive Tables (Page1658)
How to Change the Output Options for Message Reports from Alarm Logging Runtime
(Page1654)
8.5.9.8
Introduction
The log object "CSV provider table" is available for the output of user-specific data from a data
source in CSV format. The object can be linked to a data source in CSV format and returns
the data from this source as a table in a WinCC protocol.
Requirements
The object "CSV Provider Table" has already been inserted in the layout
The inserted object has been selected.
1662
Edit Options
For the object "CSV provider table", you can select a CSV file for the output.
Procedure
1. Open the "Link" tab in the "Object Properties" window and double-click the entry "CSV table
selection" in the list of editing options. This opens the "CSV table selection" dialog.
2. Use the "..." button to open the file selection dialog. Navigate to the desired CSV data source
and select it, or enter the path and file name directly in the input field.
3. To take over the font and font size from the file, enable the corresponding check boxes in
the dialog. If those boxes are not checked, the settings will be taken from the attributes of
the object properties.
4. Confirm your entries with "OK."
5. You can modify the external form of the object, if necessary, by changing the attribute values
in the Properties tab of the "Object properties" window.
6. Close the "Object Properties" window and save the layout.
1663
See also
Requests to a CSV File for Reporting (Page1696)
How to Change the Output Options for CSV Provider Trends (Page1664)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Runtime Documentation (Page1634)
8.5.9.9
Introduction
The "CSV provider trend" report object is available for the output of user-specific data from a
data source in CSV format. The object can be linked to a data source in CSV format and returns
the data from this source as a curve in a WinCC protocol.
Requirements
The object "CSV Provider Trend" has already been inserted in the layout
The inserted object has been selected.
The "Object properties" window is open
1664
Edit Options
For the object "CSV Provider Trend", you can select a CSV file for the output.
Procedure
1. Open the "Link" tab in the "Object Properties" window and double-click the entry "CSV table
selection" in the list of editing options. This opens the "CSV table selection" dialog.
2. Use the "..." button to open the file selection dialog. Navigate to the desired CSV data source
and select it, or enter the path and file name directly in the input field.
3. Confirm your entries with "OK."
4. You can modify the external form of the object, if necessary, by changing the attribute values
in the Properties tab of the "Object properties" window.
5. Close the "Object Properties" window and save the layout.
1665
See also
Requests to a CSV File for Reporting (Page1696)
How to Change the Output Options for CSV Provider Tables (Page1662)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Runtime Documentation (Page1634)
8.5.10
8.5.10.1
Introduction
In this chapter, you will find details regarding the available objects of the page layout editor for
the project documentation. You will learn how to work with the objects, and what are the basic
conditions for each object.
The project documentation objects are provided for the report output of configured data. The
objects are linked to the corresponding WinCC applications and return the configuration data
of the WinCC project for output in a report. The objects for project documentation can only be
inserted in the dynamic part of a page layout.
1666
Some objects provide an option to select output data. This allows you to restrict the output to
the data you currently need. For some of these objects, the selection options are identical. For
each type of selection, this chapter will describe the changes that can be made to the output
options. The relevant objects are listed with the descriptions.
The other objects do not offer an option to select output data. There are 3 types of these
objects. The editing steps to change the output options are identical for objects of the same
type and are described once for each object type.
1667
See also
How to Change an Attribute (Page1576)
How to Change the Output Options for the Dynamic Tables without Data Selection
(Page1695)
How to Change the Output Options for the Dynamic Metafiles (Page1693)
How to Change the Output Options for the Dynamic Texts (Page1692)
How to Call up the Selection Dialogs (Page1668)
8.5.10.2
Selection dialogs are called in the same way for all project documentation objects. The
selection options depend on the object in question.
Requirements
A project documentation object has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Procedure
1. Open the branching node(s) on the left of the Link tab. Choose and entry and select it. The
list of editing options will then show the item "Selection...". The available selection type
depends on the object which was chosen from the object tree.
2. Double-click on the entry "Selection...". This will open the corresponding selection dialog.
Depending on the object, you may be given several selection options in the area on the right.
In this case, make your selections one after the other. When a selection has been made, its
symbol on the right will be checked with a red mark. The entry "Element" is used for internal
purposes only.
1668
In the output, only the selected attributes for the objects chosen in the previous step will be
returned.
For an overview of available objects and output options for each component of WinCC, please
refer to the chapter "Project documentation".
See also
How to Change the Output Options for the Selection of Connection List (Page1691)
How to Change the Output Options for the Tag Table of WinCC Explorer (Page1689)
How to Change the Output Options for the Language Selection from the Text Library
(Page1687)
How to Change the Output Options for the Selection of the Archive Tags from Tag Logging
(Page1684)
How to Change the Output Options for the Selection of Archives from Tag Logging
(Page1682)
How to Change the Output Options for the Selection of Action types (Page1680)
How to Change the Output Options for the Selection of Object Statistics (Page1679)
How to Change the Output Options for the Selection of Attributes (Page1677)
How to Change the Output options for the Selection of the Picture Statistics (Page1675)
How to Change the Output Options for the Selection of Views (Page1673)
How to Change the Output Options for the Selection of User Archives (Page1671)
How to Change Output Options for Single Message from Alarm Logging CS (Page1670)
1669
8.5.10.3
How to Change Output Options for Single Message from Alarm Logging CS
Introduction
The object "Single Messages" allows you to output all, or individually selected, messages from
Alarm Logging in a report. The object is located in the Page Layout Editor object tree, in the
"Project documentation" tab under "Alarm Logging CS".
Requirements
Messages must be configured in Alarm Logging.
The object "Single Messages" has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
Of all the objects for the Alarm Logging project documentation, the object "Single Messages"
is the only one that provides the option to select your output data.
For further information, please see the chapter "Project documentation in Alarm Logging".
Procedure
1. Open the branching node on the left of the Link tab. Select the entry "Single messages".
The list of editing options will then show the item "Selection".
2. Double-click on the entry "Selection". The Alarm Logging CS dialog: Selecting Single
Messages dialog is opened.
If the "All single messages" checkbox is checked, all configured single messages that are
available at the time the report is generated will be returned. The buttons for accepting the
messages will only be enabled when the checkbox "All single messages" has been
deactivated.
3. Select the desired items from the list of available single messages and add them individually
or in groups, using the dialog buttons, to the list of selected single messages.
4. Confirm the selection with "OK".
5. Modify the external form of the object "Single Messages", if necessary, by changing the
attribute values in the Properties tab.
6. Close the "Object Properties" window and save the layout.
1670
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
8.5.10.4
How to Change the Output Options for the Selection of User Archives
Introduction
The object "Archive" allows you to output the configuration data of user archives in a report.
The object is located in the Page Layout Editor object tree, in the "Project documentation" tab
under "User archive configuration".
Requirements
A user archive must have been created.
The object "Archives" has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
The objects "Archive" and "Views" are available for the project documentation of the user
archive configuration. Both objects offer options to select data for output. For further
information about the "Views" object, please see the chapter "Changing output options for the
selection of views".
Procedure
1. Open the branching node on the left of the Link tab. Select the entry "Archives". The list of
editing options will then show the item "Archive selection".
2. Double-click on the entry "Archive selection". This will open the Archive selection dialog.
If the "All" checkbox is checked, all configured archives that are available at the time the
report is generated will be returned.
1671
1672
Attributes
Description
ID
Name
Alias
Type
Shows whether a user archive belongs to the type Limited or Unlimited (maximum
number of data records limited or unlimited).
With fields, the type is the same as the tag type.
Size
Changed
Com. Type
PLCID
Identification number for the connection between user archive and automation
level.
Variable
For archives, the name of the WinCC tag for the connection to the automation
level.
For fields, the value in the user archive field.
ID tag
Job tag
Field tag
Value tag
Reading rights
Write protection
Description
Flags)
Length
Decimal places
Minimum
Maximum
Start value
See also
How to Change the Output Options for the Selection of Views (Page1673)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
8.5.10.5
Introduction
The object "Views" allows you to return the configuration data for views of user archives in a
report. The object is located in the Page Layout Editor object tree, in the "Project
documentation" tab under "User archive configuration".
Requirements
A view must have been created.
The object "Views" has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
The objects "Archive" and "Views" are available for the project documentation of the user
archive configuration. Both objects offer options to select data for output. For further
information about the object "Archives", please see the chapter "Changing output options for
the selection of user archives".
1673
Procedure
1. Open the branching node on the left of the Link tab. Select the entry "Views". The list of
editing options will then show the item "View selection".
2. Double-click on the entry "View selection". This will open the View selection dialog.
If the "All" checkbox is active, all configured views that are available at the time the report
is generated will be returned.
3. From the list of available views, select one or more for output.
4. Activate the check boxes for the view attributes which you want to appear in the report.
5. To include view column information in the output, activate the checkbox "Display columns".
6. Activate the check boxes for the columns which you want to appear in the report.
7. Confirm the selection with "OK".
8. Modify the external form of the object "Views", if necessary, by changing the attribute values
in the Properties tag.
9. Close the "Object Properties" window and save the layout.
Note
If multiple views were selected, the selection of view attributes will be applied to all selected
views. If the checkbox "All" is activated, the configuration data of all views within the WinCC
project will be returned. The selection of view attributes applies to all views in this case as
well.
The following table shows all the attributes that can be returned. The functions of the attributes
are briefly described.
1674
Attributes
Description
ID
Name
Alias
Relation
Changed
Archive ID
archive
Field ID
Array
See also
How to Change the Output Options for the Selection of User Archives (Page1671)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
8.5.10.6
How to Change the Output options for the Selection of the Picture Statistics
Introduction
The object "Picture Statistics" allows you to output the statistics data for the pictures of the
Graphic Designer in a report. The object is located in the Page Layout Editor object tree, in
the "Project documentation" tab under "Graphics Designer/Picture".
Requirements
A Graphics Designer picture must have been created.
The object "Picture statistics" has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
For the object "Picture statistics", you can select the statistic data.
For an overview of available objects for the product documentation of the Graphics Designer
and their output options, please refer to the chapter "Project documentation in the Graphics
Designer".
1675
Procedure
1. Open the branching node on the left of the Link tab. Select the entry "Picture Statistics".
The list of editing options will then show the item "Statistics data for the picture".
2. Double-click on the entry "Statistics data for the picture". This will open the dialog "Selection
of picture statistics".
If the checkbox "with descriptive column" is checked, a descriptive column will be returned
along with the statistics data.
3. Choose the desired items from the list of selection options and add them individually or in
groups, using the dialog buttons, to the list of selected data.
4. Using the "Up" and "Down" buttons, specify the output sequence of the tags.
5. Confirm the selection with "OK".
6. Modify the external form of the object "Picture Statistics", if necessary, by changing the
attribute values in the Properties tag.
7. Close the "Object Properties" window and save the layout.
PictureDocumentation.Pdl
23.07.2002 13:33:47
1
0
1676
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
8.5.10.7
Introduction
The object "Attributes" facilitates the output of configuration data for the attributes of Graphics
Designer pictures and objects within in a report. The provided selection options allow you to
limit the output to relevant information.
You have two choices:
All with tag connection Returns all attributes which are linked to a tag.
All with action connection Returns all attributes which are linked to an action.
All not interconnected Returns all attributes which are not dynamic.
The object is located in the Page Layout Editor object tree, in the "Project documentation" tab
under "Graphics Designer/Picture," and under "Graphics Designer/Picture/Object".
Requirements
A Graphics Designer picture must have been created.
The object "Attributes" has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
For the "Attributes" object of a picture, you can select the attributes as well as the table data.
For the "Attributes" object of an object within a picture, you can additionally select the objects.
Only the table data of the selected objects will be returned then. For further information, please
see the chapter "Calling the selection dialogs".
For an overview of available objects for the product documentation of the Graphics Designer
and their output options, please refer to the chapter "Project documentation in the Graphics
Designer".
1677
Procedure
1. Open the branching node on the left of the Link tab. Select the entry "Attributes". The list
of editing options will then show the entries "Selection of attributes" and "Table data".
2. Double-click on the entry "Selection of attributes". This will open the dialog "Selection of
attributes".
Select the attributes that are to be returned always. Confirm the selection with "OK".
4. In the "Link" tab of the "Object Properties" window, double-click the entry "Table data". This
will open the dialog "Selection of table data".
5. From the list of selection options, choose the info columns which are to appear in the
attribute data table.
6. Confirm the selection with "OK".
7. Modify the external form of the object "Attributes", if necessary, by changing the attribute
values in the Properties tag.
8. Close the "Object Properties" window and save the layout.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
How to Call up the Selection Dialogs (Page1668)
1678
8.5.10.8
How to Change the Output Options for the Selection of Object Statistics
Introduction
The object "Object Statistics" allows you to output the statistics data for the objects within the
pictures of the Graphic Designer in a report. The object is located in the Page Layout Editor
object tree, in the "Project documentation" tab under "Graphics Designer/Picture/Object".
Requirements
A Graphics Designer picture must have been created.
The object "Object Statistics" has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
For the object "Object Statistics", you can select the objects as well as the statistics data. Only
the statistics data of the selected objects will be returned then. For further information, please
see the chapter "Calling the selection dialogs".
For an overview of available objects for the product documentation of the Graphics Designer
and their output options, please refer to the chapter "Project documentation in the Graphics
Designer".
Procedure
1. Open the branching node on the left of the Link tab. Select the entry "Object". The list of
editing options will then show the item "Selection of Objects".
2. Double-click on the entry "Selection of objects". This will open the dialog "Selection of
objects".
Specify whether all objects should appear in the output, or only dynamic objects from
Graphics Designer pictures. Confirm the selection with "OK".
1679
If the checkbox "with descriptive column" is checked, a descriptive column will be returned
along with the statistics data.
4. Choose the desired items from the list of selection options and add them individually or in
groups, using the dialog buttons, to the list of selected data.
5. Using the "Up" and "Down" buttons, specify the output sequence of the tags.
6. Confirm the selection with "OK".
7. Modify the external form of the object "Picture Statistics", if necessary, by changing the
attribute values in the Properties tag.
8. Close the "Object Properties" window and save the layout.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
How to Call up the Selection Dialogs (Page1668)
8.5.10.9
How to Change the Output Options for the Selection of Action types
Introduction
The objects "Trigger" and "Source text" facilitate the output of configuration data for the actions
within Graphics Designer pictures and objects in a report.
You have two choices:
All Returns all elements with actions. Also returns all elements which have not yet been
configured at the time of this selection.
Assignment actions Returns all elements with assignment actions.
No assignment actions Returns all elements without assignment actions.
The objects are located in the Page Layout Editor object tree, in the "Project documentation"
tab under "Graphics Designer/Actions", and under "Graphics Designer/Picture/Actions".
1680
Requirements
A Graphics Designer picture must have been created.
One of the objects "Trigger" or "Source text" has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
You can select the actions for the objects "Trigger" and "Source text" of a picture.
For the objects "Trigger" and "Source text" of an object within a picture, you can additionally
select the objects. Only the action data of the selected objects will then be returned. For further
information, please see the chapter "Calling the selection dialogs".
For an overview of available objects for the product documentation of the Graphics Designer
and their output options, please refer to the chapter "Project documentation in the Graphics
Designer".
Procedure
1. Open the branching node on the left of the Link tab. Select the entry "Actions". The list of
editing options will then show the item "Selection of actions".
2. Double-click on the entry "Selection of actions". This will open the dialog "Selection of action
types".
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
How to Call up the Selection Dialogs (Page1668)
1681
8.5.10.10 How to Change the Output Options for the Selection of Archives from Tag Logging
Introduction
The objects "Process value archive" and "Compressed archive" facilitate the output of
configuration data for process value and compressed archives in a report.
The objects are located in the Page Layout Editor object tree, in the "Project documentation"
tab under "Tag Logging CS/Archives".
Requirements
A process value or compressed archive must have been created.
One of the objects "Process value archive" or "Compressed archive" has been inserted in
the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
For the objects "Process value archive" and "Compressed archive", you can select both the
archives and the archive data.
For an overview of available objects for the Tag Logging product documentation and their
output options, please refer to the chapter "Project documentation in Tag Logging".
Selection of Archives
1. Open the branching node on the left of the Link tab. Select an entry, either "Process value
archive" or "Compressed archive". The list of editing options will then show the item "Archive
names".
2. Double-click on the entry "Archive names". The Tag Logging CS: Archive Selection dialog
is opened.
If the "All archives" checkbox is checked, the data of all archives will be returned. An existing
selection will be preserved in the dialog.
3. Choose the desired items from the list of available archives and add them individually or in
groups, using the dialog buttons, to the list of selected data.
4. Confirm the selection with "OK".
1682
Description
Comment
Archive type
Server name
Authorization
Action During archive start/Enable Specified action which is triggered by certain events.
Archiving at system start
Archive type
Memory location
Variable
1683
Description
Comment
Archive type
Server name
Authorization
Archive type
Compressed archive
Variable
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
How to Call up the Selection Dialogs (Page1668)
8.5.10.11 How to Change the Output Options for the Selection of the Archive Tags from Tag Logging
Introduction
The objects "Process value archive tag" and "Compressed archive tag" facilitate the output of
configuration data for process value and compressed archive tags in a report.
The objects are located in the Page Layout Editor object tree, in the "Project documentation"
tab under "Tag Logging CS/Archives".
Requirements
A process value or compressed archive must have been created.
One of the objects "Process value archive tag" or "Compressed archive tag" has been
inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
1684
Edit Options
For the objects "Process value archive tag" and "Compressed archive tag", you can select the
archives, tags and tag data.
For an overview of available objects for the Tag Logging product documentation and their
output options, please refer to the chapter "Project documentation in Tag Logging".
1685
Description
Archiving type
Tag supply
Returns the assignment type of the tag. Specifies whether the tag
is supplied with data manually, or through the system.
Cycle
Number of values
Save on error
Events
Editing
Unit
Scaling
Name of statuses
Returns the behavior which has been specified for a signal change.
Comment
1686
See also
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
8.5.10.12 How to Change the Output Options for the Language Selection from the Text Library
Introduction
The object type "Text Library text table" allows you to insert text from the WinCC text library
in the dynamic part of a page layout. The object is located in the Page Layout Editor object
tree, in the "Project documentation" tab under "Text Library". Select the languages for which
text is to be returned in a table in the "Language selection" dialog.
Requirements
User texts must be configured in the Text Library.
The object "Text Library text table" has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
Of all the objects for the Text Library project documentation, the object "Text Library text table"
is the only one that provides the option to select your output data.
For further information, please see the chapter "Project documentation in the Text Library".
1687
Procedure
1. Open the branching node on the left of the Link tab. Select the entry "Text Library text table".
The list of editing options will then show the item "Language selection".
2. Double-click the "Language selection" entry. This will open the dialog "Text Library
language selection".
If the "All" checkbox is checked, all configured languages will be returned. An existing
selection in this dialog will be preserved.
3. Choose the desired items from the list of designed languages and add them individually or
in groups, using the dialog buttons, to the list of selected languages.
4. Using the "Up" and "Down" buttons, specify the output sequence of the tags.
5. Use the option buttons to specify whether the different languages should appear in the
output separately, or arranged horizontally or vertically.
6. Confirm the selection with "OK".
7. Modify the external form of the object "Text Library text table", if necessary, by changing
the attribute values in the Properties tag.
8. Close the "Object Properties" window and save the layout.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
1688
8.5.10.13 How to Change the Output Options for the Tag Table of WinCC Explorer
Introduction
The object "Tags" allows you to return the tags from WinCC Tag Management in a report. The
object is located in the Page Layout Editor object tree, in the "Project documentation" tab under
"WinCC Explorer".
Requirements
The Tag Management contains some tags.
The object "Tags" has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
For the object "Tags", you can select the tags, the tag groups and tag parameters. For the Tag
data type, you can also select the output format.
For an overview of available objects for the product documentation of the WinCC Explorer and
their output options, please refer to the chapter "Project documentation in the WinCC Explorer".
If the "Compact" checkbox is activated, all parameters of a tag will be returned in one row.
Else, each parameter will be returned in its own row. If, with output in "Compact" form, the
lines are too long for the rows, the rest will be cut off.
3. Activate the check boxes for the output parameters you want to use.
4. Confirm the selection with "OK".
The following table shows all the tag parameters that can be returned. The functions of the
parameters are briefly described.
Parameters
Description
Data type
Group
1689
Description
Parameters
Limit values
Start value
Substitute value
Protocol entry
3. Select the desired items from the list of available tag groups and add them individually or
in groups to the list of selected tag groups, using the dialog buttons.
4. Confirm the selection with "OK".
Selection of Tags
1. In the "Object Properties" window, select the entry "Tags". The list of editing options will
then show the item "Selection of tags".
2. Double-click the entry "Selection of tags". The WinCC Explorer: Select Tags dialog is
opened.
If the "All tags" checkbox is active, all available tags will be returned. An existing selection
in this dialog will be preserved.
3. To be able to select specific tags, deactivate the checkbox "All tags". This will enable the
"Select" button.
4. Click on the "Select" button to open the WinCC tag selection dialog.
5. Select the desired tags individually or in groups. Confirm the selection with "OK". The
selected tags will be added to the selection dialog.
6. Confirm the selection with "OK".
1690
If the check box is active, the data type of the tag is returned in short form.
Long formats: Unsigned 32 bit value; floating point number 64 bit IEEE 754
Short formats: 32 bit value, without sign; 64 bit IEEE 754
3. Select the output form you want.
4. Confirm the selection with "OK".
5. Modify the external form of the object "Tags", if necessary, by changing the attribute values
in the Properties tag.
6. Confirm the selection with "OK".
7. Close the "Object Properties" window and save the layout.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
8.5.10.14 How to Change the Output Options for the Selection of Connection List
Introduction
The object "Connections" allows you to output the configured connections via WinCC
communication drivers in a report. The object is located in the Page Layout Editor object tree,
in the "Project documentation" tab under "WinCC Explorer".
Requirements
A connection via a WinCC communication driver has been configured.
The object "Connections" has been inserted in the layout, and selected.
The Object Properties window is open, and the Link tab is active.
You are familiar with the Link tab.
Edit Options
For the object "Connections", you can select the connections.
1691
Procedure
1. Open the branching node on the left of the Link tab. Select the entry "Connections". The
list of editing options will then show the item "Selection of connection list".
2. Double-click on the entry "Selection of connection list". The WinCC Explorer: Select
Connections dialog is opened.
If the "All connections" checkbox is active, all available connections will be returned. An
existing selection in this dialog will be preserved.
3. Select the desired items from the list of available connections and add them individually or
in groups, using the dialog buttons, to the list of selected connections.
4. Confirm the selection with "OK".
5. Modify the external form of the object "Connections", if necessary, by changing the attribute
values in the Properties tag.
6. Close the "Object Properties" window and save the layout.
See also
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
The Link tab in the Object Properties Window (Page1575)
Working with Objects for the Project Documentation (Page1666)
8.5.10.15 How to Change the Output Options for the Dynamic Texts
Introduction
Some of the objects in the object tree Project Documentation are of the type Dynamic Text
and do not offer an option to select data for output. These objects are firmly linked to the WinCC
applications and provide the designated configuration data as text for output in a report.
Objects of the dynamic text type are marked in the object tree with the symbol
1692
The external form of the objects can be influenced by changing their attributes. The procedure
is the same for all objects of this type. You can call up direct help for each attribute by rightclicking it in the Attribute column.
Requirements
The relevant object of the type Dynamic Text has been inserted in the layout, and selected.
The Object Properties window is open, and the Properties tab is active.
Procedure
1. On the left of the Properties tab, select the object from the directory tree and open the
branching node. The property groups of the object are shown in a directory tree.
2. Select a property group. The attribute of this group are shown in the area on the right.
3. Choose an attribute and double-click it. This will open a dialog which allows you to edit the
attribute properties.
4. Specify the settings you want and confirm your entries with OK.
5. Close the Object Properties window and save the layout.
See also
How to Change the Output Options for the Dynamic Tables without Data Selection
(Page1695)
How to Change the Output Options for the Dynamic Metafiles (Page1693)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Objects for the Project Documentation (Page1666)
8.5.10.16 How to Change the Output Options for the Dynamic Metafiles
Introduction
Some of the objects in the object tree "Project documentation" are of the type "Dynamic
metafile" and do not offer an option to select data for output. These objects are firmly linked
to the WinCC applications and provide the designated configuration data as an image for output
in a report.
1693
The external form of the objects can be influenced by changing their attributes. The procedure
is the same for all objects of this type. You can call up direct help for each attribute by rightclicking on it in the "Attribute" column.
Requirements
The relevant object of the type "Dynamic metafile" has been inserted in the layout, and
selected.
The Object Properties window is open, and the Properties tab is active.
Procedure
1. On the left of the Properties tab, select the object from the directory tree and open the
branching node. The property groups of the object are shown in a directory tree.
2. Select a property group. The attribute of this group are shown in the area on the right.
3. Choose an attribute and double-click it. This will open a dialog which allows you to edit the
attribute properties.
4. Specify the settings you want and confirm your entries with "OK".
5. Close the Object Properties window and save the layout.
See also
How to Change the Output Options for the Dynamic Tables without Data Selection
(Page1695)
How to Change the Output Options for the Dynamic Texts (Page1692)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Objects for the Project Documentation (Page1666)
1694
8.5.10.17 How to Change the Output Options for the Dynamic Tables without Data Selection
Introduction
Some of the objects in the object tree "Project documentation" are of the type "Dynamic table"
and do not offer an option to select data for output. These objects are firmly linked to the WinCC
applications and provide the designated configuration data as a table for output in a report.
These dynamic tables do not offer any editing options in the "Link" tab of the "Object Properties"
dialog.
Objects of the dynamic table type are marked in the object tree with the symbol
The external form of the objects can be influenced by changing their attributes. The procedure
is the same for all objects of this type. You can call up direct help for each attribute by rightclicking on it in the "Attribute" column.
Requirements
The relevant object of the type "Dynamic table" has been inserted in the layout, and selected.
The Object Properties window is open, and the Properties tab is active.
Procedure
1. On the left of the Properties tab, select the object from the directory tree and open the
branching node. The property groups of the object are shown in a directory tree.
2. Select a property group. The attribute of this group are shown in the area on the right.
3. Choose an attribute and double-click it. This will open a dialog which allows you to edit the
attribute properties.
4. Specify the settings you want and confirm your entries with "OK".
5. Close the Object Properties window and save the layout.
1695
See also
How to Change the Output Options for the Dynamic Metafiles (Page1693)
How to Change the Output Options for the Dynamic Texts (Page1692)
How to Transfer Object Properties (Page1577)
How to Change an Attribute (Page1576)
The Properties of an Object (Page1570)
Working with Objects for the Project Documentation (Page1666)
8.6
Appendix
8.6.1
Introduction
To permit the data from a CSV file to be output in a WinCC log, the data must correspond to
a set structure. The data in a CSV file are prepared by the user. You will find more information
in chapter Outputting Data from a CSV Table and Example of Reporting CSV Files.
1696
1697
Each section must begin with the name of the corresponding file structure, followed by one or
more lines containing the elements of the file structure. The following file structures are defined:
#Curve; Num; Name; Count; dMin; dMax; Color; Weight; CurveType; Filling
- Num = number of the trend
- Name = trend name
- Count = number of values
- dMin = lower limit of the trend (for scaling)
- dMax = upper limit of the trend (for scaling)
- Color = color attribute of the trend (0xbbggrr)
- Weight = line weight in points (e.g. 1.5)
- CurveType = trend type ( LINE, DOTS, STEP)
- Filling = filling color for areas ( 0=no, 1=yes). The Filling parameter is currently not evaluated.
1698
8.6.2
Introduction
The filter criteria for alarm output are transferred with the transfer of the selection criteria from
the selection dialog in the "Filter criteria for alarm output" area. The filter criteria can be edited.
Permissible Arguments:
Name
Type
data
Example:
DATETIME
Date
'YYYY-MM-DD
hh:mm:ss.msmsms'
MSGNR
Integer
Message number
CLASS
IN
AND
TYPE IN
Integer
Message class ID
1-16
and
message type ID 1-256
1699
Type
data
Example:
STATE
Integer
Value of
ALARM_STATE_xx
Only operands
= and IN(...) are
permitted
ALARM_STATE_1
ALARM_STATE_2
ALARM_STATE_3
ALARM_STATE_4
ALARM_STATE_5
ALARM_STATE_6
ALARM_STATE_7
ALARM_STATE_16
ALARM_STATE_17
STATE IN(1,2,3)
Output of all message that came in,
went out and were
acknowledged.
Possible values:
1 = Came In messages
2 = Went Out messages
3 = acknowledged messages
4 = locked message
5 = released messages
6 = messages that came in and have
been acknowledged
7 = messages that came in and went
out
16 = messages acknowledged by the
system
17 = emergency-acknowledged
messages
AGNR
Integer
PLC number
AGSUBNR
Integer
AG subnumber
TEXTxx
Text
TEXT2 = error
Output of messages with
Text2 = "error".
PVALUExx
1700
Resources
9.1
Content
The line layout editor is an editor provided by WinCC that allows you to create and dynamize
line layouts for the output of a message sequence report. As part of WinCC, it can only be
used to edit line layouts belonging to the project that is open in WinCC.
This section shows you
How to use the line layout editor
How to create and edit line layouts
How to design a line layout
9.2
Introduction
In accordance with Windows conventions, there are various ways of opening the line layout
editor. The line layout editor can only be opened for the current project that is open in WinCC
Explorer.
1701
Requirement
A project must be open in WinCC Explorer.
1702
See also
The Line Layout Editor (Page1703)
9.3
9.3.1
Introduction
The line layout editor is used only to create and edit line layouts for a message sequence
report. Each line layout contains a dynamic table that is connected to the WinCC message
system. Additional objects cannot be added to a line layout. Text can be entered in the header
and footer. Start the line layout editor in WinCC Explorer.
1703
1704
See also
The Table Area (Page1708)
The Header and Footer Areas (Page1707)
The Page Size and Margins Areas (Page1706)
The Standard Toolbar (Page1705)
9.3.2
Usage
The toolbar is located under the menu bar along the top of the line layout editor. The buttons
arranged on the toolbar enable you to access the functionality of the line layout editor quickly
and easily.
Contents
The standard toolbar contains buttons with the following functions:
Button
Function
Key combination
<CTRL+N>
<CTRL+O>
<CTRL+S>
1705
Function
Key combination
Cuts the selected text from the header or footer and copies it to
<CTRL+X>
the clipboard. The function is only available when a text is selected.
Copies the selected text from the header or footer to the clipboard.
The function is only available when a text is selected.
<CTRL+C>
<CTRL+V>
<SHIFT+F1>
Characteristics
The toolbar in the line layout editor is always activated. You cannot hide it.
See also
The Page Size and Margins Areas (Page1706)
Working with the Line Layout Editor (Page1710)
The Table Area (Page1708)
The Header and Footer Areas (Page1707)
9.3.3
Introduction
Line-by-line printing is used in practice for current and synchronous documentation. WinCC
allows for "line-by-line printing" on appropriate printers. The output to the printer is only possible
via a local, parallel interface on the computer. You can set the page size and margins for each
line layout within the permissible limits.
1706
Printer Settings
The number of columns set in a line layout under "Page Size" (= characters per line) must be
supported by the printer used. If the number of columns is greater than the number of
characters a printer can print per line, a line break is inserted. This overflow of the column text
into a new line disturbs the column formatting. To remedy this, a narrower font or a smaller
character width must be set for the printer.
Setting the font or character width depends on the printer used. Please check the printer
manual for further information.
Note
If the suitable font is not set as the default font on the printer, it will have to be set again each
time the printer is reset or switched off and on again.
See also
Working with the Line Layout Editor (Page1710)
The Table Area (Page1708)
The Header and Footer Areas (Page1707)
The Standard Toolbar (Page1705)
How to Set the Page Size (Page1710)
9.3.4
Introduction
You can define a different header and footer for each line layout. The number of headers and
footers can be between 0 and 10. You can enter any text you like in them. You can output as
many headers as the number of lines you have set. You do not have to output the header and
footer.
Usage
The headers and footers are output with each page of the message sequence report. The
width of the headers and footers is based on the number of columns (= characters per line)
set under "Page Size". Text in the header or footer that is longer than the configured number
of columns is truncated at output.
1707
See also
Working with the Line Layout Editor (Page1710)
The Table Area (Page1708)
The Header and Footer Areas (Page1707)
The Standard Toolbar (Page1705)
How to Create Headers and Footers (Page1711)
9.3.5
Introduction
You can define a table for the output of reports and measured values for each line layout. The
number and contents of the columns are defined using the "Selection..." button. The number
of columns can be between 1 and 40 and depends on the number of selected message blocks.
Usage
The configured columns with the associated headings and the set column width are displayed
in the Table area. You can configure the column heading and the column width for each column
separately.
Use the "Selection..." button to open the "Alarm Logging Runtime: Report - Table Column
Selection" dialog. In this dialog, you can select the server(s) whose reports you want to log.
You can assign the message blocks to the table columns and set the filter criteria for the alarm
output. These changes are only effective for the output of the message sequence report and
are not written back to the alarm logging. You can find additional information in the sections
"Outputting Runtime Data with the Message Sequence Report" and "Changing Output Options
for the Message Sequence Report".
See also
The Time Range (Page1709)
Working with the Line Layout Editor (Page1710)
The Table Area (Page1708)
The Header and Footer Areas (Page1707)
The Standard Toolbar (Page1705)
How to Change the Output Options for the Message Sequence Report (Page1713)
1708
9.3.6
Introduction
By changing the base for the time settings you can convert the time specified in the time stamp
of the report data to a different time base. The time settings are only converted for the output
in the report and are not written back to the alarm logging. If, for example, you want to output
the data of a remote computer in another time zone, you can use this function to ensure that
the data is output with a comparable time. If the two computers in this case were working with
the "Local Time" time base, you would receive reports on the two computers with different
times. The results would not be directly comparable. You can find additional information in the
section "Adjusting the Time Settings in the Project".
If you change the time base for the output, ensure that the time reference is also output in the
report. For example, specify an identifier in the alias for the "Time" message block. You can
find additional information "Changing the Output Options for the Message Sequence Report".
Usage
You can change the time base in the "Table" area. To do this, click the "Time Base..." button.
The "Time Base Entry" dialog appears. Select the time base from the list.
See also
The Header and Footer Areas (Page1707)
The Table Area (Page1708)
Working with the Line Layout Editor (Page1710)
The Standard Toolbar (Page1705)
How to Change the Output Options for the Message Sequence Report (Page1713)
1709
9.4
9.4.1
Introduction
The line layout editor is only used to create and change line layouts for the message sequence
report. It therefore has a very simple layout and is easy to use. This section describes how
you can do the following:
Set the page size of a line layout
Create the header and footer
Create a table in the line layout
Change the output options for the message sequence report
See also
How to Change the Output Options for the Message Sequence Report (Page1713)
How to Create a Table in the Line Layout (Page1712)
How to Create Headers and Footers (Page1711)
How to Set the Page Size (Page1710)
9.4.2
Introduction
You can set the page size and margins for each line layout within the permissible limits. You
can set the desired values either by using the controls or by entering them directly in the fields.
The following limits apply to the line layout:
Number of lines
Number of columns
Margin width
Procedure
1. Select an existing line layout in WinCC Explorer or create a new line layout and open it in
the line layout editor.
2. Set the number of lines per page in the "Page Size" area by using the corresponding
controls or by entering a value.
1710
See also
How to Change the Output Options for the Message Sequence Report (Page1713)
How to Create a Table in the Line Layout (Page1712)
How to Create Headers and Footers (Page1711)
9.4.3
Introduction
You can create a header and footer for each line layout in the line layout editor. They are then
output with each page. Headers and footers consist of text only and can have a maximum of
10 lines each. You can set the number of lines for headers and footers separately by using
the corresponding controls or by entering values directly. Lines of text that are longer than the
page width set in the "Page Size" area (number of columns =characters per line) are truncated
at output.
Procedure
1. Open the desired line layout in the line layout editor.
2. Set the number of lines in the "Header" area by using the corresponding control or entering
a value.
3. Enter the text for the header in the text box. Note the number of characters per line. Press
the return key to insert a line break.
4. Edit the footer in the same way.
5. Save and close the layout.
If you enter more lines during input than are specified for "Number of Lines", a message to this
effect appears. Only the number of lines set for "Number of Lines" are output. Excess lines
are not output.
See also
How to Change the Output Options for the Message Sequence Report (Page1713)
How to Create a Table in the Line Layout (Page1712)
How to Set the Page Size (Page1710)
1711
9.4.4
Introduction
The table object for the output of reports in the message sequence report is a fixed part of the
line layout. The static object properties for this table object are predefined. Click the
"Selection..." button to open the "Alarm Logging Runtime: Report - Table Column Selection"
dialog. In this dialog you can specify the assignment of the message blocks to the columns for
output. You also assign the column headings here and set the width of the individual columns
for output.
Requirements
The desired layout must be open in the line layout editor.
Alarm logging must be configured.
Procedure
1. Click the "Selection..." button to open the "Alarm Logging Runtime: Report Table Column
Selection" dialog.
2. Use the dialog to specify the data for output. You can find additional information in the
section "Changing the Output Options for the Message Sequence Report". When you close
the dialog, the selected columns and their widths are displayed in characters per line in the
"Table" area. If the number of characters per line is too large, a message to this effect
appears.
3. Change the time base for times, if necessary. You will find more information in the section
"Table Area".
4. Save the line layout, and close the editor.
See also
How to Create Headers and Footers (Page1711)
How to Set the Page Size (Page1710)
The Table Area (Page1708)
How to Change the Output Options for the Message Sequence Report (Page1713)
1712
9.4.5
How to Change the Output Options for the Message Sequence Report
Introduction
To output a user-specific selection of messages, you can either use a predefined line layout
or create your own line layout. The layout must be called in the "@Report Alarm Logging RT
Message Sequence" print job.
For the output of a message sequence report in a page layout, changes to the output options
must be configured in the page layout editor. You will find more information in the section
"Creating a User-Defined Message Sequence Report".
Note
You cannot output a Message Sequence Report in line layout as a file.
Requirements
The desired layout must be open in the line layout editor.
Message configuration has been carried out in Alarm Logging.
Procedure
1. Click the "Selection" button in the "Table" area. The "Alarm Logging Runtime: Report Table
Column Selection" dialog is opened.
2. Use the dialog to configure the selection of data for output. You will find a description of
the dialog in the section "Data Selection" below.
3. Apply the settings by clicking "OK".
4. Save the line layout, and close the editor.
Data Selection
The "Alarm Logging Runtime: Report Table Column Selection" dialog is used to select the data
to output in the message sequence report. It allows you to select the servers, message blocks,
and filter criteria for alarm output.
1713
1714
See also
How to Create a Table in the Line Layout (Page1712)
How to Create Headers and Footers (Page1711)
How to Set the Page Size (Page1710)
1715
Resources
10.1
10
Contents
WinCC offers the following possibilities:
Different languages can be set for the project interface.
Create projects that run in multiple languages in runtime.
WinCC provides you with the following:
"Text Library" editor
The "Text Library" editor is a a powerful editor for managing and maintaining practically all
the texts in your project.
Text Distributor
The Text Distributor provides all editors with user-friendly export and import options for
translating the configured text records.
This chapter shows you:
How to export texts for translating and import them again with the Text Distributor.
How to manage texts centrally with the "Text Library" editor.
How to configure multilingual pictures in the "Graphics Designer" editor.
How to configure multilingual messages in "Alarm Logging" editor.
How to configure reports for multilingual projects.
How to configure multilingual date and time displays.
How to configure changes of language in runtime.
1717
10.2
10.2.1
Supported Languages
In principle WinCC allows you to create projects for every language installed on your operating
system. During installation WinCC also offers you a group of languages in which you can set
up your WinCC configuration interface.
The following languages can be installed with the standard version of WinCC:
German
English
Spanish
Italian
French
Furthermore with the Asian languages version of WinCC you can install the following
languages:
Japanese
Chinese (traditional and simplified)
Korean
English
You can set up the WinCC Configuration interface in the installed languages. In addition, once
a language has been installed all standard texts are available in that language.
If a project should be used on another computer, then WinCC must be installed on the target
computer in the same language as on the source computer. You should always install WinCC
with all available languages.
Standard texts
Standard texts are all texts that already exist in WinCC's installed languages, e.g. default
names of message classes in the "Alarm Logging" editor, WinCC system messages, and the
title bar captions and column titles in WinCC Control.
1718
Configuration Scenarios
When configuring in other languages the following scenarios can occur:
You are configuring a project for a language with which you are unfamiliar.
Example:
You are an English speaking project engineer and configuring for an Asiatic market: Display
the project user interface of WinCC in your preferred language.
There are two procedures for configuration:
Configure the project in a language with which you are familiar, export the texts, translate
the texts externally and import the translated texts back into the WinCC project.
You enter all text for your project directly in the language that is intended to be displayed
later in runtime. Direct text entry is recommended only in cases where you have
configured just a small amount of text in your project.
You are configuring a project for a number of languages with which you are unfamiliar.
Example:
You are a French speaking project engineer and configuring a project for a system which
must be operated by Russian, English and German speaking users: Display the project
user interface of WinCC in your preferred language. Configure the project in a language
you are familiar with and export all the text. Distribute the exported files to translators for
each respective language. Following translation, import the translated texts back into your
WinCC project. Configure a change of language facility for the operators as well, so that
they can use it in runtime to select the desired language for the operator interface.
10.2.2
1719
Project language
The project language is the language to be used for the project you are creating. You can
create a project containing multiple project languages in order to make several languages
available in runtime.
Note
Operating system languages as configuration languages
In addition to the languages installed with WinCC you can select any other language
supported by your operating system as the project language.
With regard to operating system languages, WinCC supports only the primary languages, for
example English (USA) but not English (GB), or traditional Chinese (Taiwan) but not simplified
China (Peoples' Republic).
1720
Runtime Language
The Runtime language is the language in which the project is displayed in Runtime. You may
set a Runtime language in WinCC in which the project will start in Runtime.
When creating a project containing multiple languages, configure operating elements which
will allow the operator to change the runtime language.
1721
10.2.3
1722
Language combinations
Due to the various language setting options in WinCC and your operating system, a number
of different language combinations can occur, for example:
Configure a single-language project in the language preferred:
Operating system language, operating system user interface language, WinCC user
interface language and configuration language are all the same.
Configure a single-language project in but not in your preferred language:
Operating system GUI language and WinCC GUI language are your preferred language.
The project language is the language in which you subsequently display the project in
runtime.
If you configure for Asian languages, define the operating system language so that the
character set to be used is displayed in the respective code page.
If all languages are from one regional area (e.g. Western European), this setting is not
necessary because it was already made implicitly.
You are configuring a multilingual project. One of the languages is your preferred language:
Operating system GUI language and WinCC GUI language are your preferred language.
The project languages are the languages in which you subsequently display the project in
runtime. Configure the project in your preferred language and hand over the text for
translation when the project is complete.
Several project engineers who prefer different languages and configure on one computer:
A neutral language, e.g. English, is selected as the operating system GUI language. Each
configuration engineer can set the WinCC GUI language to his preferred language. The
languages that will subsequently be displayed in runtime are set as the project languages.
If you configure for Asian languages, define the operating system language so that the
character set to be used is displayed in the respective code page.
If all languages are from one regional area (e.g. Western European), this setting is not
necessary because it was already made implicitly.
Note
If you are using a multilingual operating system, the configuration engineer can also set
the operating system GUI language to his preferred language.
1723
1724
Non-translated texts
Non-translated texts are displayed differently in Runtime. For more information, refer to
"Language expressions in WinCC (Page1719)".
10.2.4
Introduction
The following section gives you an overview of the steps you need to take in order to configure
multilingual projects. The optimal procedure is described in this chapter. Alternative procedures
are described in the respective segments of this help.
1725
10.2.5
Introduction
Windows makes all languages and fonts available. You install languages when you install
Windows. If you activate a language that is not actually installed, you are prompted to install
it from the Windows CD. Activate the necessary fonts in your operating system as follows.
1726
Windows Vista
In "Start > Control Panel > Time, Language and Region > Regional and Language Options",
on the "Keyboard" tab click the "Change keyboards" button. In the "Text services and input
languages" dialog that appears, add the required input language and keyboard layout on
the "General" tab. On the "Advanced key settings" tab, you can also define a hot key
sequence so that you can change the input language. For example if you are creating an
Asian-language project in an English operating system, you can use a keyboard shortcut
to change the input language if you are switching to another Windows application.
Note
If you work with the "Chinese (simplified)" operating system and you want to set English
language support in the WinCC Explorer, you need to set "English" for menus and dialogs:
For Windows XP under "Start > Settings > Control Panel > Regional and Language
Options" in the"Languages" tab.
For Windows Vista under "Start > Control Panel > Regional and Language Options" in
the "Keyboards and Languages" tab in "Display Language."
This will correctly display the fonts in the dialogs and menus.
1727
10.2.6
Requirements
When setting up languages in WinCC, observe the following requirements:
If you are configuring with non-Latin fonts, the necessary fonts and input methods must be
installed in your operating system.
All configuration languages you wish to use must be installed in your operating system.
If you are configuring Asian languages, the proper system input locale (operating system
language) must be set to change the WinCC GUI language in the operating system control
panel so that the used character sets are displayed in the right code page.
If all languages are from one regional area (e.g. Western European), this setting is not
necessary because it was already made.
Note
For information on how to enter the appropriate settings and installation in your operating
system, please refer to your Windows documentation.
Recommendations
In order to configure efficiently, please note the following:
Always configure for one language at a time if possible.
Set the runtime language to be the language to be configured. The editors always start with
the set runtime language as the configuration language.
1728
10.2.7
Introduction
In WinCC you can set a custom font for each configured language. The fonts that you wish to
use must be installed in your operating system. You need special fonts if you use project
languages containing non-Latin characters, such as Cyrillic, Greek or Asian character sets.
For further information please refer to "Configuring with Non-Latin Fonts".
1729
10.2.8
Principle
Depending on the language and the component, only certain characters
A complete overview of all the prohibited characters can be found in the WinCC documentation
under "Prohibited characters".
10.2.9
Non-Latin Fonts
When configuring your project in languages that use non-Latin fonts, such as Asian or Cyrillic
character sets, you need the corresponding fonts on your operating system and in WinCC.
In your operating system activate the corresponding languages and keyboard layouts as
described under "Switching Operating System Languages".
1730
1731
10.3
10.3.1
Introduction
WinCC allows the configuration of projects for many languages. The text records are displayed
in runtime depending on the respective language.
All text for your project is managed centrally in the Text Library except for text from the
"Graphics Designer" editor.
The Text Distributor is a comfortable tool for exporting and importing all language-dependent
text. Here you can export and import targeted languages, individual objects or groups of
objects. The exported data is processed with an external program.
1732
10.3.2
Text Distributor
Introduction
You have the following options for starting Text Distributor:
Double-clicking in WinCC Explorer
In the "Text Library" editor with the menu command "Tools > Export..." or "Tools > Import..."
In the "Graphics Designer" editor with the "Tools > Text Import & Export..." menu command.
1733
"Importing texts"
1734
1735
10.3.3
General procedure
Use the text distributor to export language-dependent texts to CSV files or TXT files. The text
distributor creates several files that all begin with the same description.
Example:
In the "File prefix:" field, enter the description "Mixing_station". In the "File format:" field select
"*.txt". The following files are created:
Mixing_station_Languages.txt
Mixing_station_DataManager.txt
Mixing_station_AlarmLogging.txt
Etc.
NOTICE
Invalid file format
If you are using "*.csv" as the export format, Excel converts the Unicode file into an ANSI
file.
If you want to edit the exported data with Excel, select the "*.txt" file format during export.
Note
Exportable and importable languages
The text distributor only makes available for export those languages that come from the
same language area and use the same code page.
For example, if you want to export Asian text, the associated system locale (operating
system language) must be set in the system control of your operating system. The
associated languages will only then be available.
"English" is always available.
1736
Procedure
1. Open the text distributor by double-clicking in WinCC Explorer.
2. Check or uncheck the editors from which you want to export text. If necessary, check or
uncheck the individual objects of the editors.
3. In the "Export files" area under "Path:", select the path in which the export files are to be
stored.
4. In the "File prefix:" field, enter a meaningful description.
All export files are created with a name that begins with this description.
5. In the "File format:" field, select the desired format "*.txt" or "*.csv".
6. Make the settings for the export.
If you only want to export text from individual pictures in the "Graphics Designer" editor:
Start selecting the desired pictures in the "Graphics Designer" area using the "Selection"
button.
If you want to create a separate export file for each picture:
Select "One file per picture" in the "Graphics Designer" area.
If you want to export individual languages:
Start selecting the desired languages in the "Languages" area using the "Selection"
button.
1737
Results
The export files are created and saved in the select path.
Note
If a picture contains "unknown objects", the export or import of the picture is aborted
immediately und "Unknown" is appears in the information window.
10.3.4
10.3.4.1
Overview
Use the Text Distributor to export language-dependent texts to CSV files or TXT files. During
export, the Text Distributor creates several files that all begin with the same description.
Example:
You enter description "Mixing_station" in the "File prefix" field. You select "*.txt" in the "File
format:" field. The following files are created:
Mixing_station_Languages.txt
Mixing_station_DataManager.txt
Mixing_station_AlarmLogging.txt
Etc.
1738
Export Files
A different number of files are created depending on which objects you select during export.
The following types of files exist:
Files for text from the "Text Library" editor
Files for text from the "Graphics Designer" editor
File "<Description>_Languages.csv" or "<Description>_Languages.txt"
This file is created.
This file specifies the following for the text:
Language-specific font type
Language-specific font size
Etc.
If font type, font size, etc. are configured for the language-dependent text in the "Graphics
Designer", the settings in the "Graphics Designer" editor apply.
10.3.4.2
Overview
Use the Text Distributor to export language-dependent texts to CSV files or TXT files. During
export, the text from the Text Library is saved in the following files:
<Description>_AlarmLogging.txt or <Description>_AlarmLogging.csv
<Description>_DataManager.txt or <Description>_DataManager.csv
<Description>_LifeBeatMonitoring.txt or <Description>_LifeBeatMonitoring.csv
<Description>_PictureTreeManager.txt or <Description>_PictureTreeManager.csv
<Description>_NoSystemtext.txt or Description>_NoSystemtext.csv
<Description>_UserAdministrator.txt or Description>_UserAdministrator.csv
<Description>_GraphicsDesignerReferences.txt or
<Description>_GraphicsDesignerReferences.csv
The associated files are created depending on which editors you select during export.
Note
Information on the font type, font size, etc. of a language is entered in the
"<Description>_Languages.csv" or "<Description>_Languages.txt" file. Change the entries if
necessary.
You can also generate the "<Description>_NoSystemtext.txt", or
"<Description>_NoSystemtext.csv" file. This file can contain the following:
1739
ID
English
German
Spanish
<MessageTypeName>
ID
English
German
Spanish
Alarm
Alarm
Alarma
Warning
Warnung
Advertencia
10
Failure
Fehler
Error
11
Process control
system
Leittechnik
Sistema de control de
procesos
12
System messages
Systemmeldungen
Avisos de sistema
13
Operator input
messages
Bedienmeldungen
Avisos de operador
ID
English
German
Spanish
14
Date
Datum
Fecha
<MessageBlocks>
10.3.4.3
Construction of files with text records from the "Graphics Designer" editor
Overview
When exporting, the text records of the "Graphics Designer" editor are stored in file
"<Description>_GraphicsDesigner". If you have activated "One file per picture" for the export
procedure, another file is created for every picture.
Per picture, the file contains a header, an object description and the objects.
Example:
1740
Object
Property
English
English
English
Font FontSiz
Name
e
English
FontBold
English
FontItalic
English German
Font
Underline
German
....
Font
Name
Valve
Arial
12
False
False
False
??????
Arial
....
Motor
Arial
12
False
False
False
??????
Arial
....
Assignm
ent
closed
Arial
12
False
False
False
??????
Arial
....
PIC_2.PDL
Object
Property
English
English
English
Font FontSiz
Name
e
English
FontBold
English
FontItalic
English German
Font
Underline
German
....
Font
Name
Engine
Arial
12
False
False
False
??????
Arial
....
.....
....
....
...
....
...
....
....
....
...
.....
Note
Text records in text lists
If text records from text lists have been put in the Text Library, these text records are exported
into the following files:
"<Description>_GraphicsDesigner" or respective picture file
"<Designation>_GraphicsDesignerReferences"
If you import file "<Description>_GraphicsDesignerReferences" again, make sure that the
text records of the text lists are translated exactly as in the respective export file of the
"Graphics Designer" editor.
1741
Line wraps
If line wraps are included in the language-dependent text records, the placeholder {CR} {LF}
is entered. Do not change or delete the place holder. The placeholder must exist in the identical
positions in the translated text records.
10.3.4.4
Overview
The "<Description>_Languages.csv" file is created. The file specified the default settings for
font type, font size, etc. for each language.
Note
If font type, font size, etc. are configured for the language-dependent text in the "Graphics
Designer", the settings in the "Graphics Designer" editor are applied.
The "*_Languages.csv" is structured as follows:
[Header]
The header has two lines.
The file type is entered in the first line: <Languages>.
The headers are entered in the second line. This line indicates which information is entered
in the following columns:
LanguageName: Name of the language
LanguageID: Language code
FontName: Name of the font type used
FontSize: Size of the font type
FontBold: "Bold" font type
FontItalic: "Italics" font type
FontUnderlined: Underline
Information for each language
The following lines contain the corresponding entries for each language created.
Example:
1742
<Languages>
LanguageName
LanguageID
FontName
FontSize
English
1033
Arial
9.75
False
False
False
German
1031
Arial
9.75
False
False
False
French
1036
Arial
9.75
True
False
False
Italian
1040
Arial
9.75
False
False
False
Spanish
1034
Arial
9.75
False
False
False
10.3.4.5
10.3.5
General procedure
The exported TXT or CSV files can be edited e.g. in Excel, Access or in a text editor like
Notepad. This chapter describes the process for editing in Excel.
NOTICE
Invalid file format
If you are using "*.csv" as the export format, Excel converts the Unicode file into an ANSI file.
1743
Impermissible Changes
The following changes are not permitted:
Structural changes to the export file.
Swapping, deleting or duplicate use of IDs or object descriptions.
Text changes in the header area. This text is generally identified by angled brackets: <>.
Text changes in WinCC if text is in the translation. New text can be added in the editors. If
you change exported text, it is overwritten with the original text depending on the setting
during import.
Line Breaks
If language-dependent text contains line breaks, the placeholders {CR} {LF} are entered. Do
not change or delete the placeholders. The placeholders must be in the translated text at the
identical positions.
Note
To edit texts containing non-Latin fonts, use a software package that can save Unicode. Excel
is not suitable for this purpose. Use Access instead or use the programming interface from
WinCC to access picture text. Alternatively, use a version of Excel in the respective language.
Note
Information on the font type, font size, etc. of a language are entered in the
"<Description>_Languages" file. Change the entries if necessary.
If a language was not created in the Text Library before export, add the language entry for
this language in the "<Description>_Languages" file.
Note
The export files of the "Graphics Designer" editor also have information on the font, font size,
etc. Change the entries in the desired languages if required.
NOTICE
Text Import Not Possible
Do not double-click in Windows Explorer to open the files. Otherwise the file will be loaded
to Excel incorrectly. An import into WinCC is then no longer possible.
When using Excel, open the file as described below.
1744
Procedure
1. Open Excel.
2. Select "File > Open".
The "Open" dialog is displayed.
3. Select the path where the export files will be saved.
4. Select type "Text files (*.txt)" from the "File type" list.
5. Select your export file and click "Open".
The file is correctly opened in Excel.
6. Translate the necessary text. Note the aforementioned information.
7. When translation is complete, use "File > Save As" and save the file in TXT format again.
Results
The TXT file contains the translated text. You can import the TXT file into the WinCC project
using the Text Distributor.
10.3.6
General procedure
During export, the text distributor creates several files that all begin with the same description.
Example:
In the "File prefix:" field, enter the description "Mixing_station" and in the "File format:" field
enter "*.txt". The following files are created:
Mixing_station_Languages.txt
Mixing_station_DataManager.txt
Mixing_station_AlarmLogging.txt
Etc.
If you specify this description again in the "File prefix:" field during import, all available objects
are listed in the left window. You can select from the present languages and objects.
1745
Note
Exportable and importable languages
The text distributor only makes available for export those languages that come from the same
language area and use the same code page.
For example, if you want to export Asian text, the associated system locale (operating system
language) must be set in the system control of your operating system. The associated
languages will only then be available.
"English" is always available.
Procedure
1. Open the text distributor by double-clicking in WinCC Explorer.
2. Go to the "Import text" tab.
3. Navigate in the "Import files" area under "Path:" to the path where the files you want to
import are saved.
4. Check or uncheck the desired editors from which you want to import text.
5. In the "File prefix:" field, enter the description with which the text was exported.
All export files were created with a name that begins with this description.
The objects that you can import are listed.
1746
Results
The content of the files is written to the corresponding language columns in the text library or
to the language-dependent objects in the Graphics Designer.
Note
If a picture contains "unknown objects", the export or import of the picture is aborted
immediately und "Unknown" is appears in the information window.
10.4
10.4.1
General Procedure
All text for your project is managed centrally in the Text Library except for text from the Graphics
Designer. Each text entry is assigned a unique ID, by which the texts in WinCC are referenced.
1747
Font Administration
You can set a custom font for each language created in the Text Library. This is particularly
important if you are configuring in non-Latin fonts and to create, say, a Cyrillic font. The set
font is applied at the referenced locations in WinCC.
1748
10.4.2
How to export texts from the Text Library for the translation
You have the following options for translating text in the text library:
Direct entry of the translated text in the corresponding language columns
External translation
External translation is recommended for a large amount of text.
External translation
External translation is an easy option for creating multilingual projects.
To estimate the translation effort, show the amount of text using the "Tools > Statistics" menu
command.
External translation has 3 steps:
1. Export the text
2. Translation
3. Import the translated text
Perform the export and import using the text distributor.
Note
Exportable and importable languages
The text distributor only makes available for export those languages that come from the same
language area and use the same code page.
For example, if you want to export Asian text, the associated system locale (operating system
language) must be set in the system control of your operating system. The associated
languages will only then be available.
"English" is always available.
NOTICE
Invalid file format
If you are using "*.csv" as the export format, Excel converts the Unicode file into an ANSI file.
If you want to edit the exported data with Excel, select the "*.txt" file format during export.
Requirement
The "Text Library" editor opens.
1749
Procedure
1. Select the "Tools > Export..." menu command.
The text distributor opens.
2. Check or uncheck the editors from which you want to export text. If necessary, check or
uncheck the individual objects of the editors.
3. Navigate in the "Export files" area under "Path:" to the path in which the export files are
stored.
4. In the "File prefix:" field, enter a meaningful description.
All export files are created with a name that begins with this description.
5. In the "File format:" field, select the desired format "*.txt" or "*.csv".
6. Make the settings for the export.
If you want to create a separate export file for each picture:
Select "One file per picture" in the "Graphics Designer" area.
If you want to export individual languages:
Start selecting the desired languages in the "Languages" area using the "Selection"
button.
1750
Results
The text was exported.
You can find additional information on this procedure in the "Text export and text import with
the Text Distributor (Page1732)" section.
10.4.3
How to import texts from the Text Library for the translation
Overview
After you have translated the exported text, import the text to the WinCC project using the text
distributor.
Note
Exportable and importable languages
The text distributor only makes available for export those languages that come from the same
language area and use the same code page.
For example, if you want to export Asian text, the associated system locale (operating system
language) must be set in the system control of your operating system. The associated
languages will only then be available.
"English" is always available.
Requirement
The "Text Library" editor opens.
1751
3. Navigate in the "Import files" area under "Path:" to the path where the files you want to
import are saved.
4. Check or uncheck the desired editors from which you want to import text.
5. In the "File prefix:" field, enter the description with which the text was exported.
All export files were created with a name that begins with this description.
The objects that you can import are listed.
6. In the "File format:" field, select the format of the texts.
7. Make the settings for the import.
If you only want to import text from individual pictures in the "Graphics Designer" editor:
Start selecting the desired pictures in the "Graphics Designer" area using the "Selection"
button.
If you created one picture per file when exporting, activate "One file per picture".
If you want to import individual languages:
Start selecting the desired languages in the "Languages" area using the "Selection"
button.
1752
Results
The text was imported.
You can find additional information on this procedure in the "Text export and text import with
the Text Distributor (Page1732)" section.
10.4.4
1753
Operator's Overview
The following sections give you an overview of the most important options for operating the
"Text Library" editor. Certain menu commands can also be run via the pop-up menus, or via
the shortcut shown after the menu command concerned.
Note
Inputs or changes are automatically saved to the WinCC database when you exit from a field.
Translating text
Objective
Solution
Language administration
Objective
Solution
Delete a language.
Objective
Solution
Objective
Solution
"Edit > Copy cell"
"Edit > Copy row(s)"
"Edit > Paste"
"Edit > Delete cell contents"
"Edit > Delete row(s)"
Setting fonts
Editing entries
1754
Solution
"Edit > Find and Replace"
Objective
Solution
"Tools > Filter"
Solution
Objective
Solution
"Tools > Options..."
Generating reports
Objective
Solution
"File > Print Project Documentation"
1755
10.4.5
10.4.5.1
Procedure
A new line is always added at the end of the Text Library.
1. Open the "Text Library" editor.
2. In order to add a term to the Text Library, enter the terms in the respective language columns
in the last line.
The new text is automatically provided with a new, consecutive ID.
10.4.5.2
Introduction
If your WinCC project includes configuration languages with non-Latin fonts, e.g. Cyrillic, Asian
or Greek, you must set the font for the corresponding language in the "Text Library" editor.
Note
If the newly selected configuration language originates from another linguistic area as the
previous one, you must also change the operating system language (system locale).
Switching the operating system language is necessary so that the character set works with
the proper code page.
Restart your operating system after changing the language.
Procedure
1. Open the "Text Library" editor.
2. Select the "Language > Settings" menu command.
The list of configuration languages is displayed.
3. Click in the list of configuration languages on the desired language.
4. Set the font, the font style and font size as well as other settings.
10.4.5.3
Introduction
A language column must be created for every configuration language in the Text Library.
1756
Requirement
The language must be installed.
If the new language originates from a linguistic area other than the the previous defined
language, you must also change the operating system language (system locale). Switching
the operating system language is necessary so that the character set works with the proper
code page. Restart your operating system after changing the language.
Procedure
1. Open the "Text Library" editor.
2. Select the menu command "Language > Add/Remove...".
The "Languages" dialog will appear. The "Languages" dialog contains the lists "All available
languages" and "Text library languages".
3. Mark the desired language in the list "All available languages" and click on button ">".
4. In order to predefine the new language column with text records from a language that has
already been defined, select the desired language from the selection field "Define text for
new languages with:".
5. Close the dialog by clicking "OK".
Results
New columns are created with no entries for the selected languages.
1757
10.4.5.4
General procedure
If you no longer need one of the configuration languages in your project, delete the language
column together with all its associated text entries by means of a centralized operation in the
"Text Library" editor.
Delete individual language entries directly in the objects concerned.
NOTICE
Permanently deleting a language
Before deleting a language make absolutely sure that the language is no longer needed in
your project. When you delete a language, all the existing texts in that language are deleted
irretrievably.
Procedure
1. Open the "Text Library" editor.
2. Select the menu command "Language > Add/Remove...".
The "Languages" dialog will appear. The "Languages" dialog contains the lists "All available
languages" and "Text library languages".
3. Mark the desired language in the "Text library languages" list and click on button "<".
4. Close the "Languages" dialog by clicking "OK".
Results
The language columns for the selected languages are permanently deleted from the Text
Library.
10.4.5.5
General procedure
You can copy individual cells or lines in the editor to the clipboard or insert them from the
clipboard in the "Text Library" editor.
1758
10.4.5.6
General Procedure
You can delete the content of individual cells in the "Text Library" editor.
Procedure
1. Open the "Text Library" editor.
2. Select the desired cell.
3. Select the "Edit > Cell content" menu command. As an alternative, you can click in the
toolbar on the icon
or select the command from the pop-up menu.
1759
Results
The content of the marked cell is deleted.
10.4.5.7
General Procedure
You can delete one or more lines in the "Text Library" editor.
Procedure
1. Open the "Text Library" editor.
2. Mark the desired text line or the desired text lines.
Mark lines that are not next to one another by pressing the CTRL key and the left mouse
button at the same time.
3. Select the "Edit > Delete line(s)" menu command. As an alternative, you can click in the
toolbar on the icon or select the command from the pop-up menu.
Results
The marked lines are deleted.
10.4.5.8
General procedure
You can find text in the text library and replace the text if required. The function "Find and
replace" can be executed specific to the respective language and only in marked areas if
required.
1760
1761
10.4.5.9
General procedure
Use the filter function to display text in the "Text Library" editor.
on the toolbar.
3. To launch the view click the "Read" button in the "Graphics Designer" area.
For this procedure, you must close all pictures in the Graphics Designer editor. The
procedure takes several seconds. The "Text Library" editor creates an internal file.
As soon as this file has been created, you can additionally select the "Graphics Designer"
editor in the filter settings. If you then make changes in the "Graphics Designer" editor, you
must update the text references. To do so, click on the "Update" button in the "Graphics
Designer" area.
Procedure
1. Open the "Text Library" editor.
2. Select the "Tools > Filter" menu command. Alternatively, click
in the toolbar.
The "Filter Settings" dialog is displayed. All available editors are listed and activated.
3. Uncheck the the editors, the text from which you do not want to display.
4. Start output with "OK".
Results
The text from the selected editors is displayed. As long as the filter is active, the status bar
shows the following:
The
symbol
Deactivating a Filter
Deactivate the filter by clicking "Delete filter" in the "Filter Settings" dialog box.
1762
2. Deactivate all editors. Leave only the "Not system text" entry activated.
3. Start the output with "OK".
Results
All text that is not allocated in the configuration is listed.
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.
Results
The Text ID is created again.
1763
Procedure
1. Open the "Text Library" editor.
2. Select the "Tools > Options..." menu command. Alternatively, click
The "Options" dialog box is opened.
on the toolbar.
Results
The display is changed in the "Text Library" editor.
10.5
10.5.1
1764
Restrictions
National special characters from different linguistic regions (e.g. Western European and Asian)
should not be used together in the same picture. When storing a picture under another
operating system language, these characters can be changed based on the code page.
1765
Remedy
Option 1:
Use different pictures for different linguistic regions. Edit and save the pictures with the
appropriate language setting.
Option 2:
Select an Asian operating system language for Latin fonts, too. By modifying the registry,
automatic font association can be manipulated in such as way that Latin national special
characters can also be displayed. Further information can be found on the Microsoft support
pages.
Change the registry entry from [HKEY LOCAL MACHINE\System\CurrentControlSet
\Control\fontassoc\Associated CharSet] "ANSI(00)="yes" to "no".
NOTICE
Influence of the operating system
Always carry out the changes in the Registry carefully because this can otherwise lead
to unwanted problems with the operating system!
10.5.2
"Text" property
Objects: Static text, Text list, Button, Checkbox, Radio button, Multiple row text, List field,
Combo-box
1766
"Font" property
Objects: Static text, I/O field, Bar, Group display, Text list, Multiple row text, List field, Combobox
"Tooltip" property
Objects: All objects except Picture Window and Application Window
Special Features: Tooltips can certainly be configured in multiple languages, but without any
special setting for the font. When configuring tooltips in non-Latin fonts, you must set the
corresponding font in your operating system's Control Panel in runtime:
Windows XP:
Select the "Extended" button under "Start > Settings > Control Panel > Display > Layout".
Select the "Quickinfo" element from the list.
Define the font.
Windows Vista:
Select the "Extended" button under "Start > Control Panel > Display > Appearance and
themes > Change color scheme".
Select the "Quickinfo" element from the list.
Define the font.
Note that when you change the operating system language, the tooltips in all the other Windows
applications are also changed.
ActiveX controls
Certain ActiveX Controls have text properties such as Column Name, Window Title or Axis
Label for which the language cannot be changed. In WinCC these properties are stored in all
languages installed with WinCC and are correctly displayed in runtime. If you are configuring
in a language that was not installed via WinCC, these elements are displayed in runtime in the
default runtime language (English).
When configuring language changes to languages with non-Latin fonts, use a neutral language
for these ActiveX Control properties, such as English without a special font. If you have
configured a non-Latin font for these object properties, this font is used for each displayed
language.
1767
10.5.3
Introduction
You have the following options for translating text in the "Graphics Designer" editor:
External translation
External translation is recommended for a large amount of text.
Direct entry of the translated text in the "Graphics Designer" editor.
Set up the required configuration language.
This section describes the procedure for exporting and importing text with the text distributor.
Note
Text from Text Lists
Text records from text lists stored in the text library are saved in the
"<Description>_GraphicsDesignerReferences" file.
External translation
External translation provides an easy and comfortable option for creating multilingual projects.
To estimate the translation effort, show the amount of text using the "Tools > Statistics" menu
command.
External translation has 3 steps:
1. Export the text
2. Translating the text
3. Import the translated text
Perform the export and import using the text distributor.
Text Distributor gives you the following options:
You can export all the pictures from a project or just individual pictures.
You can create a separate file for each picture.
You can export all target languages or create a separate file for each language. This is
advantageous if you want to give the text to several translators. Make sure that no structural
changes whatsoever are made in the files, e.g. to the order of columns).
1768
Requirement
All languages that you wish to translate into must be created in the "Text Library" editor. The
text to be translated in all pictures and picture objects is configured in at least one language.
Observe the following points during configuration:
Text length
If you are configuring picture objects for multiple languages, be aware of the different text
lengths in the various languages. French text is about 50% longer than the equivalent
German text. Dimension your graphic objects accordingly.
Adapt Border
For the "Static Text" object ,you can use the Object Properties dialog box to set the attribute
"Properties > Miscellaneous > Adapt Border" to "Yes". The text border is then automatically
adapted to the contents.
1769
3. Navigate in the "Export files" area under "Path:" to the path in which the export files are
stored.
4. In the "File prefix:" field, enter a meaningful description.
All export files are created with a name that begins with this description.
5. In the "File format:" field, select the desired format "*.txt" or "*.csv".
1770
1771
4. Navigate in the "Import files" area under "Path:" to the path where the files you want to
import are saved.
5. Check or uncheck the desired editors from which you want to import text.
6. In the "File prefix:" field, enter the description with which the text was exported.
All export files were created with a name that begins with this description.
The objects that you can import are listed.
7. In the "File format:" field, select the format of the texts.
8. Make the settings for the import.
If you only want to import text from individual pictures in the "Graphics Designer" editor:
Start selecting the desired pictures in the "Graphics Designer" area using the "Selection"
button.
If you created one picture per file when exporting, activate "One file per picture".
If you want to import individual languages:
Start selecting the desired languages in the "Languages" area using the "Selection"
button.
1772
10.5.4
How to configure picture objects for more languages in the "Graphics Designer"
editor
Introduction
Texts that you configure in your pictures are not stored in the Text Library, but with the picture
itself.
This chapter provides the descriptions for procedures used to directly insert the translated text
records in the "Graphcis Designer" editor. These procedures are mainly suitable for small
amounts of text.
Observe the following while configuring:
Text length
If you are configuring picture objects for multiple languages, be aware of the different text
lengths in the various languages. A French text is about 50% longer than the equivalent
German. Dimension your graphic objects accordingly.
Adapt Border
For the "Static text" object, use the Object Properties dialog box to set the attribute "Properties
> Miscellaneous > Adapt border" to "Yes". The text border is then automatically adapted to the
contents.
Certain graphic objects have elements for which you cannot set the font. For these elements
select a neutral language such as English for the text entries.
1773
Basic procedure
In order to configure picture objects for multiple languages, proceed as follows:
1. First configure all pictures and picture objects in your preferred language.
2. Switch the configuration language in the "Graphics Designer" editor.
3. Enter the translated text directly on the objects in the respective language.
Untranslated texts are displayed as "???".
Alternative Procedures
In most cases you have several options for entering labels in picture objects, for example:
In the "Object Properties" dialog, under "Font" in "Text" field.
The font can be set.
In the "Configuration" dialog.
The font can be set.
The input window is still available which you can open from the Object Properties dialog:
For inputting text (an alternative to direct input).
The font cannot be set.
For inputting Tooltips.
The font cannot be set.
For inputting text for the Text List.
The font cannot be set.
Note
In the case of non-Latin fonts the text in the input field is sometimes incorrectly displayed
even though the font was correctly set, but the appearance in the picture is correct in
runtime. You can remedy this by entering the text in another application (such as Word)
and then using Copy & Paste to transfer it to the input field. If necessary, set the same
input methods in the source and target applications to properly carry out copy & paste.
The font for Tooltips cannot be set in WinCC. Text in non-Latin fonts is correctly displayed
in runtime if the corresponding font for tooltips is set in your operating system's Control
Panel. When you are configuring a project for Latin and non-Latin fonts, after a change
of language the font for tooltips must be correspondingly set in the operating system.
Additional information on configuring graphic objects can be found in the WinCC information
system in chapter "Creating process pictures".
1774
10.5.5
Procedure
1. Open the "Graphics Designer" editor.
2. Open the "Object Properties" dialog box of the text list from the shortcut menu.
3. On the "Properties" tab activate the "Output/Input" group.
4. Double click on "Assignments".
The "Textlist assignments" dialog box appears.
5. Enter the "Range type", "Value range" and the desired text for every value/value range.
6. Confirm your entries with "OK".
7. If you want to save text in the picture:
Export the text with the text distributor and translate the text externally.
For more information on the text distributor, refer to the section "How to export languagedependent texts (Page1736)".
As an alternative, change the configuration language in the "Graphics Designer" editor
and enter the translated text respectively.
8. If the texts are to be stored in the text library and translated:
On the "Properties" tab activate the "Miscellaneous" group.
Then double-click "Text Reference".
The default setting "no" switches to "yes". This stores the text records in the text library.
Export the text with the text distributor and translate the text externally.
For more information on the text distributor, refer to the section " Text export and text
import for translations".
As an alternative, start the "Text Library" editor and translate the text directly in the
respective language columns.
You can find additional information on translating text in the text library in the section
"Text management with the "Text Library" editor (Page1747)".
1775
10.6
10.6.1
Multilingual messages
1776
10.6.2
How to export and import message text records for the translation
General procedure
You have the following options for translating text in the "Alarm Logging" editor:
External translation
External translation is recommended for a large amount of text.
Direct entry of the translated text into the corresponding language columns of the "Text
Library" editor
Direct entry of the translated text in the "Alarm Logging" editor.
1777
External translation
External translation provides an easy and comfortable option for creating multilingual projects.
To estimate the translation effort, show the amount of text using the "Tools > Statistics" menu
command.
External translation has 3 steps:
1. Export the text
2. Translating the text
3. Import the translated text
Perform the export and import using the Text Distributor.
1778
2. Check or uncheck the editors from which you want to export text. If necessary, check or
uncheck the individual objects of the editors.
3. Navigate in the "Export files" area under "Path:" to the path in which the export files are
stored.
4. In the "File prefix:" field, enter a meaningful description.
All export files are created with a name that begins with this description.
5. In the "File format:" field, select the desired format.
6. In the "File format:" field, select the desired format "*.txt" or "*.csv".
7. Make the settings for the export.
If you want to export individual languages:
Start selecting the desired languages in the "Languages" area using the "Selection"
button.
1779
1780
10.6.3
How to translate the message text records in the "Text Library" editor
General Procedure
You have the following possibilities for translating the text records of the "Alarm Logging" editor:
External translation
With a large number of text records, the external translation is recommended.
Direct input of the translated text records in the respective language columns of the "Text
Library" editor
Direct entry of the translated text records in the "Alarm Logging" editor
1781
Procedure
1. Open the "Text Library" editor.
2. Select the "Tools > Filter" menu command. As an alternative, click this toolbar icon .
The "Filter" dialog opens. All of the editors that are available are listed and activated.
3. Deactivate all editors except for "Alarm Logging".
4. Start the output with "OK".
Only the text records from the "Alarm Logging" editor are shown.
5. Change the font centrally for each language where required.
6. Enter the translated text records in the appropriate language columns.
10.6.4
How to translate the message text records in the "Alarm Logging" editor
General Procedure
You have the following possibilities for translating the text records of the "Alarm Logging" editor:
External translation
With a large number of text records, the external translation is recommended.
Direct input of the translated text records in the respective language columns of the "Text
Library" editor
Direct entry of the translated text records in the "Alarm Logging" editor
1782
Alternative Procedures
You can input language-dependent Alarm Logging texts in various dialogs.
User texts
You can configure user texts (message texts, names for message classes, message types,
message blocks, etc.) individually for each message:
Message texts: Directly in the "Message text" field in table view in the Alarm Logging editor
In the "Object properties" dialog box for the message concerned (pop-up menu >
"Properties") on the Text tab in the "Message text" or "Point of error" field
In the "Text Library" editor
In the "Object properties" dialog box for the message class/message type/message block
Standard texts
Standard texts are names for message classes, message types and message blocks, and the
system messages provided by WinCC in the languages installed with WinCC. These text
1783
Info texts
Help text is also regarded as user-specific. Help text is not stored in the Text Library and cannot
be configured for multiple languages. Enter the info text in the "Info text" input field, which you
open by double clicking on the "Info text" field in table view.
Basic procedure
1. Open the "Alarm Logging" editor.
2. Use menu command "View > Language..." to define the language that you prefer as the
configuration language.
3. Configure all the message system texts in your preferred language. Additional information
on configuring messages can be found in the WinCC information system in chapter
"Message system structure".
1784
Here, you can define whether the identical text is only stored once in the Text Library.
"Changes to the selected text apply to all identical text"
At other locations in the Alarm Logging, a cross-reference is made to the same Text-ID. If
you change a multiple use text, all instances of that text are changed at the same time.
"Change applies only to the selected text"
The text is stored in the Text Library with a new text ID. This is advantageous if you must
change this precise text again later on.
Note
When configuring in multiple languages, be aware that in the text input mode called
"Change applies only to the selected text" the modified text is reentered in the Text Library.
Existing translations are not taken into account.
1785
10.7
10.7.1
Principle
There are two types of report in WinCC:
Project documentation
The project documentation contains reports that are output during the configuration. These
reports contain overviews of the configured data. You can output the project documentation
in all runtime languages.
In the project documentation you document all multilingual texts you configured.
Logs that are output in runtime, such as regular printouts of measurement data. These
reports can be output in the respectively defined set runtime language.
10.7.2
Layout files
The designation of language-dependent layout files contains a language ID. The languagespecific layout files are stored in language-specific folders in folder \\<Name of computer>
\Project name\PRT". The following table shows the language IDs and language folder with
languages that can be installed with WinCC.
1786
Language
Folder
German
DEU
PRT\DEU
English
ENU
PRT\ENU
French
FRA
PRT\FRA
Italian
ITA
PRT\ITA
Spanish
ESP
PRT\ESP
Chinese (simplified)
CHS
PRT\CHS
Folder
Chinese (Traditional)
CHT
PRT\CHT
Korean
KOR
PRT\KOR
Japanese
JPN
PRT\JPN
Language-neutral
PRT\
If you add other runtime languages in the "Layouts" pop-up menu, the language-specific folder
is created in the PRT folder in the project folder.
Layout file
German
@algcs_DEU.rpl
English
@algcs_ENU.rpl
French
@algcs_FRA.rpl
Italian
@algcs_ITA.rpl
Spanish
@algcs_ESP.rpl
In the Asian WinCC version, the following layout files belong to the print job
"Documentation_Alarm_logging":
Language
Layout file
English
@algcs_ENU.rpl
Chinese (simplified)
@algcs_CHS.rpl
Chinese (Traditional)
@algcs_CHT.rpl
Korean
@algcs_KOR.rpl
Japanese
@algcs_JPN.rpl
1787
10.7.3
Introduction
A layout is assigned to each print job. You edit page layouts in the page layout editor.
The layout files of the layout are saved in a folder structure in the WinCC Explorer.
When printing print jobs with language-dependent layouts, WinCC uses the layout file with the
language code of the current WinCC Runtime language.
1788
Results
The folder of the new Runtime language is saved in the "\\<Computer name>\Project name
\PRT" folder. The folder of the new Runtime language is displayed in WinCC Explorer.
1789
10.7.4
Introduction
There must be a layout for every print job.
1790
Results
The print job has been created.
If a language-neutral layout or a language-dependent layout that is not available in all Runtime
languages is used in the print job, this is displayed by the
symbol.
1791
Description
Layout is language-dependent.
Layout files exist in all runtime languages. No language-neutral layout file exists.
Layout is language-dependent.
Layout files do not exist in all runtime languages. You can use the layout. If you change
to a runtime language, for which there is no layout file available, the English layout file
is used.
The layout is language-neutral. In runtime, the language-neutral layout is always active.
This does not depend on whether language-specific layout files exist for the selected
layout.
10.7.5
Introduction
You use project documentation in WinCC to document your configured data. You can create
project documentation with data from the following editors:
WinCC Explorer
Graphics Designer
Alarm Logging
Tag Logging
Text library
User Administrator
1792
Procedure
1. Exit runtime.
2. As the runtime language, set the language to the language in which you want to create the
project documentation.
All the languages you have created in the Text Library are available for use as runtime
languages.
3. Check the project documentation by selecting the menu command "View Project
Documentation" in the respective editor.
4. Output the project documentation by selecting the menu command "Print Project
Documentation".
More information on creating and configuring logs and log layouts can be found in the WinCC
Information System in chapter "Documentation of configuration and runtime data".
10.7.6
Introduction
In runtime you can output reports for process values, for instance regular measurement data
reports, curves or message reports. If your project runs in runtime in multiple languages, logs
in runtime will always be output in the current runtime language.
If a log is output in runtime, the layout file of the current runtime language is used.
Note
Layout file does not exist in current runtime language
If the layout file does not exist in the current runtime language, the English layout file is used.
10.8
Principle
Regional date and time displays are language-dependent. In some countries the European
format is displayed (Day.Month.Year), and the American format (Year/Month/Day) is used in
others. You must also pay attention to this display format for multilingual objects.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1793
Note
If the central date and time format according to ISO 8601 is entered in the "Computer
Properties" dialog, it will have an effect on the configurable time formats and on the display
of time during Runtime. The date display is unambiguously set by the ISO 8601 format. You
may find additional information on ISO 8601 format under "Working with Projects" > "Setting
Time in WinCC".
Alarm Logging
In Alarm Logging you can select the format of the date and time in the system blocks "Date"
and "Time", choosing between the European and American formats. The configured format
applies to the whole project and is not affected by changing the runtime language.
If you insert an Alarm Control in Graphics Designer, it accepts the date and time setting that
you configured in Alarm Logging.
Graphics Designer
The following objects, which you can configure in Graphics Designer, display the date and
time:
WinCC Alarm Control: The format of date and time is configured in Alarm Logging. The
configured setting applies to the entire project.
WinCC TrendControl, WinCC TableControl: The format of date and time may be configured
directly under Control Properties. The settings apply to the current picture.
D/A Clock: The WinCC ActiveX Control Digital/Analog Clock accepts the local computerspecific settings from your operating system settings. They cannot be changed in the
Control.
Note
When configuring a Chinese project, you must set China (Taiwan) as the input locale and
then adjust the date and time display format in the Control Panel of your operating system.
Report Designer:
In the Report Designer you can adapt the format of the date and time by setting the
corresponding parameters for the "Format" attribute in the "Object Properties" dialog of the
"Date/Time" system object in the "Miscellaneous" group. You can get an overview of the
possible parameters and settings from the Direct Help on this attribute.
1794
Display in Runtime
In runtime, the date and time displays are not changed in the event of a language change.
Therefore always configure for a primary language.
For further information, please refer to the online help for the Graphics Designer, Alarm Logging
and the Report Designer.
10.9
Languages in Runtime
10.9.1
Languages in Runtime
Runtime language
You set the language in which your project is displayed in Runtime centrally, in the computer
properties in WinCC Explorer.
You can select as the runtime language any language for which a language column has been
created in the Text Library.
1795
10.9.2
Requirements
You can only select languages as runtime languages if they have been created in the Text
Library.
Procedure
1. In WinCC Explorer, select "Computer" with the right mouse button and select "Properties"
in the pop-up menu.
2. Select the required computer from the list (for multi-user projects only) and click the
"Properties" button.
3. In the "Computer Properties" dialog, select the Parameters tab.
4. In the "Language Setting at Runtime" field, select the language in which to start the project
in runtime.
In the "Default Language at Runtime" field, select the language in which to display texts
from graphics objects instead. The texts will be displayed in this Runtime default language,
if translations into the language set in "Language Setting at Runtime" do not exist.
5. Confirm your settings with "OK".
Results
In runtime, the project will be started in the set language. Non-translated texts of graphics
objects are displayed as "???" as long as no translated text exists in the runtime default
language either.
If message system texts are not translated, nothing is displayed.
1796
10.9.3
Introduction
You can configure language changes within operating elements yourself, or use preconfigured
WinCC objects for changing languages.
The following preconfigured WinCC objects are available:
Buttons for each WinCC language for operating using mouse or finger (touch screen
operation).
Hot key symbols for each WinCC language for operating with the keyboard.
Radio box lists for changing between two or all available WinCC languages.
Drag & drop WinCC objects for changing languages into your picture from the WinCC library
("Operation" group, "Language Change" subgroup).
If you are configuring a language change in a picture object and decide not to use any of the
preconfigured WinCC objects, the following picture objects are recommended:
A button for changing between two languages.
If you use a button, also configure a button with which the operator can switch the language
back again. By using a toggle function, you can change to a language and back with just
one button.
An input/output field in which the operator inputs the language directly. This solution
requires script programming.
Radio buttons or check boxes for selecting a language. This solution requires script
programming.
The following section contains an example to show you how you can configure a language
change on a single button.
1797
Requirement
Always configure a change to a language for which texts have already been configured. If
these texts are not available during Runtime, graphics objects will display "???" after the
language change as long as no translated text is available in the runtime default language
either. If message system texts are not translated, nothing is displayed.
Language changes must always have a target language that has been created in the Text
Library. If the target language is not present, the language change has no effect and the
previously set language continues to be displayed.
Procedure
1. In the Graphics Designer open the picture in which you wish to configure a language change.
2. Configure a button.
3. Double-click the "Language Change" Wizard in the Dynamic Wizard window.
The Dynamic Wizard for changing languages appears.
4. Click "Continue" to move on from the opening screen.
5. In the "Select Trigger" dialog, select a trigger for the language change, e.g. Mouse Action.
6. In the "Set Options" dialog, select the language to which you want to change.
The initial language is always the current runtime language or the current project language
respectively.
7. Click "Continue" to view your chosen options, and click "Finish" to finish configuring.
Results
If operator clicks the button in runtime, the language is changed from the current runtime
language to the language you specified.
10.10
Example of Configuration
10.10.1
Example of Configuration
Overview
The following example shows you how to create a small multilingual project in a few steps:
You configure a graphic object in multiple languages.
You configure a language change.
You run the project and change the language in runtime.
1798
See also
Example: How to translate the text records in different linguistic regions (Page1807)
10.10.2
Introduction
In the following section you configure a button for the "End Runtime" function with labels in
English, French and Italian.
Procedure
1. Open the Graphics Designer.
2. Create a new picture for the example, e.g. "language.pdl". In a project you position the
language change as a rule on the starting page.
3. Select the menu command "View > Language", and select from the list of available
languages "English (USA)".
4. Create a button from the group of Windows objects in the Object Palette.
5. After creating this, the Configuration dialog is opened. In the Configuration dialog, input the
button label in English (e.g. "End Runtime").
6. Input a font such as Arial Black and click OK to close the dialogs.
7. Use the appropriate Dynamic Wizard to load the button with the "End Runtime" function.
1799
11.For the French display select another font, e.g. Courier New Bold. Make sure that you
always configure all entries for a language in the same font.
12.Now change the language to Italian and configure the Italian text ("Finire Runtime") in the
same way.
13.Save your picture.
Results
When you change the project language in the Graphics Designer between English, French
and Italian, the text is displayed on the button in the current project language in each case.
10.10.3
Introduction
Below you configure a language change with which you can change between English, French
and Italian in runtime.
1800
Requirement
You must have configured the button as described under "Example": "Configuring a
Multilingual Graphic Object".
Procedure
Note
In the following example you configure a Language change by means of an object from the
WinCC library. These objects are already preconfigured and ready for use. If you wish to
create a dedicated operating element for changing languages, select the "Language Change"
Dynamic Wizard.
1. Open the picture "languages.pdl".
2. Click the
"Library".
button to open the WinCC library or select the menu command "View" >
3. In the Global Library, open the folder "Operation" > "Language Change".
1801
10.10.4
Introduction
In the following section you execute your example project in runtime.
Requirement
You have configured the button and the language change as described under "Example":
"Configuring Multilingual Graphic Object" and "Example": "Configuring Language Change".
Procedure
Note
Before starting runtime, you must go to the Text Library and create the languages to be used.
The texts of the pictures are not stored in the Text Library. A language must, however, be
created in the Text Library so that it may be selected as runtime language.
1802
1803
1804
1805
12.For demonstration purposes change the language back to English, and then to a language
that is neither configured nor created in the Text Library, e.g. Spanish. As the language is
not available in the Text Library, the language is not changed. The previously set language,
in this case English, is kept:
1806
10.10.5
General Procedure
If you are translating to a language that originates from a different linguistic region, the
respective system locale must be defined in the control panel of your operating system.
When translating the text records in other linguistic regions, you must therefore consider the
settings for your computer.
The following example shows how you translate from English to Chinese (Traditional).
The example assumes that the text exists in English.
Procedure
1. Export the English text records with the Text Distributor. In the "File prefix:" field, enter
"ENU_CHT".
2. Set the system locale for Chinese in the control panel of your computer.
The Input Method Editor (IME) is available in Windows for configuring Asian text.
3. Restart the operating system.
4. Open file "ENU_CHT_Languages.csv".
5. Expand the file by the language Chinese. Enter 1028 in the column "Language ID". In
column "FontName", enter "Ming Lui". Change the other parameters for the font if
necessary.
6. Save file "ENU_CHT_Languages.csv".
7. Open one of the files with the exported text records of the Text Library.
Create another column for Chinese in the file.
Write the text "Chinese" in every object block in line "ID" in the new column.
Enter the correct translation for every Text ID in the Chinese column.
Save the file as a CSV file again.
Repeat these steps for all files with exported text records of the Text Library.
8. Open file "ENU_CHT_GraphicsDesigner.csv" or one of the picture files.
For every line that begins with "Object":
Enter the following text records in the next free cells: "Chinese", "Chinese FontName",
"Chinese FontSize", "Chinese FontBold", "Chinese FontItalic", "ChineseFontUnderline".
Change the entries in column "Chinese FontName" to "Ming Lui" and the other properties
as desired.
Enter the translated text in column "Chinese".
Save the file.
If you have individual picture files, repeat these steps for every file.
9. Start WinCC.
10.Start the Text Distributor.
1807
Results
The Chinese text records are available in the WinCC project. The text records can be displayed
in the configuration and in runtime.
1808
Resources
11.1
11
Contents
The User Administrator editor is used to set up and maintain a user administration system. In
the User Administrator it is possible to set up and maintain access authorizations for WinCC
functions and WinCC users. Further functions, such as the time-limited login or login by means
of key-operated switch or chipcard, can be assigned to a user in the User Administrator.
This section shows you how to do the following:
add and maintain WinCC users
add WinCC access rights in the authorizations and how to assign these access rights to
the users
set up an automatic logout for a user
use the "Tag Login" function to log in a user using a tag value, e.g. by means of a keyoperated switch
configure the system so that users must log in by means of a chipcard.
use SIMATIC Logon jointly with WinCC
11.2
Functional Principle
The User Administrator editor is used to set up a user administration system. The editor is
used to assign and check authorizations which allow users to access the individual editors of
the configuration system and to access the functions in Runtime. Access rights to WinCC
functions known as authorizations are assigned in the User Administrator. These
authorizations can be assigned to individual users or to user groups. Authorizations can also
be assigned in Runtime.
When a user logs on to the system, the User Administrator checks whether the user is
registered. If the user is not registered, he has no authorizations whatsoever. This means that
he cannot call up or view data, or perform control operations.
If a registered user calls up a function protected by access authorization, the User Administrator
checks whether the user has the appropriate authorization to permit this. If not, the User
Administrator denies access to the desired functionality.
1809
Maximum number
Authorizations
999
Users
128
User groups
128
Ranges
256
See also
Structure of the User Administrator (Page1811)
Tasks of the User Administrator (Page1810)
11.3
Introduction
The User Administrator is divided into two components for assigning and maintaining user
authorizations.
Configuration system
Runtime system
Configuration system
Users and authorizations are maintained in the User Administrator configuration system. Here
new users are registered, passwords are assigned, authorizations are managed in a table,
and linkage to SIMATIC Logon is executed.
1810
Runtime system
The principal task of the User Administrator Runtime system is to monitor the system logins
and access authorizations.
11.4
11.4.1
Introduction
The user interface of the User Administrator editor consists of:
Menu bar
toolbar
Multi-segment project window
and the status bar
1811
11.4.2
"File" Menu
Introduction
Functions for project documentation and file management are combined in this menu.
1812
11.4.3
"User" Menu
11.4.3.1
"User" Menu
Introduction
The "User" menu contains all items needed to set up new users or groups. You can group
users that have or will receive the same authorizations. Those users receive the same
authorizations as the rest of the group. This way, you can avoid having to assign the same
authorizations within a group manually.
See also
Deleting Users/Groups (Page1816)
Web Options (Page1817)
Changing Password (Page1816)
Adding Groups (Page1815)
Setting Up Users (Page1814)
1813
11.4.3.2
Setting Up Users
Introduction
Use the "Add User" menu item in the "User" menu to add a new user to the selected group.
Procedure
1. In the project navigation window, select the group to which you want to add a new user.
2. Select "Add User" in the "User" menu or the associated pop-up menu. The "Establish New
User" dialog is displayed.
Note
A user name can only be assigned once.
11.4.3.3
Copying Users
Introduction
Use the "Copy User" menu item in the "User" menu to copy the selected user with all associated
settings.
1814
Procedure
1. In the project navigation window, select the group to which you want to add a new user.
Please select in this group a user to be copied.
2. Select "Add User" in the "User" menu or the associated pop-up menu. The "Copy User ..."
dialog is displayed.
Note
A user name can only be assigned once.
11.4.3.4
Adding Groups
Introduction
Use the "Add Group" menu item in the "User" menu to add a new group. There are no
subgroups.
1815
Procedure
1. Select "Add Group" in the "User" menu or the associated context menu. A new group is
created in the project navigation window. A text window with cursor appears next to the
group icon.
2. Enter the name of the new group and then press the ENTER key.
3. Assign the desired authorizations to the new group.
Note
A group name can only be assigned once.
11.4.3.5
Deleting Users/Groups
Introduction
Use the "Delete User/Group" menu item to delete the selected user or group.
Procedure
1. In the project navigation window, select the user or group to be deleted.
2. Select "Delete" in the "User" menu or the associated pop-up menu. A dialog appears in
which you must confirm the deletion procedure.
3. Confirm by clicking the "OK" button.
11.4.3.6
Changing Password
Introduction
Use the "Change Password" menu item in the "User" menu to assign a new password to the
selected user. The password must be between 6 and 24 characters in length.
1816
Procedure
1. In the project navigation window, select the user to whom you want to assign a new
password.
2. Select "Change Password" in the "User" menu or the associated context menu. The
"Change Password" dialog is displayed.
Note
The abbreviated login name of the user is shown in the dialog (max. 22 characters).
11.4.3.7
Web Options
Introduction
Select this menu item to set the "Web Navigator" check box in the table window and to display
the "Web Options" area.
The web options are described in more detail under "Table window".
See also
Table Window (Page1827)
11.4.3.8
Introduction
You can change the name of a user or a group. Changing the name does not affect the
password for the user or group.
1817
Procedure
1. In the project navigation window, select the user to whom you want to assign a new name.
2. Click the left mouse button on the user name. The name now appears in a text window with
cursor.
3. Enter the new name.
4. Confirm the new name by pressing the ENTER key.
Note
The user or group name can only be assigned once.
11.4.4
"Table" Menu
11.4.4.1
"Table" Menu
Introduction
Use the "Table" menu to change or expand the user rights in the table window. It is not possible
to delete the "User Administration" authorization. It is permanently set for members of the
"Administrator" group.
See also
Plant-Specific Authorizations (Page1819)
Deleting Authorizations (Page1819)
Inserting Authorization (Page1818)
11.4.4.2
Inserting Authorization
Introduction
Use the "Insert Authorization" command to insert a line with a new authorization into the table
of the table window.
Procedure
1. From the "Table" menu, select the "Insert Authorization" entry. The "Insert Line" dialog is
displayed.
2. In the dialog, enter the line number of the new authorization. By default the field contains
the next free number.
1818
Note
A new authorization can be assigned to all users and not only to the user which was selected
when the authorization was created.
11.4.4.3
Deleting Authorizations
Introduction
Use this command to delete a line in the table of authorizations.
Authorizations can only be deleted in the configuration system.
Procedure
1. In the table window, mark the line containing the authorization to be deleted.
2. From the "Table" menu, select the "Delete Authorization" entry. A dialog appears in which
you must confirm the deletion procedure.
3. Confirm by clicking the "OK" button.
Note
The system does not allow certain authorizations to be deleted.
Deleted authorizations are lost for all registered users.
11.4.4.4
Plant-Specific Authorizations
Introduction
Using the "Plant-specific authorization" command, you can specify for LTO-/PCS7 projects if
a function should be enabled for the entire device or only for individual areas.
1819
Procedure
1. In the table window, activate the function whose settings you would like to change.
2. From the "Table" menu, select the "Plant-Specific Authorization" entry. The changed setting
for the selected function takes effect immediately.
3. Enable the selected function for the entire device or die individual areas, respectively.
1820
1821
11.4.5
"Chipcard" Menu
Introduction
This menu contains functions for the "Chipcard" option.
The menu can only be activated if the WinCC "Chipcard" option is installed and the WinCC
project is not in Runtime.
The menu is described under "Extended Chipcard Menu".
Note
If you activate the "SIMATIC Logon" option, the "Chipcard" menu is disabled.
See also
"Chipcard" Menu Extension (Page1833)
11.4.6
"AddOns" Menu
11.4.6.1
"AddOns" Menu
Introduction
This menu contains additional functions.
See also
Tag Login (Page1823)
1822
11.4.6.2
Tag Login
Introduction
The "Tag Login" function assigns a tag value to a certain user. This user can then log on to a
workstation in Runtime by setting the tag value, e.g. by means of a key-operated switch.
This function is configured by following the steps below:
1. Assign an operating station to a configured tag ("Assignment Computer - Tag" dialog).
2. Determine the minimum and maximum values of the value range which is to be used for
the "Tag Login" function ("Configuration" dialog).
3. Assign a certain tag value to a certain user ("Assignment User - Value" dialog).
On completion of his work, the user can log out again by setting the tag value to a configurable
logout value.
If a user is logged on at the system by means of "Tag Login", it is not possible to log on at the
same computer using the user dialog.
Note
If you have selected the "SIMATIC Logon" option, the function "Tag Login" must not be used.
See also
Assignment User - Value (Page1825)
Configuration (Page1824)
Assignment Computer - Tag (Page1823)
11.4.6.3
Introduction
Select the "Assign Computer" menu item to open a dialog in which a computer for the project
can be assigned to a configured tag.
Each computer can be assigned to a different tag or all computers can be assigned to the
same tag.
The used tag must be "binary" or 8, 16 or 32 bit.
1823
Name
Description
"Computer"
field
"Tag" field
Here a tag name can be entered directly or selected in the tag selection dialog.
See also
Assignment User - Value (Page1825)
Configuration (Page1824)
Tag Login (Page1823)
11.4.6.4
Configuration
Introduction
Select the "Configuration..." menu item to open a dialog in which a value range can be defined.
A tag value within this range can be assigned to a user in the "Assigning User to Value" dialog.
1824
Description
See also
Assignment User - Value (Page1825)
Assignment Computer - Tag (Page1823)
Tag Login (Page1823)
11.4.6.5
Introduction
Select the "User Assignment..." menu item to open a dialog in which a tag value is assigned
to a certain user.
If a user was already selected in the User Administrator before the dialog was launched, the
associated assignment is displayed in the dialog.
1825
Description
"Value" field
"User" field
"Assign" button
When a selection has been made in the "Value" and "User" fields, this button
assigns the user to the value and displays the assignment in the table.
"Delete" button
"Value - User" table Shows the selectable tag values ("Configuration" dialog) and the existing
assignments to the users.
Note
Each user can only be assigned to one tag value.
A "User" in the User Administrator can also represent a group of users or a function, e.g.
"Maintenance" or "Troubleshooting".
See also
Tag Login (Page1823)
Configuration (Page1824)
Assignment Computer - Tag (Page1823)
11.4.7
Toolbar
Introduction
The symbols in the toolbar allow you to perform actions more quickly. You do not have to make
several selections through the menus until you reach the required function.
Icon
Description
"User" "Add User"
"Group" "Add Group"
"User" "Copy User"
"User" "Delete User/Group"
"User" "Change Password"
"What's This?"
"Web Navigator"
1826
11.4.8
11.4.8.1
Introduction
The user administration data is displayed in the project window. The window consists of:
the navigation window (left)
and the multi-segment table window (right).
11.4.8.2
Navigation Window
Navigation Window
The navigation window contains a tree structure showing the configured groups and the
associated registered users. The selected user name is displayed in the field above the
navigation window. The "User" menu can be opened as a context menu for the selected user
or user group.
11.4.8.3
Table Window
Introduction
In the table window, the login name and the associated settings are displayed for the selected
user and group.
If you have selected the "SIMATIC Logon" option, the "Login only via chip card" check box
is deactivated.
1827
Authorizations Table
The lower part of the table window shows the configured authorizations. Each line contains
one authorization.
The number of displayed authorizations depends on the installed options, e.g. the "Basic
Process Control" option.
Authorizations with the numbers 1000 - 1099 are system authorizations which cannot be set,
modified, or deleted by the user.
Authorization 1 "User Administration" is set by default for users in the "Administrator" group.
This authorization cannot be deleted.
In the "Unlock" column, an authorization can be assigned to the selected user by doubleclicking in the desired line.
Each authorization must be assigned separately. Multiple authorizations can only be
transferred according to the group assignment when you add a new user to a group. The table
can be edited by selecting the "Table" menu item.
1828
11.4.8.4
Introduction
If the "Automatic Logout" function is set, a logged-in user can be logged out automatically after
a definable time. This prevents unauthorized persons from having unlimited access to the
system following control operations by the currently logged-in user.
If you enter a "0" in the entry field for the period until an automatic logout, the function is
deactivated. The user remains logged in until the system is shut down or a different user logs
in.
If you activate the "Absolute time" option, the configured time for the automatic logout begins
to run down when the user logs in, regardless of whether control operations are performed by
the user during this time.
If the "Idle Time" option is activated, the configured time begins to run down from the point at
which the user last performed a keyboard or mouse operation. The user is automatically logged
out after this pause.
Procedure
1. In the project navigation window, select the group or user for which you want to configure
the "Automatic Logout" function.
2. In the input field in the "Automatic Logout" section of the table window, enter the time until
automatic logout in minutes after which the system is no longer to permit process control
and the user is to be logged out.
3. The "Absolute Time" option is set by default. Activate the "Idle Time" option if the time after
which the automatic logout is to be performed is to begin running down from the point at
which the user last performed a keyboard or mouse operation.
Note
If you have selected the "SIMATIC Logon" option, the function "Automatic Logout" can only
be set for the group. This setting is automatically applied to each user of this group.
11.4.8.5
How to Activate the "Login Only Via Chipcard" Function for a User
Introduction
If a user is to be able to log in using his chipcard only, this can be set in the User Administrator
by activating the "Login Only Via Chipcard" function.
1829
Procedure
1. In the project navigation window, select the user for which the "Login Only Via Chipcard"
function is to be activated.
2. In the table window, activate the "Login Only Via Chipcard" check box.
See also
"Chipcard" Menu Extension (Page1833)
11.4.9
Status bar
Introduction
The left side of the status bar contains general program information.
The fields on the right side provide information on keyboard settings.
11.5
11.5.1
Introduction
The following basic steps are necessary to set up a user administration system:
1. Set up the required groups.
2. Select the appropriate authorizations for the groups.
1830
11.5.2
Introduction
If you want to assign an authorization in a different editor, e.g. an attribute of an object, the
following dialog appears.
The authorizations are displayed in numerical order. If you select an authorization here, the
function or control operation is unlocked in Runtime only for users who have the appropriate
authorization.
You can open the dialog in various ways, e.g. by means of the "Authorization" attribute in the
properties for an option button in the Graphics Designer.
1831
11.5.3
Operation in Runtime
Introduction
The following steps are necessary for a user to log on in Runtime:
1. Start the Runtime system.
2. Now open the password dialog using the shortcut keys for "Login" defined in the WinCC
Explorer (Project Properties - Hotkey tab).
3. Enter your login name and the password in the dialog.
The system checks the authorizations you have been assigned with those of the editors and
the installed components. If the authorizations match, the system unlocks the editors and
components so that they can be used.
Note
If a large number of authorizations have been assigned to a user, i.e. around the maximum
number of 999 authorizations per user, several minutes may be required to log in the user.
11.6
11.6.1
Introduction
Installing WinCC together with the options extends the functionality of the Administrator.
The OS Project Editor in the "Basic Process Control" option changes the number and
function of the authorizations in the table window. The authorizations then correspond to
the PCS7 user hierarchies.
The "Chipcard" option inserts the "Chipcard" item together with the associated functions in
the menu bar and the "Login Only Via Chipcard" check box can then be activated in the
table window.
1832
11.6.2
11.6.2.1
Introduction
The User Administrator provides functions for controlling a chipcard reader. You can write to
and check chipcards in the configuration system. The "Chipcard" menu is deactivated in
Runtime.
1833
Requirement
The following requirements must be met before WinCC with the "Chipcard" option can be used:
the "Chipcard" option must be installed and
an interface (e.g. COM1 or COM2) must be assigned to the chipcard reader.
When these requirements have been met, the "Chipcard" menu becomes available and the
"Login Only Via Chipcard" check box is displayed in the table window.
Note
No Windows Administrator rights are required to write to and check chipcards in the
configuration system or to use the chipcards in Runtime.
To be able to write to and read a chipcard, the hardware connection between the chipcard
reader and computer must be connected before the computer is started.
See also
How to Check a Chipcard (Page1836)
How to Write to a Chipcard (Page1835)
How to Set the Interface for the Chipcard Reader (Page1834)
11.6.2.2
Introduction
An interface on the WinCC computer must be assigned before a chipcard reader/writer can
be used in WinCC.
An interface must also be assigned to activate the "Chipcard" menu in the User Administrator.
Further requirements can be found under "Extended Chipcard menu".
If the User Administrator is opened again after the interface has been set, the "Chipcard" menu
is activated in the menu bar.
If the "Terminal Disabled" option button is activated in the "WinCC Chipcard Terminal
Configuration" dialog (Control Panels), the "Chipcard" menu is deactivated when the User
Administrator is opened again.
Note
The current Windows user must have administrator rights in Windows to be able to access
the "WinCC Chipcard Terminal Configuration" dialog.
1834
Procedure
1. Open the "WinCC Chipcard Terminal" icon in the Control Panels of Windows. The "WinCC
Chipcard Terminal Configuration" dialog appears.
11.6.2.3
Introduction
When a chipcard is written, all of the data on the card is deleted. The user (login name) and
the password are stored on the card.
Procedure
1. Select "Write To Chipcard" in the "Chipcard" menu. The "Write To Chipcard" dialog appears.
2. Select the desired user in the "Write to Chip Card for User" field.
3. Activate the "Additional Manual Password Also Required" check box if this condition is to
be applied when logging in Runtime.
4. Insert the chipcard into the chipcard reader.
5. Click the "Write To Chip Card" button. The User Administrator transfers the data to the
chipcard.
6. Close the dialog by clicking the "Close" button.
1835
11.6.2.4
Introduction
This function is used to read a chipcard. It allows the data on the chipcard to be checked if,
for example, the card has just been written or a reading error has occurred.
The login name stored on the card is displayed in the "User" field. If the login name already
exists in the User Administrator, the text "Card is valid" appears in the dialog. If the name does
not exist, the text "Card is invalid" is displayed.
If there is an error when reading the chipcard, it is noted in this dialog. No user name is provided.
Procedure
1. Insert the chipcard into the chipcard reader.
2. Select "Check Chip Card" in the "Chip Card" menu. The "Check Chip Card" dialog appears.
Note
To be able to write to and read a chipcard, the hardware connection between the chipcard
reader and computer must be connected before the computer is started.
This menu option is only available, if WinCC is installed with the "Chipcard" option. Further
requirements can be found under "Extended Chipcard menu".
1836
11.6.3
Introduction
To log into WinCC, the user inserts his chipcard into the chipcard reader and the required data
is read out. If the chipcard is inserted, it is not possible to log on at the system manually. The
user remains logged on at the system until he removes the card from the chipcard reader. The
"Automatic Logout" function whereby the user is logged out automatically after a set time is
only possible in conjunction with chipcard operation.
Note
The "Chipcard" menu is deactivated in Runtime since the functions can only be used in the
configuration system.
11.6.4
11.6.4.1
Introduction
In systems monitored and controlled by process guidance systems, there are often specific
requirements for access to functions and system areas. Important requirements for validation
of systems are:
Avoiding unwanted access to system. This is facilitated by assigning respective access
authorization through user administration.
Documentation of operator access. This generates proof and archiving of important
operations.
The SIMATIC Logon option facilitates the certification of plants according to FDA 21 CFR Part
11. These demanding requirements were specified by the U.S. Department of FDA (Food and
Drug Administration).
Requirement
If you wish to use the option under WinCC, you must install the basic package "SIMATIC Logon
Service" on all involved computers.
1837
11.6.4.2
Introduction
Access protection of "SIMATIC Logon Service" is based on mechanisms of the Windows
operating system. The following section summarizes what you need to watch for in Windows
settings.
1838
11.6.4.3
Procedure
If you wish to use "SIMATIC Logon Service" with WinCC, we recommend the following
procedure:
1. Specify settings in Windows user administration.
2. Specify settings in WinCC user administration.
3. Configure visualization of logged-in user.
4. Configure registration dialog "SIMATIC Logon Service".
1839
1840
1841
Names in
WinCC user administration
Names in
Windows user administration
@CurrentUser
User ID
User Name
@CurrentUserName
User Name
Full Name
Depending on which of the two tags you use, either the user ID or the full user name of the
logged-in user are displayed.
Note
If you do not use the "SIMATIC Logon" option, the user ID of the logged-in user is entered in
both tags.
1842
1843
Upon entering user name, password and domain, the user obtains authorizations of the WinCC
group to which he is assigned via the respective Windows group.
11.6.4.4
Introduction
You can use an electronic signature to make the execution of critical operation dependent on
the electronic signature of the user. A given action can only be carried out when the configured
user is authenticated with a password. If the user is not authorized or enters an incorrect
password, the action is not performed.
Successfully and aborted signing procedures are documented with a message.
1844
Runtime requirements
The basic package for the "SIMATIC Logon Service" is installed on all computers involved.
The "SIMATIC Logon" option is activated in the "User Administrator" dialog.
The user must be a direct member of a Windows group and the WinCC User Administration.
If you use the WinCC/Audit option, the messages of all authentication attempts are also written
in the Audit Trail database.
11.6.4.5
Introduction
This program example shows you how to protect a process control against unauthorized
execution with an electronic signature. Calling the "ShowDialog" function opens a dialog in
which the configured user can be authenticated in WinCC Runtime. Make the output command
dependent on the success of the authentication.
1845
Expression
Required. An expression that returns an object of the "CCEsigDlg.ESIG" type.
Parameter
Parameter
Description
User
DisplayedUser
Name of the user that is displayed in the "User name" field of the "SIMATIC Logon
Electronic Signature" dialog box.
Domain
LangID
Comment
Return values
Return value
Identifier
Description
IDOK
IDCANCEL
The user has closed the dialog box using the "Cancel" button.
IDABORT
The user could not be authenticated even after repeating the logon
twice.
Example
Output of a dialog for authenticating the user (without forced comment, i.e. forcecomment=
false):
Sub
Dim
Dim
Dim
Set
1846
OnClick(ByVal Item)
myesig
mycomment
ret
myesig = CreateObject("CCEsigDlg.ESIG")
'comment optional
myesig.forcecomment = false
ret = myesig.showDialog("winccadmin","winccadmin","SIMLOGSERV",1031,mycomment)
.
.
.
End Sub
When this VB script is executed in RT, a dialog for authenticating the user is displayed.
11.6.4.6
Introduction
This program example shows you how to protect a process control against unauthorized
execution with an electronic signature. Calling the "ShowDialog" function opens a dialog in
which the configured user can be authenticated in WinCC Runtime. Make the output command
dependent on the success of the authentication.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1847
Parameter
lpszUserName
User name that is used to authenticate the user.
lpszDisplayedUserName
Name of the user that is displayed in the "User name" field of the "SIMATIC Logon Electronic
Signature" dialog box.
lpszDomainName
Name of the computer that authenticates the user:
- Name of the computer that administers the users centrally (SIMATIC Logon server)
- Name of the local computer
If a string is not specified for this parameter, the local computer is entered automatically.
intLangID
Identifier for the desired language variant of the dialog box:
1028 Chinese (traditional)
1031 German
1033 English
1034 Spanish
1036 French
1040 Italian
1041 Japanese
1042 Korean
2052 Chinese (Simplified)
vtComment
Comment entered by the user.
Return value
Return value = 1
The user has been successfully authenticated.
1848
Return value = 2
The user has closed the dialog box using the "Cancel" button.
Return value = 3
The user could not be authenticated even after repeating the logon twice.
Example
Output of a dialog for authenticating the user (with forced comment):
#include "apdefap.h"
void OnClick(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName)
{
int nRet = 0;
VARIANT vtComment;
if (!EsigDlg)
{
printf("Failed to create Picture Object");
return;
}
.
.
.
.
When this C script is executed in Runtime, a dialog box for authenticating the user is displayed.
1849
11.6.4.7
1850
User "Administrator"
The user name "Administrator" is reserved by WinCC and may not be used by SIMATIC Logon.
Any registration with this Windows login fails. Rename the user name in Windows user
accounts or contact the system administrator.
Group "DefaultGroup"
In the configuration dialog of SIMATIC logon, you can activate the "Use following data without
explicit logon" in the General tab. If no user is logged into RT at a workstation, then the selected
user is automatically logged on in the "User" field. By default, the "Default User" is set from
the "DefaultGroup".
Note
The "DefaultUser" is a virtual user belonging to the "DefaultGroup". Consequently, you must
not set up this user in the Windows user administration system.
The assignment is made by matching the "DefaultGroup" name to a corresponding group in
the User Administrator.
So create a group in WinCC with the same name as was assigned to the "DefaultGroup" in
the Logon dialog. Then assign the desired authorizations to this group.
11.7
Overview of Authorizations
11.7.1
Default Authorizations
Introduction
When the User Administrator is opened for the first time, the table window contains certain
default authorizations.
The authorizations in the table can be deleted or modified, except for the "User Administration"
authorization.
Authorizations with a lower number are not contained in authorizations with higher numbers,
but instead each authorization functions independently.
A member of the "Administrator Group" always receives access to the "User Administration"
authorization.
The standard authorizations are assigned in the configuration system, but are only effective
in Runtime. This prevents a logged-in user from receiving unlimited access to all system areas
in Runtime.
1851
1852
11.7.2
System authorizations
Introduction
System authorizations are generated automatically by the system and cannot be created,
modified or deleted by the user. The system authorizations can be assigned to a user just like
any other authorization.
The system authorizations are effective in the configuration system and in Runtime. In the
configuration system, this prevents a user who is not registered in a project from being granted
access to the project, e.g. a server project.
The authorizations mean:
1853
11.7.3
Introduction
These user authorizations correspond to the user hierarchies from PCS7 and are available
after the wizard in the OS Project Editor ("Basic Process Control" option) has been activated.
Authorizations can be added and deleted or their names be changed in the configuration
system. Authorizations with a lower number are not contained in authorizations with higher
numbers, but instead each authorization functions independently.
The following preset authorizations cannot be deleted or changed:
No. 4: Monitoring
If this authorization is set, the user can monitor - but not control - the process, e.g. selection
of the batch visualization.
1854
11.7.4
Introduction
System authorizations are generated automatically by the system and cannot be created,
modified or deleted by the user. The system authorizations can be assigned to a user just like
any other authorization.
The authorizations mean:
1855
Resources
12.1
12
Content
WinCC projects can be created and managed in STEP 7 within the framework of Totally
Integrated Automation. This results in connections between the AS configuration and WinCC
configuration. The advantages of this "WinCC in STEP 7 integration" are described in this
chapter.
The subjects covered in this chapter are:
Managing WinCC Projects and Objects in STEP 7
Transferring Tags and Texts to WinCC
Selection of STEP 7 Symbols
Diagnostic Support in the Event of Faults
12.2
Introduction
The integration of automation components has become the most important aspect of modern
automation systems. Both horizontal integration from the receipt of goods, to the production
process, and on to shipping, and vertical integration from the sensor to the business level are
intended to achieve enormous reductions in cost and increases in productivity.
Uniformity
However, such integration is only possible if all of the devices and systems associated with
the automation solution are implemented uniformly on a common technological basis.
This applies to the operating and monitoring systems used in automation solution such as,
SIMATIC WinCC.
1857
SIMATIC Manager
Integration is only complete if the automation components are configured and managed on a
common platform. Access to a common data management system makes configuration much
easier and allows processes to be automated.
The SIMATIC Manager of STEP 7 provides such a platform on which SIMATIC WinCC can
also be integrated.
Advantages of Integration
The configuration of SIMATIC WinCC in an integrated environment provides the following
advantages:
Simple transfer of tags and texts into the WinCC project
Direct access to STEP 7 symbols during process connection
Uniform message configuration
Loading the configuration data on the Runtime OS
Extended diagnostic support
Notes on installation
If you wish to integrate WinCC in STEP7, you must implement an installation of WinCC as
well as an installation of SIMATIC STEP 7. For a new installation we recommend the following
sequence of installations:
Installation of SIMATIC STEP 7
User Defined Installation of WinCC
In the described sequence you may install the required WinCC components at the same time.
You may also install SIMATIC STEP 7 at any time thereafter. You might then have to install
individual WinCC components afterwards.
1858
1859
If you wish to use a chip card reader, you must activate the option Chip Card during the
installation of SIMATIC STEP 7 and during the installation of WinCC.
Note
For the installation of SIMATIC STEP 7 and WinCC, please read the notes in the installation
manual.
Prior to implementing any WinCC-specific configurations in SIMATIC Manager, you must
ascertain that the language used in SIMATIC Manager is installed in WinCC as well.
Note
Starting with version V6.2, WinCC evaluates the project-related access protection that is used
to protect STEP 7 or PCS7 projects.
Independent of access protection:
WinCC Projects that are integrated in a STEP7/PCS7 project cannot be opened using an
ES where only WinCC has been installed. For that you also need STEP 7 or NCM PC Edition
of SIMATIC NET CD on the ES.
If project-related access protection has been activated for WinCC project, then you must also
enter the STEP 7 project password while opening the project.
1860
12.3
12.3.1
Introduction
The SIMATIC Manager can be used to organize and administrate all the components belonging
to the automation solution. Accessing these components in a common data management
system makes system configuration much easier and allows a number of configuration
processes to be automated.
OS reference
Using OS references offers the advantage of loading one WinCC project, the so called basis
OS, onto several target systems. One target system is attached to each basis OS as well as
for each individual reference.
The basis OS must have the following properties:
Object type OS in the STEP 7 project
Project type "Single-User" or "Multi User"
No redundant partner
The OS reference and the basis OS must be created in the STEP 7 sub-project.
After processing, you must transfer the project to the target system of basis OS along with all
the references. Select the "Download to CPU" function for the selected basis OS or OS
reference.
The objects "WinCC Appl. Ref." und "OS Ref." are used for configuration.
An OS reference supports neither clients with own project nor clients without own project.
1861
Activating Runtime on ES
Activating Runtime with integrated WinCC project on the ES can be influenced
centrally.
In WinCC Explorer select the item "Project Properties" in the shortcut menu of the current
project. In the Options tab, activate the "Allow activation on ES" checkbox .
The checkbox is unchecked when you insert a new WinCC project.
1862
You can activate the WinCC project on the ES if the checkbox is activated.
Requirements
The WinCC project is a TIA Project.
i.e. the WinCC project is integrated in a STEP 7 project or PCS7 project.
The corresponding destination path is configured.
If the WinCC project is not a TIA project or the corresponding destination path has not been
configured in ES, then the checkbox does not have any effect. In such a case, the project can
be activated at any time.
1863
See also
Working With WinCC Objects (Page1889)
Operator Station OS (Page1879)
WinCC Application (Page1864)
12.3.2
WinCC Application
12.3.2.1
WinCC Application
Introduction
In a STEP 7 project, the SIMATIC PC station represents a PC which, similar to the automation
station AS, contains the software and hardware components required for automation. Apart
from communication processors and slot or soft PLCs, these components also include
SIMATIC HMI components.
If a PC station is to be implemented as an operator station, you must add a WinCC application
during configuration. You can choose between various project types, depending on the
respective requirements:
Master server in the multi-user project. The name in the PC station is "WinCC Appl.".
Standby server as redundancy partner in the multi-user project. The name in the PC station
is "WinCC Appl. (Stby.)".
Client in the multi-user project. The name in the PC station is "WinCC Appl. Client".
Reference to a so-called basis OS. The name in the PC station is "WinCC Appl. Ref".
Reference to a so-called base client. The name in the PC station is "WinCC Appl. Client
Ref.".
Central archive server (master server or non-redundant archive server). The name in the
PC station is "WinCC CAS Appl.".
Central archive server (standby server). The name in the PC station is "WinCC CAS Appl.
(Stby.)".
Connectivity station, or Open_PCS7_Station. The name in the PC station is "SPOSA Appl.".
The screenshot below shows an example of how the WinCC applications appear in the
SIMATIC Manager:
1864
Note
If you use the PROFIBUS or Industrial Ethernet for communication between AS and OS, you
should configure an appropriate connection. Only then can you utilize the advantages of the
PC station, e.g. automatic setting of the unit name.
See also
How to Create an Operator Station (Page1880)
Operator Station OS (Page1879)
How to Create a Reference to a WinCC Application (Page1876)
How to Load the Project on the Target Computer (Page1875)
How to Set the Path to the Target Computer (Page1868)
How to Create a WinCC Application (Page1865)
12.3.2.2
Introduction
This section shows you how to create the WinCC application in a PC station.
1865
Requirements
A PC station must have been created in the STEP 7 project.
Procedure
1. Open the hardware configuration for the PC station. To do so, click the PC station in the
navigation window. Select the Open Object option on the pop-up menu.
This will open the HW Config dialog.
2. Click the object PC in the contents window.
Open the hardware directory using the menu item View > Catalogue and navigate to the
folder SIMATIC PC Station > HMI.
1866
See also
How to Create an Operator Station (Page1880)
Operator Station OS (Page1879)
How to Load the Project on the Target Computer (Page1875)
How to Select the Standby Computer (Page1872)
How to Set the Path to the Target Computer (Page1868)
WinCC Application (Page1864)
1867
12.3.2.3
Introduction
To be able to load the WinCC project, you must set the path to the target computer in the object
properties.
The following description refers to an OS in a WinCC application. For other OS types, the
dialog structure might differ.
1868
Requirements
The OS is created as an object of a WinCC application.
Procedure
1. Select the WinCC project and open the "Object Properties" using the pop-up menu.
2. If you wish to configure an OS of type OS, select the Target OS and Standby OS
tab.
If you wish to configure an OS of type OS (Client), select the Target OS tab.
The following figures refer to an OS of type OS created in a WinCC application.
You can enter the path to the target computer directly as shared directory in the format \
\<Computer name>\<Enable>. Following the direct entry, click the Apply button. The WinCC
project directory and the project file will be supplemented.
Alternatively, you can open a selection dialog by clicking the Browse button.
If you have entered the path directly, continue with step 4.
1869
4. Check the path to the target computer and then close the Properties dialog.
1870
Note
The function "Generating/Updating Archive Tags" may only be used jointly with PCS7.
Additional information on this function may be found in the configuration manual Process
Guidance System PCS7, Operator Station in the PCS7 documentation.
See also
How to Create an Operator Station (Page1880)
Operator Station OS (Page1879)
How to Load the Project on the Target Computer (Page1875)
How to Select the Standby Computer (Page1872)
How to Create a WinCC Application (Page1865)
1871
12.3.2.4
Introduction
If you configure a redundant system, the master server and the standby server must be
connected to each other. You set up this connection in the object properties for the master
server.
Note
The WinCC project of the standby server is a copy of the WinCC project on the master server.
Both projects must be identical to ensure correct data synchronization in Runtime. For this
reason, direct configuration of the standby project is not possible in the SIMATIC Manager.
Requirements
The master server must have been created as WinCC Application.
The standby server must have been created as WinCC Application (Stby.).
Procedure
1. Select the master project and open the "Object Properties" using the shortcut menu.
2. Select the "Target OS and Standby OS Computer" tab.
1872
1873
5. Please note that the path to the target computer must also be set in the properties of the
standby OS. In the properties of the standby OS, check the assignment to the master OS.
The field for the master OS must display the name of the master OS.
1874
See also
How to Create an Operator Station (Page1880)
Operator Station OS (Page1879)
How to Load the Project on the Target Computer (Page1875)
How to Create a WinCC Application (Page1865)
12.3.2.5
Introduction
When you have completed configuration, you must load the WinCC project on the target
computer. To do so, use the "Load Target System" function of SIMATIC Manager.
If you have built-up a redundant operator station, then Master server and Standby server will
be loaded one after the other. The standby server is loaded together with a copy of the WinCC
project of the master server. Both projects must be identical to ensure correct data
synchronization in Runtime. For this reason, direct configuration of the standby project is not
possible in the SIMATIC Manager.
Requirements
The path to the target computer must have been set.
The path must be set for Master and Standby for redundant system.
Procedure
1. Select the WinCC project in the WinCC application.
2. Start the "Target System > Load" function using the context menu.
3. In the dialog, select the scope of the load operation using the options Entire WinCC Project
or Modifications.
Under the following conditions, only the Entire WinCC Project option is available:
- When the project is loaded onto the target system for the first time.
- As a result of configurations in the WinCC project that lead to the loss of the online
modification capability.
- When the standby server has not yet loaded the WinCC project of the master server.
1875
See also
How to Create a WinCC Application (Page1865)
How to Create an Operator Station (Page1880)
Operator Station OS (Page1879)
How to Select the Standby Computer (Page1872)
How to Set the Path to the Target Computer (Page1868)
WinCC Application (Page1864)
12.3.2.6
Introduction
Using OS references offers the advantage of loading one WinCC project, the so called basis
OS, onto several target systems. The objects "WinCC Appl. Ref." und "OS Ref." are used for
configuration.
Apart from the WinCC application and its OS, each additional destination system needs an
application reference and an OS reference. The configuration is performed in several steps.
1. Creating the application reference.
2. Configuring the OS reference.
This section shows you how to create a reference to a WinCC application in a PC station.
Requirements
A PC station must have been created in the STEP 7 project.
The basis OS is of object type OS, of project type single-user or multi-user, and does not
have a redundant partner.
1876
Procedure
1. Open the hardware configuration for the PC station. To do so, click the PC station in the
navigation window. Select the Open Object option on the shortcut menu. This will open the
HW Config dialog.
2. Click the object PC in the contents window.
Open the hardware directory using the menu item View > Catalogue and navigate to the
folder SIMATIC PC Station > HMI.
1877
Note
You can use the same method to configure the reference to a WinCC application client. The
corresponding project is then of the project type "Client".
1878
See also
How to Configure a Reference to an OS (Page1885)
Managing WinCC Projects and Objects in the SIMATIC Manager (Page1861)
12.3.3
Operator Station OS
12.3.3.1
Operator Station OS
Introduction
The OS represents a WinCC project in the SIMATIC Manager. Unlike the WinCC application,
the OS is not integrated in the configuration of the target computer. This means that you have
to carry out additional configuration steps on the target computer, e.g. setting the unit name.
You can create two different project types:
Multi-user project
Client project
The illustration below shows how the operator station appears in the SIMATIC Manager:
Note
Further information on the advantages of the WinCC application can be found under WinCC
Application.
1879
See also
How to Configure a Reference to an OS (Page1885)
How to Create an Operator Station (Page1880)
How to Load the Project on the Target Computer (Page1884)
How to Select the Standby Computer (Page1872)
How to Create a WinCC Application (Page1865)
WinCC Application (Page1864)
How to Set the Path to the Target Computer (Page1880)
12.3.3.2
Introduction
This section shows you how to create an operator station in the SIMATIC Manager.
Requirement
The STEP 7 project must have been opened using the SIMATIC Manager.
Procedure
1. Open the Navigation Window and select the project or library in which the OS should be
set up.
2. Select the entry Insert New Object in the pop-up menu. You can now select either OS (for
a server) or OS (client).
See also
How to Load the Project on the Target Computer (Page1884)
How to Create a WinCC Application (Page1865)
How to Set the Path to the Target Computer (Page1880)
12.3.3.3
Introduction
To be able to load the WinCC project, you must set the path to the target computer in the object
properties.
1880
Requirements
The OS is inserted as object of a WinCC application or as OS (client) directly in the S7
project.
Procedure
1. Select the OS and open the "Object Properties" using the shortcut menu.
2. If you wish to configure an OS in a WinCC application, select the Target OS and Standby
OS tab.
If you wish to configure an OS of type OS (Client), select the Target OS tab.
The following illustrations refer to an OS in a WinCC application.
You can enter the path to the target computer directly as shared directory in the format \
\<Computer name>\<Enable>. Following the direct entry, click the Apply button. The WinCC
project directory and the project file will be supplemented.
Alternatively, you can open a selection dialog by clicking the Browse button.
If you have entered the path directly, continue with step 4.
1881
4. Check the path to the target computer and then close the Properties dialog.
1882
Note
Enter the computer name and the symbolic computer name and not the IP address of the
computer.
Note
The function "Generating/Updating Archive Tags" may only be used jointly with PCS7.
Additional information on this function may be found in the configuration manual Process
Guidance System PCS7, Operator Station in the PCS7 documentation.
See also
How to Create a WinCC Application (Page1865)
How to Load the Project on the Target Computer (Page1884)
How to Create an Operator Station (Page1880)
1883
12.3.3.4
Introduction
When you have completed configuration, you must load the WinCC project on the target
computer. To do so, use the "Load Target System" function of SIMATIC Manager.
Requirements
The path to the target computer must have been set.
Procedure
1. Select the OS.
2. Start the "Target System > Load" function using the shortcut menu.
3. In the dialog, select the scope of the load operation using the options Entire WinCC Project
or Modifications.
You have the Complete WinCC Project option under the following conditions:
- When the project is loaded for the first time on the target system.
- Through configurations in the WinCC Project that lead to the load online changes capacity
being lost.
Open the project on the target computer only after the loading is complete.
See also
How to Create an Operator Station (Page1880)
How to Select the Standby Computer (Page1872)
How to Create a WinCC Application (Page1865)
How to Set the Path to the Target Computer (Page1880)
1884
12.3.3.5
Introduction
Using OS references offers the advantage of loading one WinCC project, the so called basis
OS, onto several target systems. The objects "WinCC Appl. Ref." und "OS Ref." are used for
configuration.
Apart from the WinCC application and its OS, each additional target system needs an
application reference and an OS reference. The configuration is performed in several steps.
1. Creating the application reference.
2. Configuring the OS reference. You must create the OS reference in STEP 7 sub-project of
basis OS.
This section shows how to configure an OS reference.
The "WinCC Appl. Ref." application reference to this basis OS was previously created.
Additional information may be found in the section Creating a Reference to a WinCC
Application.
After processing, you must transfer the project to the target system of basis OS along with all
the references. Select the "Download to CPU" function for the selected basis OS or OS
reference.
Requirements
A PC station must have been created in the STEP 7 project.
The basis OS is of object type OS, of project type single-user or multi-user, and does not
have a redundant partner.
The "WinCC Appl. Ref." application reference to this basis OS was previously created.
Procedure
1. In the navigation window of SIMATIC Manager, navigate to the desired object WinCC Appl.
Ref(n). Select the subordinate object OS Ref.
2. Select Object properties from the shortcut menu of the object. The Properties - OS
Reference dialog opens.
3. Change over to the tab OS Ref: Options for OS Reference Objects.
4. Select the basis OS for this reference object in the basis OS field. The name of the
associated basis OS is applied to the name of the OS reference object in the format
<name_basic_os>_Ref(n).
Enter the associated OS path in the field Path to Target OS Computer. Alternatively, you
can open a selection dialog by clicking the "..." button and select the path in this dialog.
5. Close the dialog with the "OK" button.
The project of the basis OS must now be transferred to the associated OS by using the
Download to CPU function.
When you make changes in the WinCC project of the basis OS you need to transfer the same
to the target system of basis OS and to each target system of references.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1885
Note
Multi-projects have the following restriction:
Do not move any basis OS from a STEP7 sub-project to another STEP 7 sub-project. While
moving, you will lose all associated OS reference stations their reference to basis OS.
See also
How to Create a Reference to a WinCC Application (Page1876)
How to Load the Project on the Target Computer (Page1875)
Managing WinCC Projects and Objects in the SIMATIC Manager (Page1861)
12.3.4
Introduction
You can use the SIMATIC Manager to import a previously independent WinCC project into a
STEP 7 project.
Requirements
The WinCC project to be imported is closed.
On the computer used for the import into the STEP 7 project, there are no open WinCC
projects.
Procedure
1. In the SIMATIC Manager, open the STEP 7 project in which to import the WinCC project.
2. In the Tools menu, select Import OS .... The Import OS dialog opens.
3. . 3 Click the ... button to select the path of the WinCC project you want to import in the Open
selection dialog. The selected path is shown in the field OS to import.
If the name of the WinCC project has more than 24 characters without file name extension
or if it is not unique within the STEP 7 project, a message appears. In this case, you can
specify another name.
4. Start the import by clicking the Import OS button.
When the import has been successfully completed, a message is displayed.
Exit the dialog by clicking the Exit button.
In errors occurred during the import, an error message is given and the respective errors
are written into the log file import.log. The log file is stored in the WinCCOM folder under
the project directory of the imported WinCC project.
1886
See also
How to Create an Operator Station (Page1880)
How to Load the Project on the Target Computer (Page1875)
How to Select the Standby Computer (Page1872)
How to Create a WinCC Application (Page1865)
How to Set the Path to the Target Computer (Page1880)
12.3.5
Introduction
The following actions can be executed on WinCC projects using the SIMATIC Managers:
Copying or moving a WinCC project within a STEP 7 project
Copying or moving a WinCC project between STEP 7 projects
Copying or moving a WinCC project from a STEP 7 project to a library
Copying or moving a WinCC project from a library to a STEP 7 project
Renaming a WinCC project
Deleting a WinCC project
Requirements
A WinCC project must have been created in the STEP 7 project.
Copying
1. Open the STEP 7 project into which the WinCC project is to be copied, using the "File >
Open" option.
2. Select the WinCC project you want to copy and drag it onto the STEP 7 project selected
as the destination.
1887
Moving
1. Open the STEP 7 project into which the WinCC project is to be moved, using the "File >
Open" option.
2. Select the WinCC project you want to move and drag it onto the STEP 7 project selected
as the destination, holding down the Shift key as you do so.
Renaming
1. Select the WinCC project.
2. Select the "Rename" option on the pop-up menu and enter the new name.
Deleting
1. Select the WinCC project you want to delete.
2. Select the "Delete" option on the pop-up menu and acknowledge the warning with "Yes".
Note
In the same way, a WinCC project can be copied within a STEP 7 project or between a
STEP 7 project and a library. If the WinCC project is open, Rename, Move and Delete are
not executed.
12.3.6
Introduction
If a WinCC project is opened in SIMATIC Manager, WinCC Explorer will accept the current
language setting from SIMATIC Manager. The language settings of SIMATIC Manager will
only take effect on the language setting of the CS (Configuration System).
1888
Behavior
There are three scenarios during opening of a WinCC project:
Scenario
Behavior
You can change the language setting in the open WinCC Explorer at any time. When this editor
is closed and restarted, the current language setting of SIMATIC Manager is loaded again.
See also
How to Open the WinCC Project (Page1897)
12.3.7
12.3.7.1
Introduction
Apart from the WinCC project, the associated WinCC objects are also displayed in the
SIMATIC Manager. These objects are pictures and report templates of the project.
If you have created pictures and report templates using the Graphics and Report Designer,
they are not automatically visible in the SIMATIC Manager. They must be imported first.
You can also create pictures and report templates using the SIMATIC Manager. These objects
are empty initially and can be processed further using the Graphics Designer and Report
Designer.
The SIMATIC Manager also provides functions for handling these objects, e.g. copy, move,
and delete.
In addition, the SIMATIC Manager provides functions for managing model solutions of WinCC
objects in libraries.
The illustration below shows how the WinCC objects appear in the SIMATIC Manager.
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1889
See also
How to Import WinCC Objects (Page1892)
How to Handle WinCC Objects (Page1891)
How to Create WinCC Objects (Page1890)
12.3.7.2
Introduction
In the SIMATIC Manager, you can create the WinCC objects pictures and report templates
without having to open the WinCC project. These WinCC objects have no content initially. You
can, however, process them further using Graphics Designer and Report Designer.
Requirement
A WinCC application or OS must have been created in the SIMATIC Manager.
Procedure
1. Select the WinCC project in the WinCC application or the OS.
2. Select the entry Insert New Object in the pop-up menu. You can now create either a picture
or a report template.
See also
How to Import WinCC Objects (Page1892)
How to Handle WinCC Objects (Page1891)
Working With WinCC Objects (Page1889)
1890
12.3.7.3
Introduction
You can use the SIMATIC Manager to copy, move, rename, and delete pictures and report
templates. It is possible to copy and move objects between WinCC projects which have been
created either in the same STEP 7 project or in different STEP 7 projects or libraries.
Configured dynamics are also copied when objects are copied and moved to other WinCC
projects. The process connection is lost since the used tags do not exist in the target project.
You can compile a list of nonexistent tags using the CrossReference Editor. This also allows
process connections to be linked.
Copying and moving is then mainly used if you want to duplicate certain system sections of a
template project. You copy the pictures which do not contain any dynamics or contain a
dynamic prepared with prototypes, to the target project and perform process connection there.
Note
The names of pictures and report templates must be unique within a WinCC project.
Copy
1. Select the WinCC object.
2. Drag the object onto the WinCC project you selected as the destination. If the object is
copied between two WinCC projects in different STEP 7 projects and an object with the
same name already exists, the existing object is only overwritten after confirmation.
Moving
1. Select the WinCC object.
2. Drag the object onto the WinCC project you selected as the destination, holding down the
Shift key as you do so. If the object is moved between two WinCC projects in different STEP
7 projects and an object with the same name already exists, the existing object is only
overwritten after confirmation.
Rename
1. Select the WinCC object.
2. Select the "Rename" option on the pop-up menu and enter the new name.
1891
Delete
1. Select the WinCC object.
2. Select the "Delete" option on the pop-up menu and acknowledge the warning with "Yes".
Note
If the object is opened by Graphics Designer or Report Designer, Rename, Move, and
Delete are not possible.
If you create WinCC objects in SIMATIC Manager, you may not rename or delete these
in WinCC Explorer. This also applies to WinCC objects created in WinCC and imported
into SIMATIC Manager by using the "Import WinCC objects" function. This import changes
the WinCC object into a TIA object.
If you copy such a TIA object with Graphics Designer or Report Designer, the copy is
created as a WinCC object. You may rename or copy this copy as a WinCC object.
Note
If you rename a screen in WinCC Explorer, only use a picture name one time. The software
does not check whether the name already exists. Duplicate pictures names can lead to
conflicts during access via VBA or during dynamization.
See also
How to Import WinCC Objects (Page1892)
How to Create WinCC Objects (Page1890)
Working With WinCC Objects (Page1889)
12.3.7.4
Introduction
You can create pictures and report templates using the Graphics Designer and Report
Designer editors. However, these WinCC objects are not displayed automatically in the
SIMATIC Manager. You can update the view in the SIMATIC Manager using the Import WinCC
Objects function.
Requirement
Pictures and report templates must have been created using the associated editors.
Procedure
1. Select the WinCC project in the WinCC application or the OS.
2. Select the Import WinCC Objects item in the pop-up menu. The pictures and report
templates are displayed in the SIMATIC Manager.
1892
See also
How to Handle WinCC Objects (Page1891)
How to Create WinCC Objects (Page1890)
Working With WinCC Objects (Page1889)
12.3.7.5
Introduction
Using the SIMATIC Manager, you can assign various OS servers to a selected OS. The
selected OS may be an OS client, an OS server or a central archive server.
If you have selected an OS object, the "Assignment OS Server for <OS> dialog" displays a list
of servers available in this project. An existing archive server is also listed.
If the selected OS project contains packages of servers unknown to the S7 project and the
multi-project, respectively, the list will be expanded by entries of these servers not found. The
"OS Information" column contains the entry "Unknown" in these cases.
1893
1894
Type
Color
Additional information
Significance of information
black
black
gray
No check box
Color
Additional information
Significance of information
red
No check ox
OS information and symbolic
computer name are entered
red
Note
If you execute one of the following actions in an S7 project, you should subsequently check
the OS server assignment in the "OS Server Assignment for <OS>" dialog:
Dearchiving an S7 project with "Dearchiving"
Storing an S7 project with "Save As..."
Removing an S7 project with "Delete for Editing"
Picking up an S7 project with "Picking up after Editing"
Copying an S7 project with Windows Explorer
Moving an S7 project with Windows Explorer
If red entries of Type 5 occur in the list during the "OS Server Assignment for <OS>" dialog,
proceed as follows:
1. Regenerate all packages by starting the "Compiling Multiple OS" wizard Compilation of
minimum scope suffices. Therefore, select the check box Changes Only and deactivate
other options, such as Tags, Messages and SFC.
If the red entry is concerned with the central archive server, you must additionally trigger
the generation of server data.
2. For all OS objects, open the "OS Server Assignment for <OS>" dialog and check for
possible "Unknown" error entries.
3. In these cases, make note of the symbolic computer name.
4. Delete the "Unknown" entries by deactivating the respective checkboxes and by finishing
the dialog with OK.
5. Open the dialog and search for the symbolic computer name noted in Item 3. Assign these
computers to the selected OS objects by selecting the respective check box and by
finishing the dialog with OK.
1895
12.3.7.6
Introduction
Using the SIMATIC Manager, complete WinCC projects can be copied or moved to a library.
These WinCC projects can then be edited n the library. The model solutions thus created serve
as templates for several uses in WinCC projects. The copying or moving processes to or from
a library behave in the same way as between two Step 7 projects.
Individual screens and report templates can also be copied or moved from a WinCC project
to an OS within a library and used as a model template.
Requirement
Copying and moving individual screens and report templates:
An OS is set up in the library as destination.
Copying or moving WinCC projects:
The source project is not activated.
Note
When copying or moving WinCC projects, screens and report templates to and from
libraries, name conflicts may occur. This means that the library or STEP 7 project already
contains a WinCC object with this name. To prevent the target object being overwritten,
a new name is assigned for the inserted object. The name of the object is assigned a
consecutive number meaning, for example, "Picture1" becomes "Picture1(1)".
1896
12.3.8
Introduction
You can start WinCC directly from the SIMATIC Manager and then open the WinCC project.
1897
Requirement
The WinCC project must have been created in the SIMATIC Manager.
Procedure
1. Select the WinCC project in the WinCC application or the OS.
2. Select the "Open Object" option on the context menu.
Note
Starting with version V6.2, WinCC evaluates the project-related access protection that is used
to protect STEP 7 or PCS7 projects.
Independent of access protection:
WinCC Projects that are integrated in a STEP7/PCS7 project cannot be opened using an
ES where only WinCC has been installed. For that you also need STEP 7 or NCM PC Edition
of SIMATIC NET CD on the ES.
If project-related access protection has been activated for WinCC project, then you must also
enter the STEP 7 project password while opening the project.
See also
How to Create a WinCC Application (Page1865)
WinCC Application (Page1864)
12.3.9
Introduction
The "Start OS simulation" function creates a temporary copy of the selected project on the
local computer. This copy of the project is then started in runtime.
The temporary copy is always created locally. In this case, a new directory "OS_Simulation"
is created in the existing directory structure parallel to the STEP 7 project already open.
If the selected project is on a different computer, the temporary copy is still created on the local
computer. In this case, the "OS_Simulation" directory is set up in the STEP 7 installation path
under "S7Proj".
This function is required in order to test the changes made in the WinCC project or STEP 7
project.
1898
Procedure
1. Select the WinCC project in the WinCC application or the OS.
2. Select the "Start OS Simulation" option from the context menu.
Note
If a WinCC project is already in runtime, the "Start OS simulation" cannot be executed. A
corresponding message is issued.
12.4
12.4.1
Introduction
This chapter explains the Compile OS function, tells you which configuration data is affected
by the transfer operation, and how this data is stored in the WinCC project. It familiarizes you
with the dialogs and procedures associated with the transfer operation.
You must transfer the AS configuration data relevant for operator control and monitoring, to
the data of WinCC so that it is available to you during WinCC configuration and in Runtime.
To do so, you use the Compile OS function.
During the transfer operation, process tags are stored in the tag management system, user
texts are stored in the text library, and messages are stored in the alarm logging system of the
WinCC project.
1899
See also
Compilation Log (Page1910)
How to Compile Changes (Page1906)
How to Compile the Entire OS (Page1902)
Compiling OS (Page1900)
12.4.2
Compiling OS
12.4.2.1
Compiling OS
Introduction
You use the "Compile OS" function to create the structures and data in the WinCC project that
are required for operator control and monitoring.
Note
You may compile one OS or several OS. If you wish to compile one OS, use the "Compile OS"
wizard. If you wish to compile multiple OS, use the "Compile multiple OSs" wizard.
Both wizards differ only by the number of OS to be compiled. The statements of the wizard
"Compile OS" therefore apply equally to the wizard "Compile multiple OSs".
1900
Scope of Compilation
The "Compile OS" function has three compile modes:
The "Entire OS with memory reset" mode is the default mode. All AS data in the operator
station is erased and the data for the S7 programs selected for compilation is transferred
again.
The "Entire OS" mode is appropriate if with several assigned S7 programs you have not
selected all for compilation. This mode ensures that the already transferred data of the S7
programs not selected for compilation is retained in the operator station.
The "Changes" mode should be used if you have only made minor changes in the S7
program. If you make changes to a structure tag where one structure element is used as
message tag, then online changes cannot be loaded for messages.
Functions
The following functions are executed with "Compile OS":
Creation of the communication driver SIMATIC S7 PROTOCOL SUITE
Creation of the WinCC units, e.g. Industrial Ethernet, PROFIBUS and so on
Creation of a logical connection for each S7 program
Creation of raw data tags for the message system and archive system
Creation of structure types for the component types to be transferred in WinCC and for the
global data blocks
Creation of the process tags in the tag management system
Generation of the messages
Transfer of the message and user texts
1901
See also
Compilation Log (Page1910)
How to Compile Changes (Page1906)
How to Compile the Entire OS (Page1902)
12.4.2.2
Introduction
You compile the configuration data using the Compile OS wizard. Compilation of the entire
OS can be performed in two different compilation modes:
The "Entire OS with memory reset" mode is the default mode. All AS data in the operator
station is erased and the data for the S7 programs selected for compilation is transferred
again.
The "Entire OS" mode is appropriate if with several assigned S7 programs you have not
selected all for compilation. This mode ensures that the already transferred data of the S7
programs not selected for compilation is retained in the operator station.
1902
Requirements
The WinCC project must have been created.
Procedure
The compilation of a particular operator station is described in this procedure. The compilation
of several operator stations is performed in the same way.
1. Select the OS, and then select "Compile" in the pop-up menu, or select the menu item "Edit"
> "Compile".
2. Select the appropriate S7 program in the list of S7 programs (left) and then drag the S7
program (holding down the left-hand mouse button) onto the desired operator station in the
list of operator stations (right). Click "Next".
This page is only displayed if there is more than one operator station and more than one S7
program in your project. Assignment is otherwise performed automatically.
1903
2. Select which network connections are to be used. When you select the operator station in
the left-hand field, the associated S7 programs together with the configured network
connections are listed in the right-hand field. To change the network connection, select the
S7 program and press the "Connection..." button. Select the network connection you
require. Press "OK" and then "Next".
1904
You may use the option Archive Tags only jointly with PCS7. Additional information on this
function may be found in the configuration manual Process Guidance System PCS7,
Operator Station in the PCS7 documentation.
See also
Compilation Log (Page1910)
How to Compile Changes (Page1906)
Compiling OS (Page1900)
1905
12.4.2.3
Introduction
You should compile changes if you have made only minor changes to the S7 programs. In
contrast to compiling the entire OS, compiling the changes has the advantage of maintaining
the online loadability.
Requirements
The operator station must have been configured.
Operator control and monitoring data which has been changed must exist in the AS
configuration.
An entire compilation or an implicit compilation (with selection of connection) must have
been performed for the first time.
If you make changes to a structure tag where one structure element is used as message
tag, then online changes cannot be loaded for messages.
1906
Procedure
The compilation of a particular operator station is described in this procedure. The compilation
of several operator stations is performed in the same way.
1. Select the OS, and then select "Compile" in the pop-up menu, or select the menu item "Edit"
> "Compile".
2. If you have no changes, click Next.
If you have changes, select the appropriate S7 program in the list of S7 programs (left) and
then drag the S7 program (holding down the left-hand mouse button) onto the desired
operator station in the list of operator stations (right). Click "Next".
This page is only displayed if there is more than one operator station and more than one
S7 program in your project. Assignment is otherwise performed automatically.
3. If you have no changes, click "Connection".
1907
1908
1909
You may use the option Archive Tags only jointly with PCS7. Additional information on this
function may be found in the configuration manual Process Guidance System PCS7,
Operator Station in the PCS7 documentation.
See also
Compilation Log (Page1910)
How to Compile the Entire OS (Page1902)
Compiling OS (Page1900)
12.4.2.4
Compilation Log
Introduction
During compilation, logs are created that provide information about:
AS-OS connections
Tag names
Assignment of messages
Errors and warnings that occurred during compilation
Compilation Log
The compilation log contains entries on all objects.
When you have compiled an OS using the Compile OS wizard, subsequently open the
compilation log using the menu item Options > OS > Display compilation log... directly in
SIMATIC Manager. Alternatively, you may also open the compilation log transfer.log in the
WinCC project path with a test editor.
When you have compiled multiple OS with the wizard Compile Multiple OSs, open the
compilation log afterwards by clicking the menu item Options > 'Compile Multiple OSs' wizard
> Open Log... directly in SIMATIC Manager. Alternatively, you may also open the compilation
log transfer.log in the STEP7 project path with a test editor.
1910
See also
How to Compile Changes (Page1906)
How to Compile the Entire OS (Page1902)
Compiling OS (Page1900)
12.4.3
Introduction
The result of the "Compile OS" function can be checked in the WinCC project.
Procedure
1. Open the Tag Management and then navigate to the configured WinCC unit.
2. Open the logical connection that it contains. All compiled process tags are now displayed.
1911
Compiled tags are write-protected and cannot be deleted from the Tag Management. This is
only possible with the Compile "OS wizard".
In the dialog box Which S7 Programs Do You Want to Transfer with Which Network
Connections? you must disable the S7 programs whose tags are to be deleted in WinCC. To
do this, remove the check mark in front of the program name. Choose the "Entire OS With
Reset" option for the compilation mode. During the compilation operation that follows, al the
tags, connections and messages not created in WinCC are deleted.
See also
Displaying Transferred Messages and Texts (Page1912)
Compilation Log (Page1910)
How to Compile Changes (Page1906)
How to Compile the Entire OS (Page1902)
Compiling OS (Page1900)
12.4.4
Introduction
The result of the "Compile OS" function can be checked in WinCC.
Blocks of user and message text are stored in the text library, and messages are stored in
Alarm Logging.
1912
Alarms
1. Select the "Alarm Logging" editor in WinCC Explorer.
2. Select the "Open" option on the context menu. The transferred messages can be
recognized by the 10-digit number.
1913
See also
How to Display Transferred Tags (Page1911)
Compilation Log (Page1910)
How to Compile Changes (Page1906)
How to Compile the Entire OS (Page1902)
Compiling OS (Page1900)
12.4.5
Introduction
To ensure a consistent message configuration, two points must be observed when creating
the message texts in STEP7 in order to guarantee the correct response in WinCC.
1914
Note
"Compile OS" enables messages to be created in Alarm Logging whose message class and
message type are invalid in WinCC. Invalid messages are prevented by starting the OS
project editor.
1915
1916
12.5
Introduction
Objects can be compiled and loaded in just one step. The SIMATIC Manager provides the
Compile and Load Object dialog box for this. Further information on this topic can be found in
STEP 7 Help and Compile and Load Objects Help.
Objects table
In this area you specify which objects are to be compiled and loaded into the target system.
1917
Objects column
Displays the objects.
Status column
Displays the status of the object.
There are the following statuses:
undetermined: The status could not be determined.
modified: The object has been modified. The object must be recompiled and loaded onto
the system.
compiled: The object has already been compiled but still needs to be loaded onto the
system.
loaded: The object has already been compiled and loaded onto the system already.
Compile/Load column
Here you define the objects that have to be compiled and loaded onto the system. Only the
check boxes having a white background can be enabled or disabled.
If this check box is selected, the column Load in the Table Objects is hidden.
1918
Displaying Log
Single Object button
Opens the log for a specific object.
Overall button
Opens the Overall Log. The overall log contains entries about all objects.
Start button
Start the compile and load operation.
Note
You should not work on the project during compilation and loading.
See also
Compiling OS (Page1900)
How to Load the Project on the Target Computer (Page1884)
12.6
12.6.1
Introduction
During WinCC configuration, you connect WinCC objects, e.g. I/O fields or archive tags, to
tags which are used in Runtime to supply the objects with the current process values.
For process linking, you have the option to choose between two groups of tags: WinCC tags
and STEP 7 symbols.
WinCC Tags
These include the internal and external tags of the Tag Management.
STEP 7 Symbols
These are all inputs, outputs, and bit memories from the symbol list as well as all global data
blocks of the assigned S7 programs.
1919
Unlike the external WinCC tags, you can access the STEP 7 symbols without having previously
performed Compile OS and without selecting with the operator control and monitoring attribute.
During process connection, an implicit compilation is performed and the symbol is transferred
to the Tag Management of the WinCC project.
See also
Tag Bar (Page1929)
Tag Selection Dialog (Page1920)
12.6.2
12.6.2.1
Introduction
The tag selection dialog allows you to display tags or symbols from various data sources in a
selection window and to link these tags or symbols to, for example, picture objects of the
Graphics Designer. You determine the displayed data in the Data Source area.
The tag selection dialog is opened automatically when a tag needs to be selected during
configuration.
1920
See also
Tag Bar (Page1929)
How to Transfer STEP 7 Symbols (Page1926)
How to Select STEP 7 Symbols (Page1924)
How to Display STEP 7 Symbols (Page1921)
12.6.2.2
Introduction
If you activate the STEP 7 Symbol Server check box, a list of all transferable STEP 7 symbols
are displayed in the data window. These symbols are all inputs, outputs, and bit memories
from the STEP 7 symbol list as well as the global data blocks.
The tag selection dialog has a tag filter. In this field you can use the placeholders "*" and "?"
to specify a search condition for the tag name. Only alphanumeric characters can be used for
the name search. Exit the field using the Tab or Enter key. Only those tags which match your
search criterion are then displayed.
1921
Requirement
The tag selection dialog must be open.
Procedure
1. Activate the STEP 7 Symbol Server check box.
2. Open the STEP 7 Symbol Server folder in the navigation window.
1922
4. Open and select the global data block to display its contents.
Note
Only the following data types of a global data block are displayed and can be transferred:
BOOL, BYTE, WORD, DWORD, INT, DINT, REAL, CHAR and STRING.
1923
See also
Tag Bar (Page1929)
How to Transfer STEP 7 Symbols (Page1926)
How to Select STEP 7 Symbols (Page1924)
Tag Selection Dialog (Page1920)
12.6.2.3
Introduction
In the tag selection dialog you can select STEP 7 symbols directly for process connection
purposes. The selected symbol is then labeled in STEP 7 as operator-controllable and
monitorable and transferred to the Tag Management of WinCC by implicitly running the
"Compile OS" function.
Note
If you select the symbol of a global data block, all elements provided with the operatorcontrollable and monitorable attributes of this block are transferred implicitly to Tag
Management of WinCC.
1924
Requirement
STEP 7 symbols must be displayed.
Procedure
1. Select the desired symbol.
2. Select the symbol in the Select Tag dialog box and click "OK" to close the Tag Selection
dialog box.
1925
See also
How to Transfer STEP 7 Symbols (Page1926)
How to Display STEP 7 Symbols (Page1921)
Tag Selection Dialog (Page1920)
12.6.2.4
Introduction
In the tag selection dialog, you can transfer STEP 7 symbols in the Tag Management without
direct process connection being carried out.
1926
Requirement
STEP 7 symbols must be displayed.
Procedure
1. Select the desired symbols. Several symbols can be selected at the same time using the
CTRL or SHIFT keys and clicking with the mouse.
2. Click the "Transfer Data" button.
1927
See also
Tag Bar (Page1929)
How to Select STEP 7 Symbols (Page1924)
How to Display STEP 7 Symbols (Page1921)
Tag Selection Dialog (Page1920)
1928
12.6.3
Tag Bar
12.6.3.1
Tag Bar
Introduction
Using the tag bar, you can connect tags directly to object attributes and thus dynamize the
affected attributes. The tag bar is part of the Graphics Designer and is similar in layout to the
tag selection dialog.
Unlike the tag selection dialog, the tag bar remains open after an assignment operation and
allows a tag to be connected to an object attribute by means of simple drag and drop.
There are two locations where you can drop the tag:
on an object in the picture (see below for object types)
on an attribute in the Properties tab of the Object Properties dialog
Attribute
I/O Field
Output value
Bar
Status display
Current status
Text list
Output value
Check box
Selected fields
Option button
Selected fields
Slider object
The used update cycle is the default cycle set in the Default Object Settings tab of the Settings
dialog. You open the Settings dialog under the Extras ->Settings... menu.
No tags can be dropped on standard objects, e.g. circles and lines.
Dropping on Attribute:
Drop the tag on an attribute in the Properties tab of the Object Properties dialog. This attribute
is then dynamized by the tag.
1929
See also
How to Transfer STEP 7 Symbols (Page1926)
How to Select STEP 7 Symbols (Page1932)
How to Display STEP 7 Symbols (Page1930)
Tag Selection Dialog (Page1920)
12.6.3.2
Introduction
The tag bar is part of the Graphics Designer. Unlike the tag selection dialog, the tag bar remains
open after an assignment operation.
The tag bar has a tag filter. In this field you can use the placeholders * and ? to specify
a search condition for the tag name. Only alphanumeric characters can be used for the name
search. Exit the field using the Tab or Enter key. Only those tags which match your search
criterion are then displayed.
1930
Requirement
The Graphics Designer must be open.
Procedure
1. Open the list of toolbars by choosing View > Toolbars from the menu. Select Tags and
acknowledge with OK.
2. Click on the plus sign in front of the FDLCP5412/A2 icon S7 icon. Select the DB directory.
The global data blocks are then displayed.
3. Open and select the global data block to display its contents.
1931
See also
Tag Bar (Page1929)
How to Transfer STEP 7 Symbols (Page1926)
How to Select STEP 7 Symbols (Page1932)
Tag Selection Dialog (Page1920)
12.6.3.3
Introduction
You can perform process connection by simply dragging the STEP 7 symbol onto an object
or an object attribute.
The selected symbol is then labeled in STEP 7 as operator-controllable and monitorable and
transferred to the Tag Management of WinCC by implicitly running the "Compile OS" function.
Note
If you select the symbol of a global data block, all elements provided with the operatorcontrollable and monitorable attributes of this block are transferred implicitly to Tag
Management of WinCC.
Requirements
The tag bar must be open.
The STEP 7 symbols must be displayed.
1932
Procedure
1. Select the desired symbol.
2. Drag the symbol onto the desired object or the object attribute.
1933
See also
Tag Bar (Page1929)
How to Transfer STEP 7 Symbols (Page1926)
How to Display STEP 7 Symbols (Page1930)
Tag Selection Dialog (Page1920)
1934
12.7
Diagnostic Support
12.7.1
Diagnostic Support
Introduction
With the network entry jump and the entry jump into the hardware diagnostics, you can jump
directly into STEP 7 from WinCC Runtime. This allows you to diagnose faults quickly and easily.
You can configure the following jumps:
Network entry jump into the program editor LAD/FBD/STL of STEP 7. You can perform the
entry jump with or without the operator authorization check.
Network return jump from the STEP 7 program editor into the picture in which the process
tag belonging to the symbol is used.
Entry jump to the STEP 7 Hardware Diagnosis function of the respective AS. The entry
jump can be completed with or without check of the access authorization.
See also
How to Configure the Entry Jump into the Hardware Diagnostics (Page1944)
Prerequisites for Jump to Hardware Diagnosis (Page1944)
Jump to Hardware Diagnosis (Page1943)
How to Configure the Network Entry Jump (Page1937)
Requirements for the Network Entry Jump (Page1936)
Network Entry Jump (Page1935)
Network Return (Page1941)
12.7.2
12.7.2.1
Introduction
With the network entry jump, you can jump directly from WinCC Runtime into the appropriate
program editor LAD / FBD / STL of STEP 7 with the focus on the STEP 7 symbol belonging
to the process tag. This allows you to diagnose faults quickly and easily.
You can configure the network entry jump with or without operator authorization check.
1935
See also
How to Configure the Network Entry Jump (Page1937)
How to Configure the Entry Jump into the Hardware Diagnostics (Page1944)
Prerequisites for Jump to Hardware Diagnosis (Page1944)
Jump to Hardware Diagnosis (Page1943)
Requirements for the Network Entry Jump (Page1936)
Network Return (Page1941)
12.7.2.2
Introduction
During configuration, it is important to remember that a network entry jump is only possible
under certain conditions.
Requirements:
The Compile OS function must have been executed.
A reference list must have been generated in the S7 program.
If an operator authorization with a dedicated operator control level is to be configured, this
level must have been created using the User Administrator.
Since the entry jump is performed using a process tag, this process tag must exist in the
S7 connection created by the Compile OS function. STEP 7 symbols can be compiled
implicitly in the tag selection dialog.
1936
See also
How to Configure the Entry Jump into the Hardware Diagnostics (Page1944)
Prerequisites for Jump to Hardware Diagnosis (Page1944)
Jump to Hardware Diagnosis (Page1943)
How to Configure the Network Entry Jump (Page1937)
Network Entry Jump (Page1935)
Network Return (Page1941)
12.7.2.3
Introduction
In WinCC, you use the Dynamic Wizard to configure the network entry jump at an object created
in the Graphics Designer.
Requirements
See: Requirements for the Network Entry Jump
Procedure
1. Insert a graphic object such as a "button" into the picture.
2. Select the object.
3. Start the Dynamic Wizard by choosing "View >Toolbars" from the menu.
4. Open the "Network Entry Jump" wizard on the "Standard Dynamics" tab by double-clicking.
1937
6. Select an attribute of the object such as "ToolTipText". This attribute is connected to the
tag selected in the following step.
1938
1939
9. An overview of the options you have selected is displayed. Check the options and then
click "Finish".
If in Runtime you then select the button you have just configured, the program editor LAD /
FBD / STL of STEP 7 is opened and the place of use of the selected tags is displayed.
See also
How to Configure the Entry Jump into the Hardware Diagnostics (Page1944)
Prerequisites for Jump to Hardware Diagnosis (Page1944)
Jump to Hardware Diagnosis (Page1943)
Requirements for the Network Entry Jump (Page1936)
Network Entry Jump (Page1935)
Network Return (Page1941)
1940
12.7.3
Network Return
Introduction
With the network return jump, you can jump from a STEP 7 symbol to the place of use of the
associated WinCC tags. The relationship of STEP 7 symbols to WinCC tags is established
using the cross reference list of WinCC.
Configuration Rule
Please observe the following when configuring your WinCC pictures and picture windows in
which you have also used STEP 7 tags:
It is advisable to use only basic pictures in the entire WinCC project.
If you want to use picture window systems, you must ensure that all calls of the network
entry jump and all possible return jump destinations are configured on the same picture
level. That is to say, either within basic pictures, or within picture windows in basic pictures,
or within picture windows in picture windows. Possible return jump destinations are all
pictures in which tags are used that are also used in STEP 7.
Requirements
The WinCC pictures and picture windows must observe the configuration rule.
A network entry jump out of WinCC must have been performed.
The cross reference list of the WinCC project must be up-to-date.
1941
Procedure
1. Select the desired symbol in the program editor LAD / FBD / STL.
If the selected symbol is not used in any picture, you can view the current picture in Runtime.
1942
See also
How to Configure the Network Entry Jump (Page1937)
How to Configure the Entry Jump into the Hardware Diagnostics (Page1944)
Prerequisites for Jump to Hardware Diagnosis (Page1944)
Jump to Hardware Diagnosis (Page1943)
Requirements for the Network Entry Jump (Page1936)
Network Entry Jump (Page1935)
12.7.4
12.7.4.1
Introduction
The entry jump into the hardware diagnostics enables you to jump directly from WinCC
Runtime into the STEP 7 function Hardware Diagnostics of the associated AS. It therefore
allows faults to be diagnosed quickly and easily.
You can configure the entry jump into the hardware diagnostics with or without operator
authorization check.
See also
How to Configure the Entry Jump into the Hardware Diagnostics (Page1944)
Prerequisites for Jump to Hardware Diagnosis (Page1944)
How to Configure the Network Entry Jump (Page1937)
Requirements for the Network Entry Jump (Page1936)
Network Entry Jump (Page1935)
Network Return (Page1941)
1943
12.7.4.2
Introduction
During configuration, it is important to remember that an entry jump into the hardware
diagnostics is only possible under certain conditions.
Requirements:
The Compile OS function must have been executed.
If an operator authorization with a dedicated operator control level is to be configured, this
level must have been created using the User Administrator.
The connection parameters for the AS must have been determined using a process tag. A
process tag must therefore exist in the S7 connection created during the Compile OS
operation. STEP 7 symbols can be compiled implicitly in the tag selection dialog.
See also
Requirements for the Network Entry Jump (Page1936)
How to Configure the Entry Jump into the Hardware Diagnostics (Page1944)
Jump to Hardware Diagnosis (Page1943)
How to Configure the Network Entry Jump (Page1937)
Network Entry Jump (Page1935)
Network Return (Page1941)
12.7.4.3
Introduction
You can configure the entry jump into the hardware diagnostics at an object created in the
Graphics Designer. A separate wizard for the entry jump into the hardware diagnostics is not
available which means that you have to use and modify the "Network Entry Jump" wizard.
Requirements
See: Requirements for Entry Jump into Hardware Diagnostics.
Procedure
1. Insert a graphic object such as a "button" into the picture.
2. Select the object.
3. Start the Dynamic Wizard by choosing "View >Toolbars" from the menu.
1944
5. The wizard then guides you through the necessary configuration steps. Select the trigger
with which the network entry jump is to be executed. Then click "Continue".
1945
7. Set the tag via which the entry jump is to be performed. Click the selection button to open
the tag selection dialog. Select a tag and then close the dialog box by clicking "OK". Then
click "Continue".
1946
9. An overview of the options you have selected is displayed. Check the options and then
click "Finish".
10.When the entry jump is configured, a script is created which executes the jump. You must
rewrite this script for a jump into the hardware diagnostics. To do so, open the Pop-up menu
of the objects which you are using, and choose the "Properties" option to open the "Object
Properties" dialog box.
1947
12.Double-click the symbol in the "Action" column. The editor opens and displays the script.
1948
See also
Prerequisites for Jump to Hardware Diagnosis (Page1944)
Jump to Hardware Diagnosis (Page1943)
How to Configure the Network Entry Jump (Page1937)
Requirements for the Network Entry Jump (Page1936)
Network Entry Jump (Page1935)
Network Return (Page1941)
1949
Index
, 1347, 1352, 1815
Dialogs for changing attributes, 1576
"
"Adapt toolbar" window, 277
"Bar Configuration" dialog, 541
"Button Configuration" dialog, 586
"Computer Properties" dialog, 112, 114, 117, 119,
122, 124, 126
"Default objects configuration" tab, 267, 269
"Default Objects" dialog, 267
"Direct Connection" dialog, 421
"Dynamic Value Ranges" dialog, 411
"Edit action" dialog, 412
"Edit VBS action" dialog, 414
"Event" Tab, 431, 621, 632
"Filling" Property Group, 453
"General" tab, 112, 114
"Graphics Runtime" tab, 112, 119, 122, 124, 126
"Grid" Tab, 254
"I/O Field Configuration" dialog, 530
"Library" dialog, 650
"Linking of the Tag Connection" dialog, 418
"Linking of the Tag" dialog, 418
"Menu / Toolbars" tab, 262
"Miscellaneous" property group, 450
"Object OLL" dialog, 216
1951
Index
.
.NET control, 376
.NET Control, 509
.NET Framework 2.0, 376
.NET Framework 3.0, 377
@
@NOP, 817
@NOSP, 817
@NOTP, 817
2
2D coordinate system, 230
1952
3
3D Bar, 509
3D bar:Inserting 3D Bar, 575
3D Border Color Top, 441
3D border weight, 443
3D coordinate system, 230
3D effects, 371
3D Shadow Color, 441
A
Access rights, 1837
Preventing unauthorized access, 1837
Ack reset, 925
Ack system, 925
Acknowledgement, 922
Central signaling device, 922
Acknowledgement status, 887
Acknowledgement theory, 887, 922
Acknowledgement-triggered reporting, 887
Acknowledging, 887
Acknowledgement theory, 887, 922
Group acknowledgement, 887
Initial-value message, 887
New-value message, 887
Single acknowledgement, 887
Single message, 887
Acknowledging message, 1851
Acknowledgment bit, 928, 935
of a group message, 974
of a message, 928, 935
Acknowledgment mask, 450
Acknowledgment Of Messages, 887, 935
Acknowledgement tag, 887
Acknowledgment tag, 935
Acknowledgment tag, 935, 974
of a group message, 974
of a message, 935
Acquisition cycle, 1127
configuring a new timer, 1151
Action, 412, 431
Action editing, 1851
Action icon, 410
Action types, 1680
For the project documentation, 1680
Activating, 128, 657
Activating apply values on exit, 560
Activating cover page, 1585
Activating edit mode, 634
Index
1953
Index
AlarmControl
Configuring in Graphics Designer, 1015
Configuring operator messages, 1031
Configuring the data export operation, 1034, 1204,
1246, 1300
Configuring the status bar, 1025, 1196, 1239,
1293
Configuring the toolbar, 1025, 1196, 1239, 1293
Emergency acknowledgment of messages, 1050
Locking and enabling messages, 1048
Online configuration, 1036, 1205, 1247, 1301
Operation in Runtime, 1042
Properties of the table elements, 1021, 1192
Selecting messages, 1046
Sorting by column header, 1021, 1024, 1192,
1195
Status bar, 1045
Table element colors, 1022, 1193
Toolbar, 1042
AlarmCorntrol
SQL statements for message filtering, 1038
Alarms, 997
archiving, 997
reloading after power failure, 1007
Align, 392
Object in width and height, 241
Object in width or height, 241
Align / within the layer, 403
Aligning, 392
Objects, 241
Aligning objects, 1568
Alignment, 438, 457, 544, 598, 600, 606, 1581
Alignment palette, 241, 1520, 1533, 1568
all the way to the back, 403
all the way to the front, 403
All Themes, 625
Alpha, 230, 438
Alpha cursor, 678
Alpha-Cursor, 677
Analog alarm, 887, 984
Analog display, 350
Angle of rotation, 1581
Angle settings, 438, 1581
Application Window, 509, 513
Application window:Inserting application windows,
513
Applications, 111, 116, 418
External applications, 111
Apply on Exit, 459, 531
Apply on Full, 531
Applying tag properties, 1356
PCS 7, 1356
1954
archive, 1175
configuration, 1175
Archive
Disconnecting, 1181
linking, 1002
Linking, 1180
Archive backup
Disconnecting, 1181
Linking, 1180
Archive controlling, 1854
Archive data, 1005
output in message window, 1005
Archive database, 1136
Archive editing, 1851
Archive report, 887, 1484, 1529
Archive report object, 1654, 1655, 1661
Changing, 1654
Insert, 1654
Inserting, 1655, 1661
modify, 1655, 1656, 1661
Archive selection for the project documentation,
1682
Archive tag, 1120, 1150
analog, 1120
binary, 1120
configuring, 1150
creating, 1150
naming of process-controlled tag, 1167
Archive tags, 1323, 1394
Archive tags selection for the project documentation,
1684
Archive value editing, 1851
Archives , 1671
Archiving, 994, 997, 1134
Acyclic, 1133
at value change, 1133
configuring messages for archiving, 997
Cyclic, 1129
cyclic-selective, 1131
of messages, 994
process-controlled, 1134
Archiving cycle, 1127
configuring a new timer, 1151
Archiving messages, 887
Archiving methods, 1126, 1182
Acyclic, 1126, 1182
Compression, 1126, 1182
Cyclic, 1182
cyclic continuous, 1126
cyclic-selective, 1126
process-controlled, 1126
Arrow buttons, 216, 625
Index
Asian, 1730
Configuring, 1730
Assigning computer, 1823
Assigning message blocks, 1656, 1713
In message sequence report, 1713
Assigning user, 1825
Assigning user hierarchies in PCS7, 1819, 1831
Assigning:Assigning objects to layers, 242
Assignment, 242, 459, 560, 562, 563, 564
Deleting assignments, 562
Sorting assignments, 562
Assignment of message blocks, 1713
Assignment:Configuring assignments, 560
Assignment:Defining assignments, 564
Assignment:Deleting assignments, 563
Assignment:Sorting assignments, 563
Attribute, 428, 434, 437, 629, 1573, 1581
Changing, 1576
Configuring Attributes of a Customized Object,
628
Dynamizing, 408
Attribute display, 1573
Attribute name, 1573
Attribute:Making Attributes Dynamic, 407
Attributes, 1677
Output of not connected, 1677
Output with action connection, 1677
Output with tag linking, 1677
Audio alarm, 1465
Project documentation, 1465
Authorization, 450, 469, 1818, 1827, 1829, 1831,
1851, 1853, 1854
Authorization for area, 1854
Automatic hide, 945, 975
Automatic logout, 1827, 1829
Auto-Scrolling, 1024, 1195
Autostart, 135
Setup, 135
Available Graphic OLLs, 216
Average, 1335, 1371
Average value, 450
Axes, 1338, 1340, 1342
Display in FunctionTrendControl, 1277
Display of Staggered Trends, 1382
Display with common axes, 1378
Display with Different Axes, 1378
Display with logarithmic axes, 1380
Representation of Staggered Trends, 1342
Representation Using Common Axes, 1340
Representation Using Different Axes, 1340
Axis, 457, 1222, 1227
Axis Label, 369
B
back, 403
Background, 345, 443
Background color, 347, 352, 441, 1579
Background picture, 363, 375
backup, 1000
of message archive, configuring, 1000
Bar, 230, 438, 443, 457, 458, 509, 541, 542, 544,
606
Bar depth, 1581
Bar Graph, 369
Bar:Bar background color, 441
Bar:Bar height, 438
Bar:Changing, 539
Bar:Configuration, 541
Bar:Inserting, 539
Bars:Bar color, 441, 458, 542
Base X, 438, 1581
Base Y, 438, 1581
Basic colors, 244, 272, 347, 352, 373, 1539
Basic Dynamic Operations, 407
Basic operations, 380, 407
Basic Picture, 554
Basic Picture Transparent Color, 456
Basic Picture:Basic Picture Referenced, 456
Basic Picture:Basic Picture Transparent Color On,
456
Basic Process Control, 54
Basic settings, 228, 254, 1543
Page layout editor, 1543
Basic Settings:The Basic Settings of the Graphics
Designer, 254
Basic Static Operations, 380
Behavior, 124
Beta, 230, 438, 1581
Binary, 533, 563
Binary tag, 176
Bit, 564
BIT, 176
Bit Number, 459
Bit pattern group display, 450
Bit Position, 553, 606
Bold, 446
Border, 371, 441, 443, 448, 450, 468
Border style, 443
Border weight, 443
Border width, 443
Border:Border background color, 441
Border:Border color, 441
1955
Index
C
C action, 412, 815
Create, 879
Import, 882
modify, 883
C action:exporting, 886
C action:importing, 886
C editor, 1460
Project documentation, 1460
Cache, 128
For Runtime Pictures, 128
Calculating statistics, 1335, 1371
Calculation, 1585
Calling direct help for the "Object Properties" window,
424
Calling PrtScr.exe, 1502
Calling selection dialog, 1668
Came In, 461
Came In Acknowledged, 461
Can Be Closed, 468
Cell
Copying, 1758
Center, 392
Objects, 241
Center Point Size, 356
Centering objects, 1568
Central color palette, 272
Definition, 248, 249
Edit, 249
Export, 251
Import, 251
Central date and time formatting, 64
1956
Index
1957
Index
1958
Index
D
Danger color, 359
Danger Display, 359
Data buffer, 1136
Data Connection, 1289
Data export in runtime, 1034, 1204, 1246, 1300
Data Format, 459
Data Selection, 1656, 1713
For message sequence report, 1713
for the archive report, 1656
For the message report, 1656
For the user archive report, 1660
Data source, 416, 608, 1920, 1929
1959
Index
1960
Index
Disconnecting, 1181
Archive backup, 1181
Discrete alarm method, 887
Disk space, 335, 336, 338
Disk Space Control, 320, 335, 336, 338
Display, 345, 351, 360, 372, 450, 469, 1722
Non-translated text in runtime, 1795
Display all shortcuts, 262
Display as drop-down list, 443
Display axis, 230, 438, 1581
Display in front, 1332
Display in trend form, 1338
Display Mouse Pointer, 345
Display move handles, 262
Display objects
Language input, 1764
Language-defined, 1764
Multilingual configuration (example), 1799
Display of archived values, 1334, 1338
Display of Disk Space Control in Runtime, 338
Display of Memory Utilization, 338
Display of messages, 1077
Message blocks, 1077
Selection of messages, 1093
Display of windows, 468
Display options, 345
Display process value, 940
Display Text, 461
Display tips and tricks, 256
Displaying configured dynamics, 226
Displaying the Current Settings, 239
Displaying the Parameter Dialog, 1438
Distribute, 392
Objects, 241
Dividing Line Background Color, 441
Dividing Line Color, 441
Dividing line style, 443
Dividing line weight, 443
Documentation, 1484
Introduction to Runtime documentation, 1484
Messages in Runtime, 1484, 1486
Double, 185
Double arrow, 232
1961
Index
Drawing, 1590
Circle, 1598
Circular arc, 1606
Ellipse, 1596
Ellipse arc, 1604
Ellipse segment, 1600
Line, 1590
Pie segment, 1602
Polygon, 1592
Polyline, 1593
Rounded rectangle, 1610
Square-wave, 1608
Drive, 336, 338
Duplicate, 402
Dword, 183
Dynamic, 428, 1573
Dynamic dialog, 411
Configuring, 848
Example: Color Change Depending on Position,
864
Dynamic dialog:expression, 850
Dynamic dialog:quality code, 859
Dynamic dialog:tag status, 857
Dynamic dialog:valid range, 854
Dynamic dialog:value range, 854
Dynamic display, 1319
dynamic filling, 453
Dynamic log elements, 1476
Dynamic log parameters, 1476
Dynamic margin, 1581
Dynamic objects, 1526, 1528
Dynamic standard objects, 1618
Editing, 1618
Dynamic value ranges, 411
Dynamic Wizard, 240
Picture Functions, 824
SFC, 836
Standard Dynamics, 829
Triggers, 862
Dynamic Wizard Editor, 1937
Dynamic Wizard:import functions, 828
Dynamic Wizard:picture components, 827
Dynamic Wizard:system functions, 835
Dynamics, 226
Dynamics icon, 408
Dynamics of a Process Picture, 226
Dynamizable Parameters, 1476
For the Runtime documentation, 1476
Dynamization of attribute, 1573
Dynamizing
Cyclic Triggers, 819
Dynamizing:C action, 877, 878
1962
E
Edit, 634
Editing, 1333
Dynamic standard objects, 1618
Dynamic text, 1692
Static objects, 1589
Editing actions, 412
Editing embedded file in the OLE object, 522
Editing multiple layouts, 1556
Editing multiple messages, 967
Editor, 146, 1888
Changing language settings, 1888
Opening, 146, 1888
Editor window, 412, 414
Electronic signature
Configuring, 1844
Create, 1844
Creating in a C action, 1847
Creating in a VBS action, 1845
Element, 228, 426
Element:Elements of the toolbar in the "Object
properties" window, 426
Ellipse, 475, 487, 1527
Drawing, 1596
modify, 1596
Ellipse arc, 475, 491, 1527
Drawing, 1604
modify, 1604
Ellipse arc:Changing an ellipse arc, 491
Ellipse arc:Drawing an ellipse arc, 491
Ellipse segment, 475, 495, 1527
Drawing, 1600
modify, 1600
Ellipse segment:Changing an ellipse segment, 495
Ellipse segment:Drawing an ellipse segment, 495
Ellipse:Changing an ellipse, 487
Ellipse:Drawing an ellipse, 487
Embedded layout, 1528, 1618
Emergency acknowledgement, 1102
Emergency acknowledgment, 1050
EMF, 287
emf file viewer, 1450
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
Index
F
Faceplate type, 256
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
Fault, 1442
Printers, 1442
Features, 423
Field type, 459, 530, 531, 559, 606
FIFO buffer, 1136
basics, 1136
File Size, 224
File structure, 155
Fill Level, 453
Fill pattern, 443, 1588
Changing, 1588
Fill pattern color, 441, 1580
Changing, 1579
Filling, 453
Filter, 416, 608, 1921, 1930
Filter criteria, 1660
For the user archive report, 1660
Filter criteria for alarm output, 1515, 1656, 1699,
1713
Filter criteria for the user archive report, 1660
Filter criterion for alarm output, 1515, 1656, 1699,
1713
Filtering text
Text library, 1762
Final page, 1433
Find, 405, 418
Text in the text library, 1760
FindFast.exe, 111
Finding picture, 354
Finding picture , 354
Flash color, 347
Flash frequency, 448, 456
Flash frequency:Border Flash Frequency, 448
Flash Picture, 456, 554
Flash Picture:Flash Picture Transparent Color, 456
Flash Picture:Flash Picture Transparent Color On,
456
Flashing, 448, 456
Flashing attribute, 554
Flashing Background Color Off, 448
Flashing Background Color On, 448
Flashing Flash Picture Active, 456
Flashing of a message, 922
Flashing Text Color Off, 448
Flashing Text Color On, 448
Flashing:Flashing Background Active, 448
Flat style for toolbars, 262
Float, 184
Floating-point number 32-bit IEEE 754, 184
Floating-point number 64-bit IEEE 754, 185
Floppy disk, 216
Folder structure, 155
1963
Index
1964
Index
FunctionTrendControl, 1274
Buttons in the Toolbar, 1304
Change the sequence of the displayed trends,
1256, 1309
Configuring the axes in the trend window, 1282
Configuring the axes of trends, 1277
Configuring the data connection of trends, 1289
Configuring the data export operation, 1034, 1204,
1246, 1300
Configuring the evaluation with the RulerControl,
1200, 1242, 1296
Configuring the status bar, 1025, 1196, 1239,
1293
Configuring the toolbar, 1025, 1196, 1239, 1293
Configuring trends, 1235, 1286
Configuring trends for the trend window, 1284
Determining the coordinates of a point, 1309
Displaying a trend in the foreground, 1256, 1309
Online configuration, 1036, 1205, 1247, 1301
Online Configuration, 1307
Operation in Runtime, 1304
Representation Trend Lines, 1275
Resolution, 1274
Using the zoom functions in trend windows, 1311
G
Gauge, 355
Gauge Control, 320, 355, 356, 357, 360, 363
Gear ratio, 1900
Entire OS, 1902
Revisions, 1906
General "Background style", 350
General background style , 350
General measuring range , 357
General"Measuring range, 357
Geometry, 326, 438, 1581
Property group, 1583
Geometry of objects, 1583
GeometryRadiusX , 1581
Global Design
Characteristics, 94
Switch off for computer, 128
Global Library, 212, 646, 653
Converting the global library, 212
Global Scripts, 513
GMT, 64
Graphic files, 375
Graphic Object, 509, 547, 610
Changing Graphic Object, 547
Configuring a graphic object, 547
Inserting Graphic Object, 547
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
H
Handles, 232, 326, 393
1965
Index
1966
Hotkeys, 588
Hysteresis, 450, 542
Hysteresis range, 450
Hysteresis:Hysteresis Range, 542
I
I/O Field, 509, 527, 530
I/O field:Changing an I/O Field, 527
Ideal trend, 1389
Ideal Trend, 1396
Illegal characters, 152
Images, 1677
Output of attributes in a report, 1677
Immediate input, 450
Immediate Input, 531
Import
Color palette, 251
Languages.csv, 1742
Tag, 163
Importing messages, 964
Structure of import file, 962
Importing selections, 1018, 1029
In trends, 1220, 1337
Increasing the number, 592
Index, 438, 446, 464, 1581
Index:Index of the connection point of the first object
connected, 464
Index:Index of the connection point of the object
connected at the end, 464
Indexed colors, 248, 251, 272
Indir., 428
Indirect addressing, 1573
Info text, 938
Initial-value message, 887
Input value into an I/O Field, 531
Insert symbols of the Symbol Library, 340
Inserting, 322, 335, 340, 349, 355, 368, 1658, 1818
Object, 1562
OLE object, 1614
Static metafile, 1616
Static text, 1612
System objects, 1631
User archive runtime table, 1658
Inserting Gauge Control, 355
Inserting group display, 578
Inserting Slider Control, 368
Inserting Symbols of the Symbol Library, 340
Instance, 167
Integration, 1857
Notes on installation, 1857
Required software components, 1857
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
Index
J
Jump from one object to the next in Runtime, 677
K
Key combination
Lock, 117
Key combination for hardcopy, 1502
Key function, 1208, 1250, 1304
Key switch, 1822
Keyboard Settings, 247
keys, 124, 681
L
Label Each, 457
Labeling, 355, 370
Labeling attribute, 360, 372
Labeling font, 360
Landscape, 1581
Language, 117, 623, 899, 1719
Add, 1757
Administrating, 1747
Changing in runtime (example), 1802
Changing in WinCC, 1728
Configuring messages, 1781
Creating, 1756
Deleting, 1758
In Alarm Logging, 1776
In runtime, 1795
Remove, 1757
Sample project, 1798
Setting fonts, 1756
Supported , 1718
Term definitions, 1719
Language code
Layout file, 1551
Language expression, 1719
In WinCC, 1719
Language in WinCC, 1719
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1967
Index
1968
Index
Logging, 1490
Process values, 1490
Tag Table, 1490
Trend, 1490
User archive data, 1491
Logging ODBC database field, 1623
Logging ODBC database table, 1625
Login, 1809, 1838
Complete Username, 1839
Entry, 1838
SIMATIC Logon, 1839
User ID, 1839
Login in Runtime, 1832
Login:in Runtime, 1832
Login:only via chipcard, 1827
Login:only with chipcard, 1829
Login:SIMATIC Logon, 1811
Login:WinCC logon, 1811
Logon
Complete Username, 1844
SIMATIC Logon, 1844
User ID, 1844
Long, 181
Long-term archive list, 887, 1014, 1070
Long-term archive server, 1138
installation (overview), 1138
Loop In Alarm, 943
Low Limit Background Color, 441
Low Limit Value, 458
Lower frame color, 371
Lower limit, 458, 542
M
Main memory, 1174
Configuring data buffer, 1174
Making layers visible / invisible, 294
Making multiple selections, 1565, 1567
Manual hiding, 1100
Margin, 371, 1581
Margins, 1706
In line layout, 1706
Maximizable, 450
Maximum Angle, 357
Maximum value, 357, 370, 450, 544, 600
Maximum, 1335, 1371
Measuring range, 368
Memory capacity, 336
Memory utilization, 338
1969
Index
Menu, 262
customized ~ define for picture, 667
customized ~ define for picture window, 668
User-defined, 659
Menu bar, 36, 1520, 1703
Menu bar of the WinCC Explorer, 209
Menu:Toolbars, 262
Menus and toolbars, 659
Configuration file, 659
Runtime, 659
User-defined, 659
1970
Index
1971
Index
Messages, 1484
archive data output in Runtime, 1004
Configuring the hit list, 1029
List of Hidden Messages, 1054
Locking and enabling in AlarmControl, 1048
Manual or automatic hiding, 1054
Multilingual configuration, 1781
Online reporting, 1484, 1486
Persistence for locking, 1048
Selecting messages in AlarmControl, 1046
Sorting the display, 1051
Messages in Runtime, 483
Messages multilingual
Translating, 1777
Metafile, 1616
Changing, 1616
Inserting, 1616
Migration
Time settings, 64
Minimum, 1335, 1371
Minimum Angle, 357
Minimum value, 357, 370, 450, 544, 600
mirroring, 395
Mirroring, 343, 395
Miscellaneous, 450
Miscellaneous , 1585
Missing Text ID
Text Library, 1763
1972
modify, 1680
Attributes, 1677
Circle, 1598
Circular arc, 1606
CSV provider table, 1662
CSV provider trend, 1664
Dynamic metafile, 1693
Dynamic table, 1695
Editing object:object project
documentation:output of user texts, 1687
Editingobject:objectObject:picturestatistics, 1675
Ellipse, 1596
Ellipse arc, 1604
Ellipse segment, 1600
Line, 1590
Object Object:trigger , 1680
Object selection of tag group , 1689
Objects for the project documentation, 1666
OLE object, 1614
Pie segment, 1602
Polygon, 1592
Polyline, 1593
Project value archive object:output of
configuration data , 1684
Rounded rectangle, 1610
Square-wave, 1608
Static text, 1612
User archive runtime table, 1660
Module selection, 414
Modules, 116
Monitor, 458, 542
Monitor keyboard, 128
Monitor:Monitor (0 to 10), 458
Monitoring, 1853, 1854
Mouse pointer, 128
mouseless, 677
Mouseless operation, 677
Movable, 450, 468
Multilingual
Page layout, 1550
Reports, 1550
Multilingual configuration, 1718, 1722
Configuration scenarios, 1718
Editors, 1722
Example, 1798
In WinCC, 1718
Non-translated texts, 1722
Picture object, 1773
Reports, 1786
System requirements, 1722
Text list, 1775
Index
N
Name, 152
Illegal characters, 152
Name of Property, 629
Naming conventions, 152, 164, 166
Tag, 163
Navigation, 659
Menus and toolbars, 659
Navigation window, 41, 209, 212, 652, 896, 1827
Navigation window:navigation window of WinCC
Explorer, 209
Network entry jump, 1935, 1936, 1937
Configuring, 1937
Requirement, 1936
Network return, 1941
New picture, 212, 280
New-value message, 887
Non-Latin font, 1730
Notes, 1730
Special features, 1730
Tool, 1730
Nontransparent, 350
Normal, 124
Normal Display, 359
Normal without rollback, 124
Not system text, 1763
Number of boxes, 438
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
O
Object, 216, 224, 256, 296, 298, 378, 382, 385, 388,
390, 392, 393, 395, 396, 398, 399, 400, 402, 403, 421,
426, 473, 504, 506, 614, 615, 623, 632, 653, 682, 683,
1501, 1658
Archives, 1671
Connections, 1691
Copying and pasting objects, 256
Dynamic metafile, 1693
Dynamic table, 1695
Dynamic text, 1692
Editing archive report, 1654, 1655, 1656, 1661
Editing message report, 1654, 1655, 1656, 1661
Embedded layout, 1618
Hard copy, 1501, 1621
Layout, 1633
Pasting, 1562
Selecting, 1668
Single messages, 1670
Tags, 1689
Text library text table, 1687
User archive runtime table, 1658
Views, 1673
Object name, 383, 464, 1578
Changing, 1578
Object name:Object Name of the Object Connected
at the beginning, 464
Object name:Object Name of the Object Connected
at the End, 464
Object OLL:Adding Graphic OLLs, 216
Object origin, 228, 1559
Object palette, 238, 378, 473, 1520, 1525
Control selection, 218, 329
1973
Index
1974
Objects, 1568
Aligning, 1568
Arranging, 1568
Copying, 1563
Cutting, 1563
Default settings, 1543
Deleting, 1563
Duplicating, 1563
Editing, 1563
Editing dynamic standard objects, 1618
Editing for the runtime documentation, 1634
Editing static objects, 1589
For runtime documentation, 1529
For the project documentation, 1532
Invisible, 473
Linking, 1575
Multiple selection, 1567
Objects of the Object Palette, 473
Positioning, 1563
Scaling, 1563
Working with standard objects, 1589
Objects for the project documentation, 1666
Objects for the runtime documentation, 1634
process, 1634
Objects for the Runtime documentation
WinCC Control Runtime Printprovider, 1634
Objects of the Object Palette, 378
Objects:Changing Objects of a Group, 615
Objects:Connecting objects, 506
Objects:Duplicating Objects, 402
Objects:Importing Objects into the Library, 653
Objects:Transferring objects, 296
OCX display, 256
ODBC data source, 1493
ODBC database, 1493
Printing data, 1492, 1493
Reporting, 1493
ODBC database field, 1528
Defining output options, 1623
Defining SQL statement, 1623
ODBC database table, 1528
Defining column width, 1625
Defining output options, 1625
Defining SQL statement, 1625
OLE object, 509, 522, 524, 526, 1527
Inserting, 1614
modify, 1614
OLE object:Change OLE object, 522
OLE object:Create new OLE object, 526
OLE object:Creating OLE Object from File, 524
OLE object:Edit OLE object, 522
OLE Object:OLE object:Inserting OLE Object, 522
Index
OnlineTableControl, 1186
Buttons in the Toolbar, 1208
Changing the column display in runtime, 1214
Configuring the data export operation, 1034, 1204,
1246, 1300
Configuring the evaluation with the RulerControl,
1200, 1242, 1296
Configuring the status bar, 1025, 1196, 1239,
1293
Configuring the time columns of the table window,
1187
Configuring the toolbar, 1025, 1196, 1239, 1293
Creating statistics in runtime, 1215
Display of archived values, 1215
Editing table fields in runtime, 1213
Marking the selected cells and rows, 1021, 1024,
1192, 1195
Online configuration, 1036, 1205, 1247, 1301
Online Configuration , 1211
operation in Runtime, 1208
Properties of the table elements, 1021, 1192
Sorting by column header, 1021, 1024, 1192,
1195
Start and stop update, 1213
Table element colors, 1021, 1022, 1192, 1193
1975
Index
1976
Index
P
Package, 1893
Assigning OS server, 1893
Page break, 1585
Page layout, 1433, 1519
Changing, 1554
Configuration, 1433
Copy, 1556
Create, 1473
Displaying properties, 1433
Edit, 1473
For message sequence report, 1489
Multilingual, 1550
Opening, 1519
Page layout editor
Basic settings, 1543
Changing units, 1543
Screen, 1520
Setting options, 1543
Page number, 1529
Output in a report, 1631
Page size, 1706
In line layout, 1706
Page Size in the Line Layout, 1710
Palette, 275, 276, 1540
Adapting, 1540
Hiding, 1540
Moving, 1540
Showing, 1540
Palette:Move palette to the border of the screen, 276
Palette:Moving a palette as a window on the desktop,
276
Paper format, 1581
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
1977
Index
1978
Index
1979
Index
1980
Index
1981
Index
Q
QTM message procedure, 887
Quality codes, 207
Quantity, 226
Quantity limitation, 1084
Quick Configuration, 606
1982
R
Radio box, 583, 592
Radio Box:Change Radio box, 592
Radio Box:Insert Radio box, 592
Radius, 438, 1581
Radius Y, 1581
Radius:Radius X, 438
Radius:Radius Y, 438
Raised, 371
Range selection for hard copy, 1621
Range selection for hardcopy, 1621
Raw data tag, 187
Raw data type, 1121
Rectangle, 232, 475, 500, 1527
Rectangle surrounding the object, 232, 1560
Rectangle:Changing a rectangle, 500
Rectangle:Drawing a rectangle, 500
Reducing the number, 592
Redundancy, 142
Activated project, 145
Copying project, 145
Duplicating project, 142
Runtime, 145
Reference object, 386
Reference Object of a Multiple Selection, 1565
Reference Object:Reference Object of a Multiple
Selection, 386
Regional date display, 1793
Regional time display, 1793
Registration of OCX controls, 332
Releasing connection, 506
Relinking
Linking of the Tag Connection, 418
Remote activation/deactivation, 1853
Remote configuration, 1853
Replace, 405, 418
Text in the text library, 1761
Report, 1486, 1554, 1889
Changing Layouts, 1554
Chronological output, 1486
Copy, 1891
Creating, 1890
Delete, 1891
From ODBC data source, 1493
Importing, 1892
Introduction, 1431
Message sequence report, 1486
Moving, 1891
Multilingual output in runtime, 1793
Rename, 1891
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
Index
1983
Index
Runtime, 72, 76, 112, 116, 119, 124, 126, 132, 206,
338, 466, 656, 657, 658, 678, 679, 1091, 1211, 1250,
1253, 1260, 1304, 1307, 1326, 1402, 1795
bringing to front, 1332
Changing the column display in
OnlineTableControl, 1214
Configuring language change, 1797
Creating trend statistics in OnlineTableControl,
1215
Defining hotkeys, 110
defining time range, 1319
Display in front, 1365
display of archived values, 1334
Display of archived values, 1370
displaying archived messages, 1005
Displaying archived values in OnlineTableControl,
1215
Displaying archived values in OnlineTrendControl,
1264
editing fields, 1333
Editing table fields in OnlineTableControl, 1213
Editing tags in runtime, 206
Emergency acknowledgement of messages,
1102
Emergency acknowledgment of messages, 1050
Exiting, 137
Language switching, 1795
Loading online changes, 76
Locking and enabling messages, 1048
Locking messages, 1096
Menus and toolbars, 659
message archive data output, 1004
Multilingual project, 1795
Multi-user system, 132, 137
Online configuration, 72
Operating the AlarmControl, 1042
Operating the OnlineTableControl, 1208
Operation of alarm control, 1091
operation of Online Table Control, 1326
Operation of Online Trend Control, 1357
Operation of the Function Trend Control, 1402
Operation of Trend Control, 1357
Output of multilingual reports, 1793
Parameterization dialogs, 1327, 1360
Redundant system, 132
Representation of process values, 1323
Requirements, 105, 132
Runtime Cursor On/Off, 119
Selecting archive, 1327, 1360
selecting columns, 1332
Selecting messages, 1046
Selecting tags, 1327, 1360
Selection of messages, 1093
Setting the runtime computer starting
1984
configuration, 1796
Setting up Autostart, 135
Setting up startup list, 107
Settings, 105
Sorting messages, 1051, 1104
Starting, 132
Trend Control, 1357
Trend in the foreground, 1256, 1309
Using the zoom functions in trend windows, 1258,
1311
Runtime computer, 1796
Setting starting configuration, 1796
Runtime documentation, 1474, 1485, 1529
Creating layout, 1473
Dynamic log parameters, 1476
Output, 1474, 1485
Overview of objects, 1529
Setting up print job, 1474
Runtime documentation/components, 1469
Runtime documentation/dynamizable parameters,
1479
Runtime documentation/dynamization, 1469, 1479
Runtime documentation/introduction, 1469
Runtime language, 1795
Configuration, 1728
Runtime:Activating Runtime, 657
Runtime:Deactivate Runtime, 657
Runtime:defining time range, 1343
Runtime:representation of process values, 1338
Runtime:Runtime module, 116
Runtime:Runtime Settings, 466
Runtime:selecting trend, 1338
Runtime:Setting up Runtime, 112
S
Same size, 438, 1581
Sample Text, 351, 360, 372
Save as, 281
Save settings on exit, 256
Saving default settings of objects, 267
Saving layout under new name, 1556
Scale, 357, 359, 371, 441, 457, 544, 600
Scale end value, 357
Scale font , 360
Scale Offset, 357
Scale text font, 360
Scale:Scale color, 441
Scale:Scale marks, 457, 544
Scale:Setting scale division, 544
Scale:Setting scale end values and zero point value,
544, 600
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
Index
1985
Index
1986
Index
1987
Index
1988
T
Tab, 334
"Transparent frame" tab, 350
Basic color tab , 361
Clock Control tab , 351
Font size tab , 360
Format tab , 354, 363
General tab Properties:properties of WinCC Slider
Control, 369
General tab standard color, 359
Library tab , 340
Linking, 1575
Properties of Siemens HMI Symbol Library tab
Symbol Library, 347
Properties of SiemensHMISymbolLibrary
categories tab, 342
Properties tab, 1573
Properties tab in Font Style window, 1573
Scale width tab , 357
Shadow tab , 345
Tab General background style, 356
Transparent frame tab , 350
Tab or Alpha Cursor, 119
MDM - WinCC: Working with WinCC
System Manual, 11/2008,
Index
Tag, 162, 163, 416, 418, 421, 450, 530, 541, 553,
559, 598, 606, 608, 1120, 1528, 1920, 1929
communication driver, 174
Copying, 202
Creating internal tags, 190
Creating tag group, 197
Cutting, 202
data type, 174
Data type, 176, 177, 178, 179, 180, 181, 183, 184,
187
Deleting, 202
Editing, 202
Editing in runtime, 206
Element, 167
external, 1120
External tag, 164
Importing, 163
instance, 167
internal, 1120
Licensing, 164
Linking tags at the places of use, 418
Linking tags by searching and replacing, 418
Moving, 202
Naming conventions, 163
Pasting, 202
Power tag, 164
Process tag, 164
Quality codes, 207
Renaming, 204
Setting up, 188, 190
Specifying linear scaling, 200
Status, 207
Structure element, 167
Structure instance, 167
Structure tag, 167
Structure type, 167
Tag group, 170
Tag management, 159
Tag Selection Dialog, 171
tag type, 174
Text reference, 176
Transferring, 1899
Updating, 163
Usable data types, 164
using structure types, 195
Tag assignment
Configuring, 838
Example: dynamic filling, 840
Tag bar, 1929, 1930, 1932
Tag connection, 416, 418
Linking Tag Connection of Objects, 418
Tag display, 416, 608
1989
Index
1990
Index
1991
Index
1992
U
Underline, 446
Ungroup, 617
Unit font, 360
Unit offset, 355
Unit text, 355
Units, 1543
Page layout editor, 1543
Universal Time Coordinated, 64
Unlocking message, 1851
Unlocking messages, 1096
Alarm Control, 1096
Unsigned 16-bit value, 180
Unsigned 32-bit value, 183
Unsigned 8-bit value, 178
Unsigned Dword, 183
Unsigned word, 180
Update, 1357, 1402
starting, 1332
Starting, 1405
stopping, 1332
Stopping, 1405
Update cycle, 450
Updating, 336, 530, 541, 553, 559, 598, 606, 1326
Start, 1365
Stop, 1365
Upon change, 269
Upper frame color, 371
Upper limit, 542
Used, 336
UsedPercent, 336, 338
User administration, 1851, 1853, 1854
User Administration, 1830
User Administrator, 1463
Project documentation, 1463
Index
V
Value Import and Display Text of a Text List, 560
Value input, 434, 531, 1851
Value ranges, 359
Values outside the limit range, 1387
Variable
create, 189
Creating a process tag, 189
Creating structure type, 192
Data type, 185
Defining substitute value, 199
Displaying transferred tags, 1911
Internal tag, 166
Specifying limit value, 198
Start value, 189
Usable data types, 166
VBS action, 414
Triggers, 875
VBS action:creating, 868, 871, 874
VBS action:Edit VBS action, 414
VBS editor, 1460
Project documentation, 1460
View selection for the project documentation, 1673
Viewing project documentation, 1812
Views, 1673
Viewsprojectdocumentation
View selection , 1673
Virus scan, 111
visible, 242
Visible layers, 260
Visualization of messages, 1018
Marking the selected cells and rows, 1024, 1195
Message blocks, 1018
Message blocks and message lines, 1016
Properties of the table elements, 1021, 1192
Sorting by column header , 1024, 1195
Table element colors, 1022, 1193
W
Warning, 336, 359, 918
Warning color, 359
Warning Display, 359
1993
Index
1994
Index
1995
Index
X
X alignment, 446
Y
Y alignment, 446
Z
Zero point, 457, 544
Zero point value, 450
Zero Point Value, 544, 600
Zoom factor, 243
Zoom functions, 126
Zoom in, 1369
Zoom out, 1369
Zoom palette, 243, 1520, 1535
Zoom ranges, 264
Zoom value, 264
Zooming, 1369
1996