CONTROL SYSTEM DESIGN
The complete TTControl control system can be designed in three possible ways:
• Programming in C
TTControl supplies a configuration program for the microcontroller. In addition, sample programs, written in C, are provided to aid the user of TTControl hardware and the CAN bus.
• CoDeSys/IEC 61131-3
TTC 100, TTC 200 and TTC Vision support development with CoDeSys which is one of the most common IEC 61131-3 programming systems for PLCs and industrial controllers.
The CoDeSys Programming System is a free-of charge development environment. Also no additional compiler software is required.
CoDeSys produces native machine code for all common processors and guarantees the optimal use of the TTControl control system by supplying developers with a broad range of high-performance program development functionalities including offline simulation, download capacity as well as powerful online functions for debugging.
The CoDeSys programming system also contains an integrated visualization that allows the development of visualization masks in one and the same user interface. The visualization information can be turned into IEC 61131-3 code, downloaded to TTC Vision and shown on the display.
The visualization integrated in CoDeSys can directly access the controller variables. The close linkage of the visualization and the controller permits operational forms which no longer require a conventional display device such as an extra PC. Furthermore, the masks created within the programming system can be utilized in all operational forms without having to be modified and if desired can even run in parallel on the controller.
• MATLAB/Simulink
MATLAB/Simulink is a powerful tool for the development of complex control algorithms. TTControl offers blocksets integrated into MATLAB/Simulink such as TTP-Matlink a blockset that facilitates the design and development of distributed real-time systems and the I/O Toolbox that is a comprehensive blockset for rapid prototyping and easy access to the I/O resources of the TTControl hardware targets
The I/O Toolbox contains blocks for all available input and output ports of supported targets, including TTP-By-Wire Box and TTC 200. After verifying the Simulink model, Real-Time Workshop® Embedded Coder from The MathWorks, Inc. can generate highly efficient C-code.
I/O Toolbox is an add-on product for use with Freescale MPC555 PowerPC®-based rapid prototyping hardware. The Simulink driver blocks of the I/O Toolbox provide your Simulink application with easy access to the I/O resources of these hardware targets.
|