TRUK3043-1000 | TwinCAT 3 Realtime MATLAB and Simulink programming

Overview

This course focusses on using MATLAB and Simulink as development languages for TwinCAT. Participants will learn how to compile MATLAB programs and Simulink models into TcCOM objects, execute them on a TwinCAT Runtime target, adapt them to different scenarios, and use debugging and online change capabilities. It assumes existing Matlab and Simulink competence, and focusses on the application of this knowledge in the TwinCAT environment.

Goals

Understand the parts of the course covered:

  • using the project and TMC wizards
  • navigate the generated files and folders
  • creating MATLAB and Simulink TcCOM objects
  • bringing IO and user types into a project
  • fault-find using the Realtime debugging facility
  • perform code changes using the online change function
  • 64-bit driver signing using TcSign

Prerequisites

  • TwinCAT 3 PLC Programming course
  • MATLAB and Simulink experience

Agenda

  • MATLAB/Simulink overview
  • TE14xx architecture
  • Toolchain installation
  • Licensing and signing
  • First project – TE1400 (Simulink)
  • TwinCAT interface and settings
  • Online change and versioning
  • Simulink build options
  • Calling the module from the PLC
  • First project – TE1401 (MATLAB)
  • Calling module as a TcCOM object
Ordering information
TwinCAT 3 Realtime MATLAB and Simulink programming
Ordering number
TRUK3043-1000
Category
Advanced
Training duration
1 day, taking place from 9:15 a.m.–5:00 p.m.