Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 109749187, Entry date: 02/01/2018

Digitalization with TIA Portal: Virtual Commissioning with SIMATIC and Simulink

  • Entry
  • Associated product(s)
Three use cases for the virtual commissioning with SIMATIC and Simulink.

In automation and control engineering, the Simulink  software from MathWorks is frequently used to simulate processes and create algorithms. The requirement is to simulate the model, algorithm or function in a virtual environment via PLCSIM Advanced or, based on hardware, using a software controller in just a few steps.

This application example describes how to build a simulation model with Simulink. It uses three digitization use cases to describe the possibilities and limitations of validating and simulating the simulation model virtually and based on hardware with SIMATIC products. The sample Simulink model consists of a process simulation and a PID controller.

The following documents make up the entire application example:

  • Main document:
    Overview of the three use cases and the Simulink model 
  • Use Case 1:
    Connecting Simulink models to SIMATIC PLCSIM Advanced via API
  • Use Case 2:
    Connecting Simulink models to SIMATIC PLCSIM Advanced via OPC UA
  • Use Case 3:
    Using SIMATIC Target 1500S for a Hardware-Based Simulation of the Simulink Model 

Documentation and example project

MATLAB, Co-Simulation
Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit