Official TIA Portal V15 and WinCC OA v1.0 releases are live!

Click the download button below to see what’s new.

The Siemens Open Library was developed by DMC, Inc. over several years. Through a joint collaboration with Siemens Industry, DMC documented the library and released it as an Open Source Library open for anyone to use and distribute. The Library is Open Source and will allow for users to contribute content to help enhance the overall availability of functionality to the greater Siemens User Community.

This library is targeted at S7-1200 and S7-1500 applications using a Siemens Comfort Panel, WinCC Advanced RT, or WinCC Professional. Special changes have been made to accommodate S7-300 and S7-400 processors, however these processors are no longer being actively developed for (final version is 2.1). The version of Portal used for initial development was V13 SP1, and the current version release is for V14 SP1. However, the project is activity supported by both the community and DMC – updates will continue to be released on a regular basis.

Table of Contents

  1. Library Contents
  2. Library Overview
  3. Latest Versions
  4. Contributing to the Library & Reporting Issues
  5. Version History
  6. License

1. Library Contents

The Siemens Open Library contains many components to assist with development. The library contains the following items:

  1. Documentation for all objects with examples of configuration
  2. Example project to demonstrate the use of all library objects
  3. Library Objects
    1. Function Block for PLC functionality
    2. HMI User Defined Type for quick mapping of many variables to the HMI
    3. Error User Defined Type for automatic generation of multiple alarm messages
    4. HMI Icon Faceplate for an overview of object status
    5. HMI Pop-up Faceplate for detailed control and object status
  4. Windows application used to automatically generate alarms

2. Library Overview

Here is a short list of the supported and fully documented blocks contained in the library. Please consult the documentation for a full list and descriptions.

Motor Control
  • Siemens VFD – G-Series (G110, G120), MicroMaster (MM420, MM440)
  • Siemens SIMOCODE Pro V
  • Siemens Soft Starter and 3RW44
  • Digital Single-Speed Reversing Motor
  • Analog Controlled VFD
  • Emerson (Control Techniques) Unidrive Servo
  • Danfoss VLT VFD
Valve Control
  • Two-State Solenoid Valve
  • Analog Valve
  • Hydraulic Valve
  • Analog Input with Scaling and Alarms
  • Analog Output with Scaling
  • Digital Input with Manual Override
  • Digital Output with Manual Override
Peripheral Devices
  • Siemens SiwarexU Load Cell Module
  • Siemens SiwarexWP 321 Load Cell Module
  • Emerson MicroMotion Coriolis Flow Meter
  • Airlock (Motor/Valve) Combination Control
General Utilities
  • System and Mode Control
  • Interlock Management
  • Permissive Management
  • Standard Alarm Interface
  • Standard Step Sequencer
  • Siemens ProfiDrive Communication to VFDs
Process Control
  • PID Compact Technology Object Wrapper and HMI Control
  • Tank / Container Level Monitoring
  • FIFO Queuing using Variants
  • Flow Totalizing
  • Integration
  • Output Pulsing / PWM
  • Process Value Rate Calculation
  • Running Average Calculation
  • Retentive Timer

3. Latest Versions

Open Library Version 4.0 (2019-06-11)

Software Version V15

  • Added simulation capability to all devices!
  • Update to TIA Portal V15
    • Split library into separate archives to comply with new V15 dependency enforcement
  • Several new device blocks and faceplates for both WinCC Comfort/Advanced and WinCC Professional
  • New lightweight PID alternative to PID_Compact
  • New helper blocks for Modbus RTU
  • Fixed several minor bugs
  • Eliminate static tag dependencies
  • Updated documentation, including how-to document for device simulation
  • Integrated latest MODBUS library 3.0.0 from here (~34MB)

WinCC OA Open Library Version 1.0 (2019-06-14)

Software Version WinCC OA 3.16

  • Designed against Open Library 3.0.0
  • All new object oriented architecture
  • Color scheme enabled
  • Open Library Template with embedded alarm window
  • Created Tag Importer Tool
    • Creates dpl file for WinCC OA from Portal projects
    • Dramatically reduces work of importing tags into WinCC OA
    • Companion to WinCC OA Open Library (~11MB)

Planned Improvements
  • Integrate security into objects
  • Implement Open Library v4.0.0
  • Add newer objects, such as the permissives panel

4. Contributing to the Library & Reporting Issues

The Siemens Open Library is an open source library, and contributions, improvements, and changes are welcome from anyone who has improved or added to the library. Please submit any custom objects or reports of issues to DMC by emailing them to [email protected].

Library objects may not be added immediately, but will be added as additional versions of the library are released.

5. Version History

Looking for the latest version?

WinCC Open Library Version 3.0 (2018-12-05)

