Скачать презентацию
Идет загрузка презентации. Пожалуйста, подождите
Презентация была опубликована 10 лет назад пользователемИрина Распутина
1 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC Открытость и способность к интеграции WinCC
2 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC Цели изучения Краткий обзор открытых интерфейсов Global Script OLE-управление пользователя API OLL DDE OLE База данных WinCC DLL-канал
3 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC Overview Disclosed Function Interfaces Data Manager Meas.Value Message Graphics Report User programs Windows Application s Excel Word Access PowerBuilder... Management Analysis Optimization... OLE API DDE OCX ODBC/ SQL Actions Channel DLL
4 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC Action Programming (1/2) Overview
5 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC Action Programming (2/2) Examples Actions with Graphic Objects (Properties and Events) Examples: Start of a program by mouse click on a button, Color change of objects Actions with Archives (Process value, user, compression archives) Examples: Move out archive, Start / Stop archiving Global Script Actions (not linked to any "Object", are executed in the background) Example: Calculation of process values
6 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC OLE Custom Control WinCC Slider Control ocx1. bmp ocx2. bmp ocx3. bmp WinCC Digital/Analog Clock Control
7 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC #include "apdefap.h" void OnClick(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName) { #define GetObjectA GetObject __object *obj, *pic,, *ocx obj= __object_create("PDLRuntime"); if(obj != NULL){return;} pic=obj->GetPicture("BILD1.PDL"); if( pic == NULL){ __object_delete(obj); return; } ocx=pic->GetObject("OLE Control2"); if( ocx == NULL){ __object_delete(obj); __object_delete(pic); return; } ocx->AboutBox(); __object_delete(obj); __object_delete(pic); __object_delete(ocx); } Method of OCX General Method Call of an OLE-Control from Script Programming GetPicture("BILD1.PDL"); if( pic == NULL){ __object_delete(obj); return; } ocx=pic->GetObject("OLE Control2"); if( ocx == NULL){ __object_delete(obj); __object_delete(pic); return; } ocx->AboutBox(); __object_delete(obj); __object_delete(pic); __object_delete(ocx); } Method of OCX General Method Call of an OLE-Control from Script Programming">
8 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC WinCC - API (1/3)
9 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC WinCC - API (2/3) Application Examples Access of values from the Tag Management Access of archive data Generic configuration based on API functions Use of configuration screens for self-developed software options Creation of messages from user routines Integration of communications channels
10 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC WinCC - API (3/3) Additional Application WinCC API DLL WinCC Module Use of Functions Communication
11 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC OLL
12 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC DDE ddekan ddeserv DDE Channel DDE Server
13 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC OLE Automation
14 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC OLE ole2
15 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC WinCC Data Base (1/2) Disclosed Data Base Interfaces Sybase SQL-Anywhere Client C-API for DB ODBC Sybase SQL-Anywhere Client ODBC Sybase SQL-Anywhere Server Excel Access... Graphics Message Meas.Value UserArch. etc. User program User program Messages Measured values User data records Configuration data Sybase SQL-Anywhere C-API Sybase SQL-Anywhere C-API e.g. embedded SQL User pro- gram Oracle Informix Ingres Omni SQL Server DB Com- mands Project- DB Project- DB SQL- Anywhere DB File Tools e.g. ISQL SybaseWinCCWindows
16 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC WinCC Data Base (2/2) ODBC Applications Driver Manager Driver Data Source Data Source Data Source ODBC-Interface
17 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC Communication WinCC Applications WinCC Data Manager Channel-DLL (1)Channel-DLL (2) HW Driver Communications Module Communications Partner (e.g. Controller) Communications Partner (e.g. Controller)
18 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC CDK Channel Development Kit CDK Package scope of supply Getting Started manual Channel API manual C/C++ Header Files and Object Libraries Examples in C/C++ Source-Code Test and Analysis Utilities
19 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC Exercise: Integration of an OLE-Control in a WinCC Graphics Picture (1/2)
20 WinCC Работа и мониторинг Siemens AG All rights reserved.© TC Nbg.-M Date: File: E02OFFe.PPT Catalog: NWINCC Exercise: Integration of an OLE-Control in a WinCC Graphics Picture (2/2) 52 Typ O
Еще похожие презентации в нашем архиве:
© 2024 MyShared Inc.
All rights reserved.