Beckhoff Automation GmbH & Co. KG TX1200 — 4.2 Options

Individual Components If a project is opened that was created with an earlier TwinCAT PLC Control version, the option is disabled by default. Thus, the previous ranking (local variable before global variable before program before local action) valid at creation is maintained. Treat LREAL as REAL: If this option is enabled (default: not enabled), LREAL values will be treated as REAL values when compiling the project. This can be used to develop projects in a platform-independent way. Data segments: By specifying the number of data segments, you can define how many memory segments in the controller should be reserved for the data of your project.

This place is necessary so that an online change can also be performed when new variables have been added. If during compilation you get the message "The global variables need too much memory, increase the number entered here. This setting is only relevant for the BCxxxx Bus Controller. In TwinCAT for the PC the number of data segments is constant. However, the size can be set under the TwinCAT options. Exclude objects: This button leads to the Exclude objects from build dialog: Here, select the project function blocks in the displayed tree that are not to be regarded during a compilation run and activate the 'Do not build' option.

The excluded function blocks are then displayed in green in the tree. To automatically exclude all function blocks that are not used in the program, press the 'Exclude unused' button. Macro: To influence the compiling process, two macros can be specified: the macro in the Macro before compile field is executed before the compilation, the macro in the Macro after compile field is executed after. However, the following macro commands cannot be executed here: file new, file open, file close, file saveas, file quit, online, project compile, project check, project build, debug, watchlist All settings specified in the Build dialog are saved with the project. Compiler version:

The compiler version to be used for the translation process can be defined here. In TwinCAT PLC Control versions after V2.9, both the current and the previous compiler versions (for each version / each service pack / each patch) going back to V2.9 are available. If you want a project to be always compiled with the latest compiler version, activate the 'Use latest' option. If you want the project to be automatically compiled with a specific version, set it via the selection field at 'Fix'. Check automatically: To check semantic correctness during each compilation of the project, the following options can be enabled:

- Unused variables - Overlapping memory areas - Concurrent access - Multiple write access on output The results are displayed in the message window. These checks can also be specifically triggered via the 'Check' command menu in the 'Project' menu All entries in the Build Options dialog are stored with the project. Passwords: If you choose this category, then you get the following dialog box: TX1200 53 Version: 1.3