通过ETHERNET建立SIMATIC NET OPC 服务器与PLC 的S7 …ftp.ruigongye.com/Uploads/2011-8/20110819400464(A00… ·  · 2011-08-20SOFTNET-IE S7授权(CP1612或普通网卡) S7-1613授权(CP1613)

Embed Size (px)

Citation preview

  • ETHERNET SIMATIC NET OPC PLC S7 Building Up The S7 Connection Between SIMATIC NET OPC Server and PLC Via

    ETHERNET

    Getting-started Edition (2005 5 )

  • SIMATIC NET ETHERNET OPC

    ETHERNET OPC S7 PLC S7

    WINCC OPC WinCC ETHERNET OPC S7

    S7 PLC PLC

    OPC S7 WinCC

    Key Words Ethernet; OPC Server; S7 connection; WinCC

    A&D Service & Support

    Page 2-31

  • ETHERNETSIMATIC NET OPC PLC S7 ................................................1

    .................................................................................................................4

    1. SIMATIC NET PC ............................................................................................4

    2. ETHERNETPC ..........................................................................................4

    3. ETHERNETOPC............................................................................................5

    4. PC .................................................................................................5

    5. SIMATIC NET...................................................................6

    ETHERNETOPC S7 PLC S7 PC .....................6

    1. ..............................................................................................6

    2. OPCPLC S7 ............................................................................6

    WINCCOPC.......................................................................................... 26

    PCOPC Server .................................................... 29

    ........................................................................................................... 31

    A&D Service & Support

    Page 3-31

  • 1. SIMATIC NET PC

    SIMATIC NET

    PLC

    SIMATIC NET

    AS-I

    PROFIBUS

    PROFIBUS-PA

    SIMATIC NET

    PLC LAN CP

    2. ETHERNET PC

    PC SIMATIC NET V6.0 Advanced PC Configuration

    PC PC

    COM L S7 NCM PC V5.1+SP2 STEP 7 V5.1+SP2 PC

    SIMATIC S7

    NCM PCSTEP 7

    NCM PC:

    NCM PC SIMATIC NET PC STEP 7

    NCM PC STEP 7 S7

    STEP 7:

    STEP 7 NCM PC STEP 7

    PC

    A&D Service & Support

    Page 4-31

  • 3. ETHERNET OPC

    OPC SIMATIC NET

    OPC(OLE For Process Control OLE)OPC

    OPC

    OPC

    2.05

    1.02

    /

    C++

    VB OCX

    XML DA

    OPC Ethernet:

    S7

    S5 /

    PROFInet

    4. PC

    SIMATIC NET PC SOFTWARE V6.0 SP5

    NCM PC V5.1+SP2

    STEP 7 V5.1+SP2

    SOFTNET-IE S7 (CP1612 )

    S7-1613 (CP1613)

    CP1613 10/100

    PC SIMATIC NET WINDOWS2000;

    WINDOWSXP

    A&D Service & Support

    Page 5-31

  • http://support.automation.siemens.com/CN/view/zh/9859007

    SIMATIC NET

    5. SIMATIC NET

    http://support.automation.siemens.com/CN/view/zh/15227599 SIMATIC NET

    ETHERNET OPC S7 PLC S7 PC

    1.

    SIMATIC NET PC SOFTWARE V6.2 SP1

    STEP 7 V5.3 SP1

    Softnet S7 IE

    S7 300 CPU315-2DPCP343-1(6GK7 343-1EX20-0XE0)

    TCP/IP

    2. OPC PLC S7

    PC

    SIMATIC NET PC Station Configurator

    (Taskbar) Station Configuration Editor

    1: Station Configurator 2

    A&D Service & Support

    Page 6-31

    http://support.automation.siemens.com/WW/view/en/9859007http://support.automation.siemens.com/WW/view/en/15227599

  • 1) Station Configuration Editor

    2Station Configuration Editor

    2) Add OPC

    Server OK

    3 OPC Server

    A&D Service & Support

    Page 7-31

  • 3) IE General

    4 IE General

    IE General Network Properties

    5

    4)

    Network Properties WINDOWS

    IP 6 7 8

    A&D Service & Support

    Page 8-31

  • 6:

    7

    A&D Service & Support

    Page 9-31

  • 8

    5) PC Station

    Station Name PC ethernetopcOK

    PC

    9 PC

    Station Name PC

    A&D Service & Support

    Page 10-31

  • Configuration Console

    1) Configuration Console PC

    PC

    2) PC start simatic simatic

    net Configuration console PG mode

    Configuration mode,Index 3 8

    10 Configuration Console

    Simatic Net V6.1 V6.0

    Mode of the module PG Configured mode

    Index Station Configuration Editor

    A&D Service & Support

    Page 11-31

  • 3) Access Points S7ONLINE PC internal(local)

    PC

    11PC Station Access Point

    STEP 7 PC Station

    1) SIMATIC Manager File New s7ethernetopc

    Insert Station Simatic Pc Station PC

    PC Station SIMATIC PC Station(1) Station Configuration

    Editor Station Name ethernetopc

    Configuration PC Station

    A&D Service & Support

    Page 12-31

  • 12 STEP 7 Simatic PC Station

    A&D Service & Support

    Page 13-31

  • 2) Simatic net

    Station Configuration Editor PC

    13 PC Station

    3)

    IE General Properties ,

    IP IP

    IP 7 IP New ethernet

    A&D Service & Support

    Page 14-31

  • 14

    A&D Service & Support

    Page 15-31

  • 4) PC

    15

    5) Configure Network NetPro

    16Configure Network

    A&D Service & Support

    Page 16-31

  • 6) NetPro OPC Server

    Insert>New Connection

    17

    7) STEP 7 PLC PLC

    CP343-1 or CP443-1Insert New

    Connection

    Insert New

    ConnectionUnspecified

    S7 connection OK

    18NetPro

    A&D Service & Support

    Page 17-31

  • 8) S7 PLC (CP343-1 or

    CP443-1)IP 19 PartnerAddress

    Address Details

    Rock/Slot S7 300 PLC

    02 S7 400 CPU OK

    Slot CPU

    19S7

    A&D Service & Support

    Page 18-31

  • 9) S7

    Network>Save and Compile No error

    Warning

    error Message

    PC Station

    20

    A&D Service & Support

    Page 19-31

  • 1) PC NetPro PC

    PC OK

    21

    A&D Service & Support

    Page 20-31

  • 2) Station Configuration Editor

    OPC Server Conn

    Simatic Net V6.1 V6.0

    22 PC Station

    A&D Service & Support

    Page 21-31

  • OPC Scout

    OPC Scout Simatic Net PC Station

    OPC Server PLC

    1) OPC Scout,Start>SIMATIC>SIMATICNet>OPC Scout 21 OPC

    SimaticNetADD Group

    OPC_ETHERNET OK

    23 OPC Scout OPC_ETHERNET

    A&D Service & Support

    Page 22-31

  • 2) OPC_ETHERNETOPC Navigator

    Configuration Console S7 PC

    Station NetPro S7 connection_1

    objects tree PLC CPU

    DB

    24Objects in the OPC Navigator

    3) PLC DB

    DB DB New

    DefinitionDefine New Item

    DatatypeAddressNo.Value No.Value

    OK

    A&D Service & Support

    Page 23-31

  • 25

    4) Define New Item OPC Navigator

    OPC-Navigator OK

    OPC Server.

    26 OPC Server

    A&D Service & Support

    Page 24-31

  • 5) Item OPC Scout Quality

    good OPC Server PLC S7

    27OPC Scout OPC Server

    ValueWrite Value(s) to the Item(s)

    28

    A&D Service & Support

    Page 25-31

  • WINCC OPC

    WINCC OPC channel OPC Server

    OPC

    29

    OPC.CHN 30 OPC

    30 OPC

    A&D Service & Support

    Page 26-31

  • OPC OPC Server,

    SIMATIC NET OPC

    31

    31

    OPC ServerOPC.SimaticNET

    32 OPC

    A&D Service & Support

    Page 27-31

  • 33

    34

    A&D Service & Support

    Page 28-31

  • OPC Scout WINCC

    35 OPC

    PC OPC Server

    1. PC Station Cannot reach station

    manager

    1) Set PG/PC Interface Configuration Console S7 Online Access Points

    PC InternalLocal

    2) PC STEP 7 NCM PC PC

    3) PC CP OPC Application STEP 7 NCM PC

    http://support.automation.siemens.com/CN/view/zh/12033912

    2 OPC Scout OPC-Navigator

    Simatic Net OPC OPC Scout OPC Navigator OPC

    OPC

    New

    DefinitionDefine New Item OPC

    A&D Service & Support

    Page 29-31

    http://www.ad.siemens.com.cn/service

  • Server OPC

    OPC

    http://support.automation.siemens.com/CN/view/zh/8763769

    2.

    www.ad.siemens.com.cn/service ,

    Compatibility list

    27

    A&D Service & Support

    Page 30-31

    http://support.automation.siemens.com/CN/view/zh/8763769http://www.ad.siemens.com.cn/service

  • AS http://www.ad.siemens.com.cn/Service/http://www.ad.siemens.com.cn/Service/recommend.aspAShttp://support.automation.siemens.com/CN/view/zh/10805055/133000 AShttp://support.automation.siemens.com/CN/view/zh/10805055/133400 AShttp://www.ad.siemens.com.cn/service/answer/category.asp?cid=1027 HMI http://www.ad.siemens.com.cn/Service/http://www.ad.siemens.com.cn/Service/recommend.aspHMIhttp://support.automation.siemens.com/CN/view/zh/10805548/133000 HMIhttp://support.automation.siemens.com/CN/view/zh/10805548/133400 WinCChttp://www.ad.siemens.com.cn/service/answer/category.asp?cid=1032 NET http://www.ad.siemens.com.cn/Service/http://www.ad.siemens.com.cn/Service/recommend.aspNethttp://support.automation.siemens.com/CN/view/zh/10805868/133000 Nethttp://support.automation.siemens.com/CN/view/zh/10805868/133400 Nethttp://www.ad.siemens.com.cn/service/answer/category.asp?cid=1031

    A&D Service & Support

    Page 31-31

    http://www.ad.siemens.com.cn/Service/http://www.ad.siemens.com.cn/Service/recommend.asphttp://support.automation.siemens.com/CN/view/zh/10805055/133000http://support.automation.siemens.com/CN/view/zh/10805055/133400http://www.ad.siemens.com.cn/service/answer/category.asp?cid=1027http://www.ad.siemens.com.cn/Service/http://www.ad.siemens.com.cn/Service/recommend.asphttp://support.automation.siemens.com/CN/view/zh/10805548/133000http://support.automation.siemens.com/CN/view/zh/10805548/133400http://www.ad.siemens.com.cn/service/answer/category.asp?cid=1032http://www.ad.siemens.com.cn/Service/http://www.ad.siemens.com.cn/Service/recommend.asphttp://support.automation.siemens.com/CN/view/zh/10805868/133000http://support.automation.siemens.com/CN/view/zh/10805868/133400http://www.ad.siemens.com.cn/service/answer/category.asp?cid=1031%20

    1. SIMATIC NET PC 2. ETHERNETPC3. ETHERNETOPC4. PC5. SIMATIC NET

    ETHERNETOPC S7 PLC S7PC1. 2. OPCPLC S7

    WINCCOPC PCOPC Server