Technical introduction | Illustration Multi Core 5 Technical introduction | Technical introduction The TwinCAT 3 Usermode Runtime executes an engineering program as the same binary - but not under the usual real-time conditions. As a result, deviating system behavior must be expected, particularly with regard to time. Separate configurations or behaviors must be taken into account for the use of further TwinCAT functions; these are described at Integration TwinCAT Functions [ } 14] . The necessary parameterization is carried out via command line parameters [ } 16] on the one hand and a configuration file [ } 16] on the other.
5.1 Illustration Multi Core | Illustration Multi Core While the real-time runtime has direct access to the hardware and can therefore use cores in a dedicated and possibly isolated manner, the TwinCAT Usermode Runtime does not have this option. TwinCAT 3 Usermode Runtime therefore maps a task to an operating system thread. The assignment of tasks to CPU cores, on the other hand, is accepted by the Usermode Runtime but technically not taken into account, as the operating system manages these threads. 5.2 File storage | File storage After installation, TwinCAT 3 Usermode Runtime files are located in two places:
C:\ Program Files (x86) \Beckhoff\TwinCAT\3.1\Runtimes Contains the TwinCAT 3 Usermode Runtime itself as well as a copy template ("UmRT_Template") for the ProgramData directories of the TwinCAT 3 Usermode Runtime C:\ ProgramData \Beckhoff\TwinCAT\3.1\Runtimes Contains a directory "UmRT_Default" after installation. In addition to this directory, the copy template can be copied from the Program Files (x86) and thus several TwinCAT 3 Usermode Runtimes can be provided in parallel. This directory essentially contains a start.bat , which can be used to start the respective instance. Both locations have the same structure:
The 3.1/ subdirectory contains the boot directory, as well as a TcRegistry.xml file, which serves as a configuration interface [ } 16] . The subdirectory 3.1/Target/StartManConfig/ can be used to store files that specify which processes should be started and stopped when the Usermode Runtime starts. This configuration is relevant for systems where multiple Usermode Runtimes exist on a single system, see “ Several Usermode Runtimes on a System [ } 13] TC170x 11 Version: 1.6.1