Vous êtes sur la page 1sur 20

Application example 06/2016

WinCC Connection to
S7-1500, S7-1200 and
ET 200SP
WinCC V7.3 SE

https://support.industry.siemens.com/cs/ww/en/view/101908495

Warranty and liability

Warranty and liability

Siemens AG Copyright 2016 All rights reserved

Note

The Application Examples are not binding and do not claim to be complete
regarding the circuits shown, equipping and any eventuality. The Application
Examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are responsible for ensuring that
the described products are used correctly. These Application Examples do not
relieve you of the responsibility to use safe practices in application, installation,
operation and maintenance. When using these Application Examples, you
recognize that we cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
Application Examples at any time without prior notice.
If there are any deviations between the recommendations provided in these
Application Examples and other Siemens publications e.g. Catalogs the
contents of the other documents have priority.
We do not accept any liability for the information contained in this document.
Any claims against us based on whatever legal reason resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (Produkthaftungsgesetz), in case of intent, gross negligence, or injury of life,
body or health, guarantee for the quality of a product, fraudulent concealment of a
deficiency or breach of a condition which goes to the root of the contract
(wesentliche Vertragspflichten). The damages for a breach of a substantial
contractual obligation are, however, limited to the foreseeable damage, typical for
the type of contract, except in the event of intent or gross negligence or injury to
life, body or health. The above provisions do not imply a change of the burden of
proof to your detriment.
Any form of duplication or distribution of these Application Examples or excerpts
hereof is prohibited without the expressed consent of the Siemens AG.

Security
information

Siemens provides products and solutions with industrial security functions that
support the secure operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber
threats, it is necessary to implement and continuously maintain a holistic,
state-of-the-art industrial security concept. Siemens products and solutions only
form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems,
machines and networks. Systems, machines and components should only be
connected to the enterprise network or the internet if and to the extent necessary
and with appropriate security measures (e.g. use of firewalls and network
segmentation) in place.
Additionally, Siemens guidance on appropriate security measures should be
taken into account. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.
Siemens products and solutions undergo continuous development to make them
more secure. Siemens strongly recommends to apply product updates as soon
as available and to always use the latest product versions. Use of product
versions that are no longer supported, and failure to apply latest updates may
increase customers exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial
Security RSS Feed under http://www.siemens.com/industrialsecurity.

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

Table of contents

Table of contents
Warranty and liability ............................................................................................... 2
1

Task................................................................................................................. 4

Solution........................................................................................................... 5
2.1
2.2
2.2.1
2.2.2

Overview ........................................................................................... 5
Hardware and software components .................................................. 7
Validity .............................................................................................. 7
Components used ............................................................................. 7

Configuration and Settings ............................................................................ 9


3.1
3.2

Loading AS symbols from an existing S7-1500 program..................... 9


Loading AS messages from an existing S7-1500 program ............... 15

Ensuring a Better Overview of Numerous Tags.......................................... 18

Related literature .......................................................................................... 20

History .......................................................................................................... 20

Siemens AG Copyright 2016 All rights reserved

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

1 Task

Task
Figure 1-1
S7-1500
Encrypted
process connection
WinCC V7.3

S7-1200
Process connection

Siemens AG Copyright 2016 All rights reserved

ET 200SP

Process connection

Introduction
The task is to provide process tags and AS messages of S7-1200, S7-1500 and
ET 200SP in WinCC V7.3 SE.
It shall be possible to establish a secure HMI connection to S7-1500.

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

2 Solution
2.1 Overview

Solution

2.1

Overview

Setup
The figure below shows a schematic overview of the most important components of
the solution:
Figure 2-1

WinCC V7.3

S7-1500
S7-1200

Siemens AG Copyright 2016 All rights reserved

PROFINET IE

ET 200SP

SIMATIC S-1200, S7-1500 Channel

