New Print Material For Scada
New Print Material For Scada
Welcome to WinCC - the Windows Control Center for Windows NT 4.0 and Windows
2000 SP1, Window-7.
WinCC is the world’s first IHMI (Integrated Human Machine Interface) software system, which truly
integrates your plant controller software with your automation process. WinCC’s user-friendly
components permit the trouble-free integration of new or existing applications.
With WinCC, you have a process visualization program that enables you to easily observe all aspects
of your automation processes.
WinCC combines the modern architecture of Windows NT 4.0 applications with the simplicity of a
graphic design program. WinCC includes all the elements necessary for solving process monitoring
and control tasks:
WinCC Runtime
• Enables machine operators, who are on the plant floor or in a control room, to interact with the
machine application.
1 Preparation and Installation
This chapter describes the WinCC hardware and operating system prerequisites, the
installation procedure for the CD-ROM, as well as the configuration of the work
environment.
WinCC supports all common IBM/AT-compatible PC platforms. Although values are given
for a minimum configuration, to efficiently operate WinCC, you should aim for the values
recommended for the optimum configuration.
Minimum Recommended
RAM 96 MB 128 MB
WinCC can run under Windows NT 4.0 (Workstation or Server) when at least Service Pack 5 is
installed, Windows 2000 SP1, Window-7 support versions also available..
1.3 WinCC Installation and Setup
WinCC is delivered on a CD-ROM, which has an Autorun program. Simply insert the CD-
ROM in the drive and the installation will begin automatically.
After a brief time for loading, the following installation dialog will be displayed:
To see further information about WinCC, or to install various utilities such as the tag simulator, click
on the text "Welcome", "Read First", "Display CD-ROM Contents", "Install SIMATIC WinCC",
"Install Tools and Drivers", "Language Selection").
To install WinCC, click on the text "Install SIMATIC WinCC". The installation wizard will then
guide you through the installation procedure step-by-step.
In the next dialog box, click on the "Next" button to proceed to the next step.
Read the license conditions and then click on "Yes" to confirm that you accept them.
1.3.1 WinCC Installation: User Registration
In the next dialog select the desired language (the system selects English by default) and the
destination directory in which you wish to install WinCC. The standard directories are
"C:\Siemens\WinCC" and "C:\Siemens\Common".
In the "Select Components" dialog, select the components you wish to install. To do so, click on the
desired component in the left window, and their elements will then be displayed in the right window. In the
right window, you can then select the individual elements. To select components/elements, click on the check
box in front of the desired component or element. Selected components/elements are identified by a check
mark in the box. The amount of memory required will be displayed together with amount available.
Figure
1.5: Installing WinCC; Selecting the components
Afterwards, click on "Next".
1.3.4 Installation: Authorization
To enable us to observe the changes in the tag values at runtime, we will use the tag
simulator. This is found on the WinCC CD-ROM under "SmartTools". Place the CD-ROM
in the drive. The Setup program will start automatically.
Figure 1.8: Installing WinCC; Welcome Screen
To install the Simulator, click with the left mouse button on the text "Tools and Drivers".
Click with the left mouse button on the text "WinCC - Simulator". The installation
wizard will then guide you through the installation procedure step-bystep.
In the next dialog box, click on the "Next" button to proceed to the next step.
Read the license conditions and then click on "Yes" to confirm that you accept them.
In the next dialog, select the directory in which you wish to install the
Simulator. The standard directory is "C:\Siemens\WinCC\SmartTools\Simulator".
Under Windows NT 4.0, WinCC can be deinstalled via the "Install/Uninstall" panel in
"Add/Remove Programs Properties", which is found in the Control Panel.
1. To deinstall WinCC, in "My Computer", select the "Control Panel" and thendouble-click on the
"Add/Remove Programs" icon.
2. In the "Install/Uninstall" panel of the dialog box, first click on "SIMATIC WinCC"and then on
the "Add/Remove" button.
3. After a few dialog boxes, you will be presented with a number of options for the
deinstallation. To remove WinCC completely, please click on the top button. To remove or install
WinCC components, please click on the middle button. To remove or install a language, please
click on the bottom button.
4. Click on "Start" to begin the deinstallation. Once the deinstallation is completed, click on
the "OK" button (your computer will then be restarted).
The following WinCC components will not be deleted:
• Any projects you have developed.
• The "Active X" objects that were delivered with WinCC (WinCC Slider, WinCC Push
Button, WinCC D/A-Clock).
Figure 2.1: WinCC Project "Qckstart"; Starting WinCC from the Start Taskbar
When you open WinCC for the first time, a dialog box will open offering three options for
creating a project:
• Create "Single-User Project" (default)
• Create "Multi-User Project"
• Create "Multi-Client Project"
• "Open an Available Project"
In the left sub window, you see the root of the hierarchy, which leads you to the individual project
steps. Hidden parts are marked with the symbol. To make a hidden part visible, click on this
symbol.
The right sub window shows the contents of the selected point.
In the left subwindow of the WinCC Explorer, click on the "Computer" icon .
In the right subwindow, you should then see a Server with your computer’s name (the NetBIOS
name). With the right mouse button, click on this computer and select "Properties" in the pop-up
menu. In the following dialog box, you can set the WinCC runtime system’s properties, such as,
which programs should be started, which language should be used and which keys should be
deactivated.
2.3 Step 3: Add PLC Driver
In the next step, we will configure our system so that our AS can communicate with WinCC via
the selected communication driver. Driver selected depends on the PLC used. The Siemens
SIMATIC PLC Family ranges from a few hundred to several thousand I/O points.
To add a PLC driver, click in the left subwindow of WinCC Explorer with the right mouse
button on "Tag Management".
In the pop-up menu, click on "Add New Driver"
In the "Add new driver" dialog, select one of the displayed drivers (e.g. "SIMATIC S7
Protocol Suite") and confirm by clicking on the "Open" button. The selected driver will then
appear under the Tag Management line.
To create a new connection, click on the icon in front of the displayed driver - all the
available channel units will be displayed.
Click with the right mouse button on the channel unit MPI.
In the pop-up menu, click on "New Connection".
Figure 2.3.2: WinCC Project "Qckstart"; Create New Connection
In the "Connection properties" dialog box, which appears afterwards, enter "PLC1" in the name field.
Then click on "OK" to confirm.
The tags used in WinCC represent either real values, such as the fill level of a water tank, or
internal values calculated or simulated within WinCC.
Process tags ("external tags", "PowerTags") are memory locations within a PLC or a similar
device. Thus, as an example, the fill level of the water tank will be determined by a fill level
sensor and saved in the PLC. Via a connection, the communications channel will pass the fill
level value to WinCC.
Internal tags are memory locations within WinCC, which deliver the same functionality as a PLC.
They can be calculated and modified within WinCC.
Tag groups serve to organize tags in structures. All the tags can be organized in tag groups to
improve clarity.
The Hierarchy of Tag Management with Process Tags
Tag Management
SIMATIC S7 PROTOCOL SUITE
MPI
PLC 1
Tag Group
Tag
The Hierarchy of Tag Management with Internal Tags
Tag Management
Tag group
Tag
If the "Tag Management" node in WinCC Explorer is still closed, you must first open it by
double-clicking on it.
Afterwards, click with the right mouse button on the line "Internal Tags" In the
pop-up menu, click on "New Tag".
Figure 2.4.1: WinCC Project "Qckstart"; Creating an Internal Tag
All of the internal tags that you create will be listed in the subwindow on the right in the WinCC
Explorer window.
It is just this simple to create a tag. For each tag you need, simply repeat these steps. You can
also "Copy", "Cut", and "Paste" tags. You can also select these commands in the pop-up menu
(click with the right mouse button on the desired tag) or use the standard Microsoft key
combinations (Ctrl+C = copy, Crtl+V = paste).
2.4.2 Step 4a: Creating a Tag Group
Tag groups can, for example, be organized below the logical PLC connection. To create a new
group, click with the right mouse button on the PLC connection you created.
In the pop-up menu, click on "New Group".
Figure 2.4.3: WinCC Project "Qckstart"; Creating a New Tag Group
In the "Properties of tag group" dialog, which is then displayed, enter a name for the group.
Before you can create a process variable, you must have installed a driver and created a connection
Internal tags, which you have already created, can be copied and pasted in your connection. Please
note that tags can only be placed in a connection with the commands "Copy" and "Paste". Tags cannot
be dragged into a connection.
To create process tags, click with the right mouse button on your PLC connection.
In the "Tag Properties" dialog, give the tag any name you want.
The type conversion gives you the option of converting data from one format to another.
When you want, for example, to observe a word tag in a double word format, WinCC performs
all the necessary calculations.
Figure 2.4.6: WinCC Project "Qckstart"; Properties of a Process Tag
Click on the "Select" button (it is located next to the address field) to open the "Address Properties"
dialog box.
From the list-box for the data area of the tag, select the data area "Bit Memory".
Check if the address type "Word" and MW "0" has been set.
Figure 2.4.7: WinCC Project "Qckstart"; Set Address
In this section, we will design a process picture for our Quickstart Project - you can let your
creativity free. To create a new picture and open the Graphics Designer, proceed as follows.
In the left subwindow in the WinCC Explorer, click with the right mouse button on "Graphics
Designer" to display the pop-up menu.
In the pop-up menu, click on "New picture". Afterwards, a picture file (".pdl" = "Picture
Description File") named "NewPdl0.pdl" will be created and displayed in the right subwindow in
WinCC Explorer.
In the right subwindow of the Control Center, click on "NewPdl0.pdl" with the right mouse button.
In the pop-up menu, click on "Rename picture".
In the next dialog box, enter "START.pdl".
Creating a Second Process Picture
Create a second picture and name it "SAMPLE.pdl". To do so, simply follow the steps given above.
To open Graphics Designer with the "START.pdl" picture, double-click on "START.pdl" in the right
subwindow in WinCC Explorer.
As an alternative, you can also click on "START.pdl" with the right mouse button and then select "Open
picture" in the pop-up menu.
2.5.2 The Graphics Designer
When you first open the Graphics Designer, it will look something like the following illustration.
To optimize your desktop, we recommend that the menu bar and menu palettes be arranged as shown in the
illustration.
To resize the Object and Style palettes, you must first drag them into the file window while holding
the left mouse button depressed. Naturally, the mouse pointer must be on the palette frame.
Move the pointer over the palette frame and make certain that it changes to a black double-arrow. With
the mouse button depressed, drag the palette frame to the desired size.
Color Palette:
Assigning colors to selected objects. In addition to the 16 standard colors, you can also use
custom colors that you have defined.
Object Palette
Contains the Standard Objects (Polygon, Ellipse, Rectangle, etc.), Smart Objects (OLE Control,
OLE Element, I/O Fields, etc.), and Windows Objects (Button, Check Box, etc.).
Style Palette
Changes the appearance of the selected object. Depending on the type of object, you can change
the type of line or border, the width of the line or border, the style of the line ends, or the fill
pattern.
Alignment Palette
Permits you to change the absolute position of one or more objects, to change the position of
selected objects relative to each other, or to standardize the height and width of several objects.
Zoom Palette
Sets the zoom factor (in percent) for the active window. The standard zoom factors are 8, 4, 1, 1/2,
and 1/4.
Menu Bar
Contains all the menu commands for the Graphics Designer. Commands which are not currently
available are displayed in gray.
Toolbar
Contains buttons to quickly perform the more common commands.
Font Palette
Permits you to change the font type, size and color in text objects, as well as the line color of
standard objects.
Layer Bar
Used to select which of the 16 layers (Layer 0 to 15) will be visible. Layer 0 is selected by default.
To learn more about the displayed objects, first click on the symbol and then on the
object you are interested in. For more information, please see the WinCC User Manuals.
which bars/palettes you want displayed and then confirm and close by clicking on the "OK"
button.
2.5.3 The Process Picture
For our first project, we will create a tank to represent Atlanta’s water supply. All the graphic
objects, which we need for our process picture, are found in the WinCC library. Beyond this, we
need a button, static text and an input/output field.
First, we will configure a button that enables you to switch to another picture at runtime. To create a
button, which toggles between the two pictures "START.pdl" and "SAMPLE.pdl", proceed as
follows:
In the "START.pdl" picture, in the Object Palette select the "Windows Objects" button.
In the file window, place the button with a mouse click and then resize it by dragging it with the
mouse button depressed.
Once you release the mouse button, the "Button Configuration" dialog will appear. Enter a
name of your choice in the "Text" field. For example, you could enter the name of the picture you
wish to jump to: "SAMPLE").
To select the picture you wish to jump to, click on the icon next to the "Change Picture on
Mouse Click" field.
In the next dialog, double-click on the picture "SAMPLE.pdl"
Figure 2.5.4: WinCC Project "Qckstart"; Button Configuration
Close the "Button Configuration" dialog and save your picture "START.pdl" by clicking on
the button .
To see a preview of the available tanks, click on the icon in the toolbar for the Graphics Designer’s
Library.
Click on "Tank 1" and with the left mouse button depressed drag the tank into the file window.
Using the black blocks surrounding the tank, you can resize the tank. Place the pointer over one
of the black blocks and, with the left mouse button depressed, drag it until the tank is the desired size.
From the "Global Library" "Plant Elements" "Pipes - Smart Objects", insert the required
pipes in the picture.
From the "Global Library" "Plant Elements" "Valves - Smart Objects ", insert the required
valves in the picture.
Position the object in upper right corner of the file window and with the mouse button depressed drag it
to the desired size.
Enter the Title "Atlanta Water Supply".
Set the font size to "20". To do so, click Sie in the toolbar on the arrow-key next to the current font size
To create a border around the text, click on the text and drag the black boxes until it is the desired size.
2.5.6 Step 5.4: Dynamise the Fill Level Display
An object is dynamised by, for example, linking one of its properties to a tag.
To display or modify the properties of an object, click with the right mouse button on the
desired object.
In the object properties window, you can modify or set attributes. For example, you can change the colors
and geometric properties (such as width and height), and set the minimum or maximum values.
Click in the left subwindow on "Tag Assignement".
In our project, the "Tank Level" tag should give (dynamise) the fill level of the tank. In the right
subwindow, click with the right mouse button on the transparent light bulb next to "Fill Level".
In the pop-up menu, select "Tag".
The standard settings for the minimum and maximum values for the tank bar chart are 0 and 100 respectively.
Figure 2.5.8: WinCC Project "Qckstart"; Identifying the Dynamisation
2.5.7 Step 5.5: Creating and Dynamising an I/O-Field
At the upper edge of the bar chart, the process picture has an input/output field. This field not only serves to
display the value of a tag, but also the changes in the tag’s value.
Creating an I/O-Field
Place the "I/O-Field" in the file window and then, with the mouse button depressed, drag it to the desired
size. Afterwards, the "I/O-Field Configuration" dialog will appear.
To select a tag, click on the icon and, in the following dialog, select the "TankLevel" tag.
As the update cycle, select "500ms". To do so, click on the "Arrow" icon, next to the "Update" field, on
the right and then click on "500ms" in the displayed list.
Figure 2.5.9: WinCC Project "Qckstart"; Configuring I/O-Fields
Dynamising an I/O-Field
In the object properties window, you can modify the properties of the I/O-Field.
Click with the right mouse button on the "I/O-Field" you made.
Save your picture "START.pdl" by a mouse click on the icon, and minimize the Graphics Designer.
2.6 Step 6: Setting Runtime Properties
Next, we will set the Runtime Properties for our project. Among other aspects, here we determine the appearance
of the runtime screen. Proceed as follows:
Click on "OK" to close the properties window. Now you are ready to work in runtime mode!
2.7 Step 7: Activate the Project
To see how our project will look to a plant operator at runtime, click on "File""Activate" in the menu bar of
the WinCC Explorer . A check mark will appear next to "Activate" to show that runtime is activated.
As an alternative, you can also click on the "Activate" button in the WinCC Explorer’s toolbar.
After a brief period of loading, you should see the following screen:
If no active PLC is connected to WinCC, you can use the Simulator to test your project.
To start the Simulator, click in the Windows taskbar on "Start"
"SIMATIC" "WinCC" "WinCC Simulator".
In the simulator dialog, select the tag(s), which you wish to simulate. To do so,
click on "Edit" "New Tag".
In the "Project Tags" dialog, select the internal tag "TankLevel" and then click
on "OK".
Mark the "active" check box. In the "Tags" panel, the tags will be displayed with their modified
values.
When you now switch back to your runtime screen, you will see how the simulator supplies your picture with
"real" values.
Deactivate your WinCC project by pressing the "Deactivate" button in the toolbar of the WinCC Explorer.
3 Display Process Values
This chapter presents the basic elements of the Tag-Logging Editor and describes the process
of displaying process values at runtime.
In WinCC Explorer’s left subwindow, click with the right mouse button on "Tag Logging".
The timer object is located in the second line of the navigation window. Timers can be configured for logging or
archiving.
If you click on the "Timers" object, all the standard times will be shown in the data window. These standard times
should NEVER be changed.
To create a new time interval, click with the right mouse button on the "Timers" object.
In the pop-up menu, click on "New".
In the "Timers Properties" dialog, enter "weekly" as the name.
From the list, select "1 day" as the Basis.
Enter "7" as the Factor. You have now entered the following information:
Figure 3.2: WinCC Project "Qckstart"; Set Times
The archive wizard offers an automatic and simple way to create an archive.
To create an archive, in the navigation window, click with the right mouse button on
"Archive".
In the pop-up menu, click on "Archive Wizard ...".
In the first dialog box, click on the "Next" button.
Enter "TankLevel_Archive" in the field labeled "Archive name".
For the Archive Type select "Process Value Archive".
Figure 3.3.1: WinCC Project "Qckstart"; Archive Wizard - Configuring the Archive
Click on "Next".
Click on the "Select" button and in the next dialog select the "TankLevel" tag. Click on "OK" to confirm
your entries.
To change the properties of the archive tags selected in the table window, click the right mouse button in
the table window. If no tag is selected, this command will automatically select the first tag in the table
window.
In the pop-up menu, click on "Properties".
Click on the button save your configuration - so that these settings will be
used the next time the runtime mode is activated. Close the Tag-Logging Editor.
3.4 Step 4: Creating a Trend Window
A trend window makes it possible to display process tags in the form of a graph. In WinCC Explorer, create a new
picture "TagLogging.pdl" and open this in the Graphics Designer.
In the Object Palette, select the "Controls" tab and then the "WinCC Online Trend Control".
Place the control in the file window with a mouse click and then drag it with the mouse button depressed to
the desired size.
In the quick configuration dialog on the "General" panel, enter "Fill Level_Curves" as the title of the trend
window.
With a table window, you can display the process tags in the form of a table.
In Object Palette, select the "Controls" tab and then "WinCC Online Table Control".
Place the control in the file window with a mouse click and, with the mouse button depressed, drag it to the
desired size.
In the quick configuration dialog under the "General" tab, enter "Fill Level_Table" as the title for the trend
window.
Figure 3.5.1: WinCC Project "Qckstart"; The General Properties of Table Control
Note:
To return from the preview to the normal mode, click with the left mouse button outside the
control in Graphics Designer file window.
Next we will set the runtime properties so that tag logging will also be started at runtime.
In the right subwindow of WinCC Explorer, click on the name of your computer.
To select a start picture, click on "Search" and, in the "Start Picture" dialog, select your picture
"TagLogging.pdl".
To see how the trend window will look at runtime, click on the "Activate" button in
WinCC Explorer’s toolbar.
As the tag to be simulated, select the internal tag "TankLevel" and then click on "OK".
Mark the "active" check box. In the "Tags" panel, the tags will then be shown with their
respective new values
Now the simulated course of the "TankLevel" tag will be displayed in the trend window and
table window.
Figure 3.7: WinCC Project "Qckstart"; Trend Window at Runtime
Deactivate your WinCC project by pressing the "Deactivate" button in the toolbar of the WinCC Explorer.
4 Configuring Messages
This chapter presents the basic elements of the Alarm Logging Editor and describes the
creation of a message system for runtime.
In WinCC Explorer’s left subwindow, click with the right mouse button on "Alarm Logging".
The System Wizard offers an automatic and simple way to create an alarm system.
To activate the System Wizard, click on "File" "Select Wizard...". Or, in the toolbar for Alarm Logging,
In the dialog box, select "System Wizard: Select Message Blocks" the System Blocks "Date, Time, Number"
and the User Text Blocks "Message text, point of error".
Figure 4.2.1: WinCC Project "Qckstart"; System Wizard - Selecting Message Blocks
Click on "Next".
In the dialog box, select "System Wizard: Preset Classes" the settings "Class of Error with
Types Alarm, Error and Warning (Incoming Acknowledgement)".
Click on "Next".
In the dialog box, select "System Wizard: Select Archive" the setting "ShortTerm Archive for
250 Messages".
Figure 4.2.3: WinCC Project "Qckstart"; System Wizard - Select Archive
Click on "Next".
The last dialog of the System Wizard provides a summary of the elements to be created by the wizard.
Click on "Apply".
4.3 Step 3: Message Text Configuration
Next, we will configure the messages in the table window. For our project, we will set three messages. But first
the length of the User Text Blocks created by the Wizard must be adjusted.
In the data window, click with the right mouse button on "Message text".
In the data window, click with the right mouse button on "Point of error".
In the next dialog, select the "TankLevel" tag and then click on "OK".
With the right mouse button, click on the number "1" in first column of the table window.
In the next dialog, select the "TankLevel" tag and then click on "OK".
With the right mouse button, click on the number "2" in first column of the table
window.
In the next dialog, select the "TankLevel" tag and then click on "OK".
Enter the value "4". This number indicates that the message in Line 1 will be
triggered when the fifth bit from the right of the 16 Bit "TankLevel" tag is set.
Messages can be shown in different colors at runtime. This makes it easy to quickly identify the message based on
its color.
In the data window, click with the right mouse button on "Alarm".
In the next dialog, you can set the color of the message text and backgrounds depending on the state of the
message.
Configure these colors for your messages in the "Alarm" message class:
With limit value monitoring, tags can be monitored to ensure that their values stay within the assigned limits.
In the Alarm Logging editor’s menu bar, click on "Tools" "Add Ins ...”.
In the "Add Ins" dialog, which is shown next, activate the "Limit Value Monitoring" component.
Figure 4.5.1: WinCC Project "Qckstart"; Monitoring Limit Values
The limit value monitoring is displayed in the navigation window below the Message Classes.
In the data window, click with the right mouse button on "Limit Value Monitoring".
In the pop-up menu, click on "New".
In the "Select a Tag" dialog that is shown next, select an available tag or create a new tag. For our project, we will
create a new tag.
In the "Tag properties" dialog, select the data type "Unsigned 16-bit value".
On the left side of the tag selection dialog, click on "Internal tags".
Click with the right mouse button on the "AnalogAlarm" tag you made.
Note
Hysteresis values can be entered as either absolute values or in percentages (of the high or low
limit value).
Figure 4.5.6: WinCC Project "Qckstart"; Configuring the High Limit
Click with the right mouse button on the "AnalogAlarm" tag you made.
To insert a message window in a picture, proceed in a manner similar to that described above for inserting a curve
or table display.
Open the Graphics Designer and create a new picture named "AlarmLogging.pdl". Afterwards, follow these steps:
In the Object Palette, select the "Controls" tab and then the "WinCC Alarm Control".
Place the control in the file window with a mouse click and then drag it with the mouse button depressed
to the desired size.
In the quick configuration dialog on the panel, enter "Water Supply Atlanta" as the title of the message
window.
Figure 4.6.1: WinCC Project "Qckstart"; WinCC Alarm Control - Quick Configuration
Double-click on the "WinCC Alarm Control" and activate the "Message Line" tab in the "Properties"
dialog box.
Use the "Move" element to transfer all existing message blocks to the enumeration of the elements in
the message line.
In the file window, place the button with a mouse click and then resize it by dragging it with the mouse
button depressed.
In the "I/O Field Configuration" dialog, click on the button to select the tag that should be connected
to the I/O Field.
Create a Slider
In the file window, place the button with a mouse click and then resize it by dragging it with the mouse
button depressed.
In the "I/O Field Configuration" dialog, click on the button to select the tag that should be
connected to the I/O Field.
Next we will set the runtime properties so that alarm logging will also be started at runtime.
In the left subwindow of WinCC Explorer, click on the "Computer".
In the right subwindow of WinCC Explorer, click on the name of your computer.
In the pop-up menu, click on "Properties".
Click on the "Startup" tab.
Mark the "Alarm Logging Runtime" check box. This also automatically activates the "Text Library
Runtime".
To select a start picture, click on "Search" and, in the "Start Picture" dialog, select your picture
"AlarmLogging.pdl".
To see how the message window will look at runtime, click on the "Activate" button in WinCC Explorer’s
toolbar.
At runtime, you can view a list of the current messages by clicking on the "Message list" button in the
Message window toolbar.
To acknowledge a single message, click on the "Single acknowledgement" button in the toolbar.
To view a list of the last 250 archived messages, click on the "Short-Term Archive" button.
5 Printing a Tag Logging Runtime Report
This chapter shows you how to create a report with the Tag Logging Runtime data.
64
5.1 Step 1: Creating a Layout
In the left subwindow of WinCC Explorer, click with the right mouse button on "Layout".
A new layout named "NewRPL00.RPL" will be added to the end of the list in the right subwindow of WinCC
Explorer.
To rename the layout, click with the right mouse button on "NewRPL00.RPL".
In the right subwindow of the WinCC Explorer, double-click on the layout "TagLogging.rpl".
The Report Designer will open showing an empty page. In creating a layout, you are not bound to a predefined
sequence.
We will first insert the static elements - with the Date / Time, Page number, Layout names, and Project names.
Begin editting the static elements of the layout by clicking on the button in the toolbar.
To display the date and time in the layout, click in the Object Palette on "System Objects" "Date/Time".
Position the object in lower left corner and, with the mouse button depressed, drag it to the desired size.
Then click with the right mouse button on the "Date/Time" object.
In the pop-up menu, click on "Properties"..
Make certain that you are in the "Properties" panel. In the left subwindow, click on "Font".
65
In the right subwindow, double-click on "Y Alignment" and select "Centered".
Following the example above, insert the system object "Project name". With regards to the alignment, make the same
changes as we did with the "Date/Time" object.
Now insert the system objects "Page Number" and "Layout Name" in the lower right corner. Change the "X Alignment"
to "Right" and the "Y Alignment" to "Centered".
5.2.2 Step 2.2: Editing the Dynamic Portion
To edit the dynamic portion of the layout, click on the icon in the toolbar.
To display process values in a table, click in the Object Palette on "Dynamic Objects" "Dynamic
Table".
Position the table in your layout and with the mouse button depressed, drag it to the desired size.
In the "Connect" dialog, click with the left mouse button on the icon in front of the entry "Tag
Logging Runtime".
In the right subwindow of the "Connect" panel, click on "Tag Selection" and then on the "Edit"
button.
In the "Tag Logging Runtime" dialog, click on: the "Add..." button in "Tag Selection for Logging".
In the left subwindow of the "Archive Selection" dialog, click on the icon in front of "Qckstart".
66
In the left subwindow, select the "TankLevel_Archiv" archive.
To edit the properties of the layout, click with the right mouse button on an empty area in the layout outside of the
table.
In the left subwidow, click on "Geometry" and then check that the proper paper size is selected in the right
subwindow.
67
Figure 6.2.3: WinCC Project "Qckstart"; Properties of the Layout
If this is not the case, double-click in the right subwindow on "Paper Size".
In the Paper Size dialog, select the proper paper size and then click on "OK".
To print the message sequence report during runtime, you must first set the print job parameters in WinCC Explorer.
In WinCC Explorer’s left subwindow, click with the right mouse button on "Print job".
In the right subwindow of WinCC Explorer, click with the right mouse button on the print job "Report Tag
Logging RT Tables".
68
Figure 6.3: WinCC Projekt "Qckstart"; Setting Print Job Properties
To enable printing the report at runtime, click on the "Activate" button in the WinCC Explorer toolbar.
With the right mouse button, click on the print job "@Report Tag Logging RT Tables".
69
Figure 6.4..1: WinCC Project "Qckstart"; Preview a Print Job
In the preview, you can change the display with the "Zoom In", "Zoom Out" or "Two Pages".
70
6 Client/Server Operation
In this chapter, we will connect a client to our single-user system and activate the
project’s runtime.
A client/server system consists of one or more clients and a server. The clients and server are connected
to each other by a network. Clients send specific requests to the server, which then performs them. The
clients and server have a relationship based on commands.
The operating system for the clients and server must be Windows NT 4.0 with at least Service Pack 5
installed or Windows 2000 with Service Pack 1 installed.
The clients and server must be connected in a LAN (Local Area Network) running the TCP/IP
protocol. Furthermore, the clients must be authorized to access the server in order to open project files.
6.2 Step 1: Creating a Multi-User System
Our project was created as a single-user system. Nonetheless, it can be converted to a multi-user system
at any time. Multi-user systems can also be converted to a single-user system whenever you want.
In the left subwindow of WinCC Explorer, click with the right mouse button on the entry
"Qckstart".
In the pop-up menu, click on "Properties".
In the list, select "Multi-User System" to be used for the layout.
Figure 7.1: WinCC Project "Qckstart"; Change Project Type
In the left subwindow of WinCC Explorer, click with the right mouse button on the entry
"Computer".
In the pop-up menu, click on "New Computer ...".
In the field "Computer Name", enter the name of the client computer (the NetBIOS name).
Figure 7.2.1: WinCC Project "Qckstart"; Add Client
In the right subwindow of WinCC Explorer, click with the right mouse button on the entry for the
client.
In the pop-up menu, click on "Properties"..
Click on the "Startup" tab.
Mark the "Alarm Logging Runtime" check box (this will automatically select the "Text Library
Runtime"), "Tag Logging Runtime", "Graphics Runtime", and, if you want to print reports, the "Report
Runtime".
On the client, go through the file selection dialog for the "Network Neighborhood" to the directory for the
"Qckstart" project on the server. In this directory, find "Qckstart.MCP" and double-click on it to open the
project.
To display the "TagLogging.pdl" picture on the server and the "AlarmLogging.pdl" picture on the client,
proceed as follows. You can make the changes on either the client or the server.
In the right subwindow of WinCC Explorer, click with the right mouse button on the entry for the
server.
In the pop-up menu, click on "Properties"..
Click on the "Graphics Runtime" tab.
Click on "Search" and, in the "Start Picture" dialog, select the picture "TagLogging.pdl".
In the right subwindow of WinCC Explorer, click with the right mouse button on the entry for the
client.
In the pop-up menu, click on "Properties"..
Click on the "Graphics Runtime" tab.
Click on "Search" and, in the "Start Picture" dialog, select the picture "AlarmLogging.pdl".
6.7 Step 6: Activating the Project
If you have already activated your project on the server, it has also been automatically activated on the
client computer. Otherwise, you can activate your project from every client or server.
In the WinCC Explorer toolbar, click on the "Activate" button.
As the tag to be simulated, select the internal tag "TankLevel" and then click
on "OK".
Mark the "active" check box. In the "Tags" panel, the tags will be displayed
with their modified values.
This completes your first WinCC project. We wish you much success in the future with
WinCC!
CREATING A NEW PROJECT USING WINCC
FLEXIBLE
Projects in WinCC flexible
A project brings together all the information of a configured user interface. The project forms the basis of the
configuration.
Create and configure all the objects in the project which are necessary to operate and monitor the fruit juice
mixing system, for example:
● Tags, to transfer data between the HMI device and fruit juice mixing system.
● Alarms, to indicate the operating status of the fruit juice mixing system on the HMI device.
Step 1 - double click on the “simatic wincc flexible “icon on the desktop.
The WinCC flexible project wizard opens. The project wizard provides supports when creating a project by guiding
users step-by-step through the configuration settings. The project wizard has various scenarios for frequently
required configurations. Complete the configuration settings for your project by selecting the scenarios provided.
Step 2- click on the option “create a new project with the project wizard”.
Step 3- To operate the fruit juice mixing system, only one HMI device and one control unit are needed. Select
the scenario "Small machine" and accept the selection with "Next".
Large machine
Distributed operation
Control center and local operation.
smart client
Step 4- click on the browse option on the “integrate an s7 project” and choose a plc project with which you want to
connect the panel. Then click on “next”.
Step 9- in the libraries select all the option in the “available libraries” and shift it to the “selected libraries”. Then
click “next”.
CONFIGURATION OF SCREEN
The project wizard has automatically created some objects you can configure in the Project view:
● Screens
● Connections
Screens
The "Template" screen is available under "Screens" in the project tree.
The "Start screen" of the HMI device is automatically opened in the work area to the right of the tree structure. You
will see two overlapping alarm windows in the display of the HMI device. The gray shading of the Alarm Window
indicates that this alarm window is inserted in the "Template" screen.
•
Step 3
• From the project tree go to “screens”. Double click on the “start screen” to open the screen for a graphics design.
• Bring the push button from the “simple objects”.
• Bring the motor or any output from the option “graphics”.
The
Toolbox on the right includes objects, graphics and other elements required for the configuration. The window is
divided into several areas:
● "Simple objects" includes preconfigured objects, such as I/O field, button, graphics and text field.
● "Advanced objects" includes objects with extended functionality, such as alarm windows.
● Graphics includes a collection of images to create screens and objects.
● The library area offers access to objects you have created yourself as well as external objects, such as your own
collection of graphics or objects from other projects.
Step 4- tag to the input
• Right click on the push button and select properties.
• Select “events”.
• Click on the option “press”
Step 5-Select the function “set bit” in the no function.
Step 6- in no value click on the browse option and select the input tag from the tags.
Step 7- select on the release option than browse the function “reset bit”. And in no value browse the input tag.
Step 8- right click on the output then select properties. Then “animation”
Step 9- select “appearance”. In option TAG browse for the output tag. In TYPE select bit. In value double click on
first and second row. In first row (value 0) make flashing no. in second row (value 1) make flashing yes.
ALARM VIEW CONFIGURATION
Alarms in project
Alarms indicate events or operating states which occur or prevail in speed control of a motor system. Alarms can be
used, for example, for diagnostics purposes when clearing faults.
Alarms are differentiated as follows:
● Discrete alarms indicate changes of status in the motor on and are triggered by the controller. They indicate, for
example, whether a motor is running or in stopped condition.
● Analog alarms indicate a value has moved outside the limits of the permitted range.
An analog alarm is triggered, for example, when the speed of a motor drops below a specific value. An alarm
view makes it possible for operators to get information about the operating status of a plant.
Configuring analog alarms
Introduction
The fruit juice mixing system's mixing tank is equipped with a mixer whose speed must be monitored. When the
speed moves outside the upper or lower limit value, the corresponding alarm should appear on the HMI device.
Deviations in mixer speed are shown as error alarms with time in a separate error alarm window and recorded in the
alarm view
Step 5- when the graphics is brought to in runtime condition we checked the logic. When speed is below 800 there is
no message. When the speed is greater than 800 message pop up on the screen with red color as the message is not
acknowledge.
Step 6- when the message is seen then the color becomes green.
ADDING HMI PANEL TO THE PROJECT.
Step 1- double click on the option “add new device” under the project tree.
Step 2- select HMI. Then select the type of panel you want to connect. Then select the display type and choose
appropriate chipset no.
Step 3-click on the browse option and select the plc that will be connected to the panel. Then click on the “next”.
Step 4- in screen layout select the background color. Then click on “next”.
Step 7- at bottom of the page tick on the select all option. Then click on next.
Step 8 – put the system button on the panel and click on finish.
MOVEMENT OF AN OBJECT.
Step 1- bring an object from the tools-graphics-wincc graphics folder that you want to move on screen.
Step 2- right click on the object and select properties. Scroll up the properties page from the bottom of the page.
Step 3- select animation and select movements. Then select any of the movement. Example- select horizontal
movement.
Step 4- click on the browse in name and choose the tag from the plc tag.
Step 5- give the range that is the no of steps an object should move. Give the start and target position of the object
you want to move. Then click on save, compile and download.
Assignment on SCADA
PAGE:-1
DESCRIPTION OF EXERCISE:-1
GRAPHICAL DRAWING.
INTRODUCTION TO SCADA.
PAGE: - 2
DESCRIPTION OF EXERCISE:-2
GRAPHICAL DRAWING.
INTRODUCTION TO SCADA.
PAGE:-3
DESCRIPTION OF EXERCISE:-3
GRAPHICAL DRAWING.
INTRODUCTION TO SCADA.
PAGE:-4
DESCRIPTION OF EXERCISE:-4
GRAPHICAL DRAWING.
INTRODUCTION TO SCADA.
PAGE:-5
DESCRIPTION OF EXERCISE:-5
GRAPHICAL DRAWING.
INTRODUCTION TO SCADA.
PAGE:-6
DESCRIPTION OF EXERCISE:-6
GRAPHICAL DRAWING.
HINT Logic:
When a start push button is pressed Motor_1 will start immediately. After a delay of 10second,
Motor_2 will start. Motor_3 will start after 10sec of Motor_2 starts. All three Motors remains ON , till stop
push button is pressed.
When stop push button is pressed, Motor_3 should stop immediately. After10second delay Motor_2
gets OFF. After10second delay of Motor_2, Motor_1 gets OFF. The whole system will repeat if again start
push button is pressed.
In between, when Motors are switching ON, if stop push button is pressed, the last started motor
will stop immediately and rest motors gets OFF sequentially.
HINT: Use Ladder.
INTRODUCTION TO SCADA.
PAGE:-7
DESCRIPTION OF EXERCISE:-7
GRAPHICAL DRAWING.
INTRODUCTION TO SCADA.
PAGE:-8
DESCRIPTION OF EXERCISE:-8
HINT Logic:
Motor can be Forward & Reverse from both
Local (auto selection) and Remote (manual selection).
INTRODUCTION TO SCADA.
PAGE:-9
DESCRIPTION OF EXERCISE:-9
GRAPHICAL DRAWING.
INTRODUCTION TO SCADA.
PAGE:-10
DESCRIPTION OF EXERCISE:-10
DESIGN A GRAPHICS SCREEN FOR
ALARMING OF A FEED BACK
GRAPHICAL DRAWING.
INTRODUCTION TO SCADA.
PAGE-11
DESCRIPTION OF EXERCISE:11
DESIGN A GRAPHICS SCREEN FOR
ON LINE TREND SCREEN.
GRAPHICAL DRAWING.
INTRODUCTION TO SCADA.
PAGE-12
DESCRIPTION OF EXERCISE:-12
DESIGN A GRAPHICS SCREEN FOR
TRAFFIC CONTROL.
GRAPHICAL DRAWING.
INTRODUCTION TO SCADA.
ASSIGNMENTS ON DEMOBOARDS LOGICS:
1. DESIGN A SCADA CONTROL WINDOW FOR THE LOGIC “SEQUENTIAL SWITCHING OF
MOTORS”.
LOGIC:
2. DESIGN A SCADA CONTROL WINDOW FOR THE LOGIC “ROTOR STATOR CONTROL OF
MOTORS”.
LOGIC: