Browse project, Go to definition, Browse project commands - go to definition – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 233: L-force | plc designer

Advertising
background image

L-force | PLC Designer

Menu Commands sorted by Categories

DMS 4.1 EN 03/2011 TD29

231

12.4

Browse Project
The command category 'Browse Project' provides commands for evaluating the call
stack of an identifier or POU and for getting opened the place where it is defined.

12.4.1

Go To Definition

Browse Project commands - Go To Definition
The 'BrowseProject' plug-in provides commands (category 'Browse Project') for
browsing the project in order to get information about the dependencies resp. the "call
tree" etc. of a POU or a variable currently selected in an editor window.
By default these commands are available in the 'Edit' menu, submenu 'Browse'. To re-
organize the menu structure please use the Customize dialog.

Go To Definition
Symbol:
This command (category Browse Project) can be used when the cursor is currently
positioned on an identifier in an editor window. It will browse the project for the line
or POU, which contains the "definition" of the corresponding POU or variable and will
open the respective POU in an editor window.
The command corresponds to the "Zoom" (to POU) command available in »PLC
Designer« V2.3 and can be used in offline and in online mode. If applicable, the 'Select
Online State' dialog will be opened, where you can decide whether to open the online
or offline view of the POU and - in case of function block instances - whether you want
to view the instance or implementation.
Examples:
The following POU contains a function block definition ("fbinst"), a program call
("prog_y)" and a function block call ("fbinst.out"):

VAR
fbinst:fb1;
ivar:INT;
END_VAR
prog_y();
ivar:=prog_y.y;
res1:=fbinst.out;

If you put the cursor on "prog_y", the command will open program "prog_y" in its
editor window.
If you put the cursor on "fbinst", the command will set the focus up to the declaration
window to the line "fbinst:fb1;"
If you put the cursor on "out", the command will open function block "fb1" in its editor
window.

Advertising