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

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 Unified Comfort Panel, 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 V17. 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
Inputs/Outputs
  • 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 5.0 (2022-09-26)

Software Version V17


  • Update to TIA Portal V17
    • Split library into separate archives to comply with new V15 dependency enforcement
  • Converted most faceplates to WinCC Unified from WinCC Comfort/Advanced, except for PID Graph Popup and Siwarex faceplates
    • Divided project into additional libraries according to Siemens software dependencies
  • Minor PLC bugfixes
  • Added fbRuntimeTimer for tracking time longer than the TIME datatype
  • Updated documentation to include descriptions of different library files
  • Integrated latest MODBUS library 3.6.0 from here
Siemens-Open-Library-V17-V5.0.zip (~146MB)

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
WinCC-OA-Open-Library-v1.0.zip (~11MB)
Planned Improvements
  • Add WinCC Unified compatibility to Siemens toolbox
  • 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 contribute@OpenPLCLibrary.com. 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?

Open Library Version 4.1 (2022-09-26)

Software Version V16


  • Update to TIA Portal V16
Siemens-Open-Library-V16-V4.1.zip (~36MB)

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
Siemens-Open-Library-V15-V4.0.zip (~34MB)

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
Siemens-Open-Library-V14SP1-V3.0.zip (~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.
Siemens-Open-Library-V14SP1-V2.1.zip (~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
Siemens-Open-Library-V14SP1-V2.0.zip (~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
Siemens-Open-Library-V14SP1-V1.6.zip (~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
Siemens-Open-Library-V14SP1-V1.5.zip (~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
Siemens-Open-Library-V13SP1-V1.4.zip (~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
Siemens-Open-Library-V14-V1.4.zip (~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
Siemens-Open-Library-V1.3.zip (~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.
Siemens-Open-Library-V1.2.zip (~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
Siemens-Open-Library-V1.1.zip (~18MB)

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

Software Version V13 SP1 Update 8


  • Initial Release
Siemens-Open-Library-V1.0.zip (~17MB)

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

6. License

The Library is released under the following license: Copyright (c) 2024 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. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Sign up to receive Siemens Open Library updates via email:

Subscribe to our mailing list

* indicates required