3 4 februar 2016 Innovation Days - Openness siemens.no/industri
History Engineering Openness until now ODK WinCC SCADA (API) Introduced with mass marketing (1996) ODK-RT/-CS Openness is a crucial product feature and important decision criterion for purchasing Public API Command interface of STEP 7 V5.x (API) Introduced 5 years after STEP 7 (1998) Low promotional activity Selected customers who use the given possibilities intensively Public API WinCC flexible Openness (Import/Export) Introduced after mass marketing (2004) Targeted at selected customers (~30) Export / Import Page 2
Introduction to TIA Portal Openness Instead of manual handling of TIA Portal TIA Portal Openness Automatic execution of actions Project.Open() Public API 1 Open project Device.Compile() Compile device Page 3 Create application with desired functionality e.g. in MS Visual Studio TIA Portal Openness grants access to objects and functions of TIA Portal via DLLs 1 Application Programming Interface TIA Portal is remotely controlled by the application via Openness
Introduction What are the benefits of automation with TIA Portal Openness? More efficiency due to faster execution of the task No errors through automation of unvarying processes Short commissioning times through use of program-aided configuration Increased competitiveness through more targeted use of resources Graphic: http://xkcd.com/1319/ Page 4
Applications between production planning & engineering Automatic creation of overall projects out of modular project parts Fast composition of new machines out of components possible Parameter / objects machine_1 Parameter objects Tool TIA Portal Project for machine_1 Parameter / objects machine_n Parameter objects Project for machine_n Page 5
Applications during engineering Automatic program-controlled translation/assignment of project texts (block comments, alarms, etc.) Standardized texts can be reused in new projects very quickly Tool TIA Portal Textdata base Page 6
Applications during production/commissioning Automatic synchronization of projects with global libraries Programmatic check for changes, update as well as compilation Global library Validates types / copies Tool If necessary update and compile TIA Portal Check device consistency against projects Connect to all devices of a plant and compare with offline project Online-PLCs Establish a connection Tool Trigger a connection TIA Portal PLCs Page 7
TIA Portal Openness V13 SP1 - Project Functional scope of the project (1) TIA Portal Open with or without user interface Close/disconnect, connect to process Project Open, save, close, Check for unsaved changes Devices and subnets Enumerate and read information Editors Open network and topology editor Controller and visualization Compile hardware and/or software (build / rebuild ) Folder Create and delete Elements Delete Project graphics Search, export, import, delete graphics Comments Are exported at the points of use in all languages Page 8
TIA Portal Openness V13 SP1 - Controller Functional scope of the controller New in V13 Controller SP1 Configure, connect and disconnect an online connection Compare offline, online, with project and global library Blocks and data types Show in editor Compile Export as XML (except SCL) Import from XML (only with enabler/usage file) External sources Search, import, delete sources Generate blocks from source file Create source files from blocks (STL, SCL) Tag tables Show in editor Export as XML Import from XML Search, list, export or delete single tag/constant Page 9
TIA Portal Openness V13 SP1 HMI Functional scope of the visualization (Panels & RT Adv.) For the elements Screens Screen management Tags Connections (non-integrated) Scripts Cycles Text and graphic lists The following actions are possible Show in editor List and show properties Export as XML Import from XML Page 10
TIA Portal Openness V13 SP1 - Library Functional scope of the libraries Global library Open (not shown in UI), close Library functions (Types) Update check of the instances Perform update of the project library Perform update of devices in the project Search (by type/version) and delete elements New in V13 SP1 Library functions (master copies) Copy to project New in V13 SP1 Page 11
Object model The object model of TIA Portal Openness is based on the project structure. The most important classes are: Project Device DeviceItem ControllerTarget HmiTarget Project Station Device inside of a station Controller Visualization Page 12
Future development Outlook Engineering openness with full functionality is planned for > V13 SP1, with: functions for parameter assignment as well as Import/export of the hardware configuration CAx interface for data exchange Interface to TIA Selection Tool to read in order S7-300 data Further online functionality (download, etc.) Installation with STEP 7 / WinCC Compatibility between versions cannot be guaranteed Support of Startdrive and Safety is also planned Using the API is planned to need a license Import/Export functionality via UI is not affected TIA Portal S7-1500 S7-300 RT Adv + Panels S7-1500 S7-1200 S7-400 Current implementation Self-written program WinAC S7-1200 Online connection S7-400 WinAC XML XML & ASCII XML & ASCII Library actions Selfwritten program EXE Page 13
Steps for successful implementation Steps to use TIA Portal Openness 1. Install TIA Portal Openness. 2. Add user to user group "Siemens TIA Openness. 3. Reference Openness DLLs in programming environment (do not copy locally). 4. Use a configuration file or an AssemblyResolve to retrieve the path to Openness DLLs. 5. Upgrade the project/library to V13 SP1 format, if necessary (no compatibility mode e.g. V13 project or HMI in project without HMI-installation). 6. Possibly add application to whitelist on connection to the TIA Portal (saved in registry 1) ). 7. Start programming. Page 14 1 ) HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Siemens\Automation\Openness\13.0.1\Whitelist
Further information in Siemens Industry Online Support (SIOS) Documentation in Online-Help of TIA Portal in chapter Automating projects with scripts. System Manual: https://support.industry.siemens.com/cs/ww/en/view/109477163 Three application examples including VS2010 projects https://support.industry.siemens.com/cs/ww/de/view/108716692 FAQ: When using a TIA Portal Openness application, why do you get the error message "Cannot connect to TIA Portal"? https://support.industry.siemens.com/cs/ww/de/view/109038214 FAQ: Why does your TIA Portal Openness application not function as expected? https://support.industry.siemens.com/cs/ww/de/view/109251656 Request enabler- and usage-file https://support.industry.siemens.com/cs/attachments/103627307/tia_portal_openness_ Anleitung_UsageFile_EnablerFile_V13SP1.pdf Page 15
Thank you for your attention! Geir Olsbø Kvamme Sales Spesialist DF FA Østre Aker Vei 88 0613 OSLO Phone: +47 950 48 649 E-Mail: geir.kvamme@siemens.com Page 16