1139
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
SFC Instructions
3
SFCON/SFCOFF
Precaution
• Specify the number displayed to the right of the SFC program in the workspace for the SFC task
number, as shown below.
As shown below, SFC programs can be created in interrupt tasks and executed as extra tasks.
When using an extra task, specify the SFC task number as shown above for the operand data. For
the program shown above for extra task 1 (interrupt task 1), the SFC task number specification
would be as follows:
• These instructions cannot be used for the task in which they are programmed. For example, if the
instruction is in cyclic task 0 (task number 0), a task number of 0 cannot be specified.
• This instruction cannot be input or displayed on a Programming Console. “?” will be displayed.
SFCON
Interrupt task 01
&8001
&8001
→