0% found this document useful (0 votes)
23 views18 pages

Function Block Diagram Language

Chapter 6 of the Unity Pro Configuration training covers the Function Block Diagram (FBD) language, which visually represents functions through blocks connected by input and output variables. It discusses the programming window layout, the importance of comments for clarity, and the execution sequence of function blocks. Additionally, the chapter includes exercises to reinforce learning and troubleshooting tips.

Uploaded by

Adi yan Putra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views18 pages

Function Block Diagram Language

Chapter 6 of the Unity Pro Configuration training covers the Function Block Diagram (FBD) language, which visually represents functions through blocks connected by input and output variables. It discusses the programming window layout, the importance of comments for clarity, and the execution sequence of function blocks. Additionally, the chapter includes exercises to reinforce learning and troubleshooting tips.

Uploaded by

Adi yan Putra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Unity Pro Configuration

Chapter 6: Function Block Diagram Language


Functional Block Diagram Language

● Chapter Overview
● Function Block Diagram
● Programming Window
● Comments
● Execution Sequence

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 2
Functional Block Diagram Language

● A Function Block Diagram (FBD) is a block diagram that describes a


function between input variables and output variables.
● A function is described as a set of elementary blocks.
● Input and output variables are connected to blocks by connection lines.
● An output of a block may also be connected to an input of another block:

● FBD is described as a graphical language for depicting signal and data


flows through block, which are reusable software elements.
● A function block is a program instruction unit that when executed returns
one or more output values.
Unity Pro Configuration – V11.1 Training
Schneider Electric | Industry Business | Training – July 24, 2018 3
Programming Window

● FBD sections have a grid behind them.


● Each section consists of ten grid units.
● A grid unit is the smallest possible space between two objects in an FBD
section.
● An FBD section contains 360 horizontal grid units (= 36 grid sections) and
240 vertical grid units (= 24 grid sections).
● The FBD programming language is not cell oriented but the objects are still
aligned with the grid units.

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 4
FBD Tool Palette

● When the FBD window has the focus the FBD Tool Palette will be
displayed under the main toolbar:

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 5
Exercise (p6-4)

Create an FDB Section

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 6
Why Use Comments

● It is good programming practice to include comments in all programming.


● Comments allow users to understand quickly how a function works next time
they, or another designer, need to modify it.
● Comments also make diagrams easily identifiable and make them more
readable and understandable.

● In Unity Pro comments are pale cream rectangles with text in the top left-
hand corner.
● Comments can be placed in any part of the section.

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 7
Comments

● Comments allow annotations to specific areas of the function block


● It is not possible to modify either the background colour or the typeface

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 8
How to Add Comments

● Adding a comment

● Right-click the background

● Press F8 on the keyboard

● Use the comment tool button

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 9
Exercise (p6-7)

Comments

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 10
Execution Sequence

● Determined by the position of Functions and Function Blocks (FFBs)


within the section

● Left-to-right and top-to-bottom

● If the FFBs are linked, the execution sequence is determined by signal


flow Execution Number

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 11
Execution Sequence

● You work it out!

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 12
Exercise (p 6-9)

Execution Sequence

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 13
Exercise (p 6-12)

Link the Functions

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 14
Exercise (p 6-13)

Complete the FBD

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 15
Troubleshooting Tip

● When was the last time you backed up / saved your project?

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 16
Chapter 6 - Summary Questions

● The following questions will help to check understanding of the topics


covered in this chapter:
● How are Elementary Function Blocks different from Elementary Functions?

● What is Fault checking?

● What are the advantages of Derived Function Blocks?

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 17
Functional Block Diagram Language

● Chapter Summary
● Function Block Diagram
● Programming Window
● Comments
● Execution Sequence

Unity Pro Configuration – V11.1 Training


Schneider Electric | Industry Business | Training – July 24, 2018 18

You might also like