Professional Documents
Culture Documents
Objectives
- Application Possibilities
- Forms of Delivery
- Core Functions
- Architecture
Customer Benefits
Alarm Logging
(Message
System)
Programming
Interfaces
Process Visualization
Standard
Interfaces
Tag Logging
(Archiving)
Protokolle
Report Designer
(Report System)
PLC
Communication
OS-Projecteditor
Group Display
Picture Tree Manager
Time Synchronization
Horn Editor
Lifebeat Monitoring
Graphic Object Update Wizard*
Block List Editor*
Chipcard (Option)
As of Version 6.0, there is no longer a license check for the Basic Process Control
package. * Function can only be used in PCS7.
Work Area
Toolbar Area
Licenses
RC
64,000
Power Tags
64,000
Power
Pack
(8000)
Runtime
64,000
64,000
Power
WinCC Chip
card reading
function
WinCC Web
Navigator
WinCC
Redundancy
Power Tags
Pack (8000)
RC
8000
Power Tags
8.000
Runtime
8000
Power Tags
Power
Pack
(1024)
RC
1024
Runtime
1024
Power Tags
Power Tags
1024
RC
256
Power
Pack
(256)
Power Tags
Runtime
256
Power Tags
1024
Power
Pack
(256)
Power Tags
256
RC
128
8.000
Power
Pack
(1024)
Power
Pack
(128)
Runtime +
Configuration (RC)
Runtime
128
Power Tags
WinCC
WinCC
256
Power
Pack
(128)
Runtime (RT)
WinCC
ProAgent
Server
WinCC
Dat@Monitor
(Web_Client)
WinCC
Software
ODK
WinCC
User
Archives
W inCC
W inCC
S IE MEN
S
SI C OM P
IP C RI
20
SIMATIC
Office PC
SIMATIC
Industry PC
SIMATIC
Panel PC
PC 670
PC 870
W inCC
Installation
Option n
S IE M E N S
SI C O M P
IP C R I 2 0
Option1
De-Installation
WinCC and Multi authorization
System Configurations
Corporate
Management
Level
PC Network
Client
Server 1
Client
... Server 12
Distributed
systems with
...
Client
Client
Server / R.-Server
Client
Server
LAN-Netz
Single-user
system
with PC and OP
Automation Level
SIMATIC
WinAC MP
Distributed
Peripherals
MPI
(not with S5)
S5/S7 S505 S5
S7 S505 S5/S7
Example 1
Example 2
COROS OP45
Serial coupling
Coupling via
Network
SIMATIC S5 / S7 / 505
or
PLCs from other manufacturers
WinCC
SIMATIC S5 / S7 / 505
or
PLCs from other manufacturers
Multi-user System
Client 1
...
Client 32
SIMATIC NET
Industrial Ethernet:
TF (Technological
(S7), S5:
Functions)
S7: S7 Protocol
all WinCC
applications
all WinCC
applications
SIMATIC NET
Profibus:
(S7), S5: FMS (PROFIBUS)
S7: S7 Protocol
Red. Server
Server
SIMATIC NET
SIMATIC 505
SIMATIC S7-400
SIMATIC S5
all WinCC
applications
all WinCC
applications
M Client 1
M Client 32
all WinCC
applications
Red. Server
Server 1
all WinCC
applications
Server12
-Technological distribution
-Functional distribution
-Load distribution
...
SIMATIC NET
SIMATIC 505
SIMATIC S7-400
SIMATIC S5
The Architecture
WinCC Explorer
System Controller
CS RT
Grap
hics
CS RT
CS RT
CS RT
Glob
al
Scripti
ng
Alar
m
Loggi
ng
Tag
Loggin
g
CS RT
CS
Repo
rt
Design
er
RT
Option
CS
CS
CS
RT
Access
Protection
...
RT
TextLibaray
RT
Data Manager
MS 2000
SQL-Server
.mdf
RT .mdf
S5
S7
Openness
OPC Client
Network
User
Programs
Management
Analysis
Optimization
...
OPC Server
Graphics OCX
Trend
API
Windows
Applications
Active X
OLE
Excel
Alarm
ODBC/SQL
Report
Word
Access
OLE DB(ADO)
PowerBuilder
DDE
Data Manager
SIMATIC NET
OPC
...
Installation
Hardware
According to the Installation Guidelines (InstallNotes.pdf)
Software
Microsoft operating system Win2000 or WinXP
Windows 2000 SP3 or Windows XP SP1 (included in delivery)
Microsoft Message Queuing services (from Windows Installation CD)
Internet Explorer V6.0 SP 1 (included in delivery)
Microsoft SQL Server 2000 SP3 (included in delivery)
WinCC V6.0
SIMATIC NET, V6.0 SP5 (November 2002) for Windows 2000 and Windows XP
Installation of the authorizations
Steps
Parameterize Migration Tool for the migration of Configuration
and Runtime databases (also Storage)
Convert Screens, Libraries, etc.
TCP/IP
1... n
SIMATIC NET
Standard Client/Server
Migration Tool automatically converts the Server project including the computer list
Sybase Installation must still exist on the WinCC computer for conversion to MS SQL.
Multi-Client/Server
Separate migration of the Server and ALL Client projects
Sybase must be present on ALL WinCC computers for the migration
Initial Export and Import (create new) of the Server packages is necessary after that it runs automatically.
Customer Support
Questions
selection
Questions on
on
handling
handling
No guaranteed response
time Principle of first in - first
out
Weekdays (Mo. - Fr.) from 8:00
- 17:00
Product Support
Guaranteed response
time
< 2 hours
24h support on weekdays
Using a
SIMATIC AV Card
(if in a hurry)
http://www3.ad.siemens.de/partner/
0911-895-7777
Fax
-7001
Premium Support (Fast
Connect)
Dispatcher
E-mail: techsupport@ad.siemens.de
TC Nrnberg-Moorenbrunn
SIMATIC WinCC
Operating and Monitoring, System Training
ST-BWINCCS
5 Days
SIMATIC WinCC
Advanced Course
ST-BWINCCV
5 Days
1)
SIMATIC WinCC
Operating and Monitoring, System Training
ST-BWINCCS
5 Days
1) Programming engineer,
Project design engineer,
Commissioning engineer
possibly Decision
makers Maintenance
.
.
.
1)
SIMATIC WinCC
Advanced Course
ST-BWINCCV
5 Days
Objectives
- Creating a Project
- Installing Communication Drivers
- Configuring Tags
- Tag Simulation
- Cross Reference
Configuration Preparation
Creating a Project
Office PC or
Industrial PC
-one Single-User
-one Server, several Clients without their
own project
-Distributed Systems, several Clients
with their own
project
SIMATIC NET
PLC
-Imported RT-Data
-Cross Reference List (.xfc)
-Database Logfile
-Main File of the Project
-Computer Name
-Configured Screens (.pdl, .sav)
-Screen Files (.bmp, .emf, .wmf)
-Action Lists (.act)
-Database with
Configuration Data
-Cross Reference Main
File
-Log File to Database
-Master-DB with link to the RT-Files +
User Archive-Database
.cur
.ani
Project(name) with
Editors
- Graphics system
- Message system
- Measured value acquisition
and archiving
- Report system
- C-Programs, VBS and actions
- Text library
- Password protection
- Cross Reference
- Computer
- Tag Management
- Structure Types
Editors
- Graphics system
- Message system
- Measured value acquisition
and archiving
- Report system
- C-Programs, VBS and actions
- Text library
- Password protection
- Cross Reference
-Option
Task Definition
17.02.96 11:15:45
SIMATIC WinCC
Motor picture
Bottling plant
Start picture
Trends
Setpoint speed
Actual speed
Data Management
Reports
Coupling
Process Image
Function
Setpoint speed
Actual speed
20
SIMATIC S5
SIMATIC S7
SIMATIC 505
30
35
Archive
Other drivers
40.0
40.1
Message
events
Motor 1 defective
Valve 3 sticks
...
WinCC Station
Setpoint value 95
DB20
DBW 6 Int=190
DBW 8 Int=95
Image
Actual speed
DB20.DBW6
Setpoint speed
DB20.DBW8
Digital output
LAN
Digital input
MPI
WinCC Station
Setpoint value 95
V010
=190
=95
Image
Setpoint speed
V010,
Digital output
LAN
Digital input
MPI
Communication Structure
Lab Station:
WinCC communication drivers (e.g. SIMATIC S/Protocol Suite)
MPI
S7-DOS Driver
CP5611
S7-300
PLC
(e.g. SIMATIC S7-300 withCP 342)
Motor operation
SIMATIC HMI
Siemens AG 2003. All rights reserved.
Aktionen.pdl
SIMATIC HMI
Siemens AG 2003. All rights reserved.
close
open
Motor.pdl
Conveyer 2
Q0.1
Bandanlage.pdl
H
Object name: Help Text
Tooltip text
Binary tag
old /
new
Main Memory
Limit values
Ring buffer main memory
Process
SIEMENS
New page
Prepare message
SICOMP
IPC RI 20
WinCC Control
Message
frame
Interpretation
Selection in archive
Shift reporting
- Daily reporting
- Monthy reporting
-
.mdf
Central WinCC
Archive Server
Add-On
ODK
User applications
Options
-SIMATIC IT PPA
-Dat@Monitor (Web-Client for Historian
display and analysis )
ALG Master
Database
Data acquistion
WinCC Data Manager
OPC Server
WinCC Server-Server
Communication
Long-term archiving
High performance archiving
Swap data in - swap data out
Analysis / Evaluation
WinCC Standard Tool (Control)
Protocols (Report Designer)
WinBDE (recording operating data)
Dat@Monitor + Excel
Connectivity Pack + External Appl.
IndustrialDataBridge + Ext. Appl.
Data acquisition
COMPUTER_PROJECT_ALG_<Time_from>_<Time_to>.LDF
COMPUTER_PROJECT_ALG_<Time_from>_<Time_to>.MDF
COMPUTER_PROJECT_ALG_YYYYMMDDHHMM.LDF
Example: DOZENT_Generatorhaus_ALG_200304300901.mdf
Message list
Long-term archive
Short-term archive
System blocks
Clock time
Date
User blocks
Error cause
Process value 2
Error location
Process value 1
Number
max. 10
Message
line
max. 10
Select Wizard
Editing window
Analog Alarm
Menu Bar: Options, drop-down menu: Add Ins ...
Navigation window
Table window
Wizard Overview
Wizard
Configuration dialogs
Shortcut menu
1...
1...
Types
16
Message Classes
1...
16
2) Priority Division
1...
16
Types
1...
Message Classes
16
Max. 16
- Status texts
for the message
OR OR
Shortcut menu
Backup Configuration
Shortcut menu
RT Data
Reset:
All Database files in the
long-term archive are deleted after check
back.
In the first RT mode, DB files are
automatically recreated.
Connect:
Necessary when old archive files are to be
evaluated
Disconnect: Opposite of
Connect
Shortcut menu
"Properties"
- Tags for
process value
blocks
- Loop in Alarm
picture
- Separation lines
- Selection
- Auto Scrolling
- Line properties
- Column properties
- Shorten Title
Toolbar
Double-click
- Edit Message
blocks
- Edit
Message line
- Toolbar on/off
- Keyboard functions
- Alignment
- Hotkeys
Double-click
Configuration Notes
- S5-PMC: higher CPU scan cycle time and higher memory usage
+ Advantage with S5 communication: S5-PMC does Blocking
+ S7 blocks integrated in the operating system
Properties
-Sequence
-Two-digit year
-Time format
-Length
-6 digits
8 characters -With leading
zeros
User blocks
Properties
-10 characters
-14 characters
Properties
-4 characters
-12 characters
-Length
-Length
8 characters 15 characters
Message types
Blast furnace
Alarm
General
Acknowledgement
Failure
- Arrived: red
Properties
- Departed: green
- Acknowledged: yellow
-Acknowledgement
came in
Archive
Status texts
- ARR
- DEP
- ACK
- A/D
Properties
Table window
General
-Date
-Time
-Number
-Status
-Message text
-Point of error
-Cause
-Class
-Type
Message Line
Parameters Status
Bar
-Display
-Alignment down
-Select all
elements
of the status bar
Toolbar
-Display
-Alignment up
-All key functions
Copy (if present) the picture melden.pdl into your project from the catalog ab_uebung.
Group Messages
......
...
.....
...........
Message numbers y to (y+2m)
15...
8...
00000001 00000001
00000000 00000001
00000001 00000000
00000000 00000000
incoming ackn.
outgoing not ackn.
outgoing ackn.
(finished)
15...
8...
00000001 00000001
00000000 00000001
00000001 00000000
00000000 00000000
incoming ackn.
outgoing not ackn.
outgoing ackn.
(finished)
Blast furnace
Incoming
Alarm
Incoming
Incoming
Error
Incoming
Alarm
Incoming
Error
Incoming
Display only in RT
Archive segments
Objectives
- Measurement Point
- Trend Display
- Trend Archive
- Archive Description
- Archiving Time Period
- Trend Analysis
- Displaying Measured Values
Int. Tag
n<HD
Ring buffer RAM
Measured Value(s)
SIEME
NS
SICO
Process
Fast Archive
<=1min
Measured va lues
frame
MP
IPC
RI 20
Slow Archive
>1min
Interpretation
Shift report
- Daily report
- Monthly report
-
.ldf
.mdf
Central WinCC
Archive Server
AddOn
PM
Analysis
ODK
User applications,
such as diagnostics
Options
-SIMATIC IT PPA
-Dat@Monitor
(Web-Clients
for display
and
analysis )
RT Master Database
Data acquistion
WinCC Data Manager
OPC Server
WinCC Server-Server
Communication
Analysis / Evaluation
WinCC Standard Tool (Control)
Protocols (Report Designer)
WinBDE (recording operating data)
Long-term archiving
High performance archiving
Swap data in and swap data out
Dat@Monitor + Excel
Connectivity Pack + External Appl.
IndustrialDataBridge + Ext. Appl.
Data acquisition
+WinCC Data Manager
+OPC Server
+WinCC Server-Server
Communication(max.11)
Time
Minimum
Archiving/Display Cycle
1)
1)
Maximum
Action
Last acquired
value
(1)
Data window
Navigation window
Table window
Archive Wizard
-Configured directly
-No display limitation
-Start Event
-Stop Event
Shortcut menu:
-Properties
Archive Configuration
OR OR
Cyclic archive
Cyclic archive
RT Data
Reset:
All Database files in the
long-term archive are deleted after check
back.
In the first RT mode, DB files
are automatically recreated.
Connect:
Necessary when old archive files are to be
evaluated
Disconnect: Opposite of
Connect
Toolbar:
-Keyboard functions
-Hotkeys
Double-click
-Label
-Coarse/Fine Scaling
-Label
- Limit Values
-Time Overlap
-Time Jump automatic or
-Value with uncertain
status
-Coarse/Fine Scaling
5 sec
5 sec
Acquisition:
Archiving/Display:
1 sec
5 sec
Acquisition:
Archiving/Display:
1 sec
1 sec
Acquisition:
Archiving/Display:
Note: You have to take into consideration that the
acquisition cycle is a permanent load in the background
(communication)
2 sec
10 sec
Start Events and Stop Events are functions that are called every 500 ms for every trend! Better: Global Script Action (*.pas)
with TLGLockArchiv
Exercise Step 3/5 WinCC Online Trend Control in the Graphics Designer
Double-click
Archive segments
Open Table->Return all rows
Archive segments
Open Table->Return all rows
User Archives
Objectives
User Archives
Advantages of user archives for:
Recipes
Batch data
Production data
Data storage for data from the controller
Tool management
Navigation window
Data window
Archive
Fields
Note:
You can copy Fields and Archives with Ctrl+C, and insert them with
Ctrl+V
Create new
record
Delete
record
Change
current field
Scroll in
table
window
Time Base
Print
Define sort
condition
Help
Floor/Room
Actual room
temp.
Setpoint
room temp.
LastUser
Last data record
change
Note: The ID number is an internal reference of the database. The numbering does
not have to be consecutive. It should not be used for selections.
Select
Interface tags
Control tags
Interface tags
Sort
Runtime
Archive fields
You can activate the editing mode for the form window by
pressing Ctrl+double-click!
Form window call
You can change the column width after you press Ctrl+double-click.
Double-click
Note: Every time you make a change to the archive structure, you have to reselect the source (archive).
Switch over
Shortcut menu
Co
nfiguration
Runtime
Views Archives
Double-click
for views
Objectives
Report Designer
Name of print job
F=File
P=Print
RP=Report
Name of layout
Double-click
Report
Double-click
Report
Layout
Shortcut menu
-Trend color
-Scaling of y axis
Shortcut menu
-Trend color
-Scaling of y axis
Shortcut menu
{
#pragma code("prtscrn.dll")
BOOL PrtScreenPart (ULONG left, ULONG top, ULONG width,
ULONG height);
#pragma code()
ULONG ObenX,ObenY,Breite,Hoehe;
80
ObenX=GetLeft(lpszPictureName,"Control1");
ObenY=GetTop(lpszPictureName,"Control1");
Breite=GetWidth(lpszPictureName,"Control1");
Hoehe=GetHeight(lpszPictureName,"Control1");
PrtScreenPart (ObenX,ObenY,Breite,Hoehe+80);
}
CSV Provider
Runtime
.emf
Object Hardcopy
Objectives
- Project Functions
- Standard Functions
- Internal Functions
- Project-wide Actions
Actions
winput = 0;
iscreen = 1;
You can place dialog screen windows where you want them on the screen. To establish a
reference to the operated object, it is advantageous if the dialog box appears where it
is used. You can attain this positioning with the following steps:
- Scanning the properties of the operated object and the entire screen
- Scanning the size and stretching the dialog window
- Specifying the appearance location of the dialog window (to the right or left next
to the operated object)
These functions are combined in a standard function that can then be used from
any location (each screen and operating object).
Operating hours.PAS
WORD HOUR, MINUTE;
BYTE Z_ON;
Z_ON = GetTagByte ("Z_On");
if (Z_ON) {
MINUTE = GetTagWord
("Minutes");
MINUTE = MINUTE + 1;
SetTagWord ("Minutes", MINUTE);
HOUR = MINUTE / 60;
SetTagWord ("operating hours", HOUR);
}
return(HOUR);
Procedures
(Function)
O
u
t
p
u
t
w
i
n
d
o
w
f
o
r
c
In the project
Module
Procedure A
Procedure
B
Procedure C
Action
Instruction 1
Instruction 2
Trigger
Procedure C
.
Instruction n
Instruction a
Instruction
b
Procedure D
Procedure E
Call
ODBC
OCX
OLE
SQL
OPC
ActiveX
DDE
Objectives
- Open Architecture
- OLE Automation
- ODBC
- DDE
- OCX
- ActiveX
- OPC
- VBS
ActiveX(1)*
CHN (3)
OPC(1)*
DDE (1)*
OLE (1)*
OLL (3)
COM
(1)
API (2)
ODBC (1)
SQL (1)
Action (2)
OCX (1)*
(1) Windows
(2) WinCC
(3) WinCC Objects
(4) SYBASE
WinCC Database
Evaluation
Valve 1: 3x
Valve 2: 3x
.
.
.
Type O
collective noun
OPC server
Computer A
Computer B
OPC server
OPC client
Windows
network
COM
library
Windows
COM
library
DCOM
Objectives
API
(Application
Programming Interface)
Contorl Panel
CS
CS
CS
RT
G
ra
ph
ics
CS
RT
C
ust
om
for
m
pro
ces
sin
g
Access
protection
RT
Si
gna
llin
g
M
eas
ure
d
val
ues
CS
...
CS
RT
RT
R
T
Text
library
use
r
arc
hiv
e
CS
CS
RT
RT
Report
Option
CS
RT
Tag management
Process data
Data Manager
.mdf
RT .mdf
S5
S7
ANSI-C Functions
Access to data
Q
Q
Q
configuration functions
Runtime functions
Basis for
Q
Q
Q
individual functions
technological-type options
industry-referenced function modules
API
API
API
API
API
API
API
API
API
API API
API
API
API
User
application
Integrating configuration
functions
User
application
Integrating Runtime
functions
Integrating
communication
channels
WinCC Module
Application examples:
Q
WinCC
Client
WinCC
Client
C
TTCCPP
//IIPP
TTeerrmiinnaall-
bus
WinCC
WinCC
NNeettBE
Server
EUUII
Server
Process bus
Plant Part
1
Plant Part
2
WinCC - OS
Standard PC
WinCC
Data Manager
OPC
Client
OPC
Server
Microsoft
Excel
(OPC Client)
OPC
Server
WinCC Server 3
OPC Server
Data Manager
OPC
Client
WinCC Server 1
Connection 1
e.g.
Simatic S5
Connection 2
WinCC Server 2
OPC Server
OPC Server
Connection 3
Data Manager
Channel DLL
e.g.
(Com.-Driver)
Simatic S7
Data Manager
e.g.
Channel DLL
Simatic S5 (Com.-Driver