You are on page 1of 10

June 2009

Module 9
FBD Language
Schneider Electric
2
- Training M RUIZ June 2008
Function Block Diagram (FBD) is a graphical language that is data flow
oriented

Complies with IEC 61131-3 standard

Particularly suitable for continuous or discrete control applications

FBD program uses functions and instances of function blocks linked each
other by links or intermediate variables. Comments can be add to describe the
logic of program

FBD programming is not cell oriented but a grid help you to position the blocks
Overview
Schneider Electric
3
- Training M RUIZ June 2008
Execution number
Execution sequence is
defined by the position
of FFBs and links but
can be changed
Free form editor
Based on a
customizable grid
(by default 36
columns x 24 rows)
FBD Editor
Schneider Electric
4
- Training M RUIZ June 2008
Data
selection
FFB input
assistant
Call subroutine
block
Link
Toggle pin
negation
Jump
Jump label
Return
Comment
FBD Toolbar
Types library
browser
Schneider Electric
5
- Training M RUIZ June 2008
Select a FFB
1. Activate data
selection
2. Access to FFB
selection
3. Choose
the library
4. Access to FFB
types or instances
5. Choose the FFB
Schneider Electric
6
- Training M RUIZ June 2008
Select FFB type
Use FFB Input Assistant
Select or change
FFB instance name
For each connected
pin enter or select a
variable or value
Access FFB online
help
Schneider Electric
7
- Training M RUIZ June 2008
Insert a FFB by Drag and Drop
Select the funtion
block (library /
family / block)
Drag and drop the
function block to the
FBD editor
Access the Types
Library Browser
Schneider Electric
8
- Training M RUIZ June 2008
Variables
Directly entered
Define through the data selector or by drag and drop from the data editor

FFBs
Define through the data selector or by drag and drop from the <Libset> browser
Define through the FFB input assistant

Loops
Links are not permitted to create a loop
Use intermediate (feedback) variable to resolve a loop

Link of string variables
Pins of type string cannot be link together (FFB output to another FFB input)
Use intermediate variable to resolve a string link
Programming Rules
Schneider Electric
9
- Training M RUIZ June 2008
Extendable Blocks
Some function blocks can
be extended up to 32 pins
by making a grab of its
bottom part
Schneider Electric
10
- Training M RUIZ June 2008
Execution Sequence
Execution sequence is determined by
the position of the FFBs (executed from
left to right and from top to bottom)

If FFBs are linked graphically the
execution sequence is determined by
the signal flow

The execution sequence is indicated
for each FFB by the execution number
(if the top right corner of the frame)

To change the execution order
suggested by the system
Change the FFBs position
Modify the links between FFBs
Modify the execution number of some
FFBs

You might also like