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 Program Examples
D Flip Flop PLC Ladder Logic
How to Program PID Control in PLC with Structured Text?
Car Wash Program using Functional Block Diagram (PLC)
PID with Practical Example
Top Automation Vendors from Around the World – An Overview
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

PLC Programming for Weight-Based Packaging
PLC Sinking and Sourcing Explanation
Free Allen Bradley PLC Ladder Logic Training Course
What is a Tower Lamp? – Light Tower in Industrial Automation
PUT Command in Siemens PLC – TIA Portal Basics
T Flip Flop PLC Ladder Diagram
Car Parking System using PLC Programming
Pause the Timer PLC Ladder Logic

Keep Learning

Remote Factory Acceptance Test

Remote Factory Acceptance Test

Concept of Interlocking in PLC

Concept of Interlocking in PLC

Establish Communication Between Two PLC Via PROFIBUS Protocol

Establish Communication Between Two PLC Via PROFIBUS Protocol

PLC Program for Filling Operation

PLC Program for Continuous Filling Operation

intouch Basics

How to Create Project in Wonderware Intouch?

PLC Programming for Tank Farm Management

Tank Farm Management System: CX-Programmer [OMRON]

How to Select a SCADA for New Project

How to Select a SCADA for New PLC Project?

Master Control Reset (MCR) ladder logic

How to use Master Control Reset (MCR) Instruction in PLC

Learn More

PLC Totalizer

PLC Program for Flow Totalizer

Quiz on Optical Fiber Cable

Quiz on Optical Fiber Cable, Splice, Connector

PLC based Automatic Packaging System

PLC based Automatic Packaging System

Averaging Pitot Tube Working Principle

Pitot Tube Working Principle

How to Troubleshoot a PLC System

How to Troubleshoot a PLC System?

Infrared Gas Detectors Principle

Infrared Gas Detectors Working Principle

What are HP and LP Switches in HVAC

What are HP and LP Switches in HVAC?

Load Cell Design

Load Cell Design

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?