SIMATIC WinCC System Description en-US
SIMATIC WinCC System Description en-US
SIMATIC WinCC System Description en-US
System Overview 1
Process visualization with
SIMATIC WinCC 2
WinCC V7.0
System Description
09/2008
A1900-L531-B996-X-7600
Legal information
Warning notice system
This publication contains notices you have to observe in order to ensure your personal safety, as well as to pre-
vent 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 ac-
count.
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 device/system may only be set up and used in conjunction with this documentation. Commissioning and op-
eration of a device/system may only be performed by qualified personnel. Within the context of the safety notes in
this documentation qualified persons are defined as persons who are authorized to commission, ground and label
devices, systems and circuits in accordance with established safety practices and standards.
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and main-
tenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be adhered to. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publica-
tion 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 de-
scribed. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the infor-
mation in this publication is reviewed regularly and any necessary corrections are included in subsequent edi-
tions.
Table Of Contents
1 SIMATIC WinCC System Overview 1
1.1 Your guide to WinCC 1 3 Options SIMATIC WinCC 48
List Of Figures
Figure 1 SIMATIC automates rail transportation 2 Figure 60 Trend window 41
Figure 2 Industry standard in the automotive industry 4 Figure 61 Trend window with ruler window 41
Figure 3 Industry standard in the packaging industry 4 Figure 62 Function window 42
Figure 4 Industry standard wastewater management 4 Figure 63 Log objects 42
Figure 5 Industry standard in the chemical and Figure 64 Runtime log 43
petrochemical industries 4 Figure 65 VBScript in the Global Script Editor with
Figure 6 Process picture from a plastics processing Intellisense 44
plant with language switch to Chinese 5 Figure 66 Global Script Debugger 45
Figure 7 Process picture from a plastics processing Figure 67 C script in the Global Script Editor 45
plant with language switch to English 5 Figure 68 Tracepoints in WinCC/ApDiag 46
Figure 8 Totally Integrated Automation (TIA) 7 Figure 69 VBA script for a project template 47
Figure 9 Diagnostics with WinCC/ProAgent, STEP 7 8 Figure 70 Multi-user system with up to 32 clients on one
Figure 10 Operator control and monitoring 8 WinCC server 48
Figure 11 SIMATIC Manager 10 Figure 71 Central archiving with WinCC/CAS 49
Figure 12 Tag Management with communication links, Figure 72 Web server farms (load balancing) with many
tag groups, and tags 11 Web clients 50
Figure 13 Accessing STEP 7 symbol table 12 Figure 73 Operator control and monitoring of the plant via
Figure 14 WinCC System Info 12 an intranet or the Internet 51
Figure 15 OPC Item Manager 12 Figure 74 Windows Vista gadget 51
Figure 16 Single-user system 13 Figure 75 WinCC WebViewer (WebViewerRT) 51
Figure 17 Multi-user system 13 Figure 76 Tabbed browsing Microsoft Internet Explorer 51
Figure 18 Distribution of servers A, B, and C 14 Figure 77 Redundant operation second WinCC server 52
Figure 19 Distributed system 14 Figure 78 Failure of a WinCC server 52
Figure 20 Web system 16 Figure 79 Recovery of the failed WinCC server 53
Figure 21 KAESER configuration example 17 Figure 80 Diagnostics with WinCC/ProAgent and the
Figure 23 WinCC with Plant Intelligence 19 STEP 7 engineering tools 53
Figure 24 WinCC Explorer 20 Figure 81 Sequencer view 54
Figure 25 Central WinCC designs 21 Figure 82 Motion view 54
Figure 26 Graphical effects with Windows Vista 21 Figure 83 SIMATIC Maintenance Station 55
Figure 27 WinCC Graphics Designer 22 Figure 84 Electronic identification of components 56
Figure 28 Picture objects in Graphics Designer 22 Figure 85 SIMATIC Maintenance Station: diagnostics
Figure 29 Object palette with controls and styles 22 screens of individual components 56
Figure 30 Object palette with standard objects and smart Figure 86 WinCC/DataMonitor statistics 57
objects 22 Figure 87 WinCC/DataMonitor Excel Workbooks 58
Figure 31 Free scaling 23 Figure 88 WinCC/DataMonitor WebCenter 58
Figure 32 WinCC Media control 23 Figure 89 WinCC/DataMonitor Published Reports 58
Figure 33 Faceplates in WinCC 24 Figure 90 WinCC/DataMonitor Web objects 58
Figure 34 HMI Symbol Library 24 Figure 91 WinCC/DataMonitor user administration 59
Figure 35 Libraries in WinCC 24 Figure 92 Time model 59
Figure 36 Color palette 25 Figure 93 Causal factor tree 60
Figure 37 Dynamized picture object properties 25 Figure 94 Pareto chart of KPIs 60
Figure 38 Dynamic Wizards 26 Figure 95 Gantt chart of production times, downtimes 61
Figure 39 WinCC Text Library 26 Figure 96 Log with OEE 61
Figure 40 WinCC Text Distributor 27 Figure 97 Extended trend window 62
Figure 41 WinCC Excel ConfigurationTool 27 Figure 98 Message Analyzer 62
Figure 42 WinCC Excel ConfigurationTool, tags, and Figure 99 WinCC/IndustrialDataBridge: connection to
communication links 28 databases and IT systems 63
Figure 43 Picture properties in picture preview 28 Figure 100 WinCC/IndustrialDataBridge: configuration
Figure 44 Picture properties with dynamization 28 interface and runtime 64
Figure 45 Cross-reference list 29 Figure 101 Access to WinCC via OPC, WinCC OLE DB 65
Figure 46 Linking 29 Figure 102 DataConnector browser 66
Figure 47 Control system process picture in Microsoft Figure 103 User Archive Editor 67
Internet Explorer 30 Figure 104 "Beer recipe" user data window in the process68
Figure 48 OS Project Editor 30 Figure 105 Monitoring runtime with Runtime Auditing 69
Figure 49 Picture Tree Manager 31 Figure 106 Accessing the audit trail database with the
Figure 50 Tag simulator 32 Audit Viewer 69
Figure 51 User administration 33 Figure 107 Archiving, restoring projects or project data 70
Figure 52 SIMATIC Logon 33 Figure 108 SIMATIC BATCH for WinCC: job planning of
Figure 53 Message System Editor 34 batch recipes 71
Figure 54 Message window for displaying current and Figure 109 IndustrialX control 73
archived messages 36
Figure 55 Filtering messages 36
Figure 56 Call-up of STEP 7 hardware diagnostics from
WinCC 37
Figure 57 Connection status 38
Figure 58 Configuring the short-term archive 38
Figure 59 Table window 40
1 SIMATIC WinCC System Come discover the possibilities of your new process visuali-
zation software - you will be amazed by the sophisticated
Overview functionality, ease-of-use, and high performance of WinCC.
Your SIMATIC product marketing and technical documenta-
tion team hopes you will enjoy browsing through this system
1.1 Your guide to WinCC description and learning about SIMATIC WinCC. If you have
any questions, please contact:
What is a system description?
Customer Support Hotline: +49(0)180 50 50 22
This system description is an extremely compact version of
the technical documentation for WinCC.
Actual steps (1., 2, etc.) under Procedure show you how Plants
easy it is to configure with SIMATIC WinCC, whether you
want to interface third-party components in the OPC brows- The advantage of automated plants for plant operators is
ers; create an integrated configuration in SIMATIC Manager; that they ensure consistent quality and productivity; how-
set up an integrated communication network in the plant- ever, this requires operational safety and availability of the
wide Tag Selection dialog; publish your configuration on an plant and its components, especially in critical production
intranet or the Internet using WebPublisher; select tags, and process situations.
WinCC servers, or Web servers in the directory tree; per-
Today, saving time is a primary objective: less downtime,
form central linking of tags, functions, process pictures, or
shorter setup times, faster production cycles, and better
ActiveX controls at your places of use; or when using the
material and information flows are the keys to increased
many WinCC wizards, which take care of much of the con-
productivity, especially in highly automated industries:
figuration work for you.
● In the engineering phase
By customizing the WinCC wizards to suit your individual
● During installation
needs, you can automate your configuration. This is particu-
larly useful for wiring the interfaces of any faceplates you ● During production
have developed yourself. You can then expand the func- ● During maintenance
tionality of these faceplates for object-oriented application. ● Whenever servicing is required
This will automatically update thousands of places where
objects are used. When highly automated processes are implemented in all
industries, this results in more efficient production, thus
Linking function, faceplates, libraries, picture levels, dy- saving resources and minimizing the environmental impact.
namic display, mass configuration, online configuration, tag Optimized automation with Plant Intelligence and an intelli-
simulator, global script: This is state-of-the-art configuration gent, predictive maintenance concept reduces dangerous
in Tag Management, in the message system, in the archive CO2emissions and makes it possible for products to earn a
system, etc. climate certificate.
1.2.3 Highlights
Figure 2 Industry standard in the automotive industry Figure 5 Industry standard in the chemical and petro-
chemical industries
1.3.2 Ready for worldwide use with multilin- 1.3.3 Always ready for validation
gual capability
You can switch the the WinCC configuration interface lan- Today, the pharmaceutical and fine chemicals industries as
guage, selecting between German, English, French, Span- well as the food, beverages, and tobacco industries all apply
ish, and Italian, at any time with the push of a button. The Good (Automation) Manufacturing Practice G(A)MP rules
Asian version supports Chinese, Japanese, Korean, and throughout the entire manufacturing sequence:
Taiwanese. ● Water quality
To implement the same automation solution in international ● Fertilizers and pesticides
target markets, you configure multilingual pictures, mes-
sages, and logs for all target languages supported by the ● Humane animal husbandry methods
operating system; WinCC supports multilingual configuration ● Animal feed and pet food
of almost all objects containing text that is visible in runtime. ● Phamaceuticals
You use a drag-and-drop operation to create an online
language switch during runtime. The operator can then ● Primary products and food processing
switch the runtime language without having to end runtime.
These rules are specified in the Code of Federal Regula-
Picture text is entered directly when the pictures are
tions (CFR) of the United States Food and Drug Administra-
created; all additional text is created centrally in the Text
tion (FDA) and in EU Regulation (EC) No 178/2002:
Library. Translation management is handled by the powerful
Text Distributor, which also displays unused and untrans- ● http://www.fda.gov
lated text. ● http://eur-lex.europa.eu/
Examples: You are a French speaking project engineer and
are configuring a project for a system run by operators who They apply to all components of manufacturing:
speak Russian and English. ● Plant with containers and reactors
A French-speaking repair technician needs to optimize a ● Tablet presses and packaging machines
Chinese plant based on the messages that have been is- ● Process steps
sued by the system. With the language switch during run-
time feature, all messages can also be displayed immedi- ● Manufacturing areas and access to these areas
ately in French. ● Messages and message behavior
The hardware and software components from the TIA ● Process industry
modular system reduce engineering costs, lifecycle costs, ● Manufacturing industry
and total cost through integration:
● Integrated engineering Configure and manage all com- ● Hybrid industry: a combination of continuous processes/
ponents of WinCC and STEP 7 on one shared platform, batch processes and discrete manufacturing, for exam-
SIMATIC Manager (see "Project management with ple, in the glass industry and pharmaceutical industry
WinCC Explorer"). What's more, PCS 7 also automates the secondary
● Integrated communication: Plant-wide tag selection processes of a production site:
dialog box for WinCC tags and STEP 7 symbols, shared
● Filling
message configuration, use of previously defined
communication parameters (see "Unrestricted process ● Packing
communication"). In addition, TIA helps you avoid dupli- ● Inbound logistics, e.g., material supply
cated effort and sources of error. ● Outbound logistics, e.g., warehousing
Integrated diagnostics
The central components of PCS 7 are the engineering sta-
tions (ES) for configuration and the operator stations (OS )
for operator control and monitoring of processes during
runtime. An important component of PCS 7, WinCC is used
in the engineering stations and operator stations.
High performance and outstanding system features guaran-
tee that PCS 7 together with WinCC fulfills all the typical
requirements of a process control system:
● Simple and reliable process control
Figure 9 Diagnostics with WinCC/ProAgent, STEP 7
● Convenient operator control and visualization
In concert with other TIA components, integrated engineer-
ing and communication make it possible to perform system ● Integrated high-performance engineering
and process diagnostics of errors during operation. For ● Redundancy at all levels
more information, see "Diagnostic system". ● Fail-safe automation
Integrated in the SIMATIC PCS 7 Process Control System ● Extensive fieldbus integration
Integrated data management and communication enables ● Flexible solutions for batch processes
the seamless integration of WinCC into SIMATIC PCS 7. As ● Direct interface with the IT world
the flagship of company-wide TIA networks, PCS 7 auto-
mates process control technology in all industries: Figure 10 Operator control and monitoring
Mobile HMI devices for direct operator control of the plant PowerTags license only process tags that have a communi-
and machine from any point. cation link via a WinCC communication channel to the con-
troller or to other data sources (see "Unrestricted process
communication"). Up to 32 messages and up to 256 user-
SIMATIC Panels definable analog alarms for limit value monitoring can be
The rugged, compact solution for use directly at the ma- derived from one process tag. Moreover, internal tags with-
chine – finely scaled performance and comfort in text dis- out a process connection are available free of charge for
plays, operator panels, and touch panels. additional system performance. Example: With a license of
2k = 2048 PowerTags, you can execute a WinCC project
during runtime with up to 2048 configured process tags. The
SIMATIC Multi Panels
number of licensed and configured process tags is dis-
Multifunctional platforms that, in addition to visualization, played in the status bar of WinCC Explorer.
also perform other automation tasks such as controlling.
PowerPacks increase the number of usable PowerTags.
When your application grows, WinCC grows with it. You can
SIMATIC Panel PC start with the smallest variant and then upgrade as needed
Industrial platforms for PC visualization locally or for the with convenient and economical PowerPacks. PowerPacks
many and varied automation tasks of PC-based automation. also increase the number of available archive tags: from 512
in the basic system, you can increase the number by 1,500,
5,000, 10,000, 30,000 or 80,000 up to 120,000.
SIMATIC WinCC flexible
The flexible visualization software for process-level opera- Options and add-ons
tions of plant engineers, machine manufacturers, and OEMs
manufacturing standard machines. SIMATIC WinCC flexible Individual functional or industry-specific software expan-
enables short response times and secure process control. sions are available as WinCC options and WinCC add-ons.
● WinCC flexible Micro for configuring Micro Panels WinCC options are products from SIMATIC development
● WinCC flexible Compact and Standard in addition to that enhance the WinCC basic system by adding a range of
Micro Panels for configuring operator panels useful functions. You can combine WinCC options to suit
your individual requirements. You can obtain support from
● WinCC flexible Advanced in addition to Micro Panels our regional specialist support and via the central hotline.
and operator panels for configuring PC-based visualiza- Refer to Chapter 3 "Options" for a description of available
tion options for SIMATIC WinCC.
WinCC Add-ons are developed and sold by other Siemens A WinCC project is created directly as a PC station or op-
departments and external suppliers. Support for WinCC erator station OS in SIMATIC Manager:
add-ons is provided by the respective product supplier, who
is also the contact for integrating the product into the auto- PC station: In addition to software and hardware compo-
mation solution. You can find more information on the Web nents for automation (communications processors, slot
at: PLCs, or soft PLCs), the computer also contains the
SIMATIC HMI components. Because the PC station is
"http://www.automation.siemens.com/hmi/html_76/products/ integrated into the network configuration, the HMI interfaces
software/wincc_addons/index.htm" and access points are defined automatically. A WinCC
project runs on this computer as a WinCC application:
2.1.2 Integrated configuration in SIMATIC ● WinCC server in a multi-user system (see "Unlimited
plant configuration")
Manager
● WinCC client in a multi-user system
Definition ● Application reference to a WinCC project, which can
WinCC projects can be created and managed in STEP 7 then be downloaded to several target computers
within the framework of Totally Integrated Automation. This Operator station OS: The OS represents a WinCC project in
results in efficient links between the AS configuration and SIMATIC Manager. Unlike the WinCC application, the OS is
WinCC configuration. Together with SIMATIC Manager, not integrated into the network configuration. However, the
STEP 7 provides you with a common platform for the central advantage of the OS is in its ability to reference to a WinCC
configuration and management of all components of your project:
automation solution.
● WinCC server in a multi-user or distributed system (see
Requirements "Unlimited plant configuration")
● Installation of SIMATIC STEP 7 ● WinCC client in a single-user or distributed system
● Installation with "AS-OS Engineering" and STEP 7 Sym- ● OS reference to a WinCC project as a basic OS, which
bol Server can then be downloaded to several target computers
● If necessary, with Basic Process Control (see "Configur-
ing Control systems") 2.1.3 Unrestricted process communication
Application Definition
The integrated configuration of WinCC in SIMATIC Manager WinCC is an open SCADA visualization system that allows
provides the following advantages: you to connect different control systems. Industrial commu-
● All control data relevant for operator control and monitor- nication with WinCC means that within a communication
ing processes are available in WinCC. link, process values from the controller are exchanged with
● Direct access to STEP 7 symbols during process con- the operator control station via PowerTags.
nection (see "Unrestricted process communication")
● Configuration data is downloaded to the runtime OS. Requirements
● Integrated communications configuration ● The computer contains the appropriate communication
hardware: communications processor, standard I/O port
● Integrated message configuration COMx, etc.
● Extended diagnostic support ● The supplied hardware driver has been installed.
● Integration of redundant systems ● Either an appropriate WinCC communication channel
exists or an appropriate OPC server has been installed
Structure (see OPC).
Application
WinCC communication peers can be any component of a
network that is in a position to communicate with others and
to exchange data. In the SIMATIC environment, these can
be the central modules and communication modules in the
automation system (AS) and the communications proces-
sors in the computer. WinCC comes with a number of avail-
able communication channels for connecting different
SIMATIC S5/S7/505 controllers (for example, with the
S7-Protocol Suite) by means of different bus systems, as
well as for AllenBradley, Ethernet IP, and Modbus TCP/IP.
WinCC also comes supplied with open communication
channels such as PROFIBUS DP/FMS and OPC (Open-
ness, Productivity and Collaboration, previously called OLE
for Process Control). Because all controller manufacturers
also provide OPC servers for their specific hardware, the
Figure 11 SIMATIC Manager options for interfacing with WinCC are virtually unlimited.
Special features
● Process specifications or message acknowledgments on
one operator station are consistently available to the
other operator stations.
● Because the WinCC clients access data from the WinCC
server, you can also connect WinCC clients to the sys-
tem after the initial configuration.
● You can also install a WinCC client without the Microsoft
SQL Server database to comply with IT specifications.
● In a multi-user system, a WinCC client always accesses
one single WinCC server and WinCC project only, in
contrast to a distributed system.
● To increase plant availability, you must duplicate the
multi-user project on a second, redundant WinCC server
and use the WinCC/Redundancy option, which provides
automatic database synchronization including client
switchover.
The modular WinCC server technology also enables the
following on the multi-user system:
● A second redundant WinCC server
● A separate long-term archive server
● Access to WinCC via the integrated OPC server
Figure 18 Distribution of servers A, B, and C
2.1.4.3 Distributed system Distribution of servers
● In a technology-based distribution according to process
Definition areas, each server manages a plant section that is
Up to 32 operator stations (WinCC clients) each with views dedicated to a specific technology, such as body-in-
of up to 12 different, optionally redundant server projects. white construction, painting, or final assembly.
● In a functional distribution, each server performs a
Each WinCC client has its own WinCC project, in which its certain task, such as visualization, archiving, messaging.
individual view of the WinCC server is configured ("client
with project"). You can also implement "clients without a Distribution of clients
project" within a distributed system. These clients only ac- ● You configure views (for example, a shared trend and
cess one WinCC server (see "Multi-user system"). message view) of one, several, or all WinCC servers.
● You configure different views of plant sections or se-
Requirements on each WinCC server lected data.
● WinCC/Server option Structure
● Microsoft Windows Server/Advanced Server operating
system
Application
Distributed systems are used in large plants: Data traffic is
distributed to several WinCC servers to reduce the load on
each individual server. This results in:
● Better performance
● Larger data volumes
● Appropriate provision for plant topology
● More complex plants
● Overview of the entire project from one operator station
The client-server technology makes distributed WinCC 2.1.4.4 Other server systems
servers possible: On each WinCC server, you configure a
server project, which in turn provides a server package with
configuration data. You then use this server package to WinCC/Central Archive Server (CAS)
access all information (pictures, tags, messages, archive The WinCC/CentralArchiveServer is a central, optionally
data) of the server projects in the respective selection dia- redundant archive server where you can store process
logs in each client project. Examples: values and messages for the entire plant. You can display
● In a process picture, one output field for the process this stored data on any WinCC client:
value from Server_1 and one output field for the process ● Trend windows
value from Server_2.
● Message windows
● Picture windows and change of process pictures from
different WinCC servers ● Logs
● Trend views that represent a combination of data from The supplied StoragePlus WebViewer and the
different WinCC servers WinCC/DataMonitor option provide various views of
● Message windows and message sequence logs that archived WinCC/CAS data, including over an intranet or the
display messages from multiple WinCC servers with a Internet.
loop-in alarm to the server picture In addition, the WinCC/ConnectivityPack option gives you
● Display and evaluation of data from process-value and direct access to archived process values and messages
message archives on WinCC clients, including data through interfaces such as WinCC OLE-DB. This allows you
combined from multiple WinCC servers to continue processing important production data in other
parts of the company (see "Plant intelligence").
WinCC automatically takes care of the rest:
● Importing of updated server packages on the WinCC
clients Long-term archive server
● Communication and coordination of WinCC servers and You can swap process values and messages out of the
WinCC clients WinCC archive database as a backup archive (see "Archive
● Interfacing with the automation systems system"). These swap files are stored as compressed binary
data files:
The modular WinCC server technology also enables the
● On the hard disk
following on the distributed system:
● On the network drive
● A second, redundant WinCC server (see
WinCC/Redundancy option) ● On a long-term archive server
● A separate long-term archive server ● On a central archive server
● Access to WinCC via the integrated OPC server A long-term archive server is used to back up backup ar-
chives. It acts as a file server without a process connection,
Special features and its swap files can be accessed via OLE DB. Web
● You configure a standard server within a client project so access is also possible with the WinCC/DataMonitor option.
that data for which no separate WinCC server is speci-
fied can be read by this standard server. WinCC ServiceMode
● To connect far-away operator stations via a switched line
such as DSL, you can use the WinCC Communication In order to run WinCC Runtime, a user must be logged on to
Configurator SmartTool. This tool allows you to set up a the computer. By contrast, in WinCC ServiceMode, WinCC
central operator station even for distributed plants that Runtime runs as a service on the WinCC server even if a
are separated by physical space. user is not logged on. This is useful, for example, for WinCC
servers that are located in a separate computer room and
● Archive data, messages, and log data always come from are not used as the operator station. For service purposes,
the WinCC server, which has sole access to the process however, a user can log on to the WinCC server at any time
and the runtime databases used in the process. An and activate interactive operator control.
operator input (such as acknowledgement) is sent to the
WinCC server; the WinCC server then executes the ● WinCC ServiceMode is only available on the WinCC
input and distributes the information to all participating server.
WinCC clients. ● WinCC Runtime is automatically started when the
● You can increase the availability with a redundant WinCC server is powered on.
WinCC server configuration. ● The server project cannot be controlled. For this reason,
● In a distributed system, a WinCC client accesses up to input dialogs and informational dialogs that require inter-
12 WinCC servers simultaneously. In addition, each action with the user are not permitted for picture-inde-
WinCC server can access data from other WinCC pendent ANSI-C and VB scripts.
servers. This is useful, for example, when a separate ● Users can log on to the WinCC server and log off again
WinCC server is used for each production area, and at any time.
certain information, such as quality data, is also required
in a downstream production area.
Definition
Up to 50 Web-based operator stations have simultaneous
views of up to 12 different, optionally redundant WinCC
server projects and data from different WinCC databases.
Application
With the Web options, you can distribute operator control
and monitoring functions via an intranet or the Internet with
virtually no configuration changes, even without an addi- Figure 20 Web system
tional installation download.
● The WinCC/WebNavigator option allows you to control WinCC/WebNavigator
and monitor the process from anywhere.
● The WinCC/DataMonitor option makes WinCC process To build a WinCC/WebNavigator system, proceed as fol-
pictures, current and archived process data, and analy- lows:
sis functions, as well as reports and logs for the different 1. Place a WinCC project online on a computer with an
corporate levels available anywhere. intranet/Internet connection:
Use of an intranet and the Internet provides new types of By installing a WinCC/WebNavigator server and IIS on a
access and specific views of the process provided on-the-fly single-user system, a WinCC client with a project, or a
with point-and-click functionality: WinCC server, you create a Web server for this specific
WinCC project.
● Views over large distances, for example, widely distrib-
uted systems in wastewater treatment plants 2. Use the WinCC Web Configurator Wizard to set up
● Views over narrow-band connections Internet access in just a few steps without prior knowl-
edge of Web servers: IIS, ports, and firewall.
● Mobile views for remote diagnostics and remote mainte-
nance 3. In the WinCC user administration on the Web server, set
● Views of plants with a highly decentralized structure up access rights for access via an intranet or the Inter-
net, along with a user-specific start screen and auto-
● Periodic views for process analysis, for example, to matic logout.
supply key operating figures required by management
4. Use the WinCC Web Publisher Wizard to provide pic-
Web systems provide you with: tures, graphics, and scripts for intranet/Internet access
● A large number of WinCC clients, limited only by the without prior knowledge of HTML.
maximum number of simultaneous access attempts.
5. If necessary, use the WinCC Plug-InBuilder to provide
● Minimum expense: central licensing on the Web server plant-specific ActiveX controls or additional documents
for simultaneous access, for example, of 30 Web clients for download to the Web clients to increase their func-
that are not licensed themselves. tional scope; this requires no prior knowledge of the
● Sequential remote service and maintenance of any setup technology.
number of WinCC plants with the WinCC diagnostics
license for diagnostics clients. 6. Provide Web-capability to any Windows-device with
intranet/Internet access: You create a Web-Client by in-
● Lots of Web operator stations and increased availability stalling the WinCC/WebNavigator client, either using the
through the use of Web server farms with the product DVD or online in Microsoft Internet Explorer via
WinCC/WebNavigator Load Balancing-license an intranet or the Internet.
Then, when an operator inputs the Internet address of a In individual Web center views, you group different types
WinCC Web server on the Web client, he can control and of information from the plant for different user groups
monitor his WinCC project in Internet Explorer. Internet according to corporate level:
Explorer Version 7.0 and higher supports tabbed browsing – Fur Quality Assurance/Management, tables and
and can therefore display different views of WinCC projects trend charts with key figures
in one window.
– For the plant operator/shift supervisor, a view of
As an alternative to Internet Explorer, you can also use the process pictures and evaluations in the form of bar
WinCC WebViewer (WebViewerRT) SmartTool, which is charts or pie charts
installed with the WebNavigator client: a pure display pro- – For service engineers, trends with temperature
gram with its own Web communication that works without changes
Internet Explorer. With it, the display corresponds to the
WinCC client. It also satisfies the stringent requirements of With these views, WinCC data can be compared,
customer IT, which has not approved Internet Explorer for analyzed, evaluated and, if necessary, even ex-
security reasons (e.g., viruses and Trojan horses). ported over absolute or relative periods of time.
For more information, see WinCC/WebNavigator option. 7. Display "ViewOnly" process pictures via Process
Screens. To do so, use the WinCC Web Publisher
Wizard to provide pictures, graphics, and scripts for
WinCC/DataMonitor intranet/Internet access. This does not require prior
To display and analyze current process pictures as well as knowledge of HTML.
current and archived process values, messages, and 8. With the Excel Workbook Wizard, import current and
reports on an intranet or the Internet, proceed as follows: archived process values from a local WinCC project or
1. Just as with WinCC/WebNavigator, place a WinCC any WinCC server projects into an Excel worksheet. You
project online on a computer with an intranet/Internet do this in a tag selection dialog using a drag-and-drop
connection: By installing the WinCC/DataMonitor server operation. You configure the tag properties for the view
and IIS on a single-user system, WinCC client with a in the Excel worksheet, which will later be linked to
project, or WinCC server, you create a Web server for WinCC Runtime and updated online.
this WinCC project and all connected databases, includ- 9. Then publish the Excel worksheet over an intranet or the
ing swapped-out archives on a long-term server or Internet on the DataMonitor server and activate the
WinCC/Central Archive Server CAS. connection to the WinCC server. The DataMonitor
Alternatively, you can also place a file server with Data- clients with Excel Workbooks download the Excel work-
Monitor online. However, because the file server does sheet and display it in Internet Explorer.
not have its own project, only the Web center is available
in this case, to analyze archived data, for example. 10. Alternatively, you can make the Excel worksheet avail-
able as a report template for the Published Reports
2. Use the WinCC Web Configurator Wizard to set up function.
Internet access in just a few steps without prior
knowledge of Web servers: IIS, ports, and firewall. 11. In Published Report, select an Excel worksheet created
with the Excel Workbook Wizard, assign a user, or
3. In the WinCC user administration on the Web server, set specify an e-mail address as the target. The reports are
up access rights for process pictures, along with a user- either initiated manually through operator input or they
specific start screen and automatic logout. For more in- are event-driven , for example, when a WinCC tag is
formation, see WinCC/DataMonitor option. changed, or time-driven, for example, automatically at
4. Now, from the directory tree-like structure, select "Net- the end of a shift. Thus, for example, it is possible to
work environment > Computer > Connected WinCC provide automated reports for management with
Database" e.g., (Runtime Database). You can search for statistics and analyses of current and archived data.
available WinCC servers and active databases without For more information, see WinCC/DataMonitor option.
prior knowledge of the plant structure.
5. You now have online access to all current and archived
process values and messages of the connected WinCC
servers, swapped archives, on the long-term archive
server and WinCC/CAS.
For visualization and evaluation, WinCC/DataMonitor of-
fers a number of Internet-capable tools. For example,
with the Web center, you can set up a central informa-
tion portal for WinCC data on an intranet or the Internet.
6. In the Web center, assign process values and messages
to the available Web objects, such as trend windows or
message windows. Define your own Web page layout
and assign to it any Web objects you wish, for example,
time frame and value axis, which you can configure indi-
vidually.
2.1.4.6 Thin clients ● Mobile clients with limited power consumption can be
used as thin clients; these include SIMATIC Mobile Pan-
Definition els Wireless as well as handhelds, palmtops, PDAs,
Up to 25 devices with minimal hardware configurations (thin Pocket PCs, and Smartphones.
clients) have simultaneous views of up to 12 different
● Different operating systems are supported: Windows CE
WinCC server projects.
(in SIMATIC ThinClients, for example), Windows Mobile,
Windows XP, Vista, etc.
Requirements on the terminal server ● All applications are located on the terminal server in a
● WinCC/WebNavigator server and client option self-contained environment.
● Microsoft Internet Information Service IIS ● Easy central administration on the terminal server
● Microsoft Terminal Services
Introduction
WinCC uses Windows Server technology exclusively: Structure
Terminal Services of the Windows Server operating system
enables multiple terminal clients to remotely access the To build a terminal system, proceed as follows:
desktop of a computer that supports terminal services, on
which an application such as Microsoft Word is running. 1. Install WinCC/WebNavigator server and IIS on a WinCC
client with its own WinCC project, WinCC server, or sin-
With Terminal Services, only the user interface of an appli- gle-user system.
cation (such as Microsoft Word) is presented at the terminal
clients. This saves computer resources. The application 2. With the wizard for Windows components (no knowledge
itself runs only on the terminal server, not on the terminal of Web servers required), activate Terminal Services.
clients. The terminal client keyboard inputs and mouse op- 3. Now, when you install the WinCC/WebNavigator client,
erations are returned back to the server for processing. you create a terminal server for WinCC projects in Inter-
WinCC and the WinCC/WebNavigator server are installed net Explorer. Alternatively, you can also use the WinCC
on the terminal server. The WinCC WebViewer (WebView- WebViewer (WebViewerRT) SmartTool, which is in-
erRT) is an optimized terminal client. In the same way as stalled with the WebNavigator client. This is a display
described for Microsoft Word, the WinCC/WebNavigator program only for Web projects with their own Web com-
client runs on the terminal server. The munication that works without Microsoft Internet tech-
WinCC/WebNavigator client has already been created with nology and is therefore an extremely thin terminal ser-
"Thin" architecture and has minimal hardware requirements. vices application. It also satisfies the stringent require-
Thus, many terminal clients are possible on different ments of customer IT, which has not approved Internet
machines on which the WinCC/WebNavigator client itself is Explorer for security reasons (e.g., viruses and Trojan
not or cannot be installed, such as Windows CE machines. horses).
4. In Control Panel, open "Computer Management" and
Application
create Windows users and user groups for access via
In contrast to typical WebNavigator installations, thin clients
terminal services.
are located on the same network as the terminal server.
However, the following can also be accessed: 5. On any Windows machine with intranet/Internet access,
● Wide Area Network WAN, for example, on provider establish a remote desktop connection to the terminal
networks server. This creates a terminal client with no additional
installation required.
● Remote Access Service RAS for homeworking and
telecommuting
After successfully logging on, the operator then launches
● An intranet and the Internet Internet Explorer or the WinCC WebViewer (WebViewerRT)
Terminal Servers have the following advantages: on the terminal server on the terminal client and can then
● Rugged hardware with minimal memory requirements perform operator control and monitoring functions with the
can be used as thin clients, including machines with no WinCC project.
fan or hard disk operating in a dusty environment
(SIMATIC ThinClients, for example).
SIMATIC WinCC System Description
18 A1900-L531-B996-X-76001, 09/2008
Process visualization with SIMATIC WinCC 2.2 Efficiency
2.1.4.7 Plant Intelligence ters to evaluate production data such as orders, genealogy,
and batch data.
Definition
Plant Intelligence comprises the following WinCC options:
WinCC Plant Intelligence links the SCADA level with the
Manufacturing Execution Systems (MES). As the central ● WinCC/DataMonitor: display, analysis, evaluation and
integrators, the Manufacturing Execution Systems supply distribution of current process states and historical data
real-time data from production to the Enterprise Resource on any office PC with Internet-capable tools
Planning (ERP) system. MES is as essential for industrial ● WinCC/DowntimeMonitor: recording of downtimes in
manufacturing as ERP for the commercial and operational machine-oriented or line-oriented production plants and
planning and logistics processes. The greatest benefit can analysis and derivation of plant-specific parameters
be derived from these two system landscapes only when ● WinCC/ProcessMonitor: management information
they are integrated. system and online quality analysis tool for calculating
Process visualization systems, enhanced with Plant Intelli- customer-specific parameters
gence, create more transparency in production. More trans- ● WinCC/IndustrialDataBridge: linking of external data-
parency means intelligent and efficient acquisition, archiv- bases, office applications, and IT systems
ing, compression, evaluation, and distribution of production ● WinCC/ConnectivityPack and WinCC/ConnectivitySta-
data. tion: access for other applications to the WinCC archives
or to current process values and messages via OPC or
Application OLE-DB
Increasing the degree of automation no longer results in
appreciable increases in efficiency. Rather, increased
efficiency results from the ability to utilize and correlate all
2.2 Efficiency
the different types of data that are produced within a com-
pany with the objective of optimal use of all resources. 2.2.1 Overview
The resulting continuous flow of data between production, Requirements
planning, and the control system provides key competitive Higher production speed, better plant integration, and the
advantages: greatest reliability around the clock are key challenges for a
● Real-time, targeted process optimization company's management. At the same time, due to ever
● Time-saving, targeted synchronization higher costs, productivity must be increased and lifecycle
costs reduced. This makes it necessary to continually
● Simplification of production sequences optimize processes in order to improve competitiveness in
● Flexible production the long run.
● Efficient resource planning and use of production Increased efficiency has been achieved through an increase
capacity in the degree of automation. Today, however, it is essential
● Traceability, quality assurance, and sustainability to be able to utilize and correlate all the different types of
data that are produced within a company with the objective
Structure of optimal use of all resources (Plant Intelligence). A critical
role in this strategy is played by process visualization
systems, which must meet the following requirements:
● Easy operation
● Clear and efficient application in the engineering phase
● High availability and safety during plant operations
Solutions
● Tag Management for process communication
● WinCC Explorer as the main operational center of the
project
● Graphics Designer for creating process pictures
● Text Library and Text Distributor for
configuring multilingual projects
Figure 23 WinCC with Plant Intelligence ● User Administration for assigning access rights, locally
or via an intranet or the Internet
With the integrative "Plant Intelligence" expansion, Siemens
● The message system for configuring the alarm and mes-
provides a complete, scalable solution from a single source
sage system
- from the machine to the corporate level. SIMATIC IT
makes it possible to upgrade seamlessly from a cost- ● The archive system for configuring process-value and
effective, powerful, WinCC-based entry-level version to a message archives
comprehensive optimization solution on the MES level. ● Reporting and logging system for configuring line-
SIMATIC IT is able, for example, to correlate and analyze oriented and page-oriented logs
parameters such as key performance indicators (KPI) ● User archives for archiving user-defined data records
across multiple plants and can then also use these parame- (see WinCC/User Archives option)
2.2.2 Project management with WinCC The WinCC Explorere shows the configured process pic-
tures hierarchically in the directory tree, along with the in-
Explorer stalled options. Thus, WinCC Explorer provides the central
project overview and ensures efficient project creation. With
Introduction the push of a button, you can switch the display language of
WinCC Explorer is the main operational center of the project the entire configuration interface, including the online Help,
that provides a integrative engineering environment for from one of the installed languages to another (for example,
accessing all WinCC components. It is used to define cen- from English to Spanish).
tral project settings and displays all editors in the basic
system with their objects.
Object-oriented and modular
All relevant configuration data is stored in a WinCC project.
WinCC has a continuously object-oriented, modular struc-
ture. Objects (such as picture objects) and tags are inter-
connected during configuration, e.g., Process Picture >
Picture Object > Tag > Event. This object-oriented, modular
approach makes the following possible:
● Linking of objects (e.g., tag to picture object) via drag-
and-drop
● Finding and replacing of objects
● Diagnostics on objects via ToolTips, for example, with
online information about tags and communication links
(see "Unrestricted process communication")
● Object editing with the most important commands in a
context menu
● Clear representation of objects with object properties
In all editors, you can configure online during active runtime. Central design
WinCC Explorer offers the following functions:
● Creation and modification of WinCC projects
● Project configuration: single-user systems, multi-user
systems, distributed systems
● Central properties of participating PCs: WinCC client or
WinCC server, name of PC, time basis, language
settings, design, color palette
● Runtime settings: startup list for runtimes, debugger, and
other programs such as Microsoft Excel
● GraphicsRuntime settings: runtime language, start
screen project- or sector-specific menus and toolbars
with picture navigation, windows, hotkeys
● Management of project data and archives
● Project copying or duplication with Project Duplicator
● Project activation and deactivation
● Project documentation printout
● Switching of entire WinCC interface including online
Help to another language with the touch of a button (see
"Ready for worldwide use with multilingual capability")
The status bar shows the following information:
● Number of configured PowerTags compared to the
number of tags covered by the license
● Number of objects of the selected editor, for example,
the number of pictures in Graphics Designer
Introduction
The graphics system of WinCC processes all inputs and
outputs on the screen during runtime. The process pictures
that you use for the visualization and operation of your plant
are created with WinCC Graphics Designer. Whether you
are dealing with simple operator control and monitoring
applications or complex control tasks, with WinCC stan-
dards, you can create individually configured operator inter-
faces for each application – for reliable process control and
optimization of the entire production sequence.
● Vector-oriented, object-oriented JPG, JPEG, PNG, EMF, or via OLE. In addition, the WinCC
● Work environment, e.g., toolbar and palettes can be Media control also plays the streaming formats ASF, WMV,
customized, including with VBA AVI, MPG, MPEG, MP4, QT, and MOV.
● Automated configuration with VBA (see "Openness and
integration")
● Palettes for font, style, and color selection
● Object palette and tag palette
● Default objects, Smart objects, Windows objects, and
controls
● Alignment, centering, distribution
● Positioning, grouping, nesting
● Scaling, rotating, mirroring
● Zooming, panning, decluttering
● Shape, appearance, visibility of picture objects
● Coordinate systems, grids, connectors
● 32 picture levels can be shown or hidden
● Block library, project library, function library Figure 32 WinCC Media control
● Faceplates (picture objects that can be modified cen-
trally) 2.2.4 Object-oriented configuration
User objects
A user object is a group of picture objects with self-defined
interfaces that is stored in the project library for reuse. When
you use a user object in a process picture, a copy of the
original is created.
In the Configuration dialog, you define the configurable
Figure 31 Free scaling
properties and event of the user object using the point-and-
click functionality, with no programming involved. Example:
The following are some of the techniques that support visu- myBackgroundcolor = Circle1.Backgroundcolor +
alization of a process picture in runtime: Square2.Linecolor. Just as with any other picture object,
● Decluttering: showing/hiding of layers and the picture these self-defined interfaces of the user object can be made
objects they contain based on the zoom factor. Example: dynamic in Graphics Designer using a drag-and-drop opera-
show level 8 "Basic view" with a zoom factor between tion.
2% and 800%; show level 9 "Detailed view" with a zoom
factor between 150% and 800%. Faceplates (picture objects that can be modified centrally)
● Extended zooming: zooming in and out of process pic-
ture with the mouse wheel. Prerequisite: mouse driver by WinCC supports building-block configuration. With this
Logitech or Microsoft IntelliMouse. Picture objects are technique, any picture objects can be grouped into a
specific new user object, in which only the interfaces that
shown or hidden based on the zoom factor. You specify
are relevant for the process link can be seen from outside.
how big picture objects must be in order to be shown (for
These faceplates are centrally generated, managed, and
example, minimum 10 pixels, maximum 1,000 pixels).
stored in the project library. Central changes to the faceplate
● Panning: using the mouse to move and scroll a section are automatically applied to all places of use (faceplate
of a large process picture in the window. instances).
Graphics Designer enables picture-in-picture display: pic- This allows you to add additional functionality to an existing
tures that show other process pictures in the current proc- faceplate, for example, and as a result, thousands of face-
ess picture. Moreover, externally edited text and graphics plate instances used in the project would then be modified
can be embedded in various formats: BMP, animated GIF, automatically the next time the process pictures are opened.
Predefined properties You have several options for creating dynamic elements,
Whenever many picture objects in a complex process have which you can then modify centrally in the Linking dialog
the same picture properties, you define the picture proper- (see "Configuring complex projects").
ties once and use them as customized default settings for
your project. You can export and import default settings in
projects.
Instead of assigning actual colors, such as "yellow", you
work with color indices ("1=yellow"), which you save in a
color palette. If you then change the color palette for a
customer-specific design (for example with "1=green"), this
changes all graphical elements from yellow to green.
Symbol Dynamization
White light bulb Not dynamized
Green light bulb Dynamized with a tag
Red thunderbolt Dynamized with a Dynamic dialog
Blue thunderbolt Dynamized with a direct connection
Green thunderbolt Dynamized with a VBScript action
with "VB" attached
Green thunderbolt Dynamized with a C action
with "C" attached
Yellow thunderbolt Dynamized with a non-compiled C
with "C" attached action
The Text Library allows you to manage the language-depen- The exported .csv files can be edited and translated in Excel
dent text of your project (for example, from the message or in a text editor, for example.
system) centrally in a clear tabular format. From Graphics
Designer, however, the Text Library only stores text from After the export or import, a dialog appears displaying a list
the configured text lists. Each text contains a unique ID, of all export or import procedures. You can filter this list
which is used to reference it in WinCC. You enter translated according to the following criteria:
text directly in the language columns. You can also access ● Export or import successful
all text stored in the Text Library with WinCC Excel Configu- ● Warning
rationTool (see "Configuring complex projects"). When the
● Read error during export or import
operator switches the runtime language, the text switches in
accordance with what is stored in the corresponding lan- ● Information about objects that do not contain language-
guage column. dependent text
● Communication links and parameters With the WinCC Archive ConfigurationTool, you can carry
● 20,000 internal tags, 40,000 process tags out your configuration outside of WinCC, even when WinCC
and structure tags is not installed. However, if a WinCC project is open, the
Tag Selection dialog with multiple selection is available in
● Message archives with 10,000 individual messages Microsoft Excel.
● Process-value and compression archives with 40,000
archive tags The process value archive created in the WinCC project can
only be edited in Microsoft Excel. You can change all prop-
● Text Library with 80,000 texts erties of the archive or of individual archive tags and selec-
tively apply these changes in the WinCC project. Before
they are applied, they are checked for consistency before it
is applied to the WinCC project.
All dynamic instances of the process picture are filtered or Example: "Tank" is replaced with "Fill container":
listed as a statistic (see "Intelligent configuration"): _TemperatureTank_1 -> _TemperatureFillContainer_1
● Dynamization statistics _MotorTank_1 -> _MotorFillContainer_1
_Tank_2 -> _FillContainer_2
● Connected tags, scripts and functions Directly to the places of use, (for example, switch
● Direct connections directly to the picture) to display and change them.
● Dynamization via a Dynamic dialog ● Search for places of use of deleted process tags to
change or delete the places of use. For example, non-
In WinCC Explorer, you can search for the following ele-
existent tags that are used in output fields or trend
ments with wildcards and according to change date:
displays indicate a possible configuration error.
● WinCC client PC
● Unused process tags can be deleted to conserve WinCC
● WinCC server PC RT licenses.
● Communication links
If you deactivate the "Automatic update" feature, inconsis-
● Communication channels tencies between the cross-reference list and your configura-
● Tag groups tion are displayed. You can use this to display the differ-
● Tags ences in a "frozen" cross-reference list of an older project
compared to the current configuration status.
Linking
In the Linking dialog, you change all tag connections
centrally using the point-and-click functionality, for example,
directly in Graphics Designer. The "Link texts" command is
used to change all the configured picture object texts.
2.2.10 Configuring control Group displays can also be used in process pictures, con-
figured according to user requirements via object properties,
systems and linked irrespective of the picture hierarchy. The group
display is controlled by a process tag that represents the
Definition message status with a total of 16 message types.
Basic Process Control (BPC) is
included in the WinCC basic The message system is conveniently displayed in a mes-
system and provides additional sage window in which you can switch between the different
configuration tools for implemen- message lists (for more information, see "Message
ting typical control tasks. system"):
● New messages that have not yet been acknowledged
Application ● Acknowledged messages that have not yet gone out
With BPC, you benefit from a whole range of control func-
● Control system messages
tions from power plant technology, process engineering, and
process control for your configuration. The control system is ● Operator input messages and system messages
generated automatically and helps you create an efficient ● List of hidden messages
configuration.
The Split Screen Manager manages the individual picture
Structure composition and saves each change made to a basic pic-
ture in a dedicated picture history.
When selecting a picture, the operator has the following
options:
● Group display
● Picture memory
● Navigation in the picture hierarchy
● Names with picture preview
● Measuring point
● Alarm source (Loop-in alarm)
OS Project Editor
The OS Project Editor is only necessary if you want your Time Synchronization
configuration to differ from the default settings or if you are Time synchronization is configured for automation systems
creating a new project in WinCC with Basic Process Control: (AS) and WinCC over the Industrial Ethernet bus/plant bus
● On the "Layout" tab, you configure the appearance of and for Operator Stations (OS) over the local area net-
the runtime user interface. work/terminal bus. An OS is the active time master and
receives the current time of day, for example, by means of
● On the "Message Configuration" tab, you configure set- the optional time signal receiver (Siemens DCF77 receiver,
tings for the message system. The basic settings corre- SICLOCK, or Siemens GPS receiver). A time slave receives
spond to the specifications for message configuration. the current time and synchronizes its internal clock. If a time
● On the "Message Display" tab, you configure the master fails, a standby time master that supports both
message pages, group displays, and message filter. master broadcast (time master transmits time signals) and
● On the "Areas" tab, you configure the overview of plant time polling (time slaves request time) takes over the task of
sections. time synchronization.
● On the "Runtime Window" tab, you configure the number
and arrangement of the pre-configured picture windows. Horn
A customized screen arrangement can be saved and The "Horn Editor" is used to control optical or acoustic
displayed for each user. sensors or output sound files to sound cards whenever a
● The "Basic Data" tab specifies, among other things, message from a specific message class, type, or priority
whether basic data such as individually modified process comes in.
pictures and actions should be retained during automatic
generation. The plant sections of all server projects are The WinCC option package includes a signal module with a
displayed in the overview of the basic data picture. If a watchdog to which you can connect up to three different
WinCC server fails, all associated plant sections are signaling devices (horns, buzzers, and lamps) as well as a
highlighted. hardware acknowledgment.
Special features
Basic Process Control is also released for Web clients that
are used as WinCC clients via WinCC/WebNavigator:
● Simultaneous access to several WinCC servers
● All message views, including loop-in alarm
● Access rights for specific plant sections
● User-specific start screen and runtime language
Figure 49 Picture Tree Manager ● Support of operator messages
● Look&Feel of the WinCC user interface with group dis-
play and extended status display
Definition
With SIMATIC Logon included in WinCC, you can adminis-
ter users and user groups throughout the entire plant,
across all applications, and online on different systems such
as single-user systems or distributed client-server systems.
SIMATIC Logon uses state-of-the-art Microsoft Windows
security technologies:
Definition
SIMATIC WinCC records process messages and local
events, saves them in message archives, and displays them
filtered or sorted, as needed. The message structure can be
defined as required and can therefore be customized for the
special requirements of the plant.
Microsoft SQL Server, which guarantees seamless acquisi-
tion of all events, is used to archive messages. The archiv- Figure 53 Message System Editor
ing procedure is described in "Archive system".
To configure a message system that uses the bit message
Messages are triggered by message events: procedure, employ the Message System Wizard or proceed
● Predefined system message triggered by a system event as follows:
● Single message or group message on change of proc- 1. Point and click to customize a message based on ready-
ess status made information blocks, or message blocks:
● Operator message on manual manipulation of control – System blocks contain system data such as the date
objects and time. Other options: Priority, triggering CPU/AS
or PC, user name, loop-in alarm, message status
("came in/went out", acknowledgment status "ac-
knowledged/not yet acknowledged", time between
"Incoming" and "Outgoing" or "Acknowledged".
– Process value blocks contain a current process value – If necessary, define the status tag, acknowledgment
(such as fill level or temperature) at the time the tag, and lock tag for the entire group of messages in
message occurs: up to 10 process values can be one message class (message group). In this case,
configured. the status tag will indicate whether at least one mes-
– Up to 10 customized user text blocks containing per- sage in the message class has come in or gone out
sonalized text up to 255 characters in length. Exam- (group message). Group messages increase the
ples: Message with fault location and an infotext that transparency by signaling that there is generally a
can be displayed, for example, to indicate the higher problem (with motors, for example) as long as at
level designation of item (HID) or to provide informa- least one message from the message class "Motor"
tion about the cause of a fault. These text blocks is present. If necessary, you can use the acknowl-
provide a clear system overview and are useful edgment tag to acknowledge all individual messages
during runtime analysis because they allow the op- that belong to the group message.
erator to perform tasks such as filtering for all mes- – If necessary, configure loop-in alarm: In the mes-
sages from a specific plant section (fault location). sage, you place a process picture, which the user will
You can add additional information to these text select in the message window.
blocks: a current process value from a process value – The "Message is archived" option is selected by de-
block, PC name, application name, user name, fault (see "Archive system"). With this option, the
comments in the long-term archive list. messages appear in the long-term and short-term
archive lists in the message window.
2. For similar messages, specify the properties in a user-
defined message class , for example, "Fault requiring – Configure analog alarms for limit monitoring in a
acknowledgment": Configuration dialog: For a tag, store up to 256 limit
values for monitoring. If the tag exceeds one of these
– Subdivide the message class into message types, limit values (for example, 200), a message such as
such as "Alarm" and "Warning". Each message type the following is displayed in runtime: "The tank tem-
is assigned its own color scheme consisting of a font perature has exceeded 200".
and background color for "Incoming", "Outgoing",
and "Acknowledged". Each message type in turn can Alternatively, you can specify that the message will
include up to 16 message priorities. only be issued if a limit value has been violated
within a definable delay time. This will prevent a
– Acknowledgment philosophy specifying how mes- message overload from occurring when an extremely
sages are handled: Single message, initial value sensitive sensor constantly responds.
message (only the first message in the message
class flashes), new-value message (operator mes-
sage on change of value), with/without acknowledg- 2.3.4 User-friendly message view
ment (initial acknowledgment) or "went out" acknowl-
edgment (second acknowledgment), with/without Introduction
"went out" status, with/without flashing. Messages in runtime are displayed in the user-defined
WinCC AlarmControl (message window), which you insert
You can connect a central signal device, such as an into a process picture and configure by means of a Configu-
optical or acoustic sensor. An incoming message ration dialog:
from a given message class triggers the signal de-
vice. The signal device is acknowledged with the ● Window properties: Font, color, design
single message or via a separate button. ● Server selection
– Status text for message status and acknowledgment ● System blocks and process value blocks
status in the message list, archive list, and lock list ● Toolbar containing available buttons, for example
(for example, incoming = CFlt, acknowledged = QS). ● Status bar showing current information
– The message status (1 bit) and acknowledgment All WinCC controls supplied with WinCC V7.0 and later
status (1 bit) of up to 16 individual messages can be generally offer the following options:
recorded in one status tag. The acknowledgment
status (1 bit) of up to 32 individual messages can be ● Operators can use the Configuration dialog to customize
recorded in one acknowledgment tag. WinCC controls in runtime according to their needs. This
includes filtering, selecting, or sorting the display based
– The standard classes already included are the mes- on individual message blocks (for example, chronologi-
sage class "Fault" and the two default system cally or according to message priority or fault location).
message classes "System requires acknowledg- Settings can be stored globally or specifically for each
ment" and "System without acknowledgment". operator.
3. Configure individual messages, en masse in table format ● Export displayed data as text files ( .csv files in runtime).
or individually in the Configuration dialog: ● Print displayed data in report format by means of a pre-
– Assign message group, message class, message defined print job (see "Reporting and logging system").
type, message priority using the point-and-click func- ● Configure buttons with their own project-specific func-
tionality. tions on the user-defined toolbar.
– Specify message text and infotext. ● Create symbolic representations of statuses and infotext.
– Connect message tags, as well as the optional status ● Scroll up or down in the displayed lists.
tags, acknowledgment tags, and process tags. The
Interconnection Wizard connects WinCC tags as ● Connect/disconnect swapped archive databases online.
message and acknowledgment tags. ● Protect operator input by means of access rights.
WinCC AlarmControl, which you are familiar with from pre- Additional functions:
vious versions, is still available. ● Filtering of messages using message blocks as the filter
criterion and SQL instructions, saving of individual filters
WinCC AlarmControl for each user, linking of filters, also in runtime
● Sorting of messages according to date, tag, device, and
maintenance message, also in runtime
● Automatic generation of an operator message whenever
the operator locks, unlocks, acknowledges, hides, or
shows a message (see Special features)
● In the message sequence log, chronological documenta-
Figure 54 Message window for displaying current and tion of messages and output of all status changes to a
archived messages printer
● Printout of selected messages by means of a predefined
The message window shows the following basic elements:
print job (see "Reporting and logging system")
● Each message in a separate message line
● Message status and color scheme according to the
Special features
configured message class and message type
● A message group can be expanded and customized for
● Selected message blocks, each in a separate column
specific users by adding any number of individual mes-
A message window contains six different lists, which are sages and additional message groups. This creates a
selected via the toolbar: message hierarchy, in which a collective message
● Message list shows the currently queued messages consists of group messages, which themselves are
made up of group messages and individual messages.
● Long-term archive list shows the archived messages
("Message is archived" option; see "Message system"). ● The Message System Wizard supports you in configur-
Operators can add comments to each archived mes- ing the message system. The Message System Wizard
sage. generates a message system in all installed languages
in the Text Library with frequently used message blocks
● Short-term archive list shows the archived and current and message classes, which you can then customize as
messages needed.
● Hit list shows statistical information ● AlarmHiding: You can hide non-essential messages
● Lock list shows locked messages (see Special features) such as operational messages to prevent the operator
● List of messages to be hidden shows the hidden from being subjected to an information overflow in
messages (see Special features) instances of high message traffic. Hidden messages are
still archived in the background, but are not displayed.
The hit list contains the archived messages each with its Outgoing messages that require acknowledgment are
own filter and sort order, a limited selected of message acknowledged by the system.
blocks for each message, and the following statistical Manually hidden messages are shown again after a
calculations: specified time; they can also be displayed by the opera-
● Frequency of occurrence of a given message tor at any time. Automatically hidden messages are hid-
● Cumulative and average time between den and shown according to the plant status by means
"Incoming message" and "Outgoing message" of a "hide mask" on a tag.
● Cumulative and average time between ● Messages can be locked and unlocked: When you lock
"Incoming message" and initial acknowledgment individual messages, message types, message classes,
and group messages, you suppress the display and
● Cumulative and average time between
archiving of messages, for example, relating to a known
"Incoming message" and second acknowledgment
but not yet eliminated fault or a sensor that responds
continually. WinCC supports active locking (in an auto-
mation system, for example) and passive locking in the
WinCC "Alarms" runtime database.
● You can integrate system messages from various
WinCC components into the message system for addi-
tional processing, for example.
● You can configure messages for complex projects
quickly and easily in Microsoft Excel using the WinCC
Excel ConfigurationTool.
● Configure the loop-in alarm feature any way you like:
When configuring a message, add a function of your
choice (for example, "OpenPicture") and pass a parame-
ter of your choice (for example, the process picture to be
selected). When an operator activates the loop-in alarm
for a selected message in the message window, the
stored function is executed; in this example, the process
Figure 55 Filtering messages picture is selected.
● After a power failure, the last 60 messages, for example, ● STEP 7 block call command (integrated configuration
can be reloaded from the message archive to the with STEP 7): In runtime, you jump directly to a STEP 7
message window. Thus, when the system is restarted, "LAD/FBD/STL" editor for the connected program block
the last message map prior to the power failure is recon- and then back to WinCC. The focus is placed automati-
structed. cally on the STEP 7 symbol associated with the process
● With the WinCC/DataMonitor option, you can analyze tag.
current and archived messages via an intranet or the Along with the integration of E-Plan data in a WinCC
Internet. control, comprehensive error diagnostics can be per-
● With the WinCC/ConnectivityPack option, you can filter formed on the circuit diagrams of the PLC program with-
current or archived messages and pass them on to the out lost time spent referencing charts.
higher-level production level and corporate management ● STEP 7 diagnostic call command (integrated configura-
level (MES/ERP) via the WinCC OPC A&E Server tion with STEP 7): From a WinCC process screen, you
(Alarms & Events). There, the messages can be ana- jump directly to STEP 7 hardware diagnostics for com-
lyzed and even acknowledged. prehensive error diagnostics from circuit diagrams right
up to the start of the PLC program.
2.3.5 Diagnostics system To this end, the STEP 7 "Perform hardware diagnostics"
function is called for the associated controller following a
Definition user-defined event.
In a complex automation system, diagnostics encompasses ● Automatically generated S7 system diagnostic mes-
both system and process diagnostics. System diagnostics sages from the automation system can be represented
finds errors within the automation system: in WinCC as multiple-line message text in ToolTips
● Programming errors (even without installation of STEP 7).
● Memory errors ● Diagnostics of the communications link via expanded
● Communication errors WinCC Channel Diagnosis (see "User-friendly commu-
nications diagnostics")
● Module failure
● The WinCC/ApDiag application diagnostics program
Process diagnostics finds errors within the plant process: provides support for runtime diagnostics of script errors
● Interlock not fulfilled and performance problems (see "Openness and Integra-
● Runtime errors on control valves tion").
● Motor contactor triggered
Related functions:
● Limit switch error
● With the WinCC/ProAgent option, you can create high-
Application performance process diagnostics for error localization
Extremely high availability is only possible if errors and and elimination in S7 automation systems with no addi-
faults can be quickly and safely localized and eliminated. To tional configuration overhead required.
avoid long downtimes, automation solutions must be trans- ● The SIMATIC Maintenance Station options displays
parent and manageable. The diagnostic options available in multiple-vendor servicing and maintenance data and
the event of errors determine the productivity and lifecycle automatically generates diagnostics screens, thereby
costs of the plant. reproducing the hierarchy of the WinCC process
pictures. This allows for early detection and elimination
Structure of potential faults.
● Besides checking the access point, the "Set PG/PC
Interface" application tests the communications proces-
sor, in SIMATIC NET as well.
Storing messages in the archive An event occurs whenever a connected tag or ANSI C script
All messages with the "Message is archived" option are has a value of "1" or "TRUE". With binary archive tags, you
placed in the message archive, where additional comments can also indicate the signal change, upon which the process
can be added (see "Message system"). value is archived, for example from 0 to 1. With analog
archive tags, you can influence the archiving in the following
All values of a process tag that is assigned to a process additional ways:
value archive are stored internally in archive tags on a
continuous basis: ● Hysteresis for cyclic archiving, absolute or as a percent-
age. A process value is archived whenever its value
● An analog archive tag stores numerical process values, changes by at least a certain percentage (for example,
such Fill level. 10%).
● A binary archive tag stores binary process values, such ● Lower and upper limit: A process value is only archived if
as Motor On/Off. it lies between a given lower and upper limit.
● A compression tag , for example, stores the average ● In the case of cyclic archiving from all process values
value of the last 60 process values each minute. that were read out from the process tag during the pe-
● A process-driven tag stores raw data, such as a meas- riod between acquisition and archiving, an processing
urement series of process values. function calculates a specified value. This can be the
average value, the cumulative value, the minimum or
In order to acquire a measurement series comprising many
maximum value, the most recent value, or a value calcu-
measurement points or quickly changing process values, a
lated by means of a function. This processed value is
message frame of raw data is transferred from the automa-
then archived instead of the acquired process values.
tion system to WinCC and archived in a process-driven tag.
Example: Time stamp, data type, one or more process Reducing data volume by compression: Example: Every
values of one or more process tags, upper and lower limits minute, a processing function calculates the average value,
for acquisition and archiving. Because the message frame for example, of the 60 process values that were processed
can have varying structures (for example, it is also used by at a rate of one per second. These calculated values are
S5/S7 functions), a special standardization DLL breaks archived continuously in a separate compression archive,
down the message frame into individual process values. internally in a compression tag. You choose whether the
archived process values should be deleted, copied to the
In the WinCC basic system, up to 512 archive tags can be
compression archive, or moved following compression.
configured. PowerPacks allow an expansion in the final
structure of up to 120,000 archive tags in the central archive
server (see WinCC/Central Archive Server option). Data output
Archived data can be output in runtime:
● Process values in WinCC OnlineTrendControl and
Timing
WinCC OnlineTableControl (see "User-friendly display of
Messages are archived on so-called message events (for
tables and trends")
example, "Incoming message" or "Message acknowl-
edged"). Process values are archived cyclically or on an ● Statistical evaluation of process values in WinCC
event-driven basis, depending on the archiving method: RulerControl
● Process values in F(x) representation in WinCC
Archiving Parameters Meaning FunctionTrendControl
Continuous Archiving Cycle in which the process ● As hard-copy archive logs (see "Reporting and logging
cyclic: cycle = value is stored in the process system")
control of integer value archive. ● Messages in the message window (see "User-friendly
the process multiple of message view")
value the acquisi- Cycle in which the process
Special features of the process value archive
tion cycle value is read from the AS.
● The "Tag Logging Fast" short-term archive stores proc-
Continuous Start event Starts the process-value ess values whose archiving cycle is less than or equal to
selective: archiving cycle, for example, a definable threshold (for example, <= 1 minute). You
control of when the sun shines. can also archive process-driven tags (raw data) and
the process Stop event Ends the process-value acyclically acquired process values here. The process
value within archiving cycle, for example, values are first compressed and stored in a binary file.
an event- when it rains or the sun no When a specific file size is reached, they are then trans-
driven longer shines. ferred to the short-term archive.
period Archiving Cycle in which the process ● The "Tag Logging Slow" short-term archive stores proc-
cycle value is to be stored in the ess values whose acquisition cycle exceeds a threshold
process-value archive. of 1 minute, for example. The process values are written
directly to the short-term archive without first being com-
Acyclic: Event The process value is archived
pressed.
control of when the event occurs, for
critical example, when a given tem- ● You can also store process value archives in the main
events perature is exceeded. memory. The advantage of this is that process values
can be written to and read very quickly. Disadvantage:
Acyclic: Value The process value is archived Process values archived in the main memory are deleted
status change each time a change occurs. as soon as runtime is over and are not saved to a
changes backup archive.
● The Archive Wizard creates preconfigured process-value ● Window properties: font, color, design
archives and compression archives. ● Server selection
● All settings and parameters can be specified not only for ● Representation of process values: tables, trends, axes,
one archive tag, but also as default settings for the type etc.
as a whole, for example, binary archive tags. Each newly
added binary archive tag will then be configured with the ● Toolbar containing available buttons, for example
default parameters. ● Information on the status bar
● To avoid archive spikes and distribute the archiving load
evenly, archiving timing within the archiving cycle can be
WinCC controls
adjusted on a case-by-case basis.
All WinCC online controls and trend controls supplied with
Special features of the message archive WinCC V7.0 and later generally offer the following options:
Configuration data and runtime data are stored for each ● Operators can use the Configuration dialog to customize
message: WinCC controls in runtime according to their needs.
● Message status Settings can be stored globally or specifically for each
operator.
● Time stamp, time difference with respect to "Incoming"
status ● Export displayed data as text files (as .csv files in run-
time).
● Name of PC, application, and user
● Print displayed data in report format by means of a pre-
● Message class, message type, message priority
defined print job (see "Reporting and logging system").
● Configured message text and colors
● Configure buttons with their own project-specific func-
● Loop-in alarm tions on the user-defined toolbar.
Therefore, if you do subsequently modify the configuration ● Modify the data connection in runtime and represent
data, the archived message data remains unchanged. other tags, archives, and backup archives.
Because the entire message context was archived along ● Connect and disconnect swapped archive databases
with the message itself, archived messages are always online.
displayed in their original format, for example, with the
● In a process value archive, scroll forward or backward or
archived message type and color.
skip to the start or end of the archive.
● Display statistical functions such as integrals.
Special features of the archive system
● Protect operator input by means of access rights.
● You activate the file signature to prevent subsequent
changes from being made in a swapped backup archive. WinCC online controls and trend controls that you are famil-
● A configured alternative path for the backup archive is iar with from previous versions are still available.
used if a backup medium is occupied or unavailable (for
example, due to a power failure). In this case, system
messages are issued accordingly, if configured. WinCC OnlineTableControl
● To access the data of an already swapped backup ar-
chive in runtime, connect the backup archive to the pro-
ject, for example, in the Archive System Editor, online in
the WinCC controls, or automatically in runtime via
VBScript, or by placing the backup archive in the direc-
tory "<Project>\CommonArchiving". The archived values
are inserted in a configured table and trend in runtime
according to your time stamp.
● All swapped WinCC archives can be accessed via the
WinCC/DataMonitor and WinCC/ConnectivityPack.
● The WinCC/ConnectivityPack option gives you direct
access to archived process values and messages
through interfaces such as WinCC OLE-DB Provider.
● The WinCC/ODK (Open Development Kit) option pro-
vides additional access options.
Introduction
Process values in runtime are shown in WinCC-Controls
OnlineTrend, OnlineTable, Ruler, and FunctionTrend, which
you insert into a process picture and customize via Configu- Figure 59 Table window
ration dialogs:
The table window features the following basic elements: ● Any number of trends that display a process value for
● A time column with specified times (either static or each point in time: archived values of an archive tag
dynamic) at which one or more process values are dis- from the process value archive, online values of a
played. process tag from tag management, or runtime data from
a linked script.
● An assigned value column that displays a process value
for each time: archived values of an archive tag from the ● Display of multiple trend windows
process value archive or online values of a process tag
from tag management. You can link multiple trend windows in order to compare
process values, for example. Trend windows linked in this
You assign several value columns to a time column using way will then share the same zoom function, scroll bar, time
point-and-click functionality. You configure several time axis, and ruler.
columns each with different value columns.
Each trend window is made out of individual objects that you
There are three ways of specifying the times: combine using point-and-click functionality:
● Start time and finish time (for example, 14:59:01 to
14:59:30) 1. You assign multiple time and value axes to one or more
● Start time and time period (for example, 14:59:01, 6 x 5 trend windows and configure rulers and grid lines.
seconds) 2. You can configure as many trends as you wish for each
● Start time and number of measuring points (for example, trend window.
14:59:01, 30 measuring points)
3. When doing so, you can select specific time and value
Static means that times cannot be changed and must re- axes for each trend or apply the same ones to multiple
main exactly as configured (for example, starting at trends.
14:59:01). Dynamic means that the times are calculated
back from the current system time. In this example, it is 4. You also select specific trend, line, and point type, as
always the last 30 seconds. well as a color. The color of a trend value can also
change as a function of an upper and lower limit value.
When runtime is started, the values to be displayed are
either read from the process value archive and tag man-
agement or are set to zero. Special features
● You define the writer orientation for the trend values:
Special features from the right, left, top, or bottom.
● Modifying values: You can modify displayed values ● Instead of a fixed value range, you can also dynamize
manually in runtime. To do so, you stop the control from the upper and lower limit of the value range with tags.
updating, while the process data continues to be ar- ● You can zoom in on any section of the trend window in
chived in the background. When you modify process runtime. You can move the displayed section along the
values in the control, the modified values are archived. time and value axes in any way you like.
● In runtime, you can move, show, and hide columns; ● In runtime, you can move and hide time and value axes
change the displayed time interval; and switch between of each trend and change the displayed time interval
static and dynamic times. online by moving the mouse. This can be used to com-
pare several batches, for example. You can show and
WinCC OnlineTrendControl hide individual trends or bring them to the foreground.
● A ruler displays the trend values on its scale markings
(see WinCC RulerControl). For specific value ranges,
the ruler also displays a configured trend name, for ex-
ample, 0 - 50,000 = "Body-in-white", 50,000 - 100,000 =
"Painting".
WinCC RulerControl
In Graphics Designer, you link an already configured WinCC For each trend, you define a specific time interval, either
OnlineTrendControl or OnlineTableControl to the ruler win- static or dynamic, during which the process values are dis-
dow. You position the ruler window in the process picture played in relation to each other (see WinCC OnlineTable-
independently of the linked WinCC controls. Whenever an Control). If a user archive is connected, you specify the
operator uses the ruler in runtime to select a point in time or number of measuring points.
a time range in the WinCC control, the ruler window displays
additional information and statistics. All other properties and functions are the same as for
WinCC OnlineTrendControl.
In runtime, operators can choose from three different avail-
able views:
● The coordinate window shows the x and y coordinates of 2.4.3 Reporting and logging system
the trends at the point selected with the ruler.
● The statistics range window shows the values within the Definition
limits of the range selected in the trend or table window. The reporting system is used during configuration for project
● The statistics window shows the statistical evaluation of documentation of the engineering measures (see Project
the time range selected in the trend or table window: documentation). By contrast, the logging system comprises
minimum, maximum, average, standard deviation, various runtime logs that are used to print data acquired
integral. from WinCC or other applications during runtime:
In the ruler window, you use point-and-click functionality to ● Message sequence log
configure all information that is then displayed in each table ● Message and archive log
column. ● Measured value log
● Operator activity log
WinCC FunctionTrendControl ● System message log
The function window resembles the trend window, but the ● User log
time axis is replaced by a second value axis. Thus, a proc-
ess value is not represented in relation to time, but rather in Before sending a log to the printer, you can also save it as
relation to a second process value. Example: Pressure in an .emf file and display it on screen using the preview func-
relation to temperature or voltage in relation to current. In tion. Operator commands are used to query the status of
contrast to the trend window, the function window features print jobs online.
the following basic elements:
● An x axis with a fixed or automatically adjusted value Runtime logs
range and linear or logarithmic scaling. The content of a log is defined by means of page layouts. A
● A y axis with a fixed or automatically adjusted value page layout contains the cover sheet, table of contents, and
range and linear or logarithmic scaling. final page, as well as headers/footers and a page body.
● A trend that shows two process values, for example, the WinCC has a number of predefined page layouts. With the
temperature curve on the x axis and the associated WinCC Page Layout Editor, you have a complete graphics
pressure at a given temperature on the y axis. Thus, editor at your disposal, making it easy and convenient to
pressure is shown as a function of the temperature. modify or create new page layouts using much the same
Linked process values can include archived values of an technique as with Graphics Designer: From the object pal-
archive tag from the process value archive, online values ette, you drag a log object to be printed to the page layout.
of a process tag from tag management, or columns, for Most WinCC editors provide configurable log objects for this
example, a setpoint trend from user archives (see purpose.
WinCC/User Archives option). However, both tags must
have the same update cycle.
Special features
● Multilingual configuration of predefined page layouts is
possible for all runtime languages. WinCC has a number
of predefined multilingual layouts. If a layout file does not
Figure 64 Runtime log exist for a runtime language, a warning symbol is dis-
played, and the English layout file is used.
● Display of WinCC controls: windows for messages, ● COM provider: In order to output random user-specific
tables, trends, functions, and user data. The log objects data that does not come from WinCC in the report or log,
assume the configured properties of the associated you must integrate a COM server into the log system.
WinCC controls, for example, time interval, time axis, The COM server makes a user-specific, specially
value axis; however, these properties can be modified. programmed COM object available over the COM inter-
● Current value of a process tag face of WinCC; you then insert this COM object into the
● User archive contents, WinCC/User Archives option page layout using the Page Layout Editor. The COM
object can be of the type text, table, or picture.
● Layout inserted into another page layout
● Hard copy displays the current contents of the screen or
picture window.
Definition
WinCC offers Visual Basic Script (VBScript), enabling you to
dynamize the graphical runtime environment by means of
actions. You do this just as you automate your office
environment using your own VBScripts for example, to start
programs, create directories, and control applications such
as Microsoft Excel, over an intranet or the Internet if you
wish.
Code examples:
● objWshShell.Run "Notepad Example.txt", 1
● HMIRuntime.BaseScreenName = "Serverprefix::New
screen"
● HMIRuntime.Tags( "Tag1" ).Write 6
Figure 65 VBScript in the Global Script Editor with
An action is a list of instructions and functions that are called Intellisense
by one or more triggering events, such as a value change.
Different actions can use the same functions. Functions can You have access to the hierarchical WinCC object model
be called more than once, can be triggered by a mouse click "Project > HMIRuntime > Picture Window > Picture Level >
on a picture object, and can call other functions. Picture Object > Property and Method". Thus, the following
picture objects with their properties are available:
● Default objects, Smart objects, and Windows objects
Application ● WinCC controls
VBScript is a programming interface provided by WinCC. ● Groups and user objects
With the hierarchical Windows object model, you have
access to picture objects and applications from You create functions, events, and tags for the entire project
other vendors, such Microsoft Excel and SQL databases. independently of pictures in the Global Script integrated
programming environment. In Graphics Designer, you dy-
● Read and write tags directly. namize process pictures and picture objects with actions,
Example: Clicking on the operating element with the configure an action on an event (see "Intelligent configura-
mouse sets the setpoint or background color. tion"), or create a picture-dependent action for the current
● Dynamize properties and events with actions, independ- process picture directly in the Action Editor.
ently of pictures.
Examples: Switching the runtime language, configuring Global Script
color changes, showing picture levels, and displaying
● The Global Script Editor helps you create code by pro-
higher level designations of items (HID).
viding bookmarks, color coding, syntax highlighting, syn-
● Trigger picture-independent actions cyclically, for exam- tax verification and Intellisense, which lists the possible
ple, every day, or acyclically, for example, on a specific objects, properties, and methods at a given point in the
date. code.
Example: Daily transfer of values to a Microsoft Excel
● Global Script provides constructs such as IF-THEN-
worksheet.
ELSE and all standard VBScript functions such as Abs,
● Trigger actions upon change of one or more tags. Array, and Year, which you drag from the navigation
Example: Calculation of a formula as soon as a value window to your code.
changes.
● Selection dialogs provide quick, secure access to
● Call actions in runtime via user-defined menus and tool- WinCC tags, process pictures, and picture objects.
bars.
● Actions are exported/imported to/from another project.
● Control the Windows environment.
● Whenever you create or modify a file with functions, the
Examples: Launch external applications from WinCC,
date of creation or date of change is automatically and
create files and folders.
permanently entered into the accompanying information
along with your comments.
● Programming errors such as missing references are
displayed during generation. You can detect and correct
the errors using the integrated Microsoft Script Debug-
ger, which is supplied with WinCC. Files with incorrect or
unfinished functions are identified in the Global Script
navigation window. Processes are monitored in the
Global Script Debugger.
SIMATIC WinCC System Description
44 A1900-L531-B996-X-76001, 09/2008
Process visualization with SIMATIC WinCC 2.5 Openness and integration
Diagnostics
WinCC provides the following tools for analyzing the runtime
behavior of actions:
● Global Script Runtime diagnostic window in the process
picture: Provides information on the dynamic behavior of
all Global Script actions, enables the individual startup of
each action, and offers an access point to the Global
Script Editor during active runtime.
● Global Script Diagnostics diagnostic window in the
process picture: Outputs trace instructions
"HMIRuntime.Trace(<Output>)" inserted into actions in
the chronological order in which they are called.
By using trace instructions for a specific purpose, for ex-
ample, to output tag values, you can trace the course of
actions and the functions called from within these Figure 67 C script in the Global Script Editor
actions.
● Runtime diagnostics with WinCC/ApDiag
WinCC provides ready-made ANSI C code blocks in C WinCC/ApDiag provides a number of predefined diagnostic
functions: points (tracepoints) for which WinCC/ApDiag provides a
● User-created, any defined project functions, for example, definable level of information:
for the event "mouse click" or for dynamization in the ● Number and runtime of actions
Dynamic dialog, or functions created with the Dynamic ● Monitoring of the action queue
Wizard. Project functions are called for loop-in alarm in
the message system or start of archiving and backup in ● Early detection of a growing action queue
the archive system. ● List of applications associated with action control
● A whole host of cross-project WinCC standard functions ● Number of transactions and requested tags. A transac-
for Graphics Designer, for the message systems and tion is established, for example, for every action config-
archive system, for the reporting and logging system, ured on an event, for every picture window containing at
etc. You can add to these WinCC standard functions. least one cyclic action, and for picture-independent
● Internal WinCC functions for memory allocation and tag actions.
access, which can be used but not modified. ● List of standard functions and project functions (see
● DLL functions in their own Dynamic Link Libraries "ANSI C for integration without limits")
(DLLs). By contrast, the functional scope of existing ● Printf() outputs
DLLs can be used and added to.
Diagnostic information is collected in a circular buffer and
For information on additional structuring with the Global can be output on screen, to a file, or to an internal tag. With
Script Editor, on actions and their runtime behavior, on di- the internal functions TraceTime() and TraceText(), you can
agnostics, and on other access options and special fea- create your own diagnostic information in the code.
tures, refer to "VBScript for openness without bounds".
Queue overflow
A queue can overflow whenever too many actions are exe-
2.5.3 WinCC/ApDiag for comprehensive cuted in a too small cycle or an action becomes stuck, for
diagnostics example, in a loop, a dialog, or because it is waiting for
another application. Newly triggered actions are added to
Definition the queue and cannot be processed.
ApDiag, the application diagnostics tool integrated into WinCC/ApDiag is able to detect a gradual increase in size of
WinCC, helps you analyze errors and performance prob- the queue, which undetected would give rise to the error
lems in the process visualization system. message "More than 10,000 actions to work" after several
hours or days. Individual process pictures can also be
checked for correct action programming.
Application
VBScript and ANSI C make WinCC an open system with
many options for calling Windows APIs and your own DLL 2.5.4 VBA for automated configuration
functions. However, incorrect programming can also disrupt
the automation system.
Definition
Structure With Visual Basic for Applications (VBA), you automate your
office applications such as Microsoft Excel or Microsoft
Word in application-specific VBA macros. VBA is available
in WinCC so you can automate work steps that recur fre-
quently in the configuration in the following editors:
● Tag Management
● Graphics Designer
● Message System
● Archive System
● Text Library
In this way, you can, for example, created several tags and
change their values, edit text entries in the Text Library, or
customize messages directly from the program code.
Code examples: In principle, you can use VBA macros to automate all
● Shell( "C:\WINDOWS\NOTEPAD.EXE", 1 ) configuration steps that you would normally perform
manually. All picture objects of a process picture with their
● Application.Documents.Add hmiOpenDocument properties are available for this process:
● objHMIGO.CreateTag( "Tag1", ● Default objects
TAG_SIGNED_32BIT_VALUE )
● Smart objects
● With objHMIGO
.TagStart = 6 ● Windows objects
End With ● Groups and user objects
● Libraries
Application ● Dynamic dialog
With Visual Basic for Applications (VBA), you add functions ● Direct connection
to WinCC to automate the configuration. This makes it ● Toolbars and menus for configuration
easier for you to create industry-specific solutions, for
example, by customizing Graphics Designer according to You organize the VBA code in the VBA Editor. In this editor,
your requirements. The hierarchical WinCC object model you specify where the VBA code is available:
provides you with access to tags, picture objects, mes- ● Global VBA code in all projects
sages, archives, and text. You use the Windows object
● Project-specific VBA code
model to access applications of third-party vendors, for
example, the Microsoft Office family. ● Picture-specific VBA code
● Generate, modify, and delete tags and read out and VBA changes in the WinCC user interface can be applica-
change their properties, types, and values tion-specific or picture-specific. Application-specific user
● Create specific Quick Configuration dialogs for user interfaces are developed for specific industries, for example.
objects Picture-specific user interface elements such as a menu or
a toolbar only appear when you are editing a specific
● Dynamize properties of pictures and objects
process picture.
● Generate, modify, and delete messages
● Generate, modify, and delete process value archives Additional access options
and archive tags
● WinCC/ODK (Open Development Kit) option
● Generate, modify, and delete text from the Text Library
● OLE DB (see WinCC/ConnectivityPack option)
and read out text IDs and text
● WinCC/IndustrialX option
● Automatically check plausibility when closing a process
picture
Special features
● Import external data for automatic picture generation
● Dynamic Wizards are also expanded with VBA.
Structure ● You can debug your VBA scripts with the VBA Editor
debugger.
● You can export VBA code and import it into the VBA
Editor.
● You use Object Linking and Embedding OLE to
exchange data between WinCC and Microsoft objects,
for example, to integrate a Microsoft Excel worksheet
into a process picture. The WinCC add-on 3D Visualizer
embeds 3-D models into process pictures using an
ActiveX control.
● An add-in is code that is stored in DLL format and pro-
vides specific functions for specific cases, for example,
expansions for Graphics Designer. You can combine
VBA macros to form an add-in. Then, when changing the
configuring PC, all you need to do is copy the add-in. In
Graphics Designer, you use the Add-In Manager to
Figure 69 VBA script for a project template specify the loading behavior of add-ins, for example,
load add-in automatically upon opening.
In contrast to the WinCC/ODK option, you have object-
oriented access to the hierarchical WinCC object model
"Application > Process Picture > Picture Level > Picture
Object> Property and Method, Dynamization and Event-
driven Actions" and to events during configuration.
Definition
The WinCC/CentralArchiveServer (CAS) backs up, com-
presses, and archives long-term-relevant data from up to 11
different WinCC servers. For increased availability, the
WinCC/CAS can also be operated as a redundant server
pair, and a RAID (Redundant Array of Independent Disks)
system can be used.
Application
In process pictures, archived data are displayed and statisti-
cally evaluated as a standard procedure using WinCC con-
trols. WinCC clients have transparent access to all system
data, irrespective of whether the data is located on the
WinCC/CAS or whether it is still on the WinCC servers.
Moreover, data archived in the WinCC/CAS can be
accessed and evaluated in a variety of ways:
Figure 70 Multi-user system with up to 32 clients on one
WinCC server ● With the integrated StoragePlus Webviewer and
Microsoft Internet Explorer
Multi-user system ● Over an intranet or the Internet with the
WinCC/DataMonitor option sold separately
You can user the server option to expand a WinCC single- ● Over the WinCC OLE-DB and OPC interfaces with the
user system to a high-performance multi-user system with WinCC/ConnectivityPack and
up to 12 WinCC servers. If the quantity structure of the plant WinCC/ConnecitivityStation options sold separately
is very large, you can run several coordinated operator
control and monitoring stations in a common association In addition, data from any OPC DA servers or from external
with networked automation systems. databases can be archived on the WinCC/CAS. The
WinCC/CAS thus becomes a company-wide information
One or more WinCC servers can supply up to 32 connected hub, via which the centrally acquired data can be forwarded
WinCC clients with process and archive data, messages, to the production level and the corporate management level
pictures, and logs. MES/ERP.
The central archive server provides you with the following Licensing
benefits:
The WinCC/Central Archive Server (CAS) option contains
● Powerful central archiving of all data in a plant one license for one central archive server with up to 1,500
● Company-wide information hub with MES/ERP interface archive tags and one client license for the StoragePlus
● Processing of large quantity structures of up to 120,000 Webviewer. If higher quantity structures occur over the
archive tags course of the project, the number of usable archive tags can
be upgraded via Archive PowerPacks in increments of
● High performance 1,500, 5,000, 10,000, 30,000 or 80,000 archive tags up to a
● High degree of data transparency maximum of 120,000 archive tags. Likewise, the client
● High availability in redundant mode license must be upgraded if multiple clients are connected.
● High degree of security due to integrated backup system
Structure
To configure an archiving system with WinCC/CAS, proceed forwarded to the WinCC/CAS if the archive data is more
as follows: than one week old. Redundant standby servers obtain
information from their master server.
1. In the message system and archive system, perform the
usual archive configuration for WinCC server projects When this configuration is implemented as described, upon
without a backup archive. For tags that are to be reaching the end of the message archive or process value
archived in the WinCC/CAS, enable the "Relevant long- archive, data that is identified as relevant for the long term is
term" check box. transferred from the WinCC server or master server to the
optionally redundant WinCC/CAS, where it continues to be
2. In SIMATIC NCM PC Manager, configure a PC with its processed. For long-term archiving of logs, the .emf files
own WinCC project as the WinCC/CAS. SIMATIC NCM that are created are also swapped out to the WinCC/CAS.
(numerically controlled machine) PC enables STEP 7- After the data has been transferred, the short-term archives
compatible configuration for SIMATIC NET PC compo- on the WinCC servers are overwritten during the next run.
nents. The same configuration as for WinCC servers is
used on the WinCC/CAS: Message blocks and message On the WinCC/CAS, archive data from process value ar-
classes must be identical in all projects. chives and message archives is compressed into larger
archives and stored in short-term archives. Completed
3. Import the CAS Server Package to the WinCC servers segments are swapped to external data media according to
and all WinCC clients with transparent access to the the backup configuration.
WinCC/CAS. With transparent access, a query from a
WinCC client to the WinCC server is automatically
Special features
● In User Management, you manage WinCC users and
user groups in terms of accessing the StoragePlus
WebViewer.
● In View Management, you manage the views and assign
corresponding access rights to WinCC/CAS.
● The Log Viewer records events on the WinCC/CAS (for
example, "Backup created" or "Configuration changed").
● With Store&Forward, when the network is interrupted Figure 72 Web server farms (load balancing) with many
between the WinCC server and CAS, data will be relia- Web clients
bly transferred as soon as the network is operating
again.
With WinCC/WebNavigator, you can perform operator
● In redundant mode, the system switches to the redun- control and monitoring functions on your automation system
dant WinCC/CAS in the event of a WinCC/CAS failure, via an intranet or the Internet with almost no configuration
thus ensuring continued archiving without interruption. changes required. When connected over a high-speed
Data gaps in the WinCC/CAS that failed are filled in communication line, you can achieve the same update times
upon restart. as on-site. This enables you to perform operator control and
monitoring functions on process pictures from anywhere in
the world.
3.1.3 WinCC/WebNavigator
You can provide solutions for specific applications that must
Definition be implemented at minimal cost. In particular, this includes
applications with a highly distributed structure, such as
Up to 50 Web operator stations provide simultaneous views water/wastewater treatment, or in which process information
of up to 12 different, optionally redundant server projects. is only accessed periodically, such as building management.
In addition to this, Web clients can simply be used as cost-
Licensing effective operator stations on the LAN.
Figure 73 Operator control and monitoring of the plant Figure 75 WinCC WebViewer (WebViewerRT)
via an intranet or the Internet
Application
With WinCC/Redundancy, you increase the availability of
the plant through parallel operation of two server PCs that
are coupled to each other:
● Single-user system
● WinCC server
● Central archive server (WinCC/CAS)
● When one of the two WinCC servers fails, the other 3.2.2 WinCC/ProAgent
takes over the archiving of messages, process data and
user data. This guarantees data integrity with no gaps. Definition
The S7-PDIAG and S7-GRAPH options integrate diagnostic
● In client/server mode, the WinCC-Clients are automati- blocks into the controller. These diagnostic blocks monitor
cally switched over to the redundant peer, and a system process states in much the same way as a software debug-
message is issued. This ensures continuous visualiza- ger. With the WinCC/ProAgent option, you integrate these
tion and control of the plant at every operator station. diagnostic blocks and their messages into WinCC for dis-
● This automatic switchover does not take place only play on the operator station (OS).
when a WinCC server fails; it also takes place in the
Requirements
event of a faulty application or interrupted process com-
munication. ● STEP 7 is installed.
● AS-OS engineering
● WinCC/ProAgent option
Sever recovery
● The controller is already configured (in multiple lan-
guages, if necessary) with STEP 7 LAD/FBD/STL and
the S7-PDIAG or S7-GRAPH option.
● If the controller is configured in LAD/FBD/STL, additional
diagnostic blocks for troubleshooting are created with
S7-PDIAG, and troubleshooting is activated.
● All diagnostic blocks are compiled.
Application
This powerful process diagnostics functionality help you
quickly identify and eliminate potential faults. You benefit in
terms of increased system availability, shorter downtimes,
and reduction of costs.
The flexibility of process diagnostics allows you to detect
errors at an early stage in the process sequence. As a tool
wears, for example, this is indicated by increasing frictional
forces. Process diagnostics can be used to monitor these
forces and initiate acquisition and replacement of the tool in
Figure 79 Recovery of the failed WinCC server due time.
You can initiate directed movements on the OS in order to
● When a failed WinCC server is recovered, all of the eliminate the fault. The OS indicates whether any plant
archived process values, messages (including message components are damaged so that you can initiate corre-
status, acknowledgements, message lists and com- sponding repairs at the same time.
ments), data from the user archive of the failure period,
and internal tags are automatically synchronized with the Integrated interaction
peer – without affecting the system that is operating.
● As a result, two fully operational WinCC servers are
available again.
● The connected WinCC clients redistribute themselves to
their preferred WinCC server.
Special features
● In addition to WinCC/Redundancy with parallel operation
of two WinCC servers, you can also create a redundant
configuration of the communication channels for control-
ling SIMATIC S7 in a WinCC application. To do so, you
insert two communication modules and configure dupli-
cate communication pathways using the S7 REDCON-
NECT communication software.
● By using the failsafe H series SIMATIC S7 controllers,
you considerably increase availability at the control level.
When compiling the PLC program, the STEP 7 options store 3. Select the display classes, and scope of logs and
all the data required for process diagnostics in a shared messages (for example, process control messages) to
database. WinCC/ProAgent then accesses this database be displayed on the configured OS.
when the OS is configured. Diagnostic data is provided in Specify the access rights an operator needs to open the
different views; the operator selects a view by pressing a LAD/FBD/STL Editor of the selected unit directly in edit
button. mode.
● The user view is an example of a view configuration that 4. Finally, generate completely ready-to-use diagnostics
contains the global key set for calling ProAgent screens. screens with all message texts and transfer them to the
● In the message screen, all messages with diagnostics target device, even online to the current runtime.
capability are identified. Based on this identification, the
With the ProAgent Configurator, all required data from the
operator sees how to retrace the cause of the fault in the
shared database is added to WinCC:
process control sequence. Moreover, a number of addi-
tional functions are available for selection and editing, ● In tag management, the communication links, channels,
including acknowledgment of individual fault messages. and tags of units with diagnostics capability.
● In the unit overview, units and their subunits are dis- ● In Graphics Designer, completely ready-to-use
played. Here, the operator can identify at a glance the diagnostics screens for the different operator stations
current operating mode and status of each unit. with the "@Diag" suffix.
● The motion view provides quick assistance with rectify- ● In Alarm Logging, all ALARM_S messages relevant for
ing faults. This view shows you at a glance which process diagnostics with "*" in the "Diag" message block
movements are blocked and which can still be executed. and message text for criteria analysis, system error
Keys are provided to initiate specific movements of indi- messages, and any process control messages. In addi-
vidual units. tion, new message classes are created, enabling precise
selection of messages for process diagnostics in the
● In the sequencer view, you can see the steps in a step
message view.
sequence. You can search for and initiate specific steps.
● In Global Script necessary functions for diagnostics
● The detailed view shows the result of the automatic error
under "Standard Functions > ProAgent"
analysis of the OS. A simple signal list, a more detailed
statement list (STL) or a ladder diagram (LAD) is shown
ALARM_S
in the display with the corresponding section of the
STEP 7 program code. At the same time, the status bits The STEP 7 option packages S7-PDIAG and S7-GRAPH
of the operands and all the logic operation results can be issue ALARM_S messages as a prerequisite for process
displayed. Signals that have caused a fault are high- diagnostics with ProAgent.
lighted. In addition to the status of the message ("Incoming", "Out-
going", "Acknowledged"), ALARM_S messages contain
Structure message text in accordance with the message number
To perform diagnostics, proceed as follows: procedure, as well as the time of day for precise, causal
diagnostics of the cause of the fault.
1. In the ProAgent Configurator, click with the mouse to
select the target hardware and the controllers, units, and You configure the messages in STEP 7. The message
network connections on which you want to perform diag- numbers for unique assignment of message text are as-
nostics with this OS. signed automatically by STEP 7.
2. Specify the start screen and diagnostics screen for an If you insert format strings into the message text when con-
ALARM_S error message: Unit overview, detailed view, figuring messages, these faulty addresses are displayed in
or motion view. each message line of a WinCC message window.
In this way, you isolate the source of error immediately, SIMATIC PCs, networks, programmable controllers, HMI
enabling you in many cases to make corrections right away. devices, etc.:
For more complex sources of error, open the ProAgent- ● ALARM_S messages
detailed view for criteria analysis.
● Maintenance requests
Criteria analysis ● Uniform, integrated status displays
Criteria analysis entails retracing a process error to the All data, visualization, and operator control from the SCADA
corresponding locations in the program code. system and Maintenance Station are consistent and uni-
form.
S7-PDIAG monitors a single address in the S7 controller
and issues a message when it detects a change in status. Application
Example: The desired status of address Q1.3 is 0. If the
status of this address changes during the process to Q1.3 = Maintenance technicians not only prevent production loss,
1, the message "Level of address Q1.3 is 1" is issued. but also optimize the plant over the long term. Preventive
maintenance has the following effects:
ProAgent receives the message and examines the network ● Prevention of expensive production downtimes and
configured in STEP 7. ProAgent creates a list of all faulty rejects
addresses, for example, inputs or bit memory that have
contributed to the occurrence of the process error. ● Creation of planning security in terms of resource
expenditure: Imminent orders are signaled in due time.
Special features ● Increased system availability
● During commissioning, if minor changes are made in S7- ● More cost-effective than corrective intervention
PDIAG you can apply the network data relevant to diag- ● Reduced stockkeeping costs
nostics directly to the CPU. This allows you to forego
From a machine manufacturer's perspective, maintenance
generating your ProAgent project for the time being, thus
applies to packaging or filling machines, for example. For a
saving time.
plant engineer, maintenance is limited to the servicing of the
What's more, you can see right away how minor
process plant. However, the plant operator sees mainte-
changes in your S7-PDIAG project affect the
nance from an integral perspective and would like to keep
WinCC/ProAgent project.
track of the entire process sequence at a glance.
● If you are using S7-PDIAG version 5.0 or later, you can
combine the individual units to form groups. When you
Totally Integrated Maintenance
select units in ProAgent, these groups are displayed,
and you can select all units for diagnostics in one go. Completely in keeping with the concept of Totally Integrated
Automation, SIMATIC Maintenance Station is automatically
● If you combine multiple STEP 7 projects into a STEP 7
generated from the hardware configuration of the automa-
multi project, the diagnostics-capable units of all projects
tion systems displayed in STEP 7. Based on this configura-
included in the multiproject are displayed in the
tion, the Maintenance Station detects which devices belong
"ProAgent Unit Selection" dialog.
to the plant and generates an image with universal symbols
● For complex projects, this generation process can take a for maintenance in an existing or separated WinCC station.
while. However, it is not necessary to generate for all
participating CPUs/programs during each generation
run. In the ProAgent configuration, you can select the
CPUs/programs to be included in the generation.
● All diagnostics screens in ProAgent are multilingual with
text stored in English, German, and French. During
runtime, the operator can switch the interface language
at any time. In addition to the three ProAgent default
languages, you can also add text in other languages to
your projects.
● You can also customize the design of the diagnostics
screens using a variety of options available in Graphics
Designer.
Definition
SIMATIC Maintenance Station provides diagnostics func-
tions for maintenance that enable precise analysis of the Figure 83 SIMATIC Maintenance Station
plant components, namely the assets; and as such it is an
asset management system at the plant level. The diagnos- Operators continue to monitor the production process, while
tics screens, which are generated automatically from the maintenance technicians acquire specific information about
hardware configuration, show maintenance-related informa- the status of the production equipment. The Maintenance
tion from the entire automation system, for example, from Station is available for the PCS 7 process control system as
well as for the WinCC SCADA system with STEP 7.
With SIMATIC Maintenance Station, you can perform ● Faceplates, operating windows, message lists, and
intelligent, preventive maintenance with minimal resource diagnostics windows called during operator control
utilization, for example, less staff, material, energy, and cost ● Group displays of queued diagnostic messages with
with the following options: loop-in alarm: This takes you directly to the diagnostics
● Overview of information for assessment of plant and screen of the component that caused the message to be
component status and comprehensive analysis of weak- issued in the respective plant section. If more than one
nesses diagnostic message is in the queue, the system displays
● Electronic identification of components, for example, the diagnostics screen that is the highest in the hierarchy
firmware version, manufacturer, and order number and that shows the status of all queued diagnostic mes-
sages.
● Reporting of system errors, overview of long-term
archives ● A section selection button: This takes you directly to the
top diagnostics screen in the picture hierarchy of the as-
● Assistance with decisions concerning maintenance sociated plant section.
measures such as plant service, inspection, repairs, and
elimination of weaknesses ● Diagnostics screens of individual components: From the
overview of an AS component or PC station with diag-
● Maintenance request and status management. If the nostics status, for example, "Maintenance alarm", you
premium add-ons Alarm Control Center (ACC) or jump to the diagnostic faceplate. This faceplate shows
PM-MAINT are installed on the WinCC system, mainte- the component data, status displays, and queued mes-
nance requests from the operator can also be directly sages, as well as the requested and initiated mainte-
forwarded to these systems. nance measures. The same applies to lower-level com-
ponents such as field bus systems, drives, sensors, and
switchgear. Messages in this view can be acknowledged
and managed.
● In the Picture Tree Navigator, you navigate to PC sta-
tions, network components, and AS components in a hi-
erarchical tree structure - otherwise, you have the same
functional scope as with diagnostics screens.
● If SIMATIC STEP 7 is installed with an associated
STEP 7 project: you jump from a network component to
the HW Config Editor, where you check the hardware
data.
Figure 84 Electronic identification of components
Structure
To set up a diagnostic system, proceed as follows:
1. In SIMATIC Manager in the STEP 7 project, set up a
"Maintenance Station" PC station with a communication
module such as PROFINET.
2. In the "HW Config" Editor, add the network components.
3. Using the Compilation Wizard in SIMATIC Manager,
assign the STEP 7 programs to the Maintenance Station
and network connections; a diagnostics screen will then
be derived automatically from this. Figure 85 SIMATIC Maintenance Station: diagnostics
screens of individual components
4. For each automation system, initiate the automatic
generation of the associated diagnostics screen includ-
ing the picture hierarchy and diagnostic faceplates. You Special features
can modify the generated diagnostics screens with ● Maintenance measures are documented via WinCC
WinCC at a later point. operator messages. This supports the work flow and
5. In SIMATIC Manager, transfer the generated diagnostic creates a comprehensive database for subsequent plant
faceplates to the associated automation system and optimization. This database is evaluated with WinCC as
click with the mouse to compile. a Maintenance history.
● Just as in WinCC, the appropriate access rights are
Tools required to perform diagnostics with SIMATIC Mainte-
nance Station.
When SIMATIC Maintenance Station is started up, the fol-
● New hardware components from the latest STEP 7 ver-
lowing elements are displayed in the diagnostics area:
sion are automatically available for SIMATIC Mainte-
● An overview of the entire automation system of a plant: nance Station and therefore do not have to be added
PC stations, network and automation components, dis- manually.
tributed field buses, and external I/O.
● A message table, including, for example, a message list
and a long-term archive list
3.3 Plant Intelligence You can connect and disconnect swapped archive data-
bases online.
WinCC/DataMonitor offers the following advantages: 3. Excel Workbooks are used to present current and
● View production status and process/plant operation archived process values and messages in an Excel work-
anywhere and anytime sheet for evaluation purposes, for display over an intranet or
● Make production situations transparent in individual the Internet, or as a print template for reports. The data can
views then be manipulated graphically in Excel, for example, in a
pie chart, and evaluated with complex statistical functions.
● Corroborate decisions with reports
● Automated report creation With the Excel Workbook Wizard, you transfer process data
to an Excel worksheet (requires no knowledge of WinCC),
● No training required for standard products
for example, "<Speed_Motor1> + 10", from the WinCC pro-
● Easy exchange of configuration data ject of the DataMonitor server, one of its lower-level WinCC
servers, or from an XML file previously generated with the
Tools "Export Configuration Data" function. In this way, (print tem-
plates for) reports can also be created offline, loaded to the
The Trend & Alarms, Published Reports, and Webcenter DataMonitor server at a later point, and then distributed for
tools access WinCC data via a WinCC database: user-specific evaluation. Offline editing offers the following
● WinCC runtime database options:
● WinCC/CAS database, WinCC/Central Archive Server ● An external engineering office compiles the reports.
option ● Management, which has no direct access to the plant,
● Database of a swapped archive such as the long-term compiles the reports.
archive server ● Reports are evaluated by skilled personnel, thus increas-
ing plant efficiency.
3.3.2 WinCC/DowntimeMonitor
Definition
WinCC/DowntimeMonitor is a machine data management
software program that acquires and analyzes downtimes of Figure 92 Time model
machines, lines, and production plants in a detailed causal
factor tree. For individual machines or entire production
2. For monitoring of production times, each plant bases its
lines, plant-specific performance indicators can be deter-
operations on a specific shift calendar, which you create
mined in this way:
successively with the Shift Calendar Wizard: starting
● Overall Equipment Efficiency (OEE) with specific work times and break times and including
everything from individual shifts, work days, Sundays,
● Mean Time Between Failures (MTBF)
holidays, and vacation days to work weeks.
● Mean Repair Time (MRT)
● Other Key Performance Indicators (KPIs)
Examples of evaluations:
– Downtime management Availability describes the
ratio of the actual operating time to the planned,
available production time. Figure 94 Pareto chart of KPIs
– Availability A: The machine is operational in terms of
mechanics and electricity, but the material is missing.
– Availability B: The machine is operational and the
material is available.
To acquire process data, create acquisition tags separately ● You can comment and scale data and zoom in and out,
from the process and in the Tag Selection dialog, select the etc.
process or archive tag to be acquired. ● Additional table view for displaying saved and interpo-
Instead of saving individual process values, you can also lated values
continually acquire a specific value, for example, the mean The Function window shows two random tags, either an
value of a series of process values. In addition to the mean acquisition tag or an archive tag, in direct relationship to
value, other predefined aggregate functions are available: each other, for example, voltage in relationship to current.
● Minimum, Maximum and Start Value
● Sum The Message Analyzer shows message statistics in table
● Standard deviation and variance format and/or graphical bar chart format:
● Message frequency
Only valid values are used for calculation (see Quality
code). The results of the aggregate functions, which can ● Total message time
also be validated, are stored in calculation tags.
● Mean time to message acknowledgment
You can context condition for the calculated values. To do ● Total time until message acknowledgment
so, select any process tag as the context tag and define a
lower limit and an upper limit. Now, a value will only be used ● Mean time to fault elimination
in the calculation (for example, mean value) if the context
condition is met; for example, the sun is shining (> 0) or the
oven is On (= 1).
You can expand the predefined aggregate functions by
adding any number of user-defined aggregate functions.
You create a VBScript function (p. ex. "Resistance_Ohm"),
which calculates a result in the script from random parame-
ters a and b: Function.value = a.Value / b.Value. A dedi-
cated VBScript Editor with an integrated debug environment
is available. In the Tag Selection dialog, you connect the
parameters to process tags: a = <voltage>, b = <current>.
WinCC/ProcessMonitor will then continuously acquire the
quotients voltage / current.
Quality code
For the values acquired or calculated by the ProcessMoni-
tor, you define an upper limit and a lower limit for validation
purposes. A quality code is then calculated based on these
limits. Additional validation functions such as rate of
increase and rate of variation of a curve are available for
calculations. Once you have done this, a value is only used Figure 97 Extended trend window
for calculation if, for example, the increase compared to the
previously acquired value lies below a given threshold. This
is the only way to ensure professional, valid statistics that
can be used as the basis for a meaningful evaluation.
Another application is to store process data in Microsoft You create and edit data connections in the Configuration
Office formats such as Excel and Access. For acquisition of Wizard:
operating data and archiving of large quantities of data you 1. Link data source and data destination and configure
can also link Oracle, MySQL and ODBC databases, in addi- connection parameters.
tion to the Microsoft SQL Server. When a database is the
data source, recipes and default values can be transferred 2. Define the transfer behavior of the connection group.
directly to WinCC or to a controller. Text files, .csv files,
3. Connect source data to destination data.
Microsoft Excel, and IndustrialDataBridge OPC server can
only be used as the data destination. If the source data and destination data are not of the same
data type or if they cannot be converted, a warning is
displayed on the status bar.
In the runtime environment:
1. Load the configuration you created.
2. Establish a connection between the linked Consumer
and Provider runtime components.
3. Start the data transmission.
Once the data source and destination have been success- ● Message archives, process-value archives, and user
fully connected, the runtime environment monitors their archives
lifetime and automatically reestablishes the connection, if ● Archive databases of the long-term archive server
necessary. The runtime environment offers the following (WinCC file server)
tools for commissioning, error analysis, and monitoring:
● Archives of the WinCC/Central Archive Server (CAS)
● The trace view shows status messages, error messages,
and output parameters for each connection. Access to databases in the following programming languag-
● The trace recording provides a comprehensive logging es can be integrated via the WinCC OLE DB interface:
function with error messages and function calls of Pro- ● C#
vider and Consumer. ● VB.NET
● In the status view, the connections are shown, and their
C# and VB.NET access the databases via the ADO.NET
respective connection status is shown in green, yellow,
programming interface (.NET Framework). This requires the
or red.
Visual Studio 2005 or .NET Framework 2.0 programming
environment. The WinCC/ConnectivityPack comes supplied
Special features
with examples of database access via C# and VB.NET.
● Just as WinCC in ServiceMode, the runtime environment
can be started as a Windows utility. In this case, the con- OPC (Openness, Productivity and Collaboration, previously
figuration is automatically loaded. OLE for Process Control) provides standardized, vendor-
independent interfaces for data access:
● The separation into configuration and runtime makes it
possible to create a configuration on a development ● OPC is based on Windows COM (Component Object
computer and transfer it to a production computer in run- Model) technology, among other things. COM objects
time. You can load one configuration on different com- are distributed transparently in the local network. Clients
puters at different production sites or you can create a access them via DCOM (Distributed Component Object
separate configuration file for each product. Model).
● At a later point, you can switch the data source and ● By contrast, OPC XML is based on data exchange via
destination and add a connection group or connection. XML with the platform-independent, XML-based SOAP
Hence, your basic configuration contains different and (Simple Object Access Protocol). SOAP is used to
flexible connections that can be changed. enable applications to communicate with each other via
the Internet or in heterogeneous computer networks by
● The functions Start, Connect, and Disconnect can be
means of HTTP (HyperText Transfer Protocol).
password-protected.
Requirements and licensing
● "ConnectivityPack" license for access with a WinCC
installation at the location of the online and archive data
● "ConnectivityStation" license for access without a
WinCC installation
● Client Access License for every client without a WinCC
license
● Internet Information Service IIS for the WinCC OPC XML
server
Application
Figure 100 WinCC/IndustrialDataBridge: configuration With WinCC OLE DB Provider, you can access the WinCC-
interface and runtime specific archive structure in the Microsoft SQL Server data-
base from outside. This enables you to connect WinCC to
any number of applications from third-party providers.
3.3.5 WinCC/ConnectivityPack
With WinCC OLE DB, you can display, browse, or evaluate
Definition archive data:
With WinCC/ConnectivityPack, you have direct access to ● Calculate statistical values using archive data
archive data of WinCC systems via OLE DB. In addition, the ● Find process errors
"ConnectivityPack" license activates the WinCC OPC ● Optimize processes
Server, which is available in every WinCC runtime. The
OPC server enables External OPC clients to access WinCC OPC defines a standardized procedure used by Windows-
online and archive data (see OPC servers). The WinCC based applications to exchange data, for example, data
OPC DA server is already included in the basic system. exchange between WinCC and the production level or cor-
porate management level. An OPC HDA client is used for
The open OLE DB standard is the interface for accessing the following purposes:
different databases. The data in each specific database is
accessed via the respective database provider. ● Analysis and evaluation of archived data
● Statistical process control of archives from different OPC
In addition to the standardized OLE DB interface, WinCC HDA servers
offers a special WinCC OLE DB Provider, which gives local
or remote clients direct, transparent access to the following An OPC A&E client can be used for analysis and joint evalu-
WinCC archive databases: ation of messages from different WinCC OPC A&E servers.
Structure
The WinCC OPC servers integrated into the Connectivity
Station automatically establish a connection to WinCC and
implement remote access. The OPC client is implemented
on a separate PC or locally on the ConnectivityStation. With
OPC, you have transparent access to all archive databases
on the WinCC stations.
You configure the Connectivity Station in the STEP 7 project Figure 103 User Archive Editor
using a separate NCM PC or SIMATIC Manager:
1. In SIMATIC Manager, add a SIMATIC PC station. It will Using associated parameters (quantity, temperature, time,
be assigned the properties of the ConnectivityStation via etc.) for "water, hops, malt, yeast", for example, you build a
the configuration. "beer recipe" data record in the user archive. Recipes are
examples of user archives that are filled in advance and
2. Configure the SIMATIC PC station in the HW Config adjusted in runtime if necessary, for example, in the special
Editor. WinCC UserArchiveControl (see WinCC UserArchiveCon-
trol); its values are then written to the controller directly
3. Assign the WinCC stations.
online. Thus, at the touch of a button, you can change the
4. Transfer the ConnectivityStation to the target system. recipe or modify the adjustable parameters or setpoints, etc.
The configuration file is copied to the target system.
1. To fill the user archive, connect WinCC UserArchiveCon-
trol to the "beer recipe" user archive.
3.4 SCADA expansions 2. Enable the access types "Change", "Insert", "Delete".
3. To communicate with the controller, connect each
3.4.1 WinCC/User Archives archive tag individually to a process tag or connect the
entire data record to a raw data tag (see "Archive
Definition system").
With the WinCC/User Archives option, you can store any In the opposite direction, process tags can be continually
type of associated data as data records in a separate user stored in the user archive as DataRecord1, DataRecord2,
archive. WinCC and its automation systems (for example, a etc; this can be event-driven or can occur as a result of
SIMATIC S7 controller) can write to these data records and operator input.
exchange them with each other, if required.
You can create new data records from any archive tags in
different user archives and store these in an individual user
Application
view. Example: The user view tags "BeerRecipe.Water" and
An operator enters parameter sets in WinCC (such as the "DoughRecipe.Water" each make up a data record in the
operating parameters of a machine), which are stored in the user view "Water consumption". User views can also be
user archive and can be forwarded to the automation sys- displayed and edited in WinCC UserArchiveControl. The
tem if necessary, for example, by means of an operator modified data is applied to the original archive.
command. Conversely, an automation system can continu-
You can define a relation between archive view tags, for
ally acquire production parameters during a shift and send
example BeerRecipe.Water > DoughRecipe.Water. You can
these to WinCC at the end of the shift. Other application
do this either interactively with the predefined relation opera-
examples:
tors using point-and-click functionality or directly in SQL
● Acquisition of batch data language. This will filter the user view in runtime, and only
● Specification of production parameters data records that satisfy this relation will be displayed.
● Management of warehousing data With the User Archive Wizard, you set up four control tags,
which you will use to access a user archive. The control job
enables you to perform such actions as outputting and edit-
ing archive tag values in I/O fields.
Application
WinCC/Audit enables seamless traceability of operator
control actions as well as configuration changes and their
version management in a protected database. Plant opera-
tors are able to see which configuration changes were made
by the plant constructor. You are able to maintain a clear
overview of your automation project while reducing the
engineering overhead.
Structure
Figure 104 "Beer recipe" user data window in the process Proceed as follows to set up WinCC/Audit:
1. Install WinCC/Audit.
The user data window features the following basic elements:
2. In the Audit Editor, select "Network Environment > Com-
● One or more columns with values pertaining to the user puter > WinCC Database", just as you would in a tree
data record. You configure the values to be displayed in structure, or select the local WinCC database of the cur-
the columns. rent WinCC project.
● A number of rows, each of which represents an entire
data record. 3. Decide whether you want to display changes from the
current WinCC project or changes from several WinCC
Using point-and-click functionality, you assign a user archive projects.
or user view to the user data window.
4. Select the audit functions you wish to use (audit func-
tions are described below).
SIMATIC WinCC System Description
68 A1900-L531-B996-X-76001, 09/2008
Options SIMATIC WinCC 3.5 Traceability and validation
The Audit DB Setup Wizard sets up the Microsoft SQL If necessary, you can display a Change dialog for I/O fields,
Server audit database, in which changes are recorded cen- sliders, text lists, and InsertAuditEntry, in which operators in
trally. runtime are prompted to enter change comments and other
data that will be logged along with the value change.
The following functions are now available with WinCC/Audit:
Runtime Auditing
Requirements and licensing Some objects are not stored in the WinCC database and
● Microsoft Windows Server operating system at the loca- cannot therefore be logged in audit trails. These include
tion of the audit database process pictures and scripts you create yourself. Changes
made to these objects are recorded by document control.
● Audit complete package RC: license for runtime and
configuration (engineering) on each operator station on
which WinCC/ChangeControl is configured. Document control
● Audit runtime package RT: license for runtime on each
operator station on which configuration changes are
logged.
Application
Once a plant has been commissioning and validated, if
necessary, the project version is archived via project
versioning. Each time the configuration changes as the
result of small adjustments, large expansions, or anything in
between, all changes made in the plant are recorded seam-
lessly with WinCC/ChangeControl (in a change log), thus
providing specific, documented evidence.of changes made,
for example, when the plant is expanded. The change log Figure 107 Archiving, restoring projects or project data
covers the entire plant, from machine-level configurations all
the way to higher-level WinCC projects.
In order to version individual local files in the WinCC project
The reproducible versions of the WinCC project created with during configuration, place them in the document control
project versioning make it possible to go back to the last database:
executable version or any other version in the event of ● Process pictures
problems with the plant or expansions.
● C functions and C actions
In the event of plant shutdowns, for example, plant construc- ● VBScript functions and VBScript actions
tors (such as OEMs) or plant operators can quickly and
● Line layouts and page layouts
efficiently verify the changes that have been made in the
plant and can infer the cause of the problem. This facilitates ● Any documents in the project folder
error analysis, saves services costs, and reduces downtime. When a file is changed, a local copy of the file from the
You can also perform a risk analysis of the change based document control database is created. Other users are not
on the change log in the event of plant expansion and sub- able to edit the file during this time. After the change is
sequent revalidation. WinCC/ChangeControl also helps you made, the file is returned to the document control database
fulfill traceability requirements in compliance with as a new version, along with change information added by
FDA 21 CFR Part 11 and EU 178/2002. the user. This allows you to track individual changes from
version to version, in the change history, for example, in
Configuration auditing which each change is clearly documented. If necessary,
previous versions and deleted files can also be restored in
In the course of a configuration, changes are made in vari-
WinCC.
ous WinCC editors. These changes are logged with configu-
ration auditing. Examples:
Special features
● WinCC Explorer with central properties, such as client-
server ● In the Audit Viewer, audit trails (configuration auditing)
can be displayed, searched, filtered, printed, and ex-
● Tag management with communication links
ported as .xls files. Query Builder is used to create,
● Message system save, and edit user-specific queries for audit databases.
● Archive system ● In addition, all documents in the project folder under
● Text Library "Misc. Documents" are automatically added to document
● User administration with access rights control.
● Reporting and logging system ● You can compare the current version of a file with its
previous version.
● WinCC/User Archives
● The document control database can be archived.
Every change generates an audit trail entry, which is stored
in the audit database. This audit trail contains the following
information: 3.6 Batch processes
● Time stamp
● Modified object: old value, new value 3.6.1 SIMATIC BATCH for WinCC
● User logged on to the WinCC server
Note
● Computer name of the WinCC server
● WinCC project Currently, SIMATIC BATCH is only released for specific
versions of WinCC. For more information, refer to "Support/
Product support" (see "More information about SIMATIC ● Reproducible production processes in batch logs
WinCC"). ● Consistent product quality, even after x number of
batches
Definition ● Validation support in compliance with 21 CFR Part 11,
lower validation costs
A discontinuous process produces a product in discrete
groups, called batches (batch process). The product quanti- ● Reduced operating and lifecycle costs through the use
ties are finite and can be clearly identified. of standard products
● Minimized engineering overhead through type/instance
An essential factor in batch processing is that end custom- concept that is advantageous for validation
ers themselves can optimize production processes and
change them over to new and different products without Owing to its scalability, SIMATIC BATCH for WinCC is
changing the automation system. SIMATIC BATCH for equally well suited for small plants and large quantity struc-
WinCC provides this flexibility far beyond mere recipes (see tures. Complexity increases along with the number of prod-
WinCC/User Archives). ucts and the number of production lines. With SIMATIC
BATCH for WinCC, multiple-line/multiple-product plants can
Features: be automated in compliance with standards.
● Short product life cycles and wide range of products
● Different products produced in the same plant Structure
● Frequent changes to production process
● Limited product quantity/volume
● Recipe-controlled (production know-how)
● Production is documented in verifiable logs.
Application
In the process control industry, discontinuous processes are
taking on an increasingly important role. Rapid response to
changes in market conditions, requirements for verifiable
documentation of production (FDA compliance), and fulfill-
ment of legal standards and control specifications place
significant demands on the flexibility and reliability of auto-
mation systems in plants, which often are only partially
automated and require frequent operator intervention (setup
times).
Figure 108 SIMATIC BATCH for WinCC: job planning of
With SIMATIC BATCH for WinCC, production processes are
batch recipes
flexibly structured, planned, and assigned to different pro-
duction configurations, for example, to control multiple in-
stances of the same production line and enable optimal SIMATIC BATCH is distributed to SIMATIC BATCH for
plant utilization. Examples: dye-mixing plants, fertilizer- WinCC (clients) and one SIMATIC BATCH for WinCC
mixing plants, and plants for the production of food, bever- (server), all of which work with the same plant project. SI-
ages, and tobacco. MATIC BATCH for WinCC communicates with the automa-
tion system (for example, to write recipe parameters or read
The fact that SIMATIC Batch for WinCC has access to SI- actual values) via the WinCC server. Similarly to WinCC
MATIC WinCC configuration data means safe operator server and OS clients, SIMATIC BATCH for WinCC (server)
management and a quick response to process faults. In and SIMATIC BATCH for WinCC (clients) are configured on
addition, duplicate configuration and the errors associated the engineering station and loaded from there.
with it are avoided.
The plants are always the same; only the production proc-
Benefits: esses change. Therefore, SIMATIC BATCH for WinCC
● High availability through redundant plant configurations separates the automation system from the recipe system.
provides protection against loss of batch data The recipe system represents the production processes
hierarchically and is managed by operating staff. Centrally
● Modular architecture with flexible scalability
modifiable ROP libraries (Recipe operation) with hierarchical
● Assignment planning of process units, automatic selec- recipes to ISA S88.01 and a process-unit-neutral configura-
tion of process units tion guarantee a high level of reusability.
● Optimum adaptation to plant size and individual re- Automation system Recipe system
quirements, such as different controllers
Sample production Recipe library
● Greater production flexibility, shorter time to market
site "Brewery A" "Beer-brewing know-how"
● Optimized utilization of plants with process-unit-neutral,
hierarchical recipes to ISA S88.01 Plant, for example, Recipe procedure
brew line "Hefeweizen beer"
● Flexible control strategies and assignment of recipes
during runtime Process unit, for Process unit procedure
example, brew tank "Mix basic ingredients"
Equipment module, Recipe operation "Ferment": The batch data is visualized and transferred to the control-
for example, filling, 1st recipe phase "Add yeast" ler. The controller communicates the batch processing
stirring, heating 2nd recipe phase "Add barley" status back in reverse order. BATCH data management is a
3rd ... server component that acquires, stores, and logs batch
data. This includes collecting and storing WinCC messages
Control station, for – and process values and concluding batches.
example, motor
The BATCH Control Center on SIMATIC BATCH for WinCC
For plants that are operated with SIMATIC BATCH for
(server) is the graphical user interface for control and visu-
WinCC, specific basic configurations must be performed in
alization of control recipes in progress.
the AS as well as in WinCC SIMATIC BATCH. These are
described in the SIMATIC BATCH for WinCC configuration ● In the BATCH Recipe Editor, create basic recipes, con-
guide: figure library elements, etc.
● Manage ingredient and production data
1. In order to write recipes, you must specify raw ingredi-
ents and products with different qualities and a unique ● Libraries with recipe elements
identification code. These ingredients are then available ● Plausibility testing and recipe release
for selection in dialog boxes for recipe creation and ● Administration of access rights
batch planning.
● Batch planning
2. In the BATCH Recipe Editor, you create or modify the ● Batch control
basic recipe in graphical Sequential Function Charts
(SFCs) with the following elements: ● Batch logging
– Start and end condition Expanded batch logging comprises the following logs:
– Instruction and dialog for operator ● Recipe log contains all BATCH production data, includ-
– Branch and loop ing recipe header data, a list of starting ingredients and
product output, and procedure.
3. Assign preferred process units to the recipe unit proce-
dures. This makes it possible to synchronize recipe op- ● Batch log contains all information for reproducibility,
erations (for example, "Ferment") from multiple recipe quality documentation, and fulfillment of legal require-
unit procedures.across multiple process units. ments (for example, identification data, control recipe
data, production data, timelines, error and fault mes-
4. Now link a recipe phase (for example, "Add yeast") from sages, and operator interventions.
the recipe system to the equipment module "Fill" in the
control strategy "Sold ingredient", which is represented, Together with SIMATIC Logon, SIMATIC BATCH for WinCC
for example, by an SFC structural element of the auto- support the electronic signature and audit trail features in
mation system. compliance with the requirements of FDA 21 CFR Part 11
(see "Always ready for validation").
5. For the recipe phase, define starting ingredients, such
yeast, and parameters, such as the amount to be added. The following client applications can be optionally distributed
6. Use the same procedure to create an parallel branch to the SIMATIC BATCH for WinCC (client):
with the recipe phase "Add barley". ● BATCH Control Center
7. Assign equipment properties to the process units, which ● BATCH Recipe Editor
will then be queried as conditions for recipe creation. ● BATCH API Interface
8. Release the basic recipe for production. SIMATIC BATCH is extensively interfaced with SIMATIC IT
(MES system) via SIMATIC IT Historian.
9. Create a batch job with the basic recipe. A control recipe
for the automation system will automatically be derived You can link SIMATIC BATCH to an OEM system or a third-
from the basic recipe. party MES system with the BATCH API Interface option
package. The BATCH API Interface provides a COM inter-
10. Start the released control recipe. The process units will face in XML format.
be assigned and started according to the recipe struc-
ture.
3.7.1 WinCC/IndustrialX
Definition
With the IndustrialX Developer Kit, you use ActiveX technol-
ogy to create and standardize picture objects that are re-
quired in multiple instances. These IndustrialX controls
access WinCC data via internal WinCC functions. These
user-specific IndustrialX controls are used and configured in
process pictures in the same way as WinCC Controls (the
table window, for example).
8. Alternatively, use the WinCC Plug-InBuilder to make a 3.7.2 WinCC/ODK (Open Development Kit)
.cab file available for download to the Web clients (see
WinCC/WebNavigator option). This requires no know-
ledge of setup technology. Definition
The WinCC/ODK (Open Development Kit) option describes
IndustrialX server components the open programming interfaces of WinCC, which are de-
signed as C Application Programming Interfaces (C APIs).
Various COM servers provide WinCC data to the IndustrialX
controls via the COM interfaces of WinCC: Via C API functions, you use the internal functions of WinCC
● Data Server: read/write access to all process values of in your own software programs and access tag manage-
WinCC ment data or data in the archives.
● User Administration Server: access to users and their Examples:
access rights ● MSRTCreateMsg(): creates a message
● Operation Message Server: access to the message ● DMGetValue(): determines a tag value
system
● PDLRTSetProp(): sets a picture object property
● Text Server: access to the Text Library
● Message Tracer: issues messages on operation of the Requirements and licensing
IndustrialX control.
● The programming environment is installed, for example:
By default, the connection between IndustrialX controls and Microsoft Visual Studio
WinCC is established and tag values are read at the start of ● WinCC is installed.
runtime. Alternatively, to avoid a heavy data load, the activa-
● Each configuring PC has a license for
tion of data exchange can be delayed unitl the first picture is
WinCC/IndustrialX.
opened.
Application
IndustrialX standard controls
With API functions, you can expand the functionality of
Standard controls are included in the Microsoft Visual Basic
WinCC for industry-specific applications or integrate your
scope of supply:
own data into WinCC tools, such as the reporting and log-
● Collection Signals: a simple group display for messages ging system. You develop customized software programs
● Simple Bar: graphical representation of a process value that access WinCC directly, for example, to generate and
as a colored bar configure WinCC objects (tags, process pictures, messages,
● Extended Bar: PID controller (proportional-integral- archives, text, users, reports, and logs).
derivative) with three bars: setpoint, current process ● Access tag management and archives.
value, upper and lower warning and alarm limit ● Export database tables.
● Extended Slider: slider for adjusting a process value ● Control the recording of measured values.
● Input Double: Input of a process value in "Double" for- ● Use WinCC configuration screen forms for software
mat, with optional upper and lower limit options developed by you.
● Disk Space: bar chart showing drive capacity with
API functions are also used by the WinCC Competence
change of color and upper and lower warning and alarm
Centers and partner companies to develop technology-
limit
specific and industry-specific WinCC Add-ons.
● Performance: display of the physical and virtual memory;
provides an indication of system utilization.
Structure
● Shortcut menu, list option, and sidebar provide a range
of navigation options. API functions are used in the following places:
● Color Picker: Microsoft Windows color selection dialog, ● Inside WinCC, for example, in C scripts (see "Openness
which specifies the foreground and background colors and integration")
for forms and controls. ● In C actions in Graphics Designer
● Tag Simulation: provides up to 300 structure tags with ● Outside WinCC in Windows applications created in
simulated values for a function test of your IndustrialX C/C++ programming language.
control.
To use WinCC/ODK in the C# or VB.Net programming
Example: In an IndustrialX control you created, you are language, you must program a corresponding wrapper. A
using the Visual Basic controls "Disk Space" and "Color brief example for each language shows you how to build a
Picker". When the memory usage reaches the alarm limit of wrapper, which you can then use, for example, as a TypeLi-
"Disk Space", this triggers the event "InAlarm", which you brary in C#.
process further in the VBA code. With the "Color Picker", the
user changes the alarm color. Special features
Individually created IndustrialX controls affect the runtime In addition to a CD-ROM with many examples, the
behavior of WinCC. The person who created these Industri- WinCC/ODK scope of supply also includes a coupon for a
alX controls is responsible for testing them and ensuring one-day intensive seminar.
that they function correctly.
WinCC Competence Centers These authorized, Siemens-internal WinCC Competence Centers provide services for consulting,
http://www.automation.siemens.com engineering, system integration, and configuration, as well as customer-specific/project-specific
/hmi/html_76/partner/coc_wincc.htm training, all pertaining to SIMATIC WinCC. Our automation and industry competence and WinCC
system expertise ensure efficient solutions. Different WinCC Competence Centers focus on differ-
ent areas of expertise.
Qualified partners The Solution Partner program is a standard-setter in terms of the specific competencies of partici-
http://www.automation.siemens.com pating companies and the global network of partners. Siemens Industry Automation Solution Pro-
/_en/solutionpartner/index.htm viders are carefully selected and receive training on an ongoing basis, thus ensuring that you al-
ways have access to competent contact partners who are versed in the latest technology.
Specialists WinCC specialists are external system integrators who have made a name for themselves in SI-
http://www.automation.siemens.com MATIC WinCC and who, as a result of numerous projects realized with WinCC, have developed
/providerv2/guiFindSolProvs.aspx specific expertise, which they frequently offer for sale as WinCC add-ons.
SIMATIC Portal SIMATIC is Siemens' future-proof answer to the ever-increasing demands placed on modern ma-
http://www.siemens.com/simatic chines and plants in the production and process-control industry: an integrated system for solving a
diverse range of automation tasks with utmost efficiency, flexibility, and cost-effectiveness.
Contacts In many countries and regions, a Siemens contact is available for all questions concerning SI-
http://www.automation.siemens.com MATIC HMI and WinCC.
/partner/guiwelcome.asp?lang=en
Siemens AG
Industry Sector
Postfach 48 48
90026 NÜRNBERG