You are on page 1of 7

User Openness API

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


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

- API (Application Programming


Interface)

- ODK (Open Development Kit)

- CDK (Channel Development Kit)

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


File: SWINCC_11e.2 Automation and Drives
© Siemens AG 2003. All rights reserved.
WinCC Software Architecture

WinCC Explorer

CS CS CS CS CS CS
Contorl Panel

RT RT RT RT RT RT
Custom Measured
Graphics form Signalling values Report Option
processing user
archive

CS CS CS
RT Access RT Text RT Tag management
protection ... library Process data

Data Manager

S5 S7
.mdf

RT .mdf

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


File: SWINCC_11e.3 Automation and Drives
© Siemens AG 2003. All rights reserved.
Application Programming Interface API (1/4)

 ANSI-C Functions API

 Access to data API


API
API
API
API
API
API
API
API
API
API
API

 in the Tag Management


 in the archives API

 configuration data
 Using system functions (ODK)
 configuration functions
 Runtime functions
 Integration of communication channels (CDK)
 Basis for
 individual functions
 technological-type options
 industry-referenced function modules

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


File: SWINCC_11e.4 Automation and Drives
© Siemens AG 2003. All rights reserved.
Application Programming Interface API (2/4)

User
application Integrating configuration
functions

I User
application Integrating Runtime
functions

Integrating
communication
channels

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


File: SWINCC_11e.5 Automation and Drives
© Siemens AG 2003. All rights reserved.
Application Programming Interface API (3/4)
Additional The following is needed for creating
applications:
application
External C compiler
Using functions (for example, Microsoft Visual C++ 5.0 )
Library file for the desired
WinCC API ( *.LIB )
WinCC API DLL Header file for the desired
WinCC API ( *.H )

Communication

WinCC Module

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


File: SWINCC_11e.6 Automation and Drives
© Siemens AG 2003. All rights reserved.
Application Programming Interface API (4/4)

 Application examples:
 Access to values from the Tag Management
 Access to archive data
 Integrating communications channels
 Direct display of processing results in Graphics
 Generic configuration based on API functions
 Integrating already existing processing programs
 Generating messages from user routines
 Controlling the measured value recording from user routines
 Controlling reports from the user programs

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


File: SWINCC_11e.7 Automation and Drives
© Siemens AG 2003. All rights reserved.

You might also like