260 likes | 487 Views
Chapter 10 Function Block Diagram. Course T314. Function Block Diagram. Overview. Objectives After this chapter you should be able to : Configure simple application code in FBD Use I/O's in application code by connecting variables Modify application parameters online
E N D
Chapter 10Function Block Diagram Course T314
Function BlockDiagram Overview • Objectives After this chapter you should be able to: • Configure simple application code in FBD • Use I/O's in application code by connecting variables • Modify application parameters online • Organize code in different code blocks and pages • Reference Documentation • 3BSE043732 IndustrialIT 800xA – Control and I/O Application Programming – Introduction and Design • 3BSE035980 IndustrialIT 800xA – Control and I/O Basic Control Software – Introduction and Configuration • 3BSE035981 IndustrialIT 800xA – Control and I/O Extended Control Software – Binary and Analog Handling
Function BlockDiagram Function Block Diagram • Function Block Diagram Editor • Online Handling • Find and Search Tool • Multiple Pages
FBD Editor Overview Structure Pane FBD Pane
FBD Editor Functions in FBD
FBD Editor FBD Pane • Graphic symbols of function and function block (boxes) • Instance names of the function blocks • Comments attached to the function blocks and functions • Assignment of parameters in form of connection lines between the graphic symbols • Comment of the page and footer
FBD Editor Toolbar Buttons
FBD Editor Insert a Function / Function Block • Use the toolbar button • Choose “Insert > Function/ Function block” from the POU menu • Right click in thecode pane and choose “Insert Function / Function block”
FBD Editor EN Input Parameter • The EN property for functions and function blocks in FBD makes it possible to write code that corresponds to “IF statements” in the Structured Text language. • When the EN input is true, the function or function block will be executed, otherwise not. • When the EN input becomes false, all outputs will keep their values from the previous cycle of execution.
FBD Editor Making Connections An output parameter can be assigned to any number of input parameters but never to another output parameter. Each Parameter Separately All Parameters
FBD Editor Inverting Connections
FBD Editor Structure Pane • Item shows the type name of the function block or function with their properties in parentheses • Comment shows the comment attached to the function block or function • Page Comment shows the comment on the top of the corresponding Function Block Diagram page • Page No is given at the first function block or function of every page of the Function Block Diagram • Instance shows the name of function blocks
Function BlockDiagram Function Block Diagram • Function Block Diagram Editor • Online Handling • Find and Search Tool • Multiple Pages
OnlineHandling Changing Values Online
Function BlockDiagram Function Block Diagram • Function Block Diagram Editor • Online Handling • Find and Search Tool • Multiple Pages
Find andSearch Tool Tools Overview
Find andSearch Tool Search for Variables in Projects
Find andSearch Tool Navigating to References
Function BlockDiagram Function Block Diagram • Function Block Diagram Editor • Online Handling • Find and Search Tool • Multiple Pages
Multiple Pages Page Setup For current Code block Change default layout
Multiple Pages Insert / Delete Page Break This action can only be done in the Structure Pane.
Multiple Pages Page References