0% found this document useful (0 votes)
0 views29 pages

Manual Programming SFC Eng

The document is an operation manual for the TOYOPUC programmable controller, focusing on the Sequential Function Chart (SFC) programming language. It outlines the terminology, structure, and components of SFC, including steps, transitions, actions, and various branching methods. Additionally, it provides a history of revisions and references related operation manuals for further guidance on programming and operation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views29 pages

Manual Programming SFC Eng

The document is an operation manual for the TOYOPUC programmable controller, focusing on the Sequential Function Chart (SFC) programming language. It outlines the terminology, structure, and components of SFC, including steps, transitions, actions, and various branching methods. Additionally, it provides a history of revisions and references related operation manuals for further guidance on programming and operation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

Programmable Controller

TOYOPUC

SFC

Operation Manual : Programming

i
History of Revision of Operation Manual
Revision Code of the Operation Manual is affixed to the Operation Manual No. indicated at the front and back
covers.

Operation
Manual No.
T–350*E
E : English, N : Japanese, F : French
Series No. Revision Code

Revision Date Contents


0 Oct. 1999
6.1.1.Process monitor: Addition of the button for jumping to the action step
1 Dec. 1999
search / the process control signal
3.4.Sub SFC Step: Correction of the figure (Jumping to the Sub SFC :
impossible -> possible). Addition of the note for duplicate use.
4.AQ (Action Qualifier)-wise Action Execution: Changing order of
2 Feb. 2000
timing-chart
5.Process Control: Chang of the reference manual
5.1Area Data Memory Allocation for Process Control: Correction of sheet
The company name "TOYODA MACHINE WORKS,LTD"
3 Jan.2006
is changed to "JTEKT CORPORATION"

Composition of Related Operation Manuals


Operation Name Outline
Manual No.
T-310 *E PC3JD(TIC-5642) Operation Describes basic handling,
Manual functions, specifications of
PC3JD.
T-320 *E PC2 Series Programming Describes the method of
Manual creation of LD Program used
in PC2/PC2J series and the
method of using Application
Instructions.
T-A35 *E PC win Programmer Operation Describes the method of
Manual operation, functions,
specifications etc. of tools
used for Programming SFC.

ii
Contents

HISTORY OF REVISION OF OPERATION MANUAL......................................................................................................II

1. SFC OUTLINE ..................................................................................................................................................................1

1.1. SFC TERMINOLOGY .....................................................................................................................................................2


1.1.1. Step .....................................................................................................................................................................2
1.1.2. Active /Inactive State...........................................................................................................................................2
1.1.3. Transition.............................................................................................................................................................2
1.1.4. Transition.............................................................................................................................................................3
1.1.5. Action...................................................................................................................................................................3
1.1.6. Selection Branching / Confluence......................................................................................................................3
1.1.7. Parallel Branching / Confluence.........................................................................................................................5
1.1.8. Jump....................................................................................................................................................................5

2. GRAPHIC SYMBOLS (FOR SFC)..................................................................................................................................6

SFC STRUCTURE COMPONENTS ..................................................................................................................................7

3.1. PROCESS (PROC).......................................................................................................................................................7


3.2. SUB-PROCESS (SUB-PROC)......................................................................................................................................7
3.3. STEP ............................................................................................................................................................................8
3.4. SUB SFC STEP ............................................................................................................................................................9
3.5. ACTION PROCESS ..................................................................................................................................................... 10
3.6. TRANSITION CONDITIONS PROGRAM...........................................................................................................................11

4. AQ (ACTION QUALIFIER)-WISE ACTION EXECUTION ......................................................................................... 12

5. PROCESS CONTROL.................................................................................................................................................. 13

AREA DATA MEMORY ALLOCATION FOR PROCESS CONTROL. ........................................................................................... 15

6. MONITOR....................................................................................................................................................................... 17

6.1. SYMBOL DURING MONITORING................................................................................................................................... 17


6.1.1. Process Monitor............................................................................................................................................... 17
6.1.2. SFC .................................................................................................................................................................. 17
6.1.3. Ladder .............................................................................................................................................................. 17
6.2. STEP DIAGNOSIS ....................................................................................................................................................... 19
6.3. STEP ACTIVE ELAPSED TIME ..................................................................................................................................... 20
6.4. MONITOR WITH OPERATION HISTORY + STEP ELAPSED TIME..................................................................................... 20
6.5. MULTIPLE EXECUTION OF SUB SFC........................................................................................................................... 21
6.6. TIMER CONTROL ....................................................................................................................................................... 22
6.6.1. Timer for Active Elapsed Time ........................................................................................................................ 22
6.6.2. Timer for AQ Time Series Processing ............................................................................................................ 22
6.6.3. Timer for Step Processing with Diagnosis...................................................................................................... 22

7. LADDER SEQUENCE PROGRAM............................................................................................................................. 23

8. SFC RESTRICTIONS.................................................................................................................................................... 24

ii
1. SFC Outline
SFC is the IEC 1131-3 standard Programming Language which expresses various production
processes using different types of Graphic objects in a simple manner.
It is a tool which enables visual representation of “Operation improvements in each process of an
equipment” in flow chart form, that could not be understood with earlier Ladder Logic.

·SFC(Sequential Function Chart)


·IEC(International Electro-technical Committee)

ST Initial Step

TR1
ST2 Step
Transition
TR2

ST3 ST4
Action (Ladder Diagram)

TR3
X1 M1
ST5

ST1

1
1.1.SFC Terminology
1.1.1.Step
It is one of the program elements in SFC and denotes 1 process in the program.
It expresses in box-like symbols and always a step No. is added.
Step has active / inactive logical states and the active state shifts to next step based on transition state.
Actual operation within in the process of one step is programmed based on action setting in the action
block. (Refer separate Action Execution state for 1.1.5 Action, 3.3 steps, 4AQ (Action Qualifier)).
Step without action is called Dummy Step and it only waits for the establishment of next transition
without carrying out any operation.
In case of Sub SFC step, Dummy Step can not be used.

Initial Step Step Sub-SFC Step

ST**** ST**** SUB***

1.1.2.Active /Inactive State


Active means that certain function is active and the active state implies the state of the step that
related action can activate.
Active State : State that executes (can execute) an action.
Inactive State : State when an action can not be executed.
In case of SFC, step is an execution unit and unless otherwise specified, actions in a step in the
execution state are simultaneously executed and when that step reaches inactive state, they all end
simultaneously.

1.1.3.Transition
Active state of a step of SFC implies transition to the next step.

Active State Inactive State


Establishment
of Transition
Condition
Inactive State Active State

2
1.1.4.Transition
It is one of the program elements in SFC and denotes transition conditions between processes in the
program.
It is described with 1 character symbol and always a transition number is affixed.
It implies transition conditions between processes and always one is needed between 2 steps.
Further only one step is needed between 2 transitions also.

o X X
Usually, one step is connected against one transition but at the time of branching and Confluence,
multiple steps are connected against one transition.
Transition of active state of a step based on transition, is carried out when the following 2 conditions
are established.
1. Step immediately above the transition is in active state.
2. Transition is established.

1.1.5.Action
It denotes each processing in a process (Step).Action must always correspond to the step.
Action list that corresponds to a step is called action block and actual operation procedure in a process
of one step is set with this actin block. Action is set with Action No. (AC n n n) or bit device address
(Relay).Number of settings against one step is 0~16.
When setting is carried out with Action No., its contents are separately programmed with the Ladder
Program.
All actions in 1 step are executed simultaneously and parallely when that step is in execution state,
unless otherwise specified and they all end simultaneously when that step reaches inactive state.

AQ Value Action
N AC000
S AC010
D 100 M000

N AC100

AQ Action Qualifier Action


Defines execution form of action. Execution Object
(vide 4AQ (Action Qualifier)-wise Action Action is set with Action No. or Bit Device Address (Relay).
Execution State) When set with Action No., its contents are programmed
separately with the Ladder Program.
Set value No. of settings against one Step is possible from 0 to 16
Time against AQ is set with a unit of When set with Action No., its contents are programmed
0.1 sec. separately with the Ladder Program.
1.1.6.Selection Branching / Confluence
1.1.6.1.Selection Branching
Flow of a process is branched depending on conditions.
It implies the state where multiple transitions are connected after 1 step.

3
Transition to the subsequent step is made when the step before branching is in active state and the
conditions for transition after branching are established. Always only one step is selected.
When the establishment of conditions of transition for 2 steps is simultaneous, left side step is given
preference.
Selection branch line is single horizontal line.

Step

Step Step

1.1.6.2.Selection Confluence
Among multiple processes, when conditions of any one are established, shift to next processing is
made.
It implies the state where 1 step is connected after multiple transitions.
Transition to the step for Confluence is made when one of the steps before Confluence is in active
state and the conditions for the transition next to that step are established.
Selection Confluence line is single horizontal line.

Step Step

Step

4
1.1.7.Parallel Branching / Confluence
1.1.7.1.Parallel Branching
Multiple processes can be processed simultaneously.
It implies the state where multiple steps are connected after 1 transition.
When step prior to transition is in active state and the conditions for transition are established,
transition to all the subsequent steps is simultaneously made.
Parallel branch lines is indicated with double horizontal lines.

Step

Step Step

1.1.7.2.Parallel Confluence
Processes that have been parallely processed are synchronized.
It implies the state where 1 transition is connected after multiple steps.
If all the connected steps before the subsequent (lower) transition are in active state and the transition
conditions have been established, simultaneous transition to steps continuing after the transition is
made from all the steps connected before transition.
Parallel Confluence line is indicated with double horizontal line.

Step Step

Step

1.1.8.Jump
Execution is jumped from the transition on SFC to the specified step.

Step

ST0

5
2.Graphic Symbols (for SFC)
Component Graphic Function
Denotes the step which becomes active at the time of start of
Initial Step ST**** operation.
At least one is required in the program.

Denotes 1 process in the program.


Step ST**** Maintains Active/Inactive State.

Step for calling sub SFC.


Sub-SFC Step SUB***

Denotes the start position of sub SFC.


SUB***

Sub-SFC Start

Denotes the return position of sub SFC.

Sub-SFC End

Indicates transition conditions between SFC steps.


Transition
TR****
Transition to the step on the side where transition conditions are
Selection established is made. In case more than one step are established
Branching simultaneously, left side one is given preference.
Maximum 32 branchings are possible.
Selection Used when adding Selection branching.
Branching Corner
If conditions for any one of the transitions are established and if the
immediately previous (upper ) step is in active state and the
Selection
immediately next (lower) step is in inactive state, transition to the
Confluence
immediate next is made.
Maximum 32 steps can be connected.
When the immediately previous (upper) transition is in active state and
all the steps parallely connected are in inactive state, connected steps
Parallel Branching become active simultaneously.
Maximum 32 steps can be connected.

Parallel Branching Used when adding parallel branching.


Corner
If all the immediately preceding (upper) steps become active and
immediately next (lower) transitions are established and if immediately
next step is in inactive state, transition to immediately next step is
Parallel Confluence
made.
Maximum 32 steps can be connected.

Jump to the step in the Process is made.


It is described after the transition.
Jump
ST****
Carries out diagnosis of Step.
When “Step Elapsed Time > Set Value” after the step becomes active,
Step Diagnosis bit set in the alarm output is turned ON.

6
3.SFC Structure Components
3.1.Process (PROC)
Process is registered in SFC Folder (“A” in the fig. on right) of each
Program (PROGRAM 1-3).
A
Object that creates chart (Process Diagram) with the concept of a
sheet is regarded as a process (PROC).
Number of processes that can be registered in 1 program may be

....
any number in the range of 0~100.
No. that can be registered No, that can be used

---
PROC : 100 00~99

3.2.Sub-Process (SUB-PROC)
Sub-process, unlike process, is registered in a Process. Object that A
creates chart (Process Diagram) with the concept of a sheet is
regarded as a sub-process (SUB-PROC).
Chart (Process Diagram) that indicates the contents of Sub SFC A
steps laid-out in Process or sub-process is created.
The number of sub-processes (SUB-PROC) that can be registered in 1 Process may be any number
in the range of 0~256.
Laying (Nesting : Maximum 256) separate sub-process in a sub-process is also possible.
No. that can be registered No, that can be used
SUB-PROC : 256 000~255

It is not possible to use sub SFC registered in other process (PROC) in the self process (PROC).
Duplicate use (laying out of multiple similar Sub-SFC Step No.) is possible if within the same process,.
However, it is necessary not to make them active simultaneously.

When sub-process (Sub SFC) is created, automatically 1 Action No. is consumed. Action
Nos. are consumed from 999 in the reverse order.
Consequently, while using 10 Sub SFC, it must be noted that the user can use Action No.
from 0 ~ 899.
Avoid using Action No. starting with 800 or 900 to the maximum possible extent.

7
3.3.Step
In Initial step and Step, there are Action Block and Action Ladder (when carrying out “AC n n n”
specification of Action with Action Block) as related setting.
Here their flow is indicated.
* While using Initial step and step as dummy step, only laying of their graphic symbols is enough.

Select action and click Action Program


Double click here [Action Program]
button

SFC Window
Action Block
Ladder Window

Step No. can be set freely between 0000 ~ 9999.


Duplicate use of Step No. between processes is possible but it can not be used within the
same process.
Total Number of Steps in 1 program is restricted.
(32 kw : 1000, 16 kw : 500)

8
3.4.Sub SFC Step
In case of Sub SFC Step, related setting is carried out with Sub SFC dialog.
Chart (Process Diagram) which forms the contents of the Sub SFC Step is created in the sub-
process.

Return to the SFC window is made


