Upload
others
View
12
Download
0
Embed Size (px)
Citation preview
Siemens TIA Portal Openness FeatureFunctionality and Possible Use
European Spallation Source – Integrated Control System Division
Nick Levchenko
CERNDate: 2016-02-01
Scope
• Functionality & Features
• Availability & Compatibility
• Installation & Use
2
Functionality & Features
• Automation of engineering by controlling the TIA Portal externally from within a custom made program you have created
• The following functions are available:
– create/delete project data, PLC and HMI data
– modify projects and project data (import/export/etc.)
– download/upload/compare project data to/from PLC/HMI
3
Use @ ESS
4
CCDB
Database that holds
information on all
devices, their locations, controlling them PLC’s,
etc.
Custom Application
TIA PortalO
pen
ne
ss
Extracts datafrom CCDB
Generates PLC code (in the
form of import files)
Uses Openness to import
files to PLC project
System Architecture
• TIA Portal Openness provides a public API (DLL)
• Users can create their own application (MS Visual Studio: C#, VB.Net, etc.) to use any functions provided by the API
5
Object Model
6
Availability & Compatibility
• Available from TIA Portal V12 SP1
• More feature added with every version
• Currently available via Siemens only (some files required)
• Will be publicly available from TIA Portal V14
7
Siemens Roadmap
Open and close TIA Portal
Open, save, close project
Import/export of HMI
configuration data for HMI
RT Advanced
XML-Export PLC blocks of
S7-300/400
Read tag tables
Read selected hardware
configuration data
+ XML-Export PLC blocks of
S7-1200/1500 (except
SCL)
+ Export/import tag tables
via XML
+ Modify a TIA project via UI
and API
+ Import ASCII sources
(STL/SCL/DB/UDT)
TIAP V12 SP1
Openness
+ Import/export of extended
HMI configuration data for
HMI RT Advanced
+ XML-Import of PLC blocks
in S7-1500 (only STL)
+ Copy from Library to Device
+ Start Block Editor / Tag
Editor
+ Start Compile PLC / HMI
+ Silent Update Check for
type objects
TIAP V13
Openness
TIAP V13 SP1
Openness
TIAP > V14
Openness
+ XML-Import of
LAD/FBD/GRAPH blocks
+ Generate ASCII Source from
Block
(STL/SCL/DB/UDT)
+ Extended possibilities for
reading data from the
project (Blocks and library
data)
+ Support of the
UserXperienceSet
Configurations haveto be adapted
+ XML-Export of SCL blocks
+ XML-Import of
SCL/GRAPH/LAD/FBD blocks
+ Export/Import of HWCN data
+ Generation/Modification APIs
for
TIA Portal Project data
+ Up/download
+ Compare
+ Im/Export of HMI project data
for HMI RT Prof
+ Predecessors functional
replacement
8
Installation & Use
• Contact your local Siemens
• They will provide you with some installation and configuration files and user manuals
• They will also provide some demo applications (as Visual Studio projects)
9
Example
10
Traditional Import/Export
1. Generate text files (*.scl, *.db, etc.)
2. Attach them as external sources
3. Manually generate block from external sources using TIA Portal
4. Any changes? Repeat steps 1 and 3
11
Openness Import/Export
1. Generate XML files
2. Automatically import them into TIA Portal
3. Any changes? Repeat steps 1 and 2, which can be fully automated in your custom made software tool
Traditional import/export using connected external sources still available and usable via Openness as well
12
XML File Additional Features
1. Better, industry-standard format
2. XML import lets one create instance DB with user-defined name AND number:
https://support.industry.siemens.com/tf/ww/en/posts/tia-and-creating-db-s/88731/?page=0&pageSize=10
13
Demo
14