📑 Table of Contents

Sequential function chart (SFC) is a visual programming language used for programmable logic controllers (PLCs). It is one of the five languages defined by IEC 61131-3 standard. The SFC standard is defined as Preparation of function charts for control systems, and was based on GRAFCET [fr] (itself based on binary Petri nets[1][2]).

It can be used to program processes that can be split into steps.

Basic Batch SFC, with important elements labeled

Main components of SFC are:

  • Steps with associated actions;
  • Transitions with associated logic conditions;
  • Directed links between steps and transitions.

Steps in an SFC diagram can be active or inactive. Actions are only executed for active steps. A step can be active for one of two motives:

  • It is an initial step as specified by the programmer.
  • It was activated during a scan cycle and not deactivated since.

Steps are activated when all steps above it are active and the connecting transition is superable (i.e. its associated condition is true). When a transition is passed, all steps above are deactivated at once and after all steps below are activated at once.

Actions associated with steps can be of several types, the most relevant ones being Continuous (N), Set (S), and Reset (R). Apart from the obvious meaning of Set and Reset, an N action ensures that its target variable is set to 1 as long as the step is active. An SFC rule states that if two steps have an N action on the same target, the variable must never be reset to 0. It is also possible to insert LD (Ladder Diagram) actions inside an SFC program (and this is the standard way, for instance, to work on integer variables).

SFC is an inherently parallel programming language in that multiple control flows — Program Organization Units (POUs) in the standard's parlance — can be active at once.

Non-standard extensions to the language include macroactions: i.e. actions inside a program unit that influence the state of another program unit. The most relevant such macroaction is "forcing", in which a POU can decide the active steps of another POU.[3]

See also

edit

References

edit
  1. ^ Fernandez, J. L.; Sanz, R.; Paz, E.; Alonso, C. (19–23 May 2008). "Using hierarchical binary Petri nets to build robust mobile robot applications: RoboGraph". IEEE International Conference on Robotics and Automation, 2008. Pasadena, CA, USA. pp. 1372–1377. doi:10.1109/ROBOT.2008.4543394.
  2. ^ Lewis, R. W. (1998). Programming industrial control systems using IEC 1131-3. ISBN 978-0852969502.
  3. ^ Tom Meadowcroft, 2018
edit

📚 Artikel Terkait di Wikipedia

IEC 61131-3

Ladder diagram (LD), graphical Function block diagram (FBD), graphical Structured text (ST), textual Sequential function chart (SFC), has elements to organize

Function block diagram

are ladder logic, sequential function chart, structured text, and instruction list. Wikimedia Commons has media related to Function block diagrams. R

Programmable logic controller

as well as 3 graphical languages: ladder logic, function block diagram and sequential function chart. Instruction List was deprecated in the third edition

PLCopen

programming languages Function Block Diagram and Ladder Diagram (a.k.a. Ladder logic), and the structuring tool Sequential Function Chart. Today, IEC 61131-3

CODESYS

and coils FBD (function block diagram) enables users to rapidly program both Boolean and analog expressions SFC (sequential function chart) is convenient

Continuous Function Chart

A Continuous Function Chart (CFC) is a graphic editor that can be used in conjunction with the STEP 7 software package or with other tools, such as CODESYS

Industrial control system

IEC languages: ladder logic, structured text, function block, instruction list and sequential function chart. They can also be programmed in modern high-level

CFC

function chart, sort of Function block diagram enabling to program both Boolean and analogue expressions; Often associated with Sequential function chart