101908495_WinCC_S71200_S71500_Channel_en (1)

18
http://support.automation.siemens.com/WW/view/en/101908495 Configuration Example 10/2014 WinCC Connection to S7-1200 and S7-1500 WinCC V7.3

description

h

Transcript of 101908495_WinCC_S71200_S71500_Channel_en (1)

  • http://support.automation.siemens.com/WW/view/en/101908495

    Configuration Example 10/2014

    WinCC Connection toS7-1200 and S7-1500WinCC V7.3

  • Warranty and Liability

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 2

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    Warranty and LiabilityNote The Application Examples are not binding and do not claim to be complete

    regarding the circuits shown, equipping and any eventuality. The ApplicationExamples do not represent customer-specific solutions. They are only intendedto provide support for typical applications. You are responsible for ensuring thatthe described products are used correctly. These Application Examples do notrelieve you of the responsibility to use sound practices in application, installation,operation and maintenance. When using these Application Examples, yourecognize that we cannot be made liable for any damage/claims beyond theliability clause described. We reserve the right to make changes to theseApplication Examples at any time and without prior notice. If there are anydeviations between the recommendations provided in these ApplicationExamples and other Siemens publications e.g. Catalogs the contents of theother 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 ofthe examples, information, programs, engineering and performance data etc.,described in this Application Example shall be excluded. Such an exclusion shallnot apply in the case of mandatory liability, e.g. under the German Product LiabilityAct (Produkthaftungsgesetz), in case of intent, gross negligence, or injury of life,body or health, guarantee for the quality of a product, fraudulent concealment of adeficiency or breach of a condition which goes to the root of the contract(wesentliche Vertragspflichten). The damages for a breach of a substantialcontractual obligation are, however, limited to the foreseeable damage, typical forthe type of contract, except in the event of intent or gross negligence or injury tolife, body or health. The above provisions do not imply a change of the burden ofproof to your detriment.Any form of duplication or distribution of these Application Examples or excerptshereof is prohibited without the expressed consent of Siemens Industry Sector.

    Securityinforma-

    tion

    Siemens provides products and solutions with industrial security functions thatsupport the secure operation of plants, solutions, machines, equipment and/ornetworks. They are important components in a holistic industrial securityconcept. With this in mind, Siemens products and solutions undergo continuousdevelopment. Siemens recommends strongly that you regularly check forproduct updates.

    For the secure operation of Siemens products and solutions, it is necessary totake suitable preventive action (e.g., cell protection concept) and integrate eachcomponent into a holistic, state-of-the-art industrial security concept. Third-partyproducts that may be in use should also be considered. For more informationabout industrial security, visit http://www.siemens.com/industrialsecurity.

    To stay informed about product updates as they occur, sign up for a product-specific newsletter. For more information, visithttp://support.automation.siemens.com.

  • Table of Contents

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 3

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    Table of ContentsWarranty and Liability .............................................................................................. 21 Task................................................................................................................. 42 Solution........................................................................................................... 5

    2.1 Overview ........................................................................................... 52.2 Hardware and software components .................................................. 72.2.1 Validity .............................................................................................. 72.2.2 Components used ............................................................................. 7

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

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

    4 References .................................................................................................... 185 History .......................................................................................................... 18

  • 1 Task

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 4

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    1 Task

    Figure 1-1

    S7-1500

    S7-1200

    WinCC V7.3

    Encryptedprocess connection

    Process connection

    IntroductionThe task is to provide process tags and AS messages of S7-1200 and S7-1500 inWinCC V7.3.It is to be possible to establish a protected HMI connection to S7-1500.

  • 2 Solution2.1 Overview

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 5

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    2 Solution2.1 Overview

    SetupThe following scheme shows the most important components of the solution:

    Figure 2-1

    S7-1500

    S7-1200

    PROFINET IE

    WinCC V7.3

    SIMATIC S-1200, S7-1500 Channel

    DescriptionWinCC V7.3 provides the communication channel "SIMATIC S7-1200, S7-1500Channel" for communication with S7-1200 and S7-1500 CPUs.Communication to S7-1200 and S7-1500 can be realized with absolute addressingand since WinCC V7.3 also with symbolic addressing.Between WinCC V7.3 and S7-1500, a protected communication connection can beestablished.

    Characteristic features 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.

    Note Currently, no raw data tags can be used via the"SIMATIC S7-1200, S7-1500 Channel".

  • 2 Solution2.1 Overview

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 6

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    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 function1) Export of the tags from TIA Portal (only absolute addressing)2) Import to WinCC via the WinCC Configuration Studio

    Loading of AS symbols

    DelimitationThis application does not contain a description of: Configuration of S7-1500 in TIA Portal Installation of SIMATIC TIA Portal and WinCC V7.3Basic knowledge of these topics is assumed.

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

  • 2 Solution2.2 Hardware and software components

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 7

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    2.2 Hardware and software components

    2.2.1 Validity

    This application is valid for STEP 7 from V13 WinCC V7.3 S7-1200 (from firmware V2.2) S7-1500

    2.2.2 Components used

    The application was created with the following components:

    Hardware componentsTable 2-1

    Component No. Article number Note

    S7-1516-3 PN/DP 1 6AG1516-3AN00-7AB0 Alternatively, any other S7-1500 or S7-1200 can be used.

    Developmentsystem

    1 PC for configuration ofcontroller and WinCC.The hardware requirementsfor STEP 7 and WinCC apply.

    Software componentsTable 2-2

    Component No. Article number Note

    WinCC V7.3 1 6AV63.1-....7-3...TIA PortalSTEP 7 V13Professional

    1 6ES7822-1..03-.. Alternatively, TIA PortalSTEP 7 V13 Basic can beused for S7-1200.

    NOTE Use the SIMATIC NET V12 installation being enclosed to WinCC V7.3 if noSTEP 7 or TIA Portal is installed on the computer. (With it the communicationdrivers are installed.)

    Sample files and projectsThe following list includes all files and projects that are used in this example.

  • 2 Solution2.2 Hardware and software components

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 8

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    Table 2-3

    Component Note

    color_filling_station.zip Getting StartedS7-1500

    101908495_WinCC_S71200_S71500_Chanel_de.pdf This document.

  • 3 Configuration and Settings3.1 Loading AS symbols from an existing S7-1500 program

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 9

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    3 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 blockaccess to the address range in the S7-1500 automation system.Table 3-1

    Process Action

    1 Opening a WinCC projectCreate a new WinCC project or open an existing one.

    2 Creating an S7-1200 / S7-1500 channelOpen Tag Management.

    Enter the IP address, access point, and product family.3 Add a SIMATIC S7-1200, S7-1500 Channel.

  • 3 Configuration and Settings3.1 Loading AS symbols from an existing S7-1500 program

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 10

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    Process Action

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

    5 Right-click and open the "Connection parameters".

    Enter the new IP address of your S7-1500 or S7-1200 here.

  • 3 Configuration and Settings3.1 Loading AS symbols from an existing S7-1500 program

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 11

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    Process Action

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

    NotePassword protection is only provided by S7-1500 CPUs. Further information isavailable in the manual:"SIMATIC S7-1500 Automation System > Protection > Configuring accessprotection for the CPU" \3\

    7 Starting WinCC RuntimeStart WinCC Runtime.

  • 3 Configuration and Settings3.1 Loading AS symbols from an existing S7-1500 program

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 12

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    Process Action

    8 Reading AS symbolsRight-click on the connection and go to "AS Symbols -> Read from AS" to readout the symbols of the S7-1500.

    These are read now.

    Confirm the message with OK.

  • 3 Configuration and Settings3.1 Loading AS symbols from an existing S7-1500 program

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 13

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    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 areautomatically created.

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

  • 3 Configuration and Settings3.1 Loading AS symbols from an existing S7-1500 program

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 14

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    Process Action

    12 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 thesymbolic addressing nor the "AS Symbols" tab is displayed any longer. Bothcan be displayed in Tag Management again with the "Read from AS" command.

  • 3 Configuration and Settings3.2 Loading AS messages from an existing S7-1500 program

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 15

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    3.2 Loading AS messages from an existing S7-1500program

    Table 3-2

    Process Action

    1. Open the "Alarm logging" editor.

  • 3 Configuration and Settings3.2 Loading AS messages from an existing S7-1500 program

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 16

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    Process Action

    2. Under "AS Messages", right-click on the connection "NewConnection_1" toopen the context menu.

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

  • 3 Configuration and Settings3.2 Loading AS messages from an existing S7-1500 program

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 17

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    Process Action

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

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

  • 4 References

    WinCC S7-1200/ S7-1500Entry ID: 101908495, V1.0, 10/2014 18

    S

    iem

    ens

    AG

    Cop

    yrig

    ht-2

    014

    All

    right

    sre

    serv

    ed

    4 References

    Table 4-1

    Subject Title

    \1\ Siemens IndustryOnline Support

    http://support.automation.siemens.com

    \2\ Download page ofthe entry

    http://support.automation.siemens.com/WW/view/en/101908495

    \3\ S7-1500 Manual;Access Protection

    https://www.automation.siemens.com/mdm/default.aspx?DocVersionId=63956397195&TopicId=62467847691

    5 History

    Table 5-1

    Version Date Modifications

    V1.0 10/2014 First version

    WinCC Connection to S7-1200 and S7-1500Table of Contents1 Task2 Solution2.1 Overview2.2 Hardware and software components2.2.1 Validity2.2.2 Components used

    3 Configuration and Settings3.1 Loading AS symbols from an existing S7-1500 program3.2 Loading AS messages from an existing S7-1500 program

    4 References5 History