SFC Window Double click by double clinking the symbol of the
The SFC window is
here Sub SFC Start or the Sub SFC End.
opened by clicking the
[Jump to Sub Process]
Sub SFC Window
button.

Sub SFC

Sub SFC step no. can be set freely in the range of 000 ~ 255.
Duplicate use of Sub SFC Step No. is possible between processes but not within the same
process. (Saving to the project is impossible.) Laying of the symbol is possible.
Sub processes (SUB-PROC) that can be registered in 1 program may be any number in the range of
0 ~ 256.

No. that can be registered No, that can be used


SUB-PROC : 256 000~255

It is not possible to use Sub SFC registered in other process (PROC) in the Self Process (PROC).
If within the same process, duplicate use (multiple layout of same Sub SFC Step No.) is possible.
However, it is necessary that they do not become active simultaneously.

When Sub-process (SUB-PROC) is created, 1 Action No. is automatically consumed. Action


No. is consumed from 999 in the reverse order.
Consequently, when using 1 SFC, it must be noted that the Action No. that can be used by
the user is 0 ~ 899.
Use of Action No. starting with 800 and 900 should be avoided to the maximum possible extent.

9
3.5.Action Process
Execution Operation in the Step is created with Ladder Sequence Program.
Number of Actions that can be registered in one step can be any number within the range of 0 ~ 16.
While specifying Action with Direct Address (Bit Device Address), creation of Ladder Sequence
Program is not necessary.
Specification of Actions in
|--------------------------------------------------[LABEL AC*** ]---| multiple Step Processes
is possible, if they are
within the same program.
|--------------------------------------------------[RET ]---| However, they are not
operated at the same
Cursor Action Program Ladder Program written here time.
Insertion Area is executed

Since [LABLE AC ***] and {RET } are created automatically in the system, creation by the
user is not required.
Action No. can be used in the range of 000 ~ 999 and it tallies with the Label No. of Ladder Sequence
Program.

Action No. uses Extension Label “EL***” but in case of Ladder display of SFC Program, “AC***” is
displayed.

When Sub SFC is created, 1 Action No. is automatically consumed. Action No. is consumed
from 999 in the reverse order.
Consequently , when using 100 Sub SFC, Action No. that can be used by the user is 0 ~ 899.

10
3.6.Transition Conditions Program
Transition conditions are created with the Ladder Sequence Program.
As for Transition, there are Transition Dialog and Transition Conditions Ladder Sequence Program as
related setting. Below their flow is indicated.

Transition Program
Transition Condition
SFC Window

Transition
Ladder Window

Transition controls the shift of active state of the step and shift conditions are specified with the
Transition Program.
TR***(R580-0~R5BE-7Is allocated automatically)
|-----||-------||----+---||-------------------------------------------------[ ]---|PROC**-SUB***-TR****
|
|-----||-------|/|----+ Ladder Circuit of 1 Block

Transition Condition

Transition No. can be set freely in the range of 0000 ~ 9999.


Duplicate use of Transition No. between processes is possible but not in the same process.
There is restriction on the total number of transitions in 1 program.
(32kw : 1000, 16 kw : 500)

Transition condition Program has 1 to 1 correspondence with each transition of SFC and one
Transition Program can be used simultaneously as other Transition Conditions Program.

11
4.AQ (Action Qualifier)-wise Action Execution
AQ (Action Qualifier) is the symbol that defines the timing of execution / non-execution of each Action.
AQ is set in Action Block and always set 1 AQ against each action.
AQ is of following 9 types :

Holding of action does not imply holding of output but continuation of execution of action.
However, when relay is directly specified in action, output is held.

Active State R
N ­­­­­­­­¯
S ­ ­ ­ ­ ­ ­ ­ ­­ ­ ­ ­ ­ ­ ­ ­­ ­ ­ ­ ­ ­ ¯
L ­­­­¯
­ : Execution of Action
D ­­­ ¯
¯ : Indicates resetting of Action
P ­¯
SD ­ ­ ­­ ­ ­ ­ ­ ­ ­ ¯
DS ­­­­­­­­­­­­­­­­­¯
SL ­­­­­­­­­­­­­­­­¯
SL ­­­­­­­­­­­­­­­­­­­­­­¯

Step currently under execution is called Active State


N : Non-Holding Type Action
R : Resetting of Holding Action and when transition conditions are satisfied and the
S : Holding Type Action active state shifts to the next step, that step becomes
L : Time Limit End Type Action inactive.
D : Delayed Start Type Action In case of shift from active to inactive state, not only the
P : Pulse Type Action execution of specified Action Programs stops but finally
SD : Holding Type Delayed Start Action
execution to turn the coil timer OFF is carried out once.
DS : Delayed Hold Type Action
SL : Time Limit Hold Type Action (Hold System : excluding S, SD, DS, SL)
Therefore, coil timer is turned OFF when inactive state
is reached.
When action is set with Bit Device Address, it shows
Active State = ON operation.