Description
WinCC V7.3 SE provides the communication channel
SIMATIC S7-1200, S7-1500 Channel for communication with the S7-1200,
S7-1500 and ET 200SP CPUs. Communication to S7-1200, S7-1500 and ET
200SP can be realized with absolute addressing and from WinCC V7.3 SE also
with symbolic addressing.
Communication to S7-1200 and S7-1500 can be realized with absolute addressing
and, as of WinCC V7.3 SE, also with symbolic addressing.
It is possible to establish a secure connection between WinCC V7.3 SE and S71500.
Characteristics features

Note

Symbolic addresses and CPU alarming are accessed via online connection to
the CPUs only

Offline configuration can only be made for absolute addresses

Currently, no raw data tags can be used via


SIMATIC S7-1200, S7-1500 Channel.

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

2 Solution
2.1 Overview
Features of the communication to S7-1200 and S7-1500

Cyclic reading of tags

Chronological reporting (program alarm)

Loading of AS messages (S7-1500)

Password protection

Time synchronization

Use of the S7-1200/S7-1500 tags in WinCC

Export / Import function


1) Export of the tags from TIA Portal (only absolute addressing)
2) Import to WinCC via the WinCC Configuration Studio

Loading of AS symbols

Topics not covered by this application

Siemens AG Copyright 2016 All rights reserved

This application does not include a description of:

Configuration of the S7-1500 in TIA Portal

Installation of SIMATIC TIA Portal and WinCC V7.3 SE

Basic knowledge of the topics listed above is assumed.

Assumed knowledge
Basic knowledge of WinCC V7.3 SE and SIMATIC TIA Portal is assumed.

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

2 Solution
2.2 Hardware and software components

2.2

Hardware and software components

2.2.1

Validity
This application is valid for

2.2.2

STEP 7 V13 or higher

WinCC V7.3 SE

S7-1200 (for firmware version V2.2 and higher)

S7-1500

ET 200SP

Components used
The application has been created using the following components:

Hardware components
Siemens AG Copyright 2016 All rights reserved

Table 2-1
Component

Qty.

S7-1516-3 PN/DP

Development
system

Order number
6AG1516-3AN00-7AB0

Note
Alternatively, a different S71500, S7-1200 or ET 200SP
can be used.
PC for configuring the
controller and WinCC.
The hardware requirements
for STEP 7 and WinCC shall
apply.

Software components
Table 2-2
Component

Note

Qty.

Order number

WinCC V7.3 SE

S79220-B5964-P

TIA Portal
STEP 7 V13
Professional

6ES7822-1..03-..

Note

Alternatively, TIA Portal


STEP 7 V13 Basic
can be used for an S7-1200.

Please use the SIMATIC NET V12 installation included in WinCC V7.3 SE, if
STEP 7 or TIA Portal is not available on your PC. (Thus, the communication
drivers will be installed.)

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

2 Solution
2.2 Hardware and software components

Example files and projects


The following list includes all files and projects that are used in this example.
Table 2-3
Component

Note
Getting Started
S7-1500

101908495_WinCC_S71200_S71500_Chanel_de.pdf

This document

Siemens AG Copyright 2016 All rights reserved

color_filling_station.zip

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

3 Configuration and Settings


3.1 Loading AS symbols from an existing S7-1500 program

Configuration and Settings

3.1

Loading AS symbols from an existing S7-1500 program


This section describes how to configure tags in WinCC using optimized block
access to the address range in the S7-1500 automation system.
Table 3-1
Process

Action
Opening a WinCC project
Create a new WinCC project or open an existing one.

Creating an S7-1200 / S7-1500 channel


Open the Tag Management.

Siemens AG Copyright 2016 All rights reserved

Enter the IP address, access point and product family.


3

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

Add SIMATIC S7-1200, S7-1500 Channel.

06/2016

3 Configuration and Settings


3.1 Loading AS symbols from an existing S7-1500 program
Process

Action
Right-click to add a New Connection.

Right-click to open the Connection Parameters.

Siemens AG Copyright 2016 All rights reserved

Enter the IP address of your S7-1500, S7-1200 or ET 200SP.

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

10

3 Configuration and Settings


3.1 Loading AS symbols from an existing S7-1500 program
Process
6

Action
Optional: Enter a password to implement a secure connection to the S7-1500.

Siemens AG Copyright 2016 All rights reserved

