Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: SFC Language in PLC Programming
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > SFC Language in PLC Programming

SFC Language in PLC Programming

In this post, we will see the concept of SFC (Sequential Flow Chart) language in PLC programming with a basic example program.

Last updated: October 17, 2023 3:15 pm
Viral Nagda
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

In this post, we will see the concept of SFC (Sequential Flow Chart) language in PLC programming with a basic example program.

Contents
Types of Languages in PLCSFC Language in PLCSequential Flow Chart ProgrammingSFC Programming Example

Types of Languages in PLC

The five types of languages used in PLC programming are as follows.

They are

  • Ladder (LD),
  • Structured text (ST),
  • Functional Block Diagram (FBD),
  • Sequential Flow Chart (SFC) and
  • Instruction List (IL).

SFC Language in PLC

A Sequential Flow Chart is a language used in PLC programming which is a graphical representation of the flowcharts or steps, which is similar to flowchart algorithms used in computer languages.

This language is a very useful tool in a condition where the process is very large and the functions are performed in steps.

Instead of writing the whole logic in a ladder diagram or even if you use functional block diagrams, the repetition rates and the overall viewing of the process can be made simpler by using SFC language.

Sequential Flow Chart Programming

Consider a simple example where you turn on or off a motor by pressing the start and stop buttons. Refer to the below image showing SFC language.

The black box represents action to be written inside the step. The brown line indicates the flow of the sequence.

The horizontal grey line in between indicates the transition condition.

SFC Language in PLC Programming

In the first box, a start-up condition of 2 seconds timer is written for starting this action. This step executes on PLC cold start or warm start.

This means that the start and stop action will be executed after an initial delay of 2 seconds of PLC start-up. The first transition condition is set to true. The second step is written to reset the motor variable.

The second transition condition is written for checking the start pushbutton press. The third step is written to set the motor variable. The third transition condition is written for checking stop pushbutton press.

So, the sequence will work as follows. On PLC start-up, after a delay of 2 seconds, the motor will be turned off by default in the second step as written.

Now, if the start button is pressed, the motor will be turned on as per the second transition condition and third step. If the stop button is pressed, the motor will be turned off as per the third transition condition and the second step.

This means that the logic will be executed as per the flow sequence lines written. A transition condition can be defined as an interlock for executing a step or action. You can write a variable or even call a section in a step.

SFC Programming Example

The below image is an actual example of the language written in PLC software.

In the box, you can define the action and in the black line, you can define the variable condition to be written.

Sequential Flow chart is a language used in PLC

SFC’s are useful in breaking a very complex flow chart sequence in a simpler way to execute the logic. You have to properly define the conditions and arrange the blocks and flow sequence accordingly to perform the function.

Remember to not get trapped in a repetitive or infinite loop which will not break the logic and can instead confuse the programmer in writing the logic.

You must have written this simple logic in a ladder language. But, it must be noted that you can also use SFC language for such logic or other complex ones.

Due to the visual representation of flowchart-type logic in front of the programmer, he can easily troubleshoot logic and also reduce the downtime required for developing a logic.

You can also use branching in the SFC language. That means, after a step, you can execute other parallel running steps like a branch.

In branching logic is a sub-category named selective branching. That means each branch will have its own individual transition condition to execute that branch/step.

Similar to branching, convergence is also possible. It is the opposite of branching. That means, all the branches combine together to execute a single step.

SFC’s are a strong tool in designing logic and making the sequence more understanding and easier to use.

If you liked this article, then please subscribe to our YouTube Channel for Instrumentation, Electrical, PLC, and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Cybersecurity in PLC
  • Actuator Sensor Interface
  • Principle of Operation of PLC
  • Problem on PLC, HMI, VFD, and Motor
  • Virtual Reality in Industrial Automation
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

PLC Programming: Sorting and Distribution of Boxes by Height
ControlLogix Architecture – Rockwell Automation
Basics of 4 to 20 mA analog Signals
Electrical Earthing Calculations
Principle of Operation of PLC
PLC Multiple Outputs Configuration
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Different Types of Schneider PLC
How to import GSD files into the TIA Portal? – Siemens PLC
Vendor Document for Project Systems Architecture
What is Alarm Prioritization? – Types of Alarms
Electrical Ladder Diagram Control using Timers Example
Motor ON OFF Logic in PLC
What is a Floating License? – Automation Software Systems
Sheets, Tags, Elements in Functional Block Diagram of Studio 5000

Keep Learning

Marshalling Panel

What is Marshalling Cabinet?

PLC Program for Sequential Motor Control

PLC Program for Sequential Motor Control

Conveyor Speed Logic using Structured Text in PLC

Conveyor Speed Logic using Structured Text in PLC

Liquid management using PLC programming

PLC Programming for Loss in Weight Liquid Systems

What is an instruction list language?

Structured Text vs. Instruction List for PLC Programming

High-Speed and Fast Counters in PLC

What are High-Speed Counters and Fast Counters in PLC?

Safety PLC Coding Practices

Safety PLC Coding Practices – Programming Recommendations

DCS Commissioning Steps

DCS Commissioning Steps

Learn More

Difference Between Predictive Maintenance and Preventive Maintenance

Difference Between Predictive Maintenance and Preventive Maintenance

Control Valves Leak Tightness

Control Valves Leak Tightness Restoration Pose Difficulties

PLC Program for Tank Heating Control using Heater

PLC Programming for Tank Heating Control using Heater

Control System Basic Wiring Practice Animation

PLC Connection between Instrument, Junction Box, Marshalling & System Cabinet

Analog Electronics Objective Questions

Analog Electronics Objective Questions – Set 6

Power Electronics Objective Questions

Types of Diodes Quiz

PLC Programming in Hindi - Siemens Tia Portal Full Course

PLC Programming in Hindi – Siemens Tia Portal Full Course Free

Digital Electronics MCQ

Karnaugh Map Objective Questions

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?