®
® S
®
® Further, when Hold System AQ is set, execution of same
®
Continuation of active

actions is continued till steps where AQ = R is set become


® active.
®
®
®
®
®
®
® ® : Execution of action.
¬ ¬ : Implies resetting of action
R

12
5.Process Control
Maximum 1 Processes (SFC Program) can be simultaneously executed against 1 Program.
Further, there is the function to control each process as a whole.
For details of handling of signals, vide separate “Deigning of SFC control circuit Manual”.

**Process |--||---------------JPI
**Process
|--||---------------DGR

|--||---------------MOR

|--||---------------STP

|--||---------------RDY

|--||---------------RUN
|--||---------------RES

Process Control Input

JPI : It is restart function that can set in each process unit.


It is used for executing reset start off the equipment.
When JPI = ON, actions other than the holding system specified with currently active step are
reset (stopping of execution of actions and turning OFF of output coil/timer).
Active steps are turned to inactive state and executed flag are set. However, during Sub SFC
has not been made, setting of executed flag of Sub step is not made.
Held action continues execution.
Initial step is activated during fall of JPI at JPI = ON > OFF.
Further, executed flags are cleared.

DGR : By making DGR = ON, output of step diagnosis error is turned OFF and the current value of
the timer for diagnosed processing is cleared.
By controlling only Process 0 (R5C 0-5), it becomes valid against all steps of all processes.

MOR : Executed flag is automatically controlled at each step so that execution route during Selection
branching etc. can be monitored.
By making MOR = ON, this flag is cleared. Usually, at the start of 1 cycle of an equipment,
execution route of the previous cycle is cleared.

STP : When STP=ON, execution is continued till the step currently under execution is completed and
execution is stopped just when the shift to the next step is made. However, execution of held
action is continued.
When STP = OFF, SFC is executed in accordance with RUN input.
Usually, STP = OFF is used.

RDY : It is the function implying that the equipment is ready for operation.
When RDY = OFF, all soils and Timers executed in the process are turned OFF.
Further, action where hold is specified is also released.
By using this function, operation conditions for each Action Program (Ladder) can be reduced.

13
In case of Process that requires regular output such as Lamp for state display etc. RDY = ON
is always used.

RUN : Used for mid-way stopping of equipment.


When RUN = OFF, execution of SFC is immediately stopped.
However, execution of action where hold is specified is continued.

RES : used for initialization of process.


When RES = ON, all coils and Timers in this process are turned OFF and when RES = OFF,
execution is started again from the initial step.

When power supply is turned on, all these inputs, excluding “PROCOO” (Process O) become OFF.
Since each process becomes operative only when “RUN = RDY = ON” , it is necessary to control
these process control inputs in the Ladder Sequence Program, different from “PROCOO or SFC.

“PROCOO” is a special process. It does not have input of RUN / RDY and it always has the operation
similar to that when RUN = DEY = ON. (only process where immediate operation is possible with the
switching on of power).
(Even SFC of the initial step will do)

14
5.1.Area Data Memory Allocation for Process Control.

PROC No JPI DGR MOR STP RDY RUN RES


