L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 119

Advertising
background image

L-force | PLC Designer

The Individual Components



DMS 3.2 EN 02/2011 TD29

117

Exclude objects: This button opens the dialog Exclude objects from build: In the tree
of project components select those POUs which should not be regarded during
compilation and activate option Exclude. Hereupon the excluded POUs will be
displayed green-colored in the selection tree. Press button Exclude unused, if you just
want to get displayed those POUs which are currently used in the program. Regard
that a single object which is selected in the Object Organizer can also be excluded
from build by using the command 'Exclude from build' from the context menu.

Compiler Version: Here you define the compiler version to be used. PLC Designer
versions after V2.3.3 (version, service pack, patch) will include besides the actual
compiler version also the previous compiler versions (back to V2.3.3). If you want to
get the project compiled with the latest compiler version in any case, activate option
Use latest. In this case however it will be checked whether the currently opened

programming system is also of that version. If this is not true, the compiler version
matching the actually used programming system version will be used!. If the project
should be compiled with a specific version, define this via the selection list at Fix.

In order to exert control over the compilation process you can set up two macros:

The macro in the Macro before compile field is executed before the compilation

process; the macro in the Macro after compile field afterwards. The following macro
commands can not, however, be used here: file new, file open, file close, file save as,
file quit, online, project compile, project check, project build, project clean, project
rebuild, debug, watchlist.

Check automatically:

In order to get the semantic correctness checked at each compilation of the project

the following options can be activated:

• Unused variables
• Overlapping memory areas
• Concurrent access
• Multiple write access on output

The results will be displayed in the message window. These checks also can be
initiated by the respective commands of the 'Check' submenu in the 'Project' menu.
If supported by the target system, negative check results will produce compiler errors.

Note!

All entries in the Build Options dialog are stored with the project.

Advertising