Version 3.0 is here!

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

The TIA Portal V15 release is coming soon and will include full simulation capability for all devices!

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
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

VersionDateAuthorSoftware VersionCommentsDownload Link
3.02018-12-05DMCV14 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 OA Open Library

VersionDateAuthorSoftware VersionCommentsDownload Link
Alpha2017-06-26DMCWinCC OA 3.15
  • Alpha release for use with v1.4 of Siemens Open Library for either V13 SP1 or V14
  • Functionality against actual PLC objects not yet tested
  • PID Graph not yet functional
WinCC-OA-Open-Library-Alpha.zip (~4MB)

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?

VersionDateAuthorSoftware VersionCommentsDownload Link
2.12018-06-26DMCV14 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)
2.02017-11-02DMCV14 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)
1.62017-07-24DMCV14 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)
1.52017-06-28DMCV14 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)
1.42017-02-02DMCV13 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)
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)
1.32016-10-13DMCV13 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)
1.22016-08-24DMCV13 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)
1.12016-06-21DMCV13 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)
1.02016-05-23DMCV13 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) 2018 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:

  • 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.

      Enjoy!

  • 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?

  • Ed Finley

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

  • 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?

  • Bellahcene Oussama

    invalid mail?

  • 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.

  • Steve Anger

    Can the library be used with STEP 7 Basic?