0 R5C0-6 R5C0-5 R5C0-4 R5C0-3 R5C0-0
1 R5C0-E R5C0-C R5C0-B R5C0-A R5C0-9 R5C0-8
2 R5C1-6 R5C1-4 R5C1-3 R5C1-2 R5C1-1 R5C1-0
3 R5C1-E R5C1-C R5C1-B R5C1-A R5C1-9 R5C1-8
4 R5C2-6 R5C2-4 R5C2-3 R5C2-2 R5C2-1 R5C2-0
5 R5C2-E R5C2-C R5C2-B R5C2-A R5C2-9 R5C2-8
6 R5C3-6 R5C3-4 R5C3-3 R5C3-2 R5C3-1 R5C3-0
7 R5C3-E R5C3-C R5C3-B R5C3-A R5C3-9 R5C3-8
8 R5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E8-2 R5E8-1 R5E8-0
81 R5E8-E R5E8-C R5E8-B R5E8-A R5E8-9 R5E8-8
82 R5E9-6 R5E9-4 R5E9-3 R5E9-2 R5E9-1 R5E9-0
83 R5E9-E R5E9-C R5E9-B R5E9-A R5E9-9 R5E9-8
84 R5EA-6 R5EA-4 R5EA-3 R5EA-2 R5EA-1 R5EA-0
85 R5EA-E R5EA-C R5EA-B R5EA-A R5EA-9 R5EA-8
86 R5EB-6 R5EB-4 R5EB-3 R5EB-2 R5EB-1 R5EB-0
87 R5EB-E R5EB-C R5EB-B R5EB-A R5EB-9 R5EB-8
88 R5EC-6 R5EC-4 R5EC-3 R5EC-2 R5EC-1 R5EC-0
89 R5EC-E R5EC-C R5EC-B R5EC-A R5EC-9 R5EC-8
90 R5ED-6 R5ED-4 R5ED-3 R5ED-2 R5ED-1 R5ED-0
91 R5ED-E R5ED-C R5ED-B R5ED-A R5ED-9 R5ED-8
92 R5EE-6 R5EE-4 R5EE-3 R5EE-2 R5EE-1 R5EE-0
93 R5EE-E R5EE-C R5EE-B R5EE-A R5EE-9 R5EE-8
94 R5EF-6 R5EF-4 R5EF-3 R5EF-2 R5EF-1 R5EF-0
95 R5EF-E R5EF-C R5EF-B R5EF-A R5EF-9 R5EF-8
96 R5F0-6 R5F0-4 R5F0-3 R5F0-2 R5F0-1 R5F0-0
97 R5F0-E R5F0-C R5F0-B R5F0-A R5F0-9 R5F0-8
98 R5F1-6 R5F1-4 R5F1-3 R5F1-2 R5F1-1 R5F1-0
99 R5F1-E R5F1-C R5F1-B R5F1-A R5F1-9 R5F1-8

16
6.Monitor
6.1.Symbol during Monitoring
6.1.1.Process Monitor
State of Signals for Process Control set in each process can be monitored.

(Yellow) : ON

(Grey) : OFF

Restart Activated Halt Reset Operation Continuous Reset


Restart Restart Preparation Refer to 5. Process Control for details of
signal contents for process control

6.1.2.SFC
Below, symbols during monitoring have been indicated. Depending on the state of step, 3 types of
expressions are made.
(Symbol of Transition does not change)

(1)Inactive (2) Active (3)Executed


no color Orange light Green light

·Customization (Menu : Option > Customize) of (2) and (3) is possible.

6.1.3.Ladder
Monitor of Ladder Sequence Program Created as Action Program or Transition condition Program
can be seen along with SFC.

17
6.1.3.1.Action

Select the actin and


Double click here click [Action Program]
button

SFC Window
Action Block
Ladder Window

When one action is set, direct shift to Ladder is


made.

6.1.3.2.Transition

Double click here Transition Condition


SFC Window

Ladder Window

6.1.3.3.Sub SFC

SFC Window Double Click here

Sub SFC Window

18
6.2.Step Diagnosis
In this function, processing time of a step is measured and compared with set value. And in case
processing time > set value, it is detected as processing timer error.

A. Setting of set value.


Step Diagnosis function can be made valid/invalid for each step and in case it is made valid, set value
must always be set.
Set value can be set in the following 2 types.
1. Direct specification in the range of 0.0 ~ 6553.5 sec.
2. Indirect specification based on word Device Address.

B. Setting of Alarm output.


When setting of Step diagnosis in the action block of each step is made, comparison with Timer
current value of the step where set value and diagnosis setting have been made, is carried out and
the output of alarm in case of exceeding of time can be made.
In case of output, one output destination can be specified with the Bit Device Address.

C. Setting of output Destination for Step Processing Time.


One output destination of measured step processing time for each step specified with word Device
Address.
This output is carried out continuously when the step is active and when the step becomes inactive
there is no output.
(Value of output destination is held till next activation).
Further, output of Error Step No. in R7F8 ~ R7FF is carried out for Error Step Search Monitor.
SFC Programmer on the basis of this data, jumps to SFC including Error step and display on the
monitor.
However, since only 8 Error step storage Buffer can be held, data more than 8 numbers is discarded.

Step Diagnosis Error


SFC Program 1

No. Step No. Process No. Sub Process No.


1 1 0 -
2 10 0 -
3 4 0 -
4 31 0 -
5 41 0 0
6 42 0 0
7 43 0 0
8 20 0 -

Jump Close

Storage from 9th data is not possible. First


is judged as the most valid data.

Error Data of Step diagnosis can be reset by turning ON “DGR” in the Process Control Area of
PROCOO (Process O).
In case it is reset, this buffer area is also cleared.

19
6.3.Step Active Elapsed Time
By using Step Active Elapsed Time, detection of error process of the equipment or adjustment /
curtailment etc. of Tact Cycle Time can be made.
When step Elapsed Time output is set in the Action Block of each step, current value of the timer for
6.6.1 Step Active Elapsed Time is shown.
Output timing is scanned only during active state and there is no output during the inactive state.

