Está en la página 1de 18

Configuration Example 06/2015

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

https://support.industry.siemens.com/cs/wwen/101908495

Warranty and Liability

Warranty and Liability


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 sound 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 and 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.

Siemens AG 2014 All rights reserved

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 Siemens Industry Sector.
Security
information

Siemens provides products and solutions with industrial security functions that
support the secure operation of plants, solutions, machines, equipment and/or
networks. They are important components in a holistic industrial security
concept. With this in mind, Siemens products and solutions undergo continuous
development. Siemens recommends strongly that you regularly check for
product updates.
For the secure operation of Siemens products and solutions, it is necessary to
take suitable preventive action (e.g., cell protection concept) and integrate each
component into a holistic, state-of-the-art industrial security concept. Third-party
products that may be in use should also be considered. For more information
about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a productspecific newsletter. For more information, visit
http://support.industry.siemens.com.

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

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

References ....................................................................................................... 18

History............................................................................................................... 18

Siemens AG 2014 All rights reserved

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

1 Task

Task
Figure 1-1

S7-1500
Encrypted
process connection
WinCC V7.3

S7-1200
Process connection

Siemens AG 2014 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.
It is to be possible to establish a protected HMI connection to S7-1500.

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

2 Solution
2.1 Overview

Solution

2.1

Overview

Setup
The following scheme shows the most important components of the solution:
Figure 2-1

S7-1500
S7-1200

Siemens AG 2014 All rights reserved

PROFINET IE

ET 200SP

SIMATIC S-1200, S7-1500 Channel

Description
WinCC V7.3 provides the communication channel "SIMATIC S7-1200, S7-1500
Channel" for communication with S7-1200, S7-1500 and ET 200SP CPUs.
Communication to S7-1200 and S7-1500 can be realized with absolute addressing
and since WinCC V7.3 also with symbolic addressing.
Between WinCC V7.3 and S7-1500, a protected communication connection can be
established.
Characteristic features

Note

Access to the symbolic addresses and CPU alarming is effected via the online
connection to the CPU only.

Offline configuration is only possible for the absolute addresses.

Currently, no raw data tags can be used via the


"SIMATIC S7-1200, S7-1500 Channel".

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

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 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

Delimitation
This application does not contain a description of:

Configuration of S7-1500 in TIA Portal

Installation of SIMATIC TIA Portal and WinCC V7.3

Siemens AG 2014 All rights reserved

Basic knowledge of these topics is assumed.

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

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

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 from V13

WinCC V7.3

S7-1200 (from firmware V2.2)

S7-1500

ET 200SP

Components used
The application was created with the following components:

Hardware components
Table 2-1
Siemens AG 2014 All rights reserved

Component

No.

S7-1516-3 PN/DP

Development
system

Article number
6AG1516-3AN00-7AB0

Note
Alternatively, any other
S71500, S7-1200 or
ET 200SP can be used.
PC for configuration of
controller and WinCC.
The hardware requirements
for STEP 7 and WinCC apply.

Software components
Table 2-2
Component

NOTE

No.

Article number

WinCC V7.3

6AV63.1-....7-3...

TIA Portal
STEP 7 V13
Professional

6ES7822-1..03-..

Note

Alternatively, TIA Portal


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

Use the SIMATIC NET V12 installation being enclosed to WinCC V7.3 if no
STEP 7 or TIA Portal is installed on the computer. (With it the communication
drivers are installed.)

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

2 Solution
2.2 Hardware and software components
Sample 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 2014 All rights reserved

color_filling_station.zip

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

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 the configuration of tags in WinCC with 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.

2.

Creating an S7-1200 / S7-1500 channel


Open Tag Management.

Siemens AG 2014 All rights reserved

1.

Enter the IP address, access point, and product family.


3.

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

Add a SIMATIC S7-1200, S7-1500 Channel.

06/2015

3 Configuration and Settings


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

Action
Right-click and add a "New Connection".

5.

Right-click and open the "Connection parameters".

Siemens AG 2014 All rights reserved

4.

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

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

10

3 Configuration and Settings


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

Action
Optional: Realize a protected connection to S7-1500 by entering a password.

Siemens AG 2014 All rights reserved

Note
Password protection is only provided by S7-1500 CPUs. Further information is
available in the manual:
"SIMATIC S7-1500 Automation System > Protection > Configuring access
protection for the CPU" \3\

7.

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

Starting WinCC Runtime


Start WinCC Runtime.

06/2015

11

3 Configuration and Settings


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

Action

8.

Reading AS symbols
Right-click on the connection and go to "AS Symbols -> Read from AS" to read
out the symbols of the S7-1500.

Siemens AG 2014 All rights reserved

These are read now.

Confirm the message with OK.

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

12

3 Configuration and Settings


3.1 Loading AS symbols from an existing S7-1500 program

Siemens AG 2014 All rights reserved

Process

Action

9.

The symbols of the S7-1500 are now listed under "AS Symbols":

10.

By checking the "Access" check box, the tags with symbolic addressing are
automatically created.

11.

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

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

13

3 Configuration and Settings


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

Siemens AG 2014 All rights reserved

12.

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

Note

If modifications are made to the controller, it is necessary to execute the


"Read from AS" command again.

Note

If WinCC Runtime is stopped and Tag Management is closed, neither the


symbolic addressing nor the "AS Symbols" tab is displayed any longer. Both
can be displayed in Tag Management again with the "Read from AS" command.

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

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 2014 All rights reserved

1.

Action

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

15

3 Configuration and Settings


3.2 Loading AS messages from an existing S7-1500 program

Siemens AG 2014 All rights reserved

Process

Action

2.

Under "AS Messages", right-click on the connection "NewConnection_1" to


open the context menu.

3.

Click on "Load from AS" to import the system messages.

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

16

3 Configuration and Settings


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

Siemens AG 2014 All rights reserved

4.

Note

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

Loading the AS messages is only possible with an S7-1500.

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

17

4 References

References
Table 4-1
Subject

Title

\1\

Siemens Industry
Online Support

http://support.industry.siemens.com

\2\

Download page of the


entry

https://support.industry.siemens.com/cs/wwen/101908495

\3\

S7-1500 Manual;
Access Protection

https://support.industry.siemens.com/cs/gb/en/view/71704272/50
661989899

History

Siemens AG 2014 All rights reserved

Table 5-1
Version

Date

V1.0

10/2014

First version

V1.1

06/2015

Added CPU ET 200SP

WinCC S7-1200/ S7-1500


Entry ID: 101908495, V1.1,

06/2015

Modifications

18

También podría gustarte