Beckhoff Automation GmbH & Co. KG TE1410 — 3.2 Installation

From version 2.x.xxxx.x | Overview 3 From version 2.x.xxxx.x | From version 2.x.xxxx.x TE1410 Interface for MATLAB ® /Simulink ® versions lower than 1.2.xxxx.x support MATLAB R2010b to MATLAB R2019a. TE1410 Interface for MATLAB ® /Simulink ® versions higher than 2.x.xxxx.x support MATLAB R2019a and higher. The installations for both versions can be used in parallel on one engineering system. Compatibility: the versions are not compatible with each other. When version 2.x is set up for a MATLAB ® version, the version 1.2.x functions are removed from the MATLAB ® path.

3.1 Overview | Overview TE1410 TwinCAT Interface for MATLAB ® /Simulink ® The TwinCAT 3 Interface for MATLAB ® /Simulink ® enables data exchange between MATLAB ® and the TwinCAT Runtime and between Simulink ® and the TwinCAT Runtime. For Simulink ® , ADS client blocks that can be simply integrated and configured in Simulink ® projects are provided in the Simulink ® library. It is thus possible, from the Simulink ® environment, to write data to a TwinCAT runtime or to read data from it.

An application example of the use of ADS blocks in Simulink ® is the software-in-the-loop simulation, in which a regulating or control algorithm executed in the TwinCAT runtime is connected with a model executed in Simulink ® , see description ADS in Simulink® [ } 32] . An ADS Port object that can be used in the script environment is provided for MATLAB ® . The object offers various methods for the exchange of data between MATLAB ® and the TwinCAT runtime. In addition to an ADS client in MATLAB ® − i.e. the MATLAB ® environment initiates the data exchange – the use of an ADS server in MATLAB ® is also possible.

The latter offers the option of writing MATLAB ® functions within the MATLAB ® environment and calling them from TwinCAT via an ADS command. An application example for the use of the ADS client in MATLAB ® is the creation of a graphical user and monitoring interface, e.g. based on a MATLAB® app . The ADS server can be used, for example, to perform non-real-time relevant tasks, such as components of a predictive maintenance system or a parameter optimization. The MATLAB® Compiler™ can be used to execute the programs created as stand-alone applications in the field, e.g. on an edge device or directly on the Industrial PC, see description ADS in MATLAB® [ } 29] .

Further Information https://www.beckhoff.com/TE1410 https://www.beckhoff.com/matlab 3.2 Installation | Installation The system requirements for the MATLAB® PC and the runtime PC are described below. Next, we will describe how to install TwinCAT Build 4026 or higher using the TwinCAT Package Manager, and how to install TwinCAT Build 4024 using the setup program. Please note that TwinCAT 3.1 Build 4026 or higher (TwinCAT Package Manager installation) is required to use the full range of features of the TE1410 product.

System requirements A distinction is made between the system running MATLAB ® , Simulink ® or the MATLAB ® Compiler™ Runtime (hereinafter MATLAB ® PC) and the system running the TwinCAT Runtime (runtime PC). The installation only needs to be run on the MATLAB® PC. MATLAB® PC Windows 10 or equivalent MATLAB® R2019a or higher TwinCAT 3 ADS or TwinCAT 3 XAE Setup: TE1410 25 Version: 1.3.1