Note that sometimes this timer value and that of step diagnosis are different.

Even when Step Elapsed Time Setting is not carried out, if monitored with SFC Programmer, Step
active Elapsed Time of all the Steps can be monitored.
Step Active Elapsed Time Display

ST0001 ST0001
2.3S

ST0002
ST0002
5.8S

6.4.Monitor with Operation History + Step Elapsed Time


Step which is active will flash and executed step will glow.

Program1 PROC05

ST0001
0.5S Glow On the step with
Color which is executed
TR0000

ST0002
0.6S Step elapsed time

Glow on the step with


TR0001 TR0003
Color Which is executing.

ST0003 ST0004
0.0S 20.0S

TR0002 TR0004

20
6.5.Multiple Execution of Sub SFC
Several similar Sub SFC can be operated in the same process.
However, those steps can not be executed simultaneously.
In case timing-wise they become simultaneous, Sub SFC from the second one becomes wait state
and they are executed afresh the moment that sub SFC is fully executed.
In case there are multiple Sub SFC in wait state, always left side one gets priority from the
positioning of symbol point of view.
Wait

ST0010 ST0030

ST0011 ST0031

Later Execution
SUB010 SUB010
Executed after the completion of A.
A : First Execution

ST0012

Insertion of Dummy Step


When positioning several similar Sub SFC in Parallel branches within one process, position the
dummy step under sub SFC, without positioning Sub SFC in the immediately previous step of parallel
merge.
If Sub SFC is positioned in the immediately previous step of parallel merge, since completion of
execution of that Sub SFC can not be confirmed, it will not be shifted to the right parallel operation.
In case of extreme right sequence, since there is no parallel operation that needs to be shifted,
positioning of dummy step is not need.

(1) : O (2) : X (3) : O

ST0010 ST0031 ST0010 ST0031 ST0010 ST0031

SUB010 SUB010 SUB010 SUB010 SUB010 SUB010


Stop

ST0011 Dummy step ST0011 Dummy Step not


positioning required

21
6.6.Timer Control
Each step carries out 3 independent timer controls.
6.6.1.Timer for Active Elapsed Time
It is Elapsed Time Timer conforming to SFC Standard of IEC.
It is cleared at the beginning of activation and measures time during active state.
When inactive state is reached, measured value is held at it is.
Monitoring from peripheral equipment is possible.
This data can be extracted in specified register in accordance with setting in each step.

Inactive Active Inactive

Timer Value

6.6.2.Timer for AQ Time Series Processing


It is cleared at thee start of activation and measures time during active state as well as till the execution
of all actions of hold system, and time series comes to a halt.
(It shows same value as Step Active Elapsed Timer during active state).
Current value can not be monitored externally.

Inactive Active Inactive

Timer Value
Reset

6.6.3.Timer for Step Processing with Diagnosis


It is cleared at the start of activation and measures time during activation.
Measured value is held as it is during inactive state (operation is same as the Timer for Step Active
Elapsed Time)
However, timer measurement is interrupted when RUN (continuous : ex. R5C0~1) of Process Control
is OFF.
Further, current value is cleared when DGR (Diagnosis Resetting : R5C0~5) of Process Control is
ON.

Error Detection
Inactive Active Inactive Active
(1) Elapsed

RUN (Continuous)
DGR Resetting

22
7.Ladder Sequence Program
Last BIN Code

Initial Sequence BIN Code


Usual Ladder Sequence Program
|-----[START]
Main Sequence BIN Code
Ladder Sequence Program other than
Transition Condition Program carries
Transition Condition out execution similar to usual Ladder
Ladder BIN Code Sequence Program.
For SFC Therefore, Ladder Sequence Program
can be freely described as long as it is
|-----[END] within this range.
Sub Routine BIN Code

Action Program BIN Code

|-----[PEND]

Last BIN Code

Initial Sequence BIN Code

|-----[START ]
Main Sequence BIN Code

Transition Condition Ladder


BIN Code

|-----[END ]
Sub Routine BIN Code

Action Program BIN Code

|----[LABEL EL1023] Automatic


|---[PROC ]
Generation

<<< Prohibitions >>>


|---[RET ] Editing of automatic generation portion using usual Hellowin.
|---[LABEL ] In case of PCwin, Program for SFC is automatically generated.
If this automatic generation portion is edited, it will not be able to carry out
Normal operation.

|----[PEND ]

23
8.SFC Restrictions
When SFC is used, since below mentioned Data area is used for SFC control work, it can not be used
for user Program.

