Applikationen & Tools - Siemens Applikationen & Tools Answers for industry. Cover PC-based...

download Applikationen & Tools - Siemens Applikationen & Tools Answers for industry. Cover PC-based Automation

of 46

  • date post

    04-Apr-2020
  • Category

    Documents

  • view

    1
  • download

    0

Embed Size (px)

Transcript of Applikationen & Tools - Siemens Applikationen & Tools Answers for industry. Cover PC-based...

  • Applikationen & Tools

    Answers for industry.

    Cover

    PC-based Automation

    Plant Visualization with WinCC flexible and Visual Basic .NET WinAC RTX, WinCC flexible, WinAC ODK, VB.NET

    Application  June 2011

  • 2 Plant Visualization

    3.0 , Entrys-ID: 21919680

    C op

    yr ig

    ht 

    S ie

    m en

    s A

    G 2

    01 1

    A ll

    rig ht

    s re

    se rv

    ed

    Siemens Industry Online Support This article is taken from the Siemens Industry Online Support. The following link takes you directly to the download page of this document. http://support.automation.siemens.com/WW/view/en/21919680 If you have any questions concerning this document please e-mail us to the following address: online-support.automation@siemens.com

    http://support.automation.siemens.com/WW/view/en/21919680� mailto:online-support.automation@siemens.com�

  • Plant Visualization 3.0 , Entry-ID: 21919680 3

    C op

    yr ig

    ht 

    S ie

    m en

    s A

    G 2

    01 1

    A ll

    rig ht

    s re

    se rv

    ed

    s

    SIMATIC Plant Visualization PC-based Automation: Plant Visualization with WinCC flexible and Visual Basic .NET

    Task 1

    Solution 2

    Visualization with Visual Basic .NET

    3 Visualizing with WinCC flexible

    4 WinCC flexible vs. Visual Basic

    5

    Literature 6

    History 7

  • Warranty and Liability

    4 Plant Visualization

    3.0 , Entrys-ID: 21919680

    C op

    yr ig

    ht 

    S ie

    m en

    s A

    G 2

    01 1

    A ll

    rig ht

    s re

    se rv

    ed

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

  • Foreword

    Plant Visualization 3.0 , Entry-ID: 21919680 5

    C op

    yr ig

    ht 

    S ie

    m en

    s A

    G 2

    01 1

    A ll

    rig ht

    s re

    se rv

    ed

    21 91

    96 80

    _W in

    A C

    _V E_

    D O

    K U

    _v 30

    _e .d

    oc

    Foreword Objective of this application

    The SIMATIC Windows Automation Center (WinAC) offers you an open, versatile and robust basis to realize your automation solution on a PC-based basis. It is fully compatible with SIMATIC S7 and, together with interfaces to the open PC world, it enables you to combine your classic automation tasks with the options of the PC world. Using the SIMATIC IPC427C or the SIMATIC HMI IPC477C offers a powerful and very robust platform for your automation solution with WinAC. Ten examples for quick and easy introduction in the PC-based automation with SIMATIC WinAC have been developed so far. These examples include the sample code and extensive documentation. The specific tasks discussed in these application examples will help you to become familiar with the relevant subjects.

    Arrangement of the examples The automation tasks described in the examples are related to typical tasks occurring in automation technology: • Control • Communication • Visualization • Technology

  • Foreword

    6 Plant Visualization

    3.0 , Entrys-ID: 21919680

    C op

    yr ig

    ht 

    S ie

    m en

    s A

    G 2

    01 1

    A ll

    rig ht

    s re

    se rv

    ed

    The individual examples To allow optimum use of PC-based automation, we have developed one example from the “classic” PLC world, one from the “open” PC world and one from the “embedded” world for each of the four typical automation tasks (control, communication, visualization, technology). The following figure shows all realized and planned examples with their assignment to the particular fields of use. The example on hand, which deals with the topic of “Plant visualization with WinCC flexible 2008 and Visual Basic .NET”, is displayed with a red margin. Figure 1-1

    E xa

    m pl

    es o

    n th

    e to

    pi c

    of P

    C -b

    as ed

    A ut

    om at

    io n

    Control Visualization Technology Communication

    Ex am

    pl es

    fr om

    th e

    cl as

    si c

    w or

    ld Ex

    am pl

    es fr

    om th

    e op

    en w

    or ld

    Automation with WinAC RTX

    • Setting up the PC Plattform

    • Process connection for WinAC RTX

    • Configuration of WinAC

    Data exchange via OPC XML

    • dynamic recipe data controller

    • Data exchange with data base via OPC XML

    • Data base interface ADO.NET

    Interaction of WinCC and WinAC

    • Tuning for WinAC RTX

    • connecting WinCC to WinAC RTX

    • Visualization with WinCC

    Visualization with Visual Basic.NET + OPC XML

    • Acces to OPC XML via VB .NET

    • Setup Webserver with IIS

    • Local and remote visualization

    Positioning with WinAC RTX

    • Positioning with Easy Motion Control

    • Connecting a MICROMASTER 440

    SIMATIC Vision Sensors and WinAC ODK

    • Configuration of the Vision Sensors

    • Application of the CCX interface of WinAC ODK

    • Communication Vision Sensor with ODK

    Sending E-mail with WinAC RTX

    • Application of SMX interface of WinAC ODK

    • Sending E-mail via the MAPI interface

    S7 communication with WinAC RTX

    • S7 communication with BSEND/BRCV

    • via Industrial Ethernet

    • Communication: WinAC ↔ S7-300

    Ex am

    pl es

    fr om

    th e

    em be

    dd ed

    w or

    ld

    Plant visualization with WinCC flexible 2005 and Visual Basic .NET

    • Visualization on the Microbox 420-RTX with Visual Basic .Net via WinAC ODK

    • Visualization on the Panel PC 477 HMI/RTX with WinCC flexible 2005 

    planning phase planning phaseAutomation with SIMATIC Microbox 420-RTX

    • Basics on Microbox 420-RTX

    • Setup for Microbox 420-RTX

    • Remote Control

    • DiagMonitor

    ? ?

    Basis of the examples The common basis of all examples is a virtual “mixing process”. This mixing process is used to apply the different tasks and automation components of the product range of PC based automation.

  • Foreword

    Plant Visualization 3.0 , Entry-ID: 21919680 7

    C op

    yr ig

    ht 

    S ie

    m en

    s A

    G 2

    01 1

    A ll

    rig ht

    s re

    se rv

    ed

    21 91

    96 80

    _W in

    A C

    _V E_

    D O

    K U

    _v 30

    _e .d

    oc

    System illustration The following figure shows a schematic illustration of the “mixing process”. The components described in this example application are marked by a red frame. Figure 1-2

    Vision Sensor SIMATIC VS 723

    SIMATIC S7-300 controller

    C++ E-Mail

    application

    C++ c