You are on page 1of 66

SCADA

Getting Started SCADA with TIA V15

Unrestricted © Siemens AG 2019 siemens.com/wincc


Content

• Introduction
• Graphics Designer
• Scripts
• User Administrator
• Picture Blocks

Unrestricted © Siemens AG 2019. All rights reserved.


Page 2 1.Now.2019 Zarni Htet / DI- FA
Introduction

Unrestricted © Siemens AG 2019. All rights reserved.


Page 3 1.Now.2019 Zarni Htet / DI- FA
Introduction
Potential applications for WinCC

• Building installation systems, ventilation,


air-conditioning
• Conveyor systems
• Mechanical engineering
• Water and waste management
• Steel industry
• Iron producing industry
• Foundries
• Cold rolling mills
• Chemical industry
• Breweries, malt houses, drinks
manufacturing
• Food, beverage and tobacco industries
• Sugar industry
• etc

Unrestricted © Siemens AG 2019. All rights reserved.


Page 4 1.Now.2019 Zarni Htet / DI- FA
Basic functions in the WinCC SCADA system

Unrestricted © Siemens AG 2019. All rights reserved.


Page 5 1.Now.2019 Zarni Htet / DI- FA
Licenses

Unrestricted © Siemens AG 2019. All rights reserved.


Page 6 1.Now.2019 Zarni Htet / DI- FA
System configurations

Single-user system Multi-user system Multi-user system with redundant servers

Unrestricted © Siemens AG 2019. All rights reserved.


Page 7 1.Now.2019 Zarni Htet / DI- FA
Communications with controllers

Unrestricted © Siemens AG 2019. All rights reserved.


Page 8 1.Now.2019 Zarni Htet / DI- FA
Creating a project

Unrestricted © Siemens AG 2019. All rights reserved.


Page 9 1.Now.2019 Zarni Htet / DI- FA
Adding new device

Unrestricted © Siemens AG 2019. All rights reserved.


Page 10 1.Now.2019 Zarni Htet / DI- FA
SIMATIC HMI Application

WinCC Advanced WinCC Professional WinCC V7


The PC- The SCADA The scalable and
based single- system inside open SCADA
user system TIA Portal system for any
application

Machines... ...Small plants... ...Large plants


Unrestricted © Siemens AG 2019. All rights reserved.
Page 11 1.Now.2019 Zarni Htet / DI- FA
Inserting into PC station

Unrestricted © Siemens AG 2019. All rights reserved.


Page 12 1.Now.2019 Zarni Htet / DI- FA
Project Tree

Notes

Unrestricted © Siemens AG 2019. All rights reserved.


Page 13 1.Now.2019 Zarni Htet / DI- FA
Exercise 1

1. Create a new project


2. Insert PC Station
3. Insert WinCC Professional
4. Retreive PLC project
5. Copy PLC program to your WinCC Project

Unrestricted © Siemens AG 2019. All rights reserved.


Page 14 1.Now.2019 Zarni Htet / DI- FA
Examples of screen layout

Overview area (1)


The overview area contains general information such as
the date, time-of-day, messages, area selection
operations, systems messages…, and is displayed in all
pictures

Work area (2)


The work area is used to represent the process activity.

Key set area (3)


The key set area is used to display active buttons, such
as changing the work area, calling up information,
changing the key set…, that can be used regardless of
the selected work area.

Menu bar (4)


With the menus and the toolbar editor, operator control
known in Windows can be configured.

Unrestricted © Siemens AG 2019. All rights reserved.


Page 15 1.Now.2019 Zarni Htet / DI- FA
Starting Graphics Designer

Double click

Unrestricted © Siemens AG 2019. All rights reserved.


Page 16 1.Now.2019 Zarni Htet / DI- FA
Configuration user interface of the Graphics Designer

Unrestricted © Siemens AG 2019. All rights reserved.


Page 17 1.Now.2019 Zarni Htet / DI- FA
Selecting objects properties 1

Unrestricted © Siemens AG 2019. All rights reserved.


Page 18 1.Now.2019 Zarni Htet / DI- FA
Selecting objects properties 2

Unrestricted © Siemens AG 2019. All rights reserved.


Page 19 1.Now.2019 Zarni Htet / DI- FA
Symbol library

Unrestricted © Siemens AG 2019. All rights reserved.


Page 20 1.Now.2019 Zarni Htet / DI- FA
Exercise 2 Creating pictures and changing to another picture 1

1. Add three Screens.


2. Rename the Screens
• Start, size 1280x1024 pixels
• Intro, size 1280x840 pixels
• Motor, size 1280x840 pixels
3. In Start screen
• Insert picture window
• Properties:
• Position, X=0 and Y=100
• Size: 1280, 840
• Displayed Screen Intro
4. Drag two buttons and rename: Intro and Motor
5. Clock

