Command: Go To Definition – Safety
Function: The behavior in CODESYS Safety Extension is generally the same as in CODESYS Standard, however there are use cases in CODESYS Safety Extensionwhere the command behaves differently than in CODESYS Safety Extension Standard.
Call: Context menu command
In CODESYS Safety Extension, the Go To Definition and Display Cross References functions are used for checking and analyzing the data flows during the static verification of a safety application. You can find a detailed description of this in the CODESYS Safety User Manual.
Go To Definition in the Safety Task Editor:
If the context menu command is executed on an entry in the program list, then the program POU referenced in this line opens.
The command can also be executed by double-clicking an entry of the program.
Go To Definition in the object list of the editor of the safety application object
If the context menu command is executed on an entry in the object list, then the object referenced in this line opens.
The command can also be executed by double-clicking an entry of the object list.
Go To Definition in the Safety FBD Editor:
The
context menu command can be executed in the Safety FBD editor on function blocks and variables (Identifiers).If the context menu command is executed on a variable, then the project and the linked, uncompiled libraries are searched for the POU, GVL, the logical I/O, or the library POUs where the variable is defined and the corresponding place is highlighted in the declaration part.
When the command is executed on a POU, the editor of the corresponding POU opens.