Software Version V14 SP1

  • 29 Newly supported blocks!
    • Including brand new blocks such as Digital Output, Siwarex Load Cell Modules, Hydraulic Valve, Danfoss VFDs and more!
    • Full documentation included
  • Brand new Alarm Generator!
    • Replaced Excel macro with Window application
    • Added support for WinCC Professional
    • Compatible with multiple versions of Portal
    • Supports any data block bit arrangement (infinitely nested structures or UDTs, arrays, etc.)
  • Updated PID_Compact
    • Added more HMI controls and modified faceplates for clearer control over manual mode
    • Fixed HMI reset and E-Stop override bugs
    • Resolved slight operator error notification issue
  • Updated configurability to G-Series VFD block asynchronous parameter reading and writing
    • Fixed edge case that caused communication lag
    • Created new VFD block that does not include parameter R/W
    • Added update time input to allow limiting of communication load
  • Fixed small error reporting and display issue in Analog Output
  • Created new FIFO block that supports standard queue functionality and works with variant data types
  • Deprecated a few old blocks that have since been upgraded
  • Integrated latest MODBUS library 2.4.0 from here (~35MB)

WinCC Open Library Version 2.1 (2018-06-26)

Software Version V14 SP1

  • Created digital input faceplates and pop ups for comfort and pro in standard library
  • Updated the manual mode/output value setpoint in PID_Compact function block to have manual mode output set point and manual mode PID input setpoint
  • Fixed HMI output value issue in Flow Totalizer
  • Motor soft starter fixed enableOn bug and added manual and auto states to HMI
  • Analog Output corrected HMI output to designate the Auto value
  • Integrated latest MODBUS library 2.3.4 from here
  • This is the last version of the library supporting S7-300/400 processors. (~40MB)

WinCC Open Library Version 2.0 (2017-11-02)

Software Version V14 SP1

  • Added SiVArc properties to all WinCC Comfort/Advanced faceplates
  • Added SiVArc screen rules and master screen copies to the “Master Copies”
  • Updated example project to have SiVarc functionality and added a HMI to the example project to show the auto-generation.
  • Update all 1500 blocks to use HW addresses
  • All supported blocks compatible with 1500 and 1200
    • No more separate types for 1200
  • Separated 300/400 blocks into a separate library (available in previous versions)
  • Added new FIFO blocks, including prioritized FIFO with optimized sorting
  • Replaced WinCC Professional popup faceplates with screens which will use tag prefixed UDT fields for processing. Tag prefix will be assigned to the parent Screen Window that loads screen.
  • Added Flow Totalizer control which combines an Analog Input with an Integrator to output the Integral value over a given time window.
  • Minor bug fixes (~38MB)

WinCC Open Library Version 1.6 (2017-07-24)

Software Version V14 SP1

  • Added User submitted Modbus RTU/TCP Library to Master Copies
    • Credit and thanks to Ola Bjørnli
  • Ported Modbus library to V14 SP1 – Alpha release
  • Added OBs with built-in diagnostic messaging to Master Copies
  • Updated code base for many blocks with improved V14 SP1 features (~34MB)

WinCC Open Library Version 1.5 (2017-06-28)

Software Version V14 SP1

  • Added Faceplates for WinCC Professional
  • Updated PID to utilize Data Block Parametrization
  • Fixed bug with fcSwapWords
  • Updated Example Project (~35MB)

WinCC Open Library Version 1.4 (2017-02-02)

Software Version V13 SP1 Update 8

  • Added dynamic fonts to all HMI faceplates for variable size HMIs
  • Updates to several Supplementary blocks
  • Added official blocks for SIMOCODE and SIRIUS Soft Starter
  • Resolved bug in fbIO_AnalogInput when using RTDs
  • Fixed fbErrorScroller issue in use with S7-1200 CPUs (~26MB)

Software Version V14

  • BETA – First release for Portal V14
  • This version has not been fully tested or optimized for V14 yet
  • Expect further testing and V14 optimizations in the next version (~15MB)

WinCC Open Library Version 1.3 (2016-10-13)

Software Version V13 SP1 Update 8

  • Fixed bug in S7-1200 PLC version of fbVFD_GSeries that hindered Profi communication
  • Added several new Supplementary blocks, including support for the SiwarexWP321 module
  • Extended support of most Supplementary blocks to the S7-1200 platform (~25MB)

WinCC Open Library Version 1.2 (2016-08-24)

Software Version V13 SP1 Update 8

  • Updated Alarm Generation tool to resolve tag errors with odd sized data blocks
  • Branched GSeries VFD for 1500 and 1200 due to issues with low level command availability on the 1200.
  • Added in the ‘Supplementary Blocks’ which are user submitted blocks. (~21MB)