Note
Access protection is only available for S7-1500 CPUs. For further information,
please refer to the manual SIMATIC S7-1500 Automation System >
Protection > Configuring access protection for the CPU \3\

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

Starting WinCC Runtime


Start WinCC Runtime.

06/2016

11

3 Configuration and Settings


3.1 Loading AS symbols from an existing S7-1500 program
Process

Siemens AG Copyright 2016 All rights reserved

Action
Reading AS symbols
Right-click the connection under AS Symbols -> Read from AS to read the
symbols of the S7-1500.

Now, the symbols are read.

Confirm the message with OK.

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

12

3 Configuration and Settings


3.1 Loading AS symbols from an existing S7-1500 program

Siemens AG Copyright 2016 All rights reserved

Process

Action

The symbols of the S7-1500 are now listed in the AS Symbols tab:

10

Checkmark Access to automatically create the tags with symbolic


addressing.

11

These are now displayed together with their properties in the Tags tab.

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

13

3 Configuration and Settings


3.1 Loading AS symbols from an existing S7-1500 program
Process

Siemens AG Copyright 2016 All rights reserved

12

Notes

Action
You can change the tag name in the Tags and AS Symbols tabs.

If changes are made to the controller, it is absolutely necessary to execute the


Read from AS command again.
If WinCC Runtime is stopped and the Tag Management is closed, symbolic
addressing and the AS Symbols tab will not be displayed anymore. You can
display both in the Tag Management again by means of the Read from AS
command.

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

14

3 Configuration and Settings


3.2 Loading AS messages from an existing S7-1500 program

3.2

Loading AS messages from an existing S7-1500


program
Table 3-2
Process
Open the Alarm logging editor.

Siemens AG Copyright 2016 All rights reserved

1.

Action

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

15

3 Configuration and Settings


3.2 Loading AS messages from an existing S7-1500 program

Siemens AG Copyright 2016 All rights reserved

Process

Action

2.

Under AS Messages, right-click NewConnection_1 to open the context


menu.

3.

Import the system messages via the Load from AS command.

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

16

3 Configuration and Settings


3.2 Loading AS messages from an existing S7-1500 program
Process

Siemens AG Copyright 2016 All rights reserved

4.

Note

Action
Now, the AS Messages and AS Text lists tabs are available.

Loading of AS messages is only possible for S7-1500 controllers.

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

17

4 Ensuring a Better Overview of Numerous Tags

Ensuring a Better Overview of Numerous


Tags
In order to ensure a better overview of AS symbols, there are various options to
adjust the different views. The methods described below will make it easier to
handle the AS symbols and tags available.
Moreover, prefixes can be used e. g. to summarize structures.

Search
The search function can be used to limit the displayed AS symbols or tags to the
desired area.

Siemens AG Copyright 2016 All rights reserved

Figure 4-1

Find/Replace
The Find and Replace function can be used e. g. to include prefixes for certain
blocks or structures in the name. Thus, you can define new search terms by means
of which you can create the views you want for every single search.
Figure 4-2

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

18

4 Ensuring a Better Overview of Numerous Tags

The default setting of the search is limited to the Name column and can be
adjusted in the Search in settings:

Siemens AG Copyright 2016 All rights reserved

Note

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

19

5 Related literature

Related literature
Table 5-1
Topic

Siemens AG Copyright 2016 All rights reserved

\1\

Siemens Industry Online Support


https://support.industry.siemens.com

\2\

Download page of this entry


https://support.industry.siemens.com/cs/ww/en/view/101908495

\3\

S7-1500 Manual; Access protection


https://support.industry.siemens.com/cs/mdm/109249299?c=72744267787&t=1&s
=Manual S7-1500 Access protection&lc=en-WW

History
Table 6-1
Version

Date

V1.0

10/2014

First version

V1.1

06/2015

CPU ET 200SP added

V1.2

06/2016

Chapter 4 Ensuring a Better Overview of Numerous Tags


added

WinCC S7-1200/ S7-1500


Entry-ID: 101908495, 1.2,

06/2016

Modifications

20

Vous aimerez peut-être aussi