Program Tran Action/ Action SUB- Proce


Data area Steps The data memory occupation area
No. sitions Step Labels SFCs sses
PRG.1 500 1000 16 1000 256 100 P1-R580~R7FF ET000~ET1FF H000~H1FF EN000~EN1FF
Separate
PRG.2 500 1000 16 1000 256 100 P2-R580~R7FF ET200~ET3FF H200~H3FF EN200~EN3FF
mode1
PRG.3 500 1000 16 1000 256 100 P3-R580~R7FF ET400~ET5FF H400~H5FF EN400~EN5FF
PRG.1 1000 1000 16 1000 256 100 P1-R580~R7FF ET000~ET3FF H000~H3FF EN000~EN3FF
Separate
PRG.2
mode2
PRG.3 500 1000 16 1000 256 100 P3-R580~R7FF ET400~ET5FF H400~H5FF EN400~EN5FF
PRG.1 500 1000 16 1000 256 100 P1-R5C0~R7FF ET000~ET1FF H000~H1FF EN000~EN1FF
Separate
PRG.2 1000 1000 16 1000 256 100 P1-R580~R7FF ET200~ET5FF H200~H5FF EN200~EN5FF
mode3
PRG.3
PRG.1 500 1000 16 1000 256 100 P1-R580~R7FF ET000~ET1FF H000~H1FF EN000~EN1FF
Separate
PRG.2 500 1000 16 1000 256 100 P2-R580~R7FF ET200~ET3FF H200~H3FF EN200~EN3FF
mode4
PRG.3
PRG.1 500 1000 16 1000 256 100 P1-R580~R7FF ET000~ET1FF H000~H1FF EN000~EN1FF
Separate
PRG.2
mode5
PRG.3 500 1000 16 1000 256 100 P3-R580~R7FF ET400~ET5FF H400~H5FF EN400~EN5FF
PRG.1 500 1000 16 1000 256 100 R580~R7FF ET000~ET1FF H000~H1FF EN000~EN1FF
Single
PRG.2 Imposible
mode1
PRG.3 Imposible
PRG.1 1000 1000 16 1000 256 100 R580~R7FF ET000~ET3FF H000~H3FF EN000~EN3FF
Single PRG.2
mode2
PRG.3 Imposible
PRG.1 500 1000 16 1000 256 100 R580~R7FF ET000~ET1FF H000~H1FF EN000~EN1FF
Single PRG.2 Imposible
mode3
PRG.3
PRG.1 1000 1000 16 1000 256 100 R580~R7FF ET000~ET3FF H000~H3FF EN000~EN3FF
Single PRG.2
mode4
PRG.3
PRG.1 500 1000 16 1000 256 100 R580~R7FF ET000~ET1FF H000~H1FF EN000~EN1FF
Single PRG.2
mode5
PRG.3
PRG.1 500 1000 16 1000 256 100 R580~R7FF ET000~ET1FF H000~H1FF EN000~EN1FF
Single PRG.2 Imposible
mode6
PRG.3
PC2
Imposible
Interchange
Usable 0000- 0000- 000- 000-
- - 00-99 - - - -
number 9999 9999 999 255

Irrespective of the operation mode, it occupies for the SFC control about special relay "V58-
V5D"·"EV800-EVBFF", too.

SFC specifications vary depending on operation mode of main CPU.


Basic Concept (1) It can not be used in PC2 compatible mode.
(2) In case of single mode, it can be used only with Program 1.
(3) When Program capacity is 16 Kw, number of steps is limited to maximum of 500.
(4) Identifier R (Link Register Area) of user Data memory and Extended Timer Area
are reserved for SFC Control.
(5) Extended Label (EL****) is reserved for SFC.

SFC can not be used in PC2 compatible mode.


Since “Bit specification of Register”, “Extended Area” etc. are used, it
should not be used with PC2 compatible mode.

24
The contents of this document may be changed for product improvement
without prior notice.
Sufficient care has been taken about the contents but in case of any doubts or
mistakes, please contact us.
No part of this document may be reproduced without prior written permission.

First Edition 2 December, 1999


3rd Edition 1 January , 2006

2
Machine Tools and Mechatronics Business Headquarters
Higashi Kariya Plant, Kita-Chizoyama 1-7, Noda-machi, Kariya-shi, Aichi-Ken – 448-0803 TEL 0566-21-8611

Manual No.

T – 3503E
©
JTEKT CORPORATION 1999-2006.

* Specifications are subject to change for improvement without prior notice.


* Under stipulations of the Foreign Exchange and Foreign Trade Control Act, prior permission for export of products (or services) that are strategic is need for the Government of Japan.

You might also like