Creating a new POU

  1. Object > New > POU
  2. Enter POU name
  3. Under Type, select a POU type

    Type

    Description

    Program (PRG)

    Program task: Specify the task to which you want assign the POU

    Function (FUN)

    EN/ENO: Select whether you want to add EN/ENO pins to the function

    Result Type: Specify the data type of the function's return value

    Function block (FB)

    EN/ENO: Select whether you want to add EN/ENO pins to the function block

  4. Under Language, select a programming language
  5. Select a task
  6. OK

    POU name and type are automatically displayed in the navigator.The header and the body of the POU are displayed. They are opened in one common programming window in which the length of the header can be adjusted by dragging the header/body splitter.To display extended information in the Project pane, select Display from the context menu, or select the item in the navigator options.

Related topics:

Modified on: 2019-12-10Feedback on this pagePanasonic hotline