Elements of SFC
Section 2-3
50
Flags Used to Monitor a Step’s Active Status
Step Flags
These flags indicate the steps active/inactive status.
The flags are expressed as
Step_name.X
, and each flag will be ON when the
corresponding step is active or OFF when the corresponding step is inactive.
Step Timers
These timers indicate how long each step has been active.
The timers are expressed as
StepName.T
, and the timer’s units can be set to 100 ms
or 1 s units for each step.
Procedures:
Adding a Step
Right-click a transition, and select
Add Step
.
Defining the Initial Step
To convert a normal step to an initial step, right-click the normal step, and select
Step
Type
-
Initial
.
Adding a Subchart Step
Right-click a transition, and select
Add Subchart Step
-
New Subchart
.
Defining a Subchart
Right-click a
Subcharts
folder in the project workspace, and select
Insert SFC
Subchart
.
Administering a Step Control Instruction
Input the instruction as a regular ladder instruction, and specify the target step flag.
2-3-2 Transitions
A transition represents the condition in which the active status transfers from the step
before the transition to the step after it. One transition must be set between steps.
The transition is represented as shown below.
Trans1
FALSE
Operation of Transitions
When the transition condition is met, the step before the transition becomes inactive
and the step after it becomes active.
In this way, the transition controls the program flow from step to step.
•
When representing transition conditions with transition programs, turning a transition
program name ON will turn the represented transition condition ON.
Transition Conditions
Transition conditions are to be defined on the right-hand side of the figure.
When a transition is added to the SFC editor, its default condition is the ST expression
“FALSE”.
The condition equation for a transition can be set to any one of the following:
•
Bit (Boolean variable or actual address)
•
ST expression
•
Transition program name
Summary of Contents for SYSMAC CX-Programmer 8.1
Page 1: ...Operation Manual SFC Programming SYSMAC WS02 CXPC1 V8 CX Programmer Ver 8 1 Cat No W469 E1 04...
Page 2: ...ii CX Programmer Ver 8 1 WS02 CXPC1 V8 Operation Manual SFC Programming Revised February 2009...
Page 16: ......
Page 56: ...Precautions When Creating SFC Programs Section 1 5 40...
Page 118: ...Monitoring Section 4 5 102...
Page 150: ...Index 134...
Page 152: ...Revision History 136...
Page 153: ......
Page 154: ......