Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1299

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Task Control Instructions
Operand Specifications
Description
Note
1260
Area
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
Data Registers
Index Registers
Indirect addressing
using Index Registers
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.
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.
---
---
---
---
---
---
---
---
---
---
---
00 to 31 or 8000 to 8255 (decimal)
---
---
---
Section 3-34
N

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents