Function Block Diagrams
Note: Logic Modeling is still in Early Access. Logic Modeling features created during Early Access, including plugins and integrations, may not be fully compatible with future versions of Visual Components.
A Function Block Diagram (FBD) is used to create and organize logic in Logic Modeling. It contains function blocks, variable pairs, and connections that define how data flows between different parts of a system.
Function Block Diagram overlay provides a visual representation of control logic, making it easier to design, understand, and troubleshoot automation behavior. Diagrams can contain multiple function blocks, variable pairs, and connections that work together to control components and exchange data.
Diagram elements
Function Block Diagrams consist of the following elements:
Function Blocks
Function blocks are reusable logic modules that perform specific tasks. Each block receives input values, processes them, and produces output values. Logic Modeling supports Component Function Blocks, Custom Function Blocks, and Standard Function Blocks.
Variable Pairs
Variable Pairs provide a mechanism for exchanging data between diagrams, Simulation PLCs, and external PLC systems. They can be used to store values and share information between different parts of a logic model.
Connections
Connections define the flow of data between function blocks and variable pairs. A connection transfers output values from one element to the input of another element.
Working with Function Block Diagrams
Function Block Diagrams are created and managed from the Logic tab. After creating a diagram, you can add function blocks, connect them together, configure their logic, and compile the diagram for use in a simulation.
Executing a diagram
After a Function Block Diagram has been compiled successfully, its logic is executed during simulation. Inputs are processed according to the configured connections and logic, allowing components and systems to respond dynamically to simulation events.