Unrestricted © Siemens AG 2019. All rights reserved.


Page 21 1.Now.2019 Zarni Htet / DI- FA
Unrestricted © Siemens AG 2019. All rights reserved.
Page 22 1.Now.2019 Zarni Htet / DI- FA
Exercise 2 Creating pictures and changing to another picture 2

Drag and
Drop

Unrestricted © Siemens AG 2019. All rights reserved.


Page 23 1.Now.2019 Zarni Htet / DI- FA
Button Properties

Unrestricted © Siemens AG 2019. All rights reserved.


Page 24 1.Now.2019 Zarni Htet / DI- FA
Button Properties

Unrestricted © Siemens AG 2019. All rights reserved.


Page 25 1.Now.2019 Zarni Htet / DI- FA
Exercise 2 Creating pictures and changing to another picture 3

1. In Intro Screen
• Insert picture 500x300. You can find graphic pictures inside your PC
• Insert text and adjust the size etc. to your requirements.

2. In Motor Screen
• Insert text and adjust the size etc. to your requirements.

Unrestricted © Siemens AG 2019. All rights reserved.


Page 26 1.Now.2019 Zarni Htet / DI- FA
Intro Screen

Unrestricted © Siemens AG 2019. All rights reserved.


Page 27 1.Now.2019 Zarni Htet / DI- FA
Motor Screen

Unrestricted © Siemens AG 2019. All rights reserved.


Page 28 1.Now.2019 Zarni Htet / DI- FA
Adjust the runtime settings

Unrestricted © Siemens AG 2019. All rights reserved.


Page 29 1.Now.2019 Zarni Htet / DI- FA
Start runtime

Before starting runtime, be sure Start Screen is marked as Start, as shown below.

When all has been set, click simulation button as below.

Unrestricted © Siemens AG 2019. All rights reserved.


Page 30 1.Now.2019 Zarni Htet / DI- FA
Exercise

Unrestricted © Siemens AG 2019. All rights reserved.


Page 31 1.Now.2019 Zarni Htet / DI- FA
Editing Button Events

Unrestricted © Siemens AG 2019. All rights reserved.


Page 32 1.Now.2019 Zarni Htet / DI- FA
Stopping WinCC Runtime

A self-created End The Close button only


button is the usual exits the Graphics
method Runtime!

Unrestricted © Siemens AG 2019. All rights reserved.


Page 33 1.Now.2019 Zarni Htet / DI- FA
Gauge Control with tag connection

Unrestricted © Siemens AG 2019. All rights reserved.


Page 34 1.Now.2019 Zarni Htet / DI- FA
Gauge control properties

Unrestricted © Siemens AG 2019. All rights reserved.


Page 35 1.Now.2019 Zarni Htet / DI- FA
Dynamic Overview

Unrestricted © Siemens AG 2019. All rights reserved.


Page 36 1.Now.2019 Zarni Htet / DI- FA
Changing graphic using dynamic

Unrestricted © Siemens AG 2019. All rights reserved.


Page 37 1.Now.2019 Zarni Htet / DI- FA
Changing graphic using dynamic 1

Unrestricted © Siemens AG 2019. All rights reserved.


Page 38 1.Now.2019 Zarni Htet / DI- FA
Changing graphic using dynamic 2

Unrestricted © Siemens AG 2019. All rights reserved.


Page 39 1.Now.2019 Zarni Htet / DI- FA
Set Tag value

Unrestricted © Siemens AG 2019. All rights reserved.


Page 40 1.Now.2019 Zarni Htet / DI- FA
Exercise: Motor control and color change

Color change
black/red

Fast setting of
the speed
Color change
green/yellow/red

Unrestricted © Siemens AG 2019. All rights reserved.


Page 41 1.Now.2019 Zarni Htet / DI- FA
WinCC Slider control

Unrestricted © Siemens AG 2019. All rights reserved.


Page 42 1.Now.2019 Zarni Htet / DI- FA
Limit Range setting in slider control

Unrestricted © Siemens AG 2019. All rights reserved.


Page 43 1.Now.2019 Zarni Htet / DI- FA
Exercise: Inserting a bar for actual value and slider for setpoint

Unrestricted © Siemens AG 2019. All rights reserved.


Page 44 1.Now.2019 Zarni Htet / DI- FA
Help for the operator

The help texts are based on the


technological application and inform the
operator for example about adjustment
ranges or tank temperature

Option 1
Individual help texts are shown and hidden
by clicking with the mouse.

