Quick Start | Create a TwinCAT task and apply it to the module instance 9.9 Create a TwinCAT task and apply it to the module instance | Create a TwinCAT task and apply it to the module instance This page describes the linking of a module instance to a task, so that the cyclic interface of the module is called by the TwinCAT real-time system. This configuration step only has to be carried out once. No new task needs to be configured for subsequent creations/new compilations of the C++ module in the same project. Creating a TwinCAT 3 task 1. Open System , right-click on Tasks and select Add New Item… . 2. Enter a unique name for the task (or retain the default name).
In this sample the I/O image interface is provided by a C++ module instance, so that no image is necessary at the task for triggering the execution of the C++ module instance. р The new task with the name "Task 1" has been created. TwinCAT 3 71 Version: 1.19.1