Specifications

Table Of Contents
5 - 1
Chapter 5 SFC Program
This chapter describes the configuration and each element of the SFC program.
5.1 SFC program configuration
The SFC program consists of a combination of START, step, transition, and END, etc.,
as shown below.
Operation
start
F0
G0
K0
G1
END
• • • •
• • • •
• • • •
• • • •
• • • •
• • • •
• • • •
• • • •
• • • •
• • • •
Positioning
preparation
Positioning pre-
paration com-
pletion check
Program name
START: Indicates the start of the program.
Step (operation control step): Executes the
designated operation control program while the
system is active.
Transition (shift): Indicates the conditions for
shifting control to the succeeding step.
Step (motion control step): Executes the
designated servo program while the system is
active.
Transition (WAIT): Shows the condition to shift
the control to the succeeding step.
END: Shows the end of program.
Execution of
positioning
Positioning
completion
check
Operation end
SET Y0=X0+X10
D100=W0+W100
Y0+M100
ABS-1
Axis 1, D100
Speed 10000
!X0
The running SFC program operates as follows.
(1) The step (F0) is activated, and the designated operation is executed at step (F0)
(positioning preparation). The step in active state is called "Active step".
(2) Whether the conditions designated by transition (G0) are established (or whether
it is ready to start the positioning program) is checked.
When the conditions are established, the active step (F0) is inactivated, and the
succeeding step (K0) is activated (start of servo program K0).
(3) At transition (G1), whether the operation at step (K0) is completed (completion of
servo program K0 positioning) is checked. When the positioning is completed
(conditions established), the control is shifted to the succeeding step.
(4) The control is executed by shifting the active step as shown in the above items (1)
to (3), and ended when END is input.
POINT
The number of steps that can be an active step simultaneously is 256 or less (total
in all SFC programs).