Creating POU in FBD

How to create a →POU (a →program, a →function block or a →function) in →FBD:

  1. Select a folder of the →project in which you want to create the FBD-object.

  2. In menu File or from the context menu of the folder, select New and one of the following commands:

    • FBD Program

    • FBD Function Block

    • FBD Function

  3. In the dialog:

    1. Enter a name under File name.images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg If possible, do not enter invalid characters (e.g. umlauts, blanks, the character –, numbers at the start) because the file name is automatically used as POU-name and this POU-name must be a valid →IEC-identifier. But if you need such invalid characters in the file name, delete or replace the invalid characters in POU name before you click Finish.
      It is possible to change the POU-name at any time later.

    2. Enter a →namespace under Namespace name . T he text must be an →IEC-identifier or a fully qualified name.
      A fully qualified name consists of a sequence of namespace identifiers separated by . (dots).
      It is also possible to enter/change a namespace later on within the editor. If the field already contains a namespace and you are not able to change the namespace, it is likely that you are creating the object within a namespace folder (in this case the namespace is determined by the namespace folder).

    3. Determine the layout: Select e.g. A4 and Landscape as page format. If required, define a value field area for inputs and outputs respectively by entering a value (in mm) within the respective field.
      images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg It is not possible to retrospectively change the layout.

  4. Afterwards click Finish.
    Result:

    1. The project explorer displays the created FBD-object (with icon images/download/thumbnails/409862713/IconFBD-version-1-modificationdate-1531214751433-api-v22.gif ). The sub-level of the FBD-object displays the icon to identify the declaration type: images/download/thumbnails/409862636/Program-version-1-modificationdate-1531214393443-api-v2.png = program, images/download/thumbnails/409862631/Instance-version-1-modificationdate-1531214366502-api-v2.jpg = function block, images/download/thumbnails/409862626/Function-version-1-modificationdate-1531214341453-api-v2.png = function

    2. The POU is opened in the →graphical editor.

  5. Start to create the FBD-logic in the FBD-editor.
    Use the numerous features and actions provided by logi.CAD 3 to create the FBD-logic. For instance, the content assist and the highlighting of errors are supporting you in creating your application in FBD correctly and quickly.

  6. Save the FBD-logic.

logi.CAD 3 supports the declaration of one POU within an FBD-object. If you require several POUs in FBD, you must create several FBD-objects!