Introduction fast, modular fieldbus system (keyword: EtherCAT) and the possibility to access all information in the system without loss of communication are decisive arguments. The above-mentioned benefits of a decentralized approach can be implemented in the centralized control system by means of suitable modularization of the control software. Instead of allowing a large, complex PLC program and an NC with many axes to run, many small ‘controllers’ can co-exist in a common runtime on the same hardware with relative independence from one another.
The individual control modules are self-contained and make their functions available to the environment via standard interfaces, or they use corresponding functions of other modules or the runtime. A significant profile is created through the definition of these interfaces and the standardization of the corresponding parameters and process data. Since the individual modules are implemented in a runtime, direct calls of other modules are also possible – once again via corresponding standard interfaces. In this way the modularization can take place within sensible limits without communication losses occurring.
During the development or commissioning of individual machine modules, the associated control modules can be created and tested on any control hardware with the appropriate runtime. Missing connections to other modules can be emulated during this phase. On the complete machine they are then instanced together on the central runtime, which only needs to be dimensioned such that the resource requirements of all instanced modules (memory, tasks and computing power) are fulfilled. TwinCAT 3 runtime TwinCAT Runtime offers a software environment in which the TwinCAT modules are loaded, implemented and managed.
It provides more basic functions so that system resources (memory, tasks, fieldbus and hardware access, etc.) can be used. The individual modules must not have been created with the same compiler. This means that they can be independent of each other and come from different suppliers. When the runtime starts, some system modules are automatically loaded so that their properties are available to other modules. However, the properties of the system modules are accessed in the same way as the properties of normal modules, so it does not matter to the modules whether the respective property is provided by a system module or a normal module. TwinCAT 3 12 Version: 1.19.1