SFC Task Control Instruction Specifications
Appendix B
124
B-1
SFC ON (SFCON)/SFC OFF (SFCOFF)
SFCON Instruction
Outline
Restarts execution of an SFC task that was ended
or paused using one of the other SFC Task
Control Instructions.
Symbol
SFCON
N
N: SFC task number
Operands
Cyclic Task
For CJ2
N: &0 to &128 (Correspond to cyclic tasks 0 to
128.)
For other models
N: &0 to &31 (Correspond to cyclic tasks 0 to 31.)
Description
The SFC task specified by N is started.
If an ended task is started, it is executed from the
initial step. If a paused task is started, it is
executed from the status that existed before it was
paused.
Variations
Executed Each Cycle for ON
Condition
SFCON
Variations
Executed Once for Upward
Differentiation
None
Immediate Refreshing Specification
None
SFCOFF Instruction
Outline
Ends execution of an SFC task. The status of all
outputs is held. When execution of the SFC task is
restarted, it is executed from the initial step.
Symbol
SFCOFF
N
N: SFC task number
Operands
Cyclic Task
For CJ2
N: &0 to &128 (Correspond to cyclic tasks 0 to
128.)
For other models
N: &0 to &31 (Correspond to cyclic tasks 0 to 31.)
Description
The SFC task specified by N is ended.
The status of all outputs is held.
When execution is restarted with the SFCON
instruction, the task is executed from the initial
step.
Variations
Executed Each Cycle for ON
Condition
SFCOFF
Variations
Executed Once for Upward
Differentiation
None
Immediate Refreshing Specification
None
Applicable Program Areas
SFCON/SFCOFF
Area
Function
block
definitions
Block
program
areas
Step
program
areas
Sub-
routines
Interrupt
task
programs
Usage
OK OK OK OK OK
Operand Data
SFCON/SFCOFF
Task name
Operand
0 to 128 (for CJ2)
&0 to &128
Cyclic tasks
0 to 31 (for other models)
&0 to &31
Extra task 0 (interrupt task 0)
&8000
Extra task 1 (interrupt task 1)
&8001
…. …
Extra task 255 (interrupt task 255)
&8255
Condition Flags
Name
Label
Status
Error Flag
P_ER
OFF
Содержание SYSMAC CX-Programmer 8.1
Страница 1: ...Operation Manual SFC Programming SYSMAC WS02 CXPC1 V8 CX Programmer Ver 8 1 Cat No W469 E1 04...
Страница 2: ...ii CX Programmer Ver 8 1 WS02 CXPC1 V8 Operation Manual SFC Programming Revised February 2009...
Страница 16: ......
Страница 56: ...Precautions When Creating SFC Programs Section 1 5 40...
Страница 117: ...Monitoring Section 4 5 101 For details refer to 3 2 3 Adding an Action to a Step or to the Initial Step...
Страница 118: ...Monitoring Section 4 5 102...
Страница 150: ...Index 134...
Страница 152: ...Revision History 136...
Страница 153: ......
Страница 154: ......