Drive plc developer studio – Lenze DDS v2.3 User Manual
Page 98

Drive PLC Developer Studio
Working with projects and objects
6-20
l
DDS EN 2.3
Cancel
•
Closes the ”Find and replace” function.
Note!
Not implemented for Parameter Manager and code initialization.
6.1.2.15
Project check
Icon:
-
Menu:
ProjectWCheck
Keyboard:
-
This menu command offers four separate subitems:
•
Unused variables
•
Overlapping memory areas
•
Concurrent access
•
Multiple save on output
The results are output in the message window.
Each of these four functions checks the status of the last compile. In other words, a project must have
been compiled correctly at least once. The menu items will not be active if that is not the case.
Unused variables
This function looks for declared variables that are not used in the program. They are output with
organization unit name and organization unit line.
Example: PLC_PRG (4) - var1
Variables in libraries will not be considered.
Overlapping memory areas
This function checks overlapping of specific memory areas during variable assignment with the help
of the AT declaration.
Example:
Assignment of variables
var1 AT %QB21: INT
var2 AT %QD5: DWORD
causes an overlap as they occupy byte 21 at the same time. Output is then as follows:
% QB21 is referenced by the following variables:
PLC_PRG (3): var1 AT %QB21
PLC_PRG (7): var2 AT %QD5
Concurring access
This function looks for memory areas that are referenced in more than one task. No difference
between read and write access. Output is then as follows:
% MB28 is referenced in the following tasks:
Task1 - PLC_PRG (6): %MB28 [read-only access]
Task2 - POU1.ACTION (1) %MB28 [write access]
Show/Hide Bookmarks