Skip to main content

Command: Edit Declaration Header

Function: The command opens the Edit Declaration Header dialog which is used to configure a POU in the tabular declaration editor of the header.

Call: Context menu of the tabular declaration editor

Requirement: The focus is in the tabular declaration editor.

Dialog: Edit Declaration Header

Function: In the dialog, you configure the header of the tabular declaration editor of a POU.

Call: Click the header of the tabular declaration editor; context menu in the tabular declaration editor

Declaration

List box for changing the POU type

  • PROGRAM

  • FUNCTION_BLOCK

    • EXTENDS: Input field for a basis function block

    • IMPLEMENTS: Input field for an interface

  • FUNCTION

    • Return type

Input field with the current POU name

You can change the name of the POU.

Automatically adapt all references on rename

_cds_icon_checked.png: The Refactoring dialog opens.

_cds_icon_option_deactivated.png: Renaming is effective only in the declaration header of the POU.

Attributes

The Attributes dialog opens for the input of attributes and pragmas.

For more information, see: Using the Declaration Editor