WinCC Open Library Version 1.1 (2016-06-21)

Software Version V13 SP1 Update 8

  • Resolved display and functionality bugs identified in fbIO_AnalogInput, fbIO_AnalogOutput, fbMotor_Reversing, fbValve_Analog, fbVFD_Analog, fbInterlock, and fbPID_CompactInterface (~18MB)

WinCC Open Library Version 1.0 (2016-05-23)

Software Version V13 SP1 Update 8

  • Initial Release (~17MB)

Sign up here to receive an email when updates are released.

6. License

The Library is released under the following license:

Copyright (c) 2019 DMC, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.


Sign up to receive Siemens Open Library updates via email:

Subscribe to our mailing list

* indicates required

  • Rodrigo Victor

    How can i install?

    • Otto Gottlieb

      Hi Rodrigo,

      After you download the zipped folder you can extract it and find the Open Library VXX.zalXX file in the “2_Library” folder. When you open a project in TIA Portal you should go to the top navigation and select Options -> Global Libraries -> Retrieve Library…. Select the .zalXX file from the download and select a target directory. This will automatically open the Library in TIA Portal Global Libraries.


  • Trevor Garvey

    Is there any sample projects with WinCC Advanced or Comfort so I can view the faceplates?

    • Johnathan Sullivan

      The sample project as part of the download has an example of WinCC Comfort. Additionally the documentation goes over the faceplates.

  • Evangelos Arkalis

    As I can see in Devices Function Blocks, all fcHMIbit calls have both bInToggle and bInLatch inputs to false, the result is the output bPLC is always FALSE. Is this correct?

    • Johnathan Sullivan

      I am sorry for the delayed response, you should use fCHMIBit as either a Toggle, Latch, or one shot. If Toggle and Latch are both false it acts as a one shot.

  • Ed Finley

    I put my email address in, and it tells me it is an invalid email???

    • Johnathan Sullivan

      You do not need your email address to download the library. Perhaps your email is formatted in a way we don’t expect. Can you send an email to the Contribute(at) and we can take a look?

    • Johnathan Sullivan

      This was an issue that has been resolved.

  • René Kramer

    I try to open the Example Project V2.0 from TIA V15 but i get an error that optional package SiVarc is missing….
    Is there a quick fix for this?

    • Johnathan Sullivan

      Ignore this error if you are not using SiVarc. Everything else still works.

  • Bellahcene Oussama

    invalid mail?

    • Johnathan Sullivan

      I am not sure I understand your question?

  • Kees Bruinsma

    Is it posibble to make a smaple without smartdrive, i do not have this software. I have TiaPortal V14 SP1 Step 7 prof and Wincc advanced
    maybe someone can make a sample project
    whitout wincc proffesional and withoud starter items.

    • Johnathan Sullivan

      Are you unable to open the project? You should get some warnings, but the project should still open and you just wouldn’t be able to interact with the items you do not have a license for.

  • Steve Anger

    Can the library be used with STEP 7 Basic?

  • md nazeer

    Hey,kindly Note for this In new Library v3.0 SP1 Faceplate for siwarex missing

    • Johnathan Sullivan

      The Siwarex module is not an official item in the library and a faceplate has not yet been developed. If you create one, please share it with us and we will include it in the library.

  • Brigitta Dominik

    Hello, is it possible, that i can not close the popup screen in wincc advanced? The close button does not have any event connected, it seems to be inactive. Thank you in advance

    • I am sorry for the delayed response as I didn’t see this.

      You need to connect the event in WinCC Advanced the same way you do in WinCC Comfort. The documentation discusses how to properly setup the event.

  • Predrag Markovic

    Hi all,
    where I can download example program described in documentation for Siemens-Open-Library-V15-V4.0?
    Thanks in advanced

    • There were some dependency issues that people were having issues with in the latest version or portal. We have an update release with the example project coming out this week.

      • Predrag Markovic

        Thanks! It is nice news!

      • Matt Liebhart

        Any update on this example program? It is not in the latest download. Thanks!

        • We had some technical difficulties and it is going through final review. If you send me an email at [email protected], I can get you a pre released version.

  • Trevor Garvey

    Have you an example program with an implementation of the Step Sequencer?

    • All code that we have with the Step Sequencer implemented has proprietary customer code, so unfortunately we don’t have anything that we can share at this point.

      • Trevor Garvey

        Hi John, appreciate the quick response and totally understand. Is there any information I can find on how to use it?

        • Since it is a supplementary addition to the library rather than a core addition the only documentation that exists on it at this time is in the comments of the block.

          Send me an email at [email protected] with what you are trying to do and I will see if I can provide some guidance.