Function: Defines a method below the selected POU when the dialog is closed.
Call: “Project Add Object Method”; context menu
Requirement: A program (PRG) or a function block (FUNCTION_BLOCK) is selected in the “POUs” view or the “Devices” view.
The interface of a method inserted below a basic function block is copied when a method with the same name is inserted below a derived function block.
|
“Name” |
Example: The standard methods |
|
“Return type” |
Default data type or structured data type of return value Example: |
|
“Implementation language” |
Example: “Structured Text (ST)” |
|
“Access specifier” |
Controls access to data.
|
|
“Abstract” |
|
|
“Add” |
Adds a new method to the selected object. |
: Identifies that the method does not have an implementation and the implementation
is provided by the derived FB.