Skip to content

siemens/modular-application-creator-use-cases

Repository files navigation

Usecases for the SIMATIC Modular Application Creator Module Builder

This repository demonstrates how to use the comfort functions of the Modular Application Creator Module Builder. With those comfort functions the Openness programmer does not need to handle the xml file when e.g. calls in ladder logic should be generated. More information is available under Modular Application Creator on SIOS.

🚀 Getting started Documentation

We just updated our Modular Application Creator Use Case Based Documentation.

Prerequisites

Quickstart

Follow these steps to get started with the Modular Application Creator:

  1. Clone the Repository:

    • Clone this repository into a local folder (avoid using a OneDrive folder).
  2. Set Up Debugging (Optional):

    • Open your project in Visual Studio.

    • Go to PropertiesDebugStart external program and select ModularApplicationCreator.exe.

      Debug Setup

  3. Build & Run the Solution:

    • Build the solution in Visual Studio and ensure it compiles successfully.
    • If there are missing packages, it may be due to incorrect or disabled NuGet sources provided by the Modular Application Creator Module Builder. To resolve this:
      • Restart Visual Studio (this can fix rare issues).

      • Verify your NuGet sources by running the following command in the terminal:

        dotnet nuget list source
      • Ensure the MacMbPackages source is listed and enabled.

    • Once the solution builds successfully, start it in Visual Studio. The Modular Application Creator should launch.
  4. Configure the Modular Application Creator:

    • Open the Settings tab in the top right corner

      Settings Tab

    • In the section Enable/disable use of unsigned modules and project templates allow the usage of unsigned modules/projects templates to be able to use this demo equipment module. If you like you can also apply this setting permanently

      Allow unsigned modules

    • Click Add Source to add the source location to this Equipment Module / Project output NuGet package:

      Source Location

    • Go back to the Main Page -> Create new project -> Select a Modular Application Creator project template from the list -> Select the first DemoCase template -> Create and open

    • Assign the Equipment Module (MAC_use_cases.xxx-prexxx) to your PLC by dragging and dropping it.

    • Configure your module under the Configure Modules tab.

    • Click Generate under the Generate tab.

    Note: Once completed, your TIA-Portal project will be generated.

Contact us

If you have problems or suggestions, please send an email to [email protected]

📝 License

Copyright © 2025 Siemens AG.

This project is MIT licensed.