Option 2 Tooltip
The “Tooltip text” attribute specifies the
tooltip text to display in Runtime by
positioning the mouse pointer on the
object.

Unrestricted © Siemens AG 2019. All rights reserved.


Page 45 1.Now.2019 Zarni Htet / DI- FA
Exercise

By pressing the left mouse


button, the yellow information
should appear. When the
button is released the text
should be hidden again.

By hovering the mouse pointer


over this I/O field, the tooltip
should be displayed.

Unrestricted © Siemens AG 2019. All rights reserved.


Page 46 1.Now.2019 Zarni Htet / DI- FA
Data types in WinCC and in C

C data types
The data types in the C programming language
are defined differently. Some of these definitions
originate from the ANSI C programming language:
e.g char, short, long. Etc

Other data types are additionally defined in


WinCC. These are, however, only alias names for
the actual data types.
Examples: BOOL, SHORT, UNIT, etc.

Unrestricted © Siemens AG 2019. All rights reserved.


Page 47 1.Now.2019 Zarni Htet / DI- FA
Opening the C editor

Unrestricted © Siemens AG 2019. All rights reserved.


Page 48 1.Now.2019 Zarni Htet / DI- FA
C editor in toolbar

Compile Tab Lists of the


objects

Show/Hide Auto
comment line complete

Unrestricted © Siemens AG 2019. All rights reserved.


Page 49 1.Now.2019 Zarni Htet / DI- FA
Reading and writing WinCC tags

C script on mouse click;

Unrestricted © Siemens AG 2019. All rights reserved.


Page 50 1.Now.2019 Zarni Htet / DI- FA
Dynamizing graphics objects with C

Unrestricted © Siemens AG 2019. All rights reserved.


Page 51 1.Now.2019 Zarni Htet / DI- FA
Using GSC Diagnostics

Unrestricted © Siemens AG 2019. All rights reserved.


Page 52 1.Now.2019 Zarni Htet / DI- FA
User Administration

Unrestricted © Siemens AG 2019. All rights reserved.


Page 53 1.Now.2019 Zarni Htet / DI- FA
User Administrator Introduction

With the User Administrator, the


assignment and management of
access rights preventing
unauthorized access can be
configured; in other words all
operator input to the process, the
archives and the WinCC system can
be blocked to prevent unauthorized
access.

Unrestricted © Siemens AG 2019. All rights reserved.


Page 54 1.Now.2019 Zarni Htet / DI- FA
User View

Unrestricted © Siemens AG 2019. All rights reserved.


Page 55 1.Now.2019 Zarni Htet / DI- FA
User groups view

Unrestricted © Siemens AG 2019. All rights reserved.


Page 56 1.Now.2019 Zarni Htet / DI- FA
Make Authorization

Unrestricted © Siemens AG 2019. All rights reserved.


Page 57 1.Now.2019 Zarni Htet / DI- FA
Exercise

1. Make Administration control to Stop RT


button.
2. Make Administration control to Click
Motor button.

Make User account and set password


“siemens”
Create LogOFF button and use C script
as picture.

Unrestricted © Siemens AG 2019. All rights reserved.


Page 58 1.Now.2019 Zarni Htet / DI- FA
Block technique

Unrestricted © Siemens AG 2019. All rights reserved.


Page 59 1.Now.2019 Zarni Htet / DI- FA
Faceplate technique with picture

Unrestricted © Siemens AG 2019. All rights reserved.


Page 60 1.Now.2019 Zarni Htet / DI- FA
Faceplate technique with picture

Unrestricted © Siemens AG 2019. All rights reserved.


Page 61 1.Now.2019 Zarni Htet / DI- FA
First create necessary IO and Button

Rename
3

1 Drag and
drop
2

Unrestricted © Siemens AG 2019. All rights reserved.


Page 62 1.Now.2019 Zarni Htet / DI- FA
Release the version

Unrestricted © Siemens AG 2019. All rights reserved.


Page 63 1.Now.2019 Zarni Htet / DI- FA
Setting the necessary tags

Unrestricted © Siemens AG 2019. All rights reserved.


Page 64 1.Now.2019 Zarni Htet / DI- FA
Exercise

1. Create faceplate
2. Setting for Motor1 and Motor2
1. On_Off
2. Direction
3. Sepoint_Speed
4. Actual_Speed

Unrestricted © Siemens AG 2019. All rights reserved.


Page 65 1.Now.2019 Zarni Htet / DI- FA
Thank you

Zarni Htet
DI- FA
Technical Consultant
09 969794576

siemens.com

Unrestricted © Siemens AG 2019. All rights reserved.


Page 66 1.Now.2019 Zarni Htet / DI- FA

You might also like