SFCDemo sample project

This sample demonstrates the use of programming with SFC language.

Important links:
   - SFC language
   - Using the SFC editor

   - Hierarchy of SFC programs

The application is divided into two SFC programs:

The "PMain" program simply handles the "bRun" command in order to pilot (start or stop) the "PChild" program, using SFC action blocks.

The "PChild" program, when active, drives b1, b2, b3 and b4 BOOL variables in a simple sequence.

To start the sequence, open the PMain program, then double click on the first transition. You enter the condition programmed with LD language. You can force the bRun contact to start the sequence.