Install and start the example project
The TcControllerToolbox offers the programmer transfer elements with which a very wide variety of controllers can be implemented.
- Save and unpack the sample program from TcControllerToolboxExamples.zip.
The sample program uses simulations of controlled systems, and can thus be run on any Windows NT PC without additional hardware.
- The TwinCAT system is started with the TwinCAT icon
in the task bar.
The TcControllerToolbox_Examples.pro sample program is loaded into TwinCAT PLC Control, compiled and started.
- Load the PRO file.
- Compile the PLC project via the menu Project - Rebuild All.
- Load the PLC project into the runtime system via the menu option Online - Login.
- Start the program via the menu option Online - Run.
TwinCAT ScopeView allows the signal curves from the individual examples to be displayed graphically. The settings supplied in TcControllerToolboxExamples_Scope_x.scp can be used for this purpose. This specification of the Scope file to be used for each particular example can be found in the comments in the project's MAIN program.
- Load the SCP file into TwinCAT ScopeView.
- Start recording via the menu or via the F5 key.
Because the example project contains a number of different examples, it is necessary to set the variable nExampleSelector to the appropriate example number in the MAIN program.
- Double-click on the nExampleSelector variable.
- Enter the number of the example. OK.
- Press the F7 key, or click "Force Values" in the online menu.