Section 2
Creating Programs with SFC
This section explains the process of coding an SFC program with CX-Programmer, using a parking
gate system as an example.
2-1
Workflow
This section explains the SFC programming workflow, from creation to simulated debugging.
When creating a program for actual use, test the program with the actual devices after completing
the steps below.
1.Define Operation
Define the operation of the system to perform.
Refer to 2-2 Designing Programs.
2.Create Project
Start CX-Programmer, and begin programming.
Refer to 2-3 Creating Projects.
3.Create SFC Chart
Organize the overall process flow into actions
and transitions, and create an SFC chart. Assign
the created program to a task. Create an SFC
chart, and program the transition conditions.
Refer to 2-4 Creating SFC Programs.
4.Compiling
Check for errors in the program.
Refer to 2-6 Compiling.
5.Simulate
Using the simulator, check that the transitions
between steps actually take place when the
transition conditions are satisfied.
Refer to 2-7 Simulated Transition Test.
6.Add Actions
Program the actions for each step.
Refer to 2-8 Creating Action Blocks.
7.Debug
Test the operation of the program as a whole.
Refer to 2-9 Simulated Operation Test.
For details on debugging, refer to CX-
Programmer Operation Manual .
2-1 Workflow
2
2-1
Need help?
Do you have a question about the SFC - INTRODUCTION GUIDE and is the answer not in the manual?
Questions and answers