How to draw a functional diagram
Function chart (SFC) is a graphical representation method for describing the control process, functions and characteristics of the control system. It is simple and intuitive, does not involve specific technologies of control functions, is a universal language, and is the preferred programming language of IEC (International Electrotechnical Commission). In recent years, it has been popularized and promoted in PLC programming. It is called sequential function chart in IEC60848 and function table chart in my country's national standard GB 6988-2008. Siemens calls it the graphical programming language S7-Graph.
The SFC is a tool for designing PLC sequential control programs. It is suitable for large-scale systems with complex program relationships, and is particularly suitable for the control of sequential operations. When writing complex sequential control programs, S7-Graph is more intuitive than ladder diagrams.
The basic idea of the function diagram is that the designer divides a working cycle of the controlled equipment into several working stages (referred to as "steps") according to production requirements, and clearly indicates the output to be executed in each step. The "steps" are converted between each other through the established conditions. In the program, as long as the conversion between "steps" is carried out through correct connection, all the actions of the controlled equipment can be completed.
The basic process of PLC executing function chart program is: select the working "step" according to the conversion condition and perform the logical processing of the "step". The basic elements of function chart program are steps, conversion conditions and directed lines, as shown in Figure 1.
Figure 1
(1) Step
A sequential control process can be divided into several stages, also called steps or states. The step corresponding to the initial state of the system is called the initial step, which is generally represented by a double-line frame. The control system is controlled in each step. Certain "commands" need to be issued, and the controlled system needs to complete certain "actions". Both "commands" and "actions" are called actions. When the system is in a certain working stage, the step is in an active state, which is called an active step.
(2) Conversion conditions
The signal that causes the system to enter the next step from the current step is called a transition condition. The sequential control design method uses transition conditions to control the programming elements representing each step, allowing their states to change in a certain order, and then uses the programming elements representing each step to control the output. The "transition conditions" of different states can be different or the same. When the "transition conditions" are different, only one working state can be selected at a time in the function chart program (called a "selection branch"). When the "transition conditions" are the same, multiple working states can be selected at a time in the function chart program (called a "selection parallel branch"). Only when the conditional state is met can logical processing and output be performed. Therefore, the "transition condition" is the "switch" for the function chart program to select the working state (step).
(3) Directed links
The connection line between steps is called a "directed line". The "directed line" determines the direction and path of the state transition. There are short lines on the directed line, indicating the transition conditions. When the conditions are met, the transition is realized, that is, the action of the previous step ends and the action of the next step begins, so there will be no action overlap. There must be a transition condition between steps.
The double frame in Figure 1 is the initial step, M0.0 and M0.1 are step names, 10.0 and 10.1 are transition conditions, and Q0.0 and Q0.1 are actions. When M0.0 is valid, the output instruction drives Q0.0. The line between steps is called a directed line, and its arrow is omitted.
Previous article:Brief Analysis of PN Power Management of KUKA C4-8.3 System + Case Study
Next article:Working principle and function of frequency converter Wiring method of frequency converter and matters needing attention
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- TouchGFX application development based on STM32CubeMX on STM32H7A3 processor - HelloWorld!
- How large a fifo capacity can ep4ce6 achieve?
- Introduction to the causes of TPS79633KTTR voltage instability
- 【TI recommended course】#Motor control voltage and current sampling solution#
- Allwinner heterogeneous multi-core AI intelligent vision V853 development board evaluation - separate compilation and testing of V853 SDK LVGL routines
- [Hua Diao Experience] Xingkong Board & Beetle ESP32-C3
- Low frequency power amplifier
- STTS751 High Accuracy Temperature Sensor Extension for MakeCode
- [Sipeed LicheeRV 86 Panel Review] Using crosstool-ng to build a compiler for riscv64
- "Domestic Chip Exchange" is launched! How to do it is up to you!