![background image](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-8-1/sysmac-cx-programmer-8-1_operation-manual_744240053.webp)
Precautions When Creating SFC Programs
Section 1-5
37
1-5-4
Ladder Language Instructions That Cannot Be Used in
Action Programs and Transition Programs
The following instructions cannot be used for action programs and transition programs.
Unsupported instructions
Block programming instructions (All instructions, including BPRG and BEND)
Subroutine instructions (SBS, GSBS, RET, MCRO, SBN, GSBN, and GRET)
Jump instructions (JMP, CJP, CJPN, and JME)
Step ladder instructions (STEP and SNXT)
I/O refresh instruction (IORF)
TMHH and TMHHX instructions
Special instructions (FRMCV and TOCV)
Record position manipulation instructions (PUSH, FIFO, LIFO, SETR, and
GETR)
Failure point detection Instruction (FPD)
Index register setting instruction (MOVRW)
1-5-5 Task
Allocation
SFC programs are assigned to cyclic tasks to use them. (See note.) Refer to
3-1-3
Allocating an SFC Program to a Task
for information on allocating tasks.
Note: Do not use SFC programs in interrupt tasks. They will not execute normally.
Allocating Extra Tasks
The CS/CJ-series PLCs provide 32 cyclic tasks (128 cyclic tasks only for CJ2-series
PLCs). In addition to this, up to 256 extra tasks can be used. (Extra tasks are interrupt
tasks that are executed each cycle as cyclic tasks.) (See note 1.)
The CX-Programmer can be used to create SFC programs, ladder diagrams, or ST
programs in either cyclic tasks or extra tasks. Extra tasks containing SFC programs are
started and stopped using the SFCON and SFCOFF instructions from other tasks.
(See note 2.) The following numbers are used in the SFCON and SFCOFF instructions
to specify the task numbers. Refer to
Appendix B SFC Task Control Instruction
Specifications
for specifying methods.
Task
Number
Extra task 0 (interrupt task 0)
8000
Extra task 1 (power OFF task)
8001
Extra task 2 (scheduled interrupt task 1)
8002
Extra task 3 (scheduled interrupt task 2)
8003
Extra tasks 4 to 99 (interrupt tasks 4 to 99)
8004 to 8099
Extra tasks 100 to 131 (I/O interrupt tasks)
8100 to 8131
Extra tasks 132 to 255 (interrupt tasks 132 to 255)
8132 to 8255
Note 1.
When using extra tasks, be sure to refer to the
CJ2H Programmable Controllers Software
User’s Manual
(Cat. No. W473) and the
CS/CJ/NSJ Programming Manual
(Cat. No.
W394) and confirm application methods. If the conditions to execute extra tasks as
interrupt tasks are met, the task will not execute normally.
2.
Do not use the TKON and TKOFF instructions to stop and start tasks with SFC programs.
The instructions will not function normally.
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: ......