WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

Embed Size (px)

Citation preview

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    1/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    2/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    3/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    4/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    5/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    6/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    7/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    8/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    9/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    10/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    11/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    12/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    13/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    14/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    15/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    16/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    17/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    18/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    19/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    20/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    21/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    22/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    23/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    24/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    25/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    26/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    27/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    28/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    29/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    30/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    31/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    32/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    33/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    34/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    35/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    36/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    37/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    38/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    39/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    40/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    41/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    42/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    43/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    44/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    45/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    46/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    47/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    48/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    49/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    50/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    51/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    52/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    53/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    54/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    55/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    56/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    57/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    58/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    59/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    60/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    61/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    62/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    63/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    64/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    65/73

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    66/73

    WinCC flexible 2005 Getting Started OptionsGetting Started, Release 05/2005, 6ZB 5370-1CN02-0BA0

    63

    5.1 What is OPC?OPC (OLE for Process Control) is a uniform, multi-vendor software interface.The OPC interface can be used by various devices and applications to exchange

    data.Many applications such as ODA or MES now operate with an OPC interface.Hence, we can easily integrate the MP 270B 10" HMI into the existing infrastruc-ture.

    In our example, that means that the operator would like to integrate the packag-ing system in his concept for operational data acquisition. Operational dataacquisition has the purpose of logging the number of produced drink packagesper hour for subsequent analysis.

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    67/73

    5.2 Configuring MP 270 as OPC-Server Because the sales department requires quarterly information relating to fillingsystem efficiency, we shall configure the Bottling Station (MP 270B 10") HMI

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    68/73

    WinCC flexible 2005 Getting Started OptionsGetting Started, Release 05/2005, 6ZB 5370-1CN02-0BA0

    65

    system efficiency, we shall configure the Bottling Station (MP 270B 10 ) HMIon the packaging system as OPC server.

    In our example, we shall use MS Excel instead of the ODA application as OPCclient to output process values.

    1. Configure the MP 270 as OPC server:

    2. Verify the following Control Panel settings at the MP 270B 10":

    The IP address is 192.168.0.23.

    The subnet mask is 255.255.255.0.

    Data transfer mode is set to Ethernet.

    A changed IP address is

    accepted only after a restart of the HMI.

    5 Operational dataacquisition bymeans of OPC

    3. Download the GettingStarted_Options project to the Bottling StationHMI:

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    69/73

    WinCC flexible 2005 Getting Started OptionsGetting Started, Release 05/2005, 6ZB 5370-1CN02-0BA0

    66

    5.3 Configuring the programming device as OPCclient

    We shall use MS Excel as OPC client on the programming device to simulate the

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    70/73

    WinCC flexible 2005 Getting Started OptionsGetting Started, Release 05/2005, 6ZB 5370-1CN02-0BA0

    67

    We shall use MS Excel as OPC client on the programming device to simulate theODA PC which is connected by means of OPC. This OPC client represents abasic implementation and is therefore not suitable for system operation.

    The Excel file OPC_Client.xls is stored in the self-extracting fileProject_GettingStarted_Options_WinCC_flexible_2005.exe.

    Default communication mode for the programming device is DCOM, and the Bot-tling Station HMI uses XML to exchange data. The programming device canaccess HMI data by means of OPC Gateway:

    1. Verify that the following conditions are satisfied:

    Microsoft SOAP Toolkit V3.0 is installed on the programming device(ODA PC.)

    You can download Microsoft SOAP Toolkit from the Internet under http://msdn.microsoft.com/webservices. Earlier versions of MicrosoftSOAP Toolkit are not overwritten and can be used in parallel.

    5 Operational dataacquisition bymeans of OPC

    2. On the engineering station, open XML Manager. Configure the OPCgateway by entering the address of the OPC server (MP 270B 10"):

    XML Manager is availabled S Si i

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    71/73

    WinCC flexible 2005 Getting Started OptionsGetting Started, Release 05/2005, 6ZB 5370-1CN02-0BA0

    68

    3. Start MS Excel on the programming device and run OPC_Client.xls.

    4. Press to open the VBA editor.

    under Start > Simatic >WinCC flexible 2005 Runtime.

    XML Manager also supportsthe configuration of network connections to several OPCXML servers.

    5. Verify that the Siemens OPC DAAutomation 2.0 (sopcdaauto.dll) classlibrary is registered and referenced in MS Excel:

    The default folder for theclass library is C:\ProgramFiles\Common Files\OPC. If ProTool is also installed onyour programming device

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    72/73

    WinCC flexible 2005 Getting Started OptionsGetting Started, Release 05/2005, 6ZB 5370-1CN02-0BA0

    69

    your programming device,the class library is found

    under C:\Siemens\Com-mon\OPC.

    5 Operational dataacquisition bymeans of OPC

    6. Connect to the HMI of the packaging system:

  • 8/2/2019 WinCC Flexible 2005 Getting Started Options Www.otomasyonegitimi.com

    73/73

    WinCC flexible 2005 Getting Started OptionsGetting Started, Release 05/2005, 6ZB 5370-1CN02-0BA0

    70

    Using the file macro, the sales manager can view selected process values in realtime on his computer, and save these for further processing.

    7. Close the OPC client by clicking Stop Client.

    To show further tag values,enter the relevant tag nameswith the prefix Win CC Flexi-ble RT at cells A14 to

    A18.