beckhoff TS4100 — 6.1 Install and start the example project

Example project 6 Example project The ways in which the blocks in the TcControllerToolbox function are illustrated in an example project. This project contains programs using the individual function blocks, with which the basic functionality is illustrated. The illustrations include some examples and also the construction of more complex control systems. The control system is simulated for all of these programs, so that no hardware is necessary for the project. 6.1 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 https://infosys.beckhoff.com/content/1033/ tcplccontrollertoolbox/Resources/11282752267/.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. TS4100 158 Version: 1.1