Professional Documents
Culture Documents
October 2008
Overview
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
Schneider Electric
FBD Editor
Based on a customizable grid (by default 36 columns x 24 rows)
Execution number Execution sequence is defined by the position of FFBs and links but can be changed
Schneider Electric
FBD Toolbar
Link
Jump label
Comment
Data selection
Jump
Return
Schneider Electric
Select a FFB
1. Activate data selection 2. Access to FFB selection
Schneider Electric
For each connected pin enter or select a variable or value Access FFB online help
Schneider Electric
Schneider Electric
Programming Rules
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
Schneider Electric
Extendable Blocks
Some function blocks can be extended up to 32 pins by making a grab of its bottom part
Schneider Electric
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
Schneider Electric - Training M RUIZ June 2008 10