TwinCAT 3 C/C++ Documentation

Overview

This chapter deals with the implementation of TwinCAT 3 in C/C++. The most important chapters are:

  • Basics
    Which platforms are supported? Are additional programs required to implement TwinCAT 3 C++ modules?
    The answers can be found in Requirements and Preparation, the following limitations apply.
  • Quick start
    This is a "less than five minute example" to implement a simple, cyclic counter in C++. The counter value is monitored and overwritten, debugging options are described, etc.
  • MODULE
    Modularity is the basic philosophy of TwinCAT 3. An understanding of the modular concept of TwinCAT 3 is the basic requirement, especially for C++ modules.
    Basic knowledge of the architecture of TwinCAT modules is required.
  • Wizards
    Documentation of the visual components of the TwinCAT C++ environment.
    This includes tools for creating projects and tools for editing modules and configuring module instances.
  • Programming reference
    This chapter contains detailed information on programming in TwinCAT C++. Here you will find interfaces and other TwinCAT functions for ADS communication and auxiliary methods.
  • The "How to ...?" chapter contains useful tips for working with TwinCAT C++.
  • Samples
    Some interfaces and their use are described in detail in the form of an executable program, which is provided as a download with source code and solution.