Sequential Function Chart (SFC)
"Sequential function chart"
It can be used to program processes that can be split into steps.
The main components of SFC are:
- Steps with associated actions
- Transitions with associated logic conditions
- Directed links between steps and transitions language is a state diagram. Graphical steps are used to
represent stable states, and transitions describe the conditions and events that
lead to a change of state. Using SFC highly simplifies the programming of
sequential operations as it saves a lot of variables and tests just for
maintaining the program context.
-
-
You must not use SFC as a decision diagram. Using a step as a point of decision and transitions as conditions in an algorithm must never appear in an SFC chart. Using SFC as a decision language leads to poor performance and complicate charts. ST
"Structured text" A high-level language that is block structured and syntactically resembles Pascal must be preferred when programming a decision algorithm that has no sense in term of "program state".
Below are basic components of an SFC chart:
The KAS IDE"Integrated development environment"
An integrated development environment is a type of computer software that assists computer programmers in developing software.
IDEs normally consist of a source code editor, a compiler and/or interpreter, build-automation tools, and a debugger fully supports SFC programming with several hierarchical levels of
charts: i.e. a chart that controls another chart. Working with a hierarchy of
SFC charts is an easy and powerful way for managing complex sequences and saves
performances at runtime
In computer science, runtime (or run-time) describes the operation of a computer program, the duration of its execution, from beginning to termination (compare compile time).
Within KAS, runtime also refers to the virtual machine that manage the program written in a computer language while it is running. Refer to the following sections for further details: