
Tutorial on IEC 61131-3 Function Block Diagram in PLC Automation Software
Explore the benefits and components of Function Block Diagram (FBD) programming in the context of IEC 61131-3 standard for PLC automation software. Learn about simultaneous programming and documenting, structured programming, and the universal applicability of FBD in signal processing and arithmetic operations. Discover the standardized set of functions and function blocks that offer reliability and information flow in programming. Delve into elements like lines, flows, variables, and parametrization, along with the advantages of structured programming using FBD.
Uploaded on | 2 Views
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Welcome, Ladies and Gentlemen ! SPS/IPC/DRIVES/ IEC 61131 - 3 Tutorial Function Block Diagram 1 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
Who is Who ? Software KW-Software GmbH D-32657 Lemgo since 1981 PLC Automation Software www.kw-software.de G tz J ckel Technical Trainer since 1989 at KW-Software 2 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
The Program The Example: My Flipflop The Entry: What are the advantages of FBD ? The Overview: What are the elements of FBD ? The Execution: What are the execution rules ? The Standard: What's the range of standard elements ? The Individualist: What's possible beyond the standard ? 3 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
An Example 4 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
Advantages (4 of all) Simultanous programming and documenting (overview, comments, reliability, information flow) Universal applicability (Signal processing, numeric, arithmetic, integer, floating point) Structured programming (define and call subroutines) Standardized set of Functions and Function Blocks 5 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
The Elements - Overview 6 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
Elements - Lines horizontal, vertical flow direction crossing with / without contact 7 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
Elements - Fus, FBs, Variables Functions Functions Blocks Input / Output Variables 8 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
Elements - Parametrization Negation Duplication Implicit edge detection Formal Parameters Actual Parameters 9 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
Elements - additionals Jumps Connectors 10 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
Execution rules 1. An element is executed, when all its inputs have been calculated. 2. An element is completely evaluated, when all outputs are calculated. 3. The evaluation of network is finished, when all its output values are calculated. 11 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
Feedback implicite explicite standardized execution order IEC 61131: depends on implementation e.g. KW-Software: display of a warning message indication of the execution order 12 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
Standard Functions IEC 61131: "If you know one standard system, you know them all." 13 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
Standard Function Blocks Communication FBs are described in IEC 61131 - 5 14 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
User Functions and Function Blocks An example: 1. Change the Flipflop from a PROGRAM to a Function Block. 2. Call the new user FB from annother PROGRAM. 15 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
User FB I: Formal Parameters Change the declaration type from VAR / VAR_EXTERNAL to VAR_INPUT resp. VAR_OUTPUT 16 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
User FB II: Insert the User FB The new FB can be used like IEC 61131-3 FBs. 17 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025
User FB III: It works ! 18 Kl pper und Wiege Software GmbH D 32657 Lemgo 19.03.2025