The Module Type Package (MTP) provides a modern solution to modularize a plant in the domain of process industries. To achieve this, MTP defines an interface for the simple orchestration and connection of modules to a higher-level control system. With TwinCAT MTP, Beckhoff enables MTP project planning and automatic code generation. This solution opens up an integrated and efficient way to develop modules in the universal TwinCAT engineering environment.
With TwinCAT MTP, automation software from Beckhoff meets the requirements for increasing plant modularity in the process industry.
(Source: Beckhoff)
Rigid automation systems that operate unchanged for many years are increasingly becoming obsolete in the process industries; in fact, individuality and flexibility in production are getting higher attention. Through cyber-physical modularization, process plants can be realized with little effort and flexibly adapted. In this way, companies can effectively overcome modern challenges such as the increasing fluctuation of commodities markets. This requires the shortest possible time-to-market through accelerated development cycles as well as the profitable and individualized production of even small batches.
Manufacturers of machines and production modules usually have to meet project-related customer requirements for connection to a higher-level production system. The use of a module type in different projects therefore entails increased integration or development work. At the same time, this means significant expenditures in time and money for plant development, which usually results in rigid automation systems. Future-proof plants in process technology, on the other hand, require significantly more flexible architectures.
A suitable solution is the modular design of production plants and the resulting ability to reuse individual modules. The entire process is broken down into individual sub-processes and mapped by corresponding modules. With a separate controller per module a complete modularization of the plant can be reached. The connection of the individual modules to a higher-level control system (e.g. a DCS) enables the orchestration and therefore the mapping of the entire process.
As a result, the development work shifts from plant engineering to module engineering, enabling flexible modification of the plant with little effort, depending on current requirements. This way, additional modules can easily be added or already existing ones can be rearranged or removed. Complete reprogramming is not required, as most of the logic is implemented in the individual modules. The higher-level controller only takes care of their orchestration. It is therefore called the Process Orchestration Layer (POL).
In practice, the concept is implemented by a vendor-independent standard for the description of process modules: the Module Type Package defined in the VDI/VDE/NAMUR 2658 standard. The MTP file contains all the information necessary to integrate a process module into a modular plant. This includes the functionalities in the form of services, communication and an HMI template. The interfaces defined in the MTP standard enable plug-and-produce behavior, eliminating the overhead of reusing a module. In this way, the modules are developed only once and can then be integrated into different plants independent of the used controller and POL.
The Module Type Package
The MTP concept is based on intelligent modules with an own controller and describes an interface between the module and a higher-level POL. The MTP itself is a module description in the form of an archive file that is exported from the module engineering and imported into the higher-level control system. The file contains all information necessary for the POL to establish communication with the modules via OPC UA. So far, the following aspects have been modeled in the MTP description of a module:
– Services: A service-based architecture encapsulates the process functionality of the module; for example, reaction, filtering or dosing. The services of the different modules are orchestrated in the POL.
– Service relationships: To prevent the individual services from interfering with one another, dependencies can be defined. For example, the reaction service will be prevented from starting when dosing is currently taking place.
– HMI template: The P&ID (Piping and Instrumentation Diagram) of the module is stored as a structural description in the MTP, so that the POL can automatically generate the actual user interface for the system from this information with a uniform look and feel. The process values are integrated into this generated user interface via the OPC UA protocol.
MTP integration in TwinCAT software
With TwinCAT MTP, the engineering of MTP-capable modules for process plants integrates directly into the familiar engineering environment. It offers all options, from the definition of the module and the import/export of an MTP to automatic code generation. The goal in developing this new TwinCAT function was to minimize the required standards expertise and enable the module developer to focus on the actual control logic.
Date: 08.12.2025
Naturally, we always handle your personal data responsibly. Any personal data we receive from you is processed in accordance with applicable data protection legislation. For detailed information please see our privacy policy.
Consent to the use of data for promotional purposes
I hereby consent to Vogel Communications Group GmbH & Co. KG, Max-Planck-Str. 7-9, 97082 Würzburg including any affiliated companies according to §§ 15 et seq. AktG (hereafter: Vogel Communications Group) using my e-mail address to send editorial newsletters. A list of all affiliated companies can be found here
Newsletter content may include all products and services of any companies mentioned above, including for example specialist journals and books, events and fairs as well as event-related products and services, print and digital media offers and services such as additional (editorial) newsletters, raffles, lead campaigns, market research both online and offline, specialist webportals and e-learning offers. In case my personal telephone number has also been collected, it may be used for offers of aforementioned products, for services of the companies mentioned above, and market research purposes.
Additionally, my consent also includes the processing of my email address and telephone number for data matching for marketing purposes with select advertising partners such as LinkedIn, Google, and Meta. For this, Vogel Communications Group may transmit said data in hashed form to the advertising partners who then use said data to determine whether I am also a member of the mentioned advertising partner portals. Vogel Communications Group uses this feature for the purposes of re-targeting (up-selling, cross-selling, and customer loyalty), generating so-called look-alike audiences for acquisition of new customers, and as basis for exclusion for on-going advertising campaigns. Further information can be found in section “data matching for marketing purposes”.
In case I access protected data on Internet portals of Vogel Communications Group including any affiliated companies according to §§ 15 et seq. AktG, I need to provide further data in order to register for the access to such content. In return for this free access to editorial content, my data may be used in accordance with this consent for the purposes stated here. This does not apply to data matching for marketing purposes.
Right of revocation
I understand that I can revoke my consent at will. My revocation does not change the lawfulness of data processing that was conducted based on my consent leading up to my revocation. One option to declare my revocation is to use the contact form found at https://contact.vogel.de. In case I no longer wish to receive certain newsletters, I have subscribed to, I can also click on the unsubscribe link included at the end of a newsletter. Further information regarding my right of revocation and the implementation of it as well as the consequences of my revocation can be found in the data protection declaration, section editorial newsletter.
The MTP concept is integrated into TwinCAT by the products TwinCAT MTP Runtime and TwinCAT MTP Engineering. The TwinCAT Engineering Environment includes a project management into which the TwinCAT MTP Engineering integrates itself as its own project type. On the runtime side, TwinCAT MTP includes an IEC 61131-3 library, which is used by the generated source code to implement a standard-compliant interface. The function blocks described in this library ensure their MTP-compliant representation via the OPC UA interface. TwinCAT OPC UA, which is used for this purpose, thus enables data access from the POL according to the standard definition.
MTP workflow with TwinCAT MTP
A module manufacturer can start by importing an existing MTP or external data. This is especially valuable when other planning tools are used in previous steps, for example, in order to define the P&ID of a module. In the project management, the first step is to design the module by defining the services, HMI objects and additional information. The complete MTP can subsequently be exported and later used by a POL to control the module. As a next step the mentioned PLC template is generated. The programming effort for the module developer is minimized among other things by automatically implemented services and service dependencies. Thus, the developer only has to implement the process-specific functionalities in the service states.
The modular approach of TwinCAT Engineering and the integration of TwinCAT MTP provides a smooth transition between module definition and controller programming. This is especially evident in the flexibility of code generation, which is ensured by adaptable plug-ins. These plug-ins can be loaded into the TwinCAT XCAD interface and, in addition to pure PLC code, e.g. complete I/O configurations can be automatically generated.
Conclusions
The Module Type Package meets the requirements of modern process technology and offers both the module manufacturer and the plant manufacturer the possibility of cost-effective module and plant engineering. This is ensured in particular by the standardized interfaces of the MTP, so that modules no longer have to meet project-specific communication requirements. Instead, the higher-level automation system can import the interface description, directly display a visualization and orchestrate the stored services.
In TwinCAT MTP, Beckhoff offers an integrated and easy-to-use solution for creating a valid MTP. The appropriate, automatically generated PLC template can be completed with little effort in the engineering environment of TwinCAT to form a standard-compliant module controller.