0% found this document useful (0 votes)
47 views

Using The Windows Standard Interfaces: Odbc OCX

The document discusses several standard interfaces that can be used to connect WinCC including OLE, ODBC, DDE, OCX, ActiveX, and OPC. It provides examples of using these interfaces to connect WinCC tags to applications like Excel and Word.

Uploaded by

Henrique Xavier
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

Using The Windows Standard Interfaces: Odbc OCX

The document discusses several standard interfaces that can be used to connect WinCC including OLE, ODBC, DDE, OCX, ActiveX, and OPC. It provides examples of using these interfaces to connect WinCC tags to applications like Excel and Word.

Uploaded by

Henrique Xavier
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 18

Using the Windows Standard Interfaces

ODBC
OCX

OPC
OLE SQL

ActiveX
DDE

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.1 Automation and Drives
© Siemens AG 2003. All rights reserved.
Objectives

- Open Architecture

- OLE Automation

- ODBC

- DDE

- OCX

- ActiveX

- OPC

- VBS

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.2 Automation and Drives
© Siemens AG 2003. All rights reserved.
An Overview of the WinCC Open Architecture

Connec- ActiveX(1)*
tivity (4) OPC(1)*

CHN (3) DDE (1)*

OLE (1)*
OLL (3)
COM (1)

API (2) ODBC (1)

Action (2) SQL (1) (1) Windows


OCX (1)* (2) WinCC
(3) WinCC Objects
(4) SYBASE

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.3 Automation and Drives
© Siemens AG 2003. All rights reserved.
OLE Automation (1/2)
(Access to WinCC Tags through Excel, for Example)

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.4 Automation and Drives
© Siemens AG 2003. All rights reserved.
OLE Automation (2/2)
(Access to WinCC Tags through Excel, for Example)

WinCC Excel Data Exchange

OLE Test Application

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.5 Automation and Drives
© Siemens AG 2003. All rights reserved.
ODBC Application with Data from WinCC 1/3

WinCC Database

Evaluation

Valve 1: 3x
Valve 2: 3x
.
.
.

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.6 Automation and Drives
© Siemens AG 2003. All rights reserved.
ODBC Application with Data from WinCC 2/3

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.7 Automation and Drives
© Siemens AG 2003. All rights reserved.
ODBC Application with Data from WinCC 3/3

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.8 Automation and Drives
© Siemens AG 2003. All rights reserved.
Integrating OLE Objects in WinCC with MS WordArt 2.0,
for Example

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.9 Automation and Drives
© Siemens AG 2003. All rights reserved.
Using OCX and ActiveX, Standard Market Objects 1/3
VB Object Palette with OCX Objects
WinCC OCX

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.10 Automation and Drives
© Siemens AG 2003. All rights reserved.
Using OCX and ActiveX, Standard Market Objects 2/3

Type O

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.11 Automation and Drives
© Siemens AG 2003. All rights reserved.
Using OCX and ActiveX, Standard Market Objects 3/3

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.12 Automation and Drives
© Siemens AG 2003. All rights reserved.
DDE Linking 1/3
(Accessing WinCC Tags through Excel, for Example)

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.13 Automation and Drives
© Siemens AG 2003. All rights reserved.
Linking using DDE Server 2/3 (Accessing WinCC Tags
through Excel, for Example)

WinCC Excel Data Exchange

DDE Test Application

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.14 Automation and Drives
© Siemens AG 2003. All rights reserved.
Linking using WinCC DDE Channel 3/3
(Accessing WinCC Tags through Excel, for Example))

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.15 Automation and Drives
© Siemens AG 2003. All rights reserved.
Linking using OPC according to the COM Model
Computer A
OPC client OPC server

Windows operating system

COM library
Siemens OPC
DAAutomation 2.0

Computer A Computer B

OPC client OPC server

Windows network Windows

COM COM
library library
DCOM

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.16 Automation and Drives
© Siemens AG 2003. All rights reserved.
Direct Access to the Complete MS Excel Functionality
under WinCC

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.17 Automation and Drives
© Siemens AG 2003. All rights reserved.
Direct Access to the Complete MS Word Functionality
under WinCC

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_10e.18 Automation and Drives
© Siemens AG 2003. All rights reserved.

You might also like