SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
Suitable SCE Trainer Packages for these training curriculums
SIMATIC controllers
SIMATIC S7-300 with CPU 314C-2PN/DP
Order no.: 6ES7314-6EH04-4AB3
SIMATIC S7-300 with CPU 314C-2PN/DP (upgrade)
Order no.: 6ES7314-6EH04-4AB4
SIMATIC S7-300 with CPU 315F-2PN/DP
Order no.: ES7315-2FH14-4AB1
SIMATIC ET 200S with CPU IM151-8 F PN/DP
Order no.: 6ES7151-8FB00-4AB1
SIMATIC HMISIMATIC TP700 Comfort Panel - Color
Order no.: 6AV2133-4AF00-0AA0
SIMATIC STEP 7 Software for Training
SIMATIC STEP 7 Professional V11 - Single license
Order no.: 6ES7822-1CC01-4YA5
SIMATIC STEP 7 Professional V11 - Classroom license (up to 12 users)
Order no.: 6ES7822-1AA01-4YA5
SIMATIC STEP 7 Professional V11 - Upgrade license (up to 12 users)
Order no.: 6ES7822-1AA01-4YE5
SIMATIC STEP 7 Professional V11 - Student license (up to 20 users)
Order no.: 6ES7822-1AC01-4YA5
Please note that these training packages are replaced with successor packages when necessary.
An overview of the currently available SCE packages is provided under: HUsiemens.com/sce/tpUH
Advanced Training
For regional Siemens SCE advanced training courses, please get in touch with your regional SCE contact
person siemens.com/sce/contact
Additional information regarding SCE
siemens.com/sce
Information regarding usage
This SCE training curriculum for the end-to-end automation solution Totally Integrated Automation (TIA) was
prepared for the program "Siemens Automation Cooperates with Education (SCE)" specifically for training
purposes for public educational facilities and R&D facilities. Siemens AG does not guarantee the contents.
This document curriculum is to be used only for initial training on Siemens products/systems; i.e., it can be
copied entirely or partially and given to those being trained for usage within the scope of their training.
Distributing or copying this training curriculum and sharing its contents is permitted within public training and
advanced training facilities for training purposes.
Exceptions require written permission from the Siemens AG contact person: Roland Scheuerer
roland.scheuerer@siemens.com.
Offenders will be held liable. All rights including translation are reserved, particularly if a patent is granted or a
utility model or design is registered. Usage for industrial customer courses is expressly prohibited. We do not
consent to the training curriculums being used commercially.
We wish to thank the Michael Dziallas Engineering Corporation and all other involved persons for their support
during the preparation of this document.
4. Inserting a TP700 Comfort Panel into the color mixing station project ....................................................... 12
4.1 Loading and re-saving a project template ................................................................................................ 13
5. WinCC user interface ................................................................................................................................. 25
5.1 Project tree ............................................................................................................................................... 26
5.2 Menu bar and buttons ............................................................................................................................... 26
5.3 Working area ............................................................................................................................................ 27
6. Device configuration of the TP700 Comfort Panel...................................................................................... 30
6.1 Setting the IP address .............................................................................................................................. 31
6.2 Setting the panel as PROFINET IO device............................................................................................... 32
7.2 Tank 1 screen ........................................................................................................................................... 44
7.3 Tank 2 screen ........................................................................................................................................... 47
7.4 Tank 3 screen ........................................................................................................................................... 47
7.5 Testing configuration in Runtime .............................................................................................................. 48
8. Settings on the TP700 Comfort Touch Panel ............................................................................................. 50
8.1 Setting the date and time .......................................................................................................................... 51
8.2 Setting transfer properties ........................................................................................................................ 52
8.5 Transfer mode .......................................................................................................................................... 54
8.6 Configuring a connection .......................................................................................................................... 55
9. Display and operating objects ..................................................................................................................... 56
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
10.2 Configuring display and operating objects in the “Tank 2” and “Tank 3” screens .................................... 76
10.3 Objects in the root screen ......................................................................................................................... 78
10.4 Configuring objects in the permanent window .......................................................................................... 97
11.1 Analog alarms ......................................................................................................................................... 101
12.2 Specifying data records .......................................................................................................................... 106
12.3 Creating "Recipe input" and "Select recipe" screens .............................................................................. 106
12.4 Selecting a recipe in Runtime ................................................................................................................. 111
12.5 Entering new recipes in Runtime ............................................................................................................ 112
13. Configuring user administration ................................................................................................................ 113
13.1 Setting up user groups ............................................................................................................................ 113
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
Additional Functions for
PLC Programming
Module 30
Basics of PLC
Programming
Module 10, Module 20
PROFIBUS PROFINET
Module 60 Module 70
AS-Interface
Module 50
Safety/Security
Systems
Module 80
Drives
Module 100
Process Visualization
(HMI) Module 90
Sensor Technology
Module 110
Simulation SIMIT
Module 150
More Programming
Languages
Module 40
1. Preface
Regarding its content, module 010-090 is part of the training unit 'Process visualization' and
demonstrates how to configure WinCC visualization between the TP700 panel and the SIMATIC S7-300
controller.
Training objective:
This module describes the most important functions of the WinCC Advanced V11 software.
Typical tasks are performed in a sample plant.
"Open" and "Save as" of a STEP 7 project
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Inserting an HMI station
WinCC Advanced V11 interface
Configuring display and operating objects
Configuring alarms
Creating recipe management
Setting up user administration
Requirements:
To successfully work through this module, the following knowledge is assumed:
Proficiency in working with Windows
Basics of PLC programming with the TIA Portal
(e.g. module 020-010 - ‘Startup’ Programming of SIMATIC S7-300 with TIA Portal V11)
Blocks for SIMATIC S7-300
(e.g. module 030-010 – Block Types for SIMATIC S7-300 )
Timer and counter blocks for SIMATIC S7-300
(e.g. module 030-020 – IEC Timers and IEC Counters for SIMATIC S7-300 )
Industry Sector, IA&DT
1 PC
2 STEP 7 Professional
and WinCC Advanced
(TIA Portal V11 SP2)
3 Ethernet connection
5 SIMATIC HMI
TP700 Comfort Panel
4 S7-300 with
CPU 315F-2 PN/DP
Hardware and software needed
1 PC Pentium 4, 1.7 GHz 1 (XP) – 2 (Vista) GB RAM, free disk storage approx. 2 GB
Operating system Windows XP Professional SP3/Windows 7 Professional/Windows 7
Enterprise/Windows 7 Ultimate/Windows 2003 Server R2/Windows Server 2008 Premium SP1,
Business SP1, Ultimate SP1
2Software STEP 7 Professional V11 SP2 (Totally Integrated Automation (TIA) Portal V11) and
WinCC Advanced V11 SP2
3 Ethernet connection between PC and CPU 315F-2 PN/DP
4 SIMATIC S7-300 PLC, e.g. CPU 315F-2PN/DP with 16DI/16DO signal module.
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
2. Notes on programming for SIMATIC S7-300
2.1 SIMATIC S7-300 automation system
The SIMATIC S7-300 automation system is a modular microcontroller system for the low and medium
performance range.
A comprehensive range of modules is available to optimally adapt the system to the automation task.
The S7 controller consists of a power supply, a CPU, and input and output modules for digital and
analog signals.
If necessary, communication processors and function modules are also used for special tasks such as
stepper motor control.
The programmable logic controller (PLC) uses the S7 program to monitor and control a machine or a
process. The I/O modules are queried via the input addresses (%I) and addressed via the output
addresses (%Q) in the S7 program.
The system is programmed with the STEP 7 software.
2.2 STEP 7 Professional V11 (TIA Portal V11) programming software
STEP 7 Professional V11 (TIA Portal V11) software is the programming tool for the following automation
systems
- SIMATIC S7-1200
- SIMATIC S7-300
- SIMATIC S7-400
- SIMATIC WinAC
STEP 7 Professional V11 provides the following functions for plant automation:
- Configuration and parameter assignment of the hardware
- Specification of the communication
- Programming
- Testing, commissioning, and servicing with operational/diagnostic functions
- Documentation
- Creation of visualizations for SIMATIC Basic Panels using the integrated WinCC Basic software.
- Visualization solutions for PCs and other panels can also be created with other WinCC software
packages
Support is provided for all functions in a comprehensive online help system.
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
2.3 Operator control and monitoring with WinCC
System description
Since processes are becoming more and more multi-layered and the demands regarding the
functionality of machines and plants are rising, the operator needs a powerful tool to control and monitor
production systems. An HMI (Human Machine Interface) system represents the interface between the
human being (operator) and the process (machine/system). The controller has the actual control over
the process. There is an interface between the operator and WinCC (at the HMI panel) and an interface
between WinCC and the controller.
WinCC is the software that you use to handle all necessary configuration tasks. WinCC Advanced V11 is
the software for process visualization.
WinCC handles the following tasks:
• Representing the process
The process is represented on the HMI device. If, for example, a state changes in the process, the
display is updated on the HMI device.
• Operating the process
The operator can operate the process via the graphical user interface. The operator can, for example,
enter a setpoint for the controller or start a motor.
• Generating alarms
If critical process states occur in the process, an alarm is triggered automatically; for example, if a
specified limit is exceeded.
• Logging process values and alarms
The HMI system is able to log alarms and process values. Thus, the process can be documented and
you can still access older production data at a later time.
• Documenting process values and alarms
Alarms and process values can be read out by the HMI system as a log. For example, you can output
the production data at the end of a shift.
• Managing process parameters and machine parameters
The HMI system is able to store parameters for processes and machines in recipes. You can transfer
these parameters from the HMI panel to the controller, for example, in a single step in order to change
production to another product type.
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
3.0 Project description
3.1 Hardware configuration
In our sample program for a color mixing station, we use a programming device with WinCC Advanced
V11 and WinCC Advanced V11 simulation.
The color mixing station is controlled using a SIMATIC S7-300. The operator uses a Touch Panel
(TP700) to operate the process via the graphical user interface.
The operator can, for example, enter a setpoint for the controller or start a motor.
The programming device, the SIMATIC S7-300 controller and the TP700 operator panel are
interconnected via the Ethernet interface.
The color mixing station is connected to the controller via digital and analog inputs and outputs.
PC for configuration
TP700 as HMI device
Note
WinCC Advanced Runtime simulation can also be used to represent the TP700 Touch Panel on the
programming device.
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
Auto-Man START T1 supply T1 drain T2 supply T2 drain T3 supply T3 drain Reservoir Motor
3.2 Plant description
A color mixing station is controlled using a SIMATIC S7-300 in automatic or in manual mode. In
"Automatic" mode, the three tanks are filled using a two-point control mechanism.
At minimum fill level, the supply valve of the corresponding tank is opened automatically and only closed
once the maximum fill level is reached.
The preset program is run when the Start button is pressed.
First, the drain valves are opened and the corresponding default quantities are filled into the reservoir
from the separate tanks.
After the drain valves are closed, the mixer motor is started.
At the end of the mixing process and after a short rest period, the drain valve of the reservoir opens and
the finished color mixture is discharged.
The start function is enabled as soon as the reservoir is empty.
The light in the start button is lit and a new color mixing process can be started.
In "Manual" mode, the automatic draining process is terminated; all valves and the mixer motor can then
be operated manually.
The lights in the buttons for manual operation are lit.
Note
The default quantities and time periods are determined by the program.
If another color mixing process is to be started, the default quantities and time periods must be changed
in the program or a new program must be loaded to the controller.
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
3.3 Task
In the case of the color mixing station, the program was modified using the programming device every
time the mixing ratio had to be changed. Since these modifications are not only time-consuming but also
risky if input is incorrect, the decision was made to add a TP700 Comfort Touch Panel to the color
mixing station.
Using the panel, the following requirements are to be met:
- It should now be possible to operate the color mixing station via the panel as well.
- The fill levels of the tanks and of the reservoir are to be indicated as bars and also as numerical
values.
- The movement of the mixer motor is to be represented graphically.
- The default quantities are to be entered using the panel.
- The minimum and maximum fill levels of the three tanks are to be displayed on separate tank
screens.
- Switching between the operating modes is also to be performed using the panel, and the respective
operating mode will be displayed on the panel.
- The finished mixtures are to be stored as recipes in the panel and need only be selected by the
operator.
- The fill levels are monitored and alarms are to be generated in the event of danger.
- A password must be entered in order to operate the color mixing station.
- Communication of the TP700 Comfort Panel with SIMATIC S7-300 controller is to take place via the
Ethernet interface.
3.4 Configuration
The STEP 7 Professional V11 configuration software and WinCC Advanced V11 are used to create a
process visualization for the color mixing station on the programming device. The process values are
represented with screens and screen objects. Default values can be transferred to the controller using
operator controls. Communication between the HMI panel and the machine or the process takes place
by means of tags via the controller. The value of a tag is written to a memory area (address) in the
controller, where it is read by the HMI panel.
The process visualization is saved and transferred from the programming device to the TP700
Comfort HMI panel after generation.
After the panel is powered up, the process can be monitored and the plant can be operated.
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
4. Inserting a TP700 Comfort Panel into the color mixing station project
The 'Totally Integrated Automation Portal V11' software is used for project management and
programming.
Components such as control, visualization, and networking of the automation solution are created,
assigned parameters, and programmed here using a standard interface.
Online tools are available for the error diagnostics.
In the following section, a project is to be opened for SIMATIC S7-300, the project is to be stored under
a different name and adapted to the new requirements:
The central tool is the ‘TIA Portal V11’, which is opened with a double-click.
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
To set up a new panel in the project, double-click 'Add new device' to open the selection window.
Under HMI, SIMATIC Comfort Panel, select the 7" Display Panel “TP700 Comfort”.
Enter the device name and set the check mark for "Start device wizard".
Click "OK".
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
A screen menu structure can be set up under Screen navigation.
For our example, four screens will suffice to begin with.
Assign the names "Root screen, Tank 1, Tank 2, Tank 3".
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
5.1 Project tree
The project tree window is the central control point for project editing.
All components and all available editors of a project are displayed in a tree structure in the project
window and can be opened there.
Each editor is assigned a symbol that identifies the associated object. Only elements supported by the
selected HMI device are displayed in the project window.
In the project window, you can access the HMI device settings.
5.2 Menu bar and buttons
The menus and the toolbars provide all the functions needed to configure the HMI device. If a
corresponding editor is active, editor-specific menu commands and toolbars are displayed.
If you point to a command with the mouse, a corresponding tooltip is provided for each function.
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
5.3 Working area
The objects of the project are edited in the working area. All WinCC elements are arranged around the
working area.
In the working area, we edit the project data either in tabular form (for example, tags) or graphically (for
example, a process screen).
A toolbar is located in the upper part of the working area.
Fonts, font colors and functions such as rotate, align, etc. can be selected here.
5.4 Tools
In the Tools window, a selection of objects is provided that can be inserted into screens, such as graphic
objects and operator control. In addition, the Tools window includes graphics with preassembled graphic
objects and collections of faceplates.
Objects are dragged to the working area.
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
5.5 Properties window
In the properties window, you edit the properties of objects; for example, the color of screen objects.
The properties window is available only in certain editors.
In the properties window, the properties of the selected object are displayed arranged according to
categories. As soon as you exit an input field, the value changes become effective.
If you enter an invalid value, this field is highlighted in color.
To obtain information on the valid data range, for example, view the tooltip.
In addition, animations and events of the selected object are configured in the properties window; in this
case, for example, a screen change when the button is released.
5.6 Details view
The details view displays additional information on the object selected in the project tree.
SCE_EN_090-010_R1209_ WinCC Advanced with Runtime and TP700 Comfort Panel
Industry Sector, IA&DT
5.7 Layout
Settings for the working area such as the zoom view, level selection and grid functions can be made in
the layout window. Animations, instructions, tasks and libraries of the relevant object can be selected
using additional tabs.