![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681299.webp)
1260
Task Control Instructions
Section 3-34
Operand Specifications
Description
TKOF(821) puts the specified cyclic task or extra cyclic into standby status
and turns OFF the corresponding Task Flag (TK00 to TK31).
The task specified in TKOF(821) will be also be in standby status in later
cycles as long as it is not put into executable status by TKON(820), a Periph-
eral Device running CX-Programmer, or a FINS command.
A task can be put into standby status from any other regular task, although the
specified task will not be put into standby status until the next cycle if its task
number is lower than the task number of the local task (it would have been
executed already). The task will be in standby status in the same cycle if its
task number is higher than the local task’s task number.
If the local task is specified in TKOF(821), the task will be put into standby sta-
tus immediately and none of the subsequent instructions in the task will be
executed.
Note
1.
The CX-Programmer’s
General Properties Tab
for each task has a setting
(the
Operation start
box) that specifies whether the cyclic task will be exe-
cutable at startup. When the
Operation start
box has been checked, the
corresponding cyclic task will be put in executable status automatically
when the PLC begins operation. All other cyclic tasks will be in non-exe-
cutable status.
(If the memory all clear operation is executed from the Programming Con-
sole, however, cyclic task 0 will automatically be made executable.)
2.
If a task is in non-executable status, TKON(820) can executed to put that
task into executable status. Likewise, a cyclic task in executable status can
be put into non-executable status with the TKOF(821) instruction.
3.
Cyclic tasks or extra cyclic tasks that are in executable status can be put
into standby status by the TKOF(821) instruction.
Area
N
CIO Area
---
Work Area
---
Holding Bit Area
---
Auxiliary Bit Area
---
Timer Area
---
Counter Area
---
DM Area
---
EM Area without bank
---
EM Area with bank
---
Indirect DM/EM
addresses in binary
---
Indirect DM/EM
addresses in BCD
---
Constants
00 to 31 or 8000 to 8255 (decimal)
Data Registers
---
Index Registers
---
Indirect addressing
using Index Registers
---
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...