Function block instances

After inserting a function block, you are automatically prompted to enter an instance name. For the LD/FBD editor, you can change this behavior by deselecting Declare new identifiers under Extras > Options > Program options > Editors > LD/FBD editor.

  1. Enter desired instance name
  2. <Return>

    The Create new variable dialog opens. The instance name is displayed under Identifier and the function block type under Type.

  3. Enter an optional comment under Comment
  4. OK

    The function block instance is defined in the POU header and displayed in the Variables pane.

  5. Assign variables to the function block input and output contacts
Related topics:

Modified on: 2020-04-09Feedback on this pagePanasonic hotline