DataExchange modules cannot be loaded

Error image when activating a configuration with objects generated from Simulink®:

Error loading repository driver ... TcDataExchangeModules ...

DataExchange modules cannot be loaded 1:

Solution:

In some cases it is necessary to install the so-called DataExchange modules on the engineering PC, so that you can use TwinCAT objects created on another system.

These cases are:

In all other cases the created TwinCAT objects have no dependency to the DataExchange modules.

Installation of the DataExchange modules

TwinCAT 3.1 Build 4026

tcpkg install TwinCAT.XAE.TMX.DataExchange

TwinCAT 3.1. Build 4024

The DataExchange-Modules Setup is copied to the following folder with the TwinCAT Tools for MATLAB® and Simulink® Setup, so that the employee who has installed the TE14xx-ToolsForMatlabAndSimulink Setup can distribute the DataExchange modules setup to the colleagues concerned.

<TwinCATInstallDir>\TwinCAT\Functions\TE14xx-ToolsForMatlabAndSimulink\TE140x\SDK