Task Execution Conditions And Settings - Omron CS1G/H-CPUxx-EV1 Programming Manual

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Task Features
4-1-5

Task Execution Conditions and Settings

Task
Cyclic tasks
Interrupt
Power OFF interrupt task
tasks
Scheduled interrupt tasks
0 and 1
I/O interrupt tasks
00 to 31
External interrupt tasks
0 to 255
Extra cyclic tasks (CS1-H, CJ1-H,
CJ1M, or CS1D CPU Units only)
Note
164
Item
Initial Task Execution
Flag (A20015) and
Task Start Flag
(A20014)
Index (IR) and data
(DR) register values
4. The CJ1 CPU Units do not support I/O interrupt and external interrupt
tasks.
The following table describes task execution conditions, related settings, and
status.
No.
Execution condition
0 to 31
Executed once each cycle if
READY (set to start initially or
started with the
TKON(820)instruction) when the
right to execute is obtained.
Interrupt
Executes when CPU Unit power
task 1
shuts OFF.
Interrupt
Executes once every time the
tasks 2 and
preset period elapses according
3
to the internal timer of CPU Unit.
Interrupt
Executes when an input on an
tasks 100 to
Interrupt Input Unit on the CPU
131
Rack turns ON.
Interrupt
Executes when requested by a
tasks 0 to
user program in a Special I/O
255
Unit or CPU Bus Unit on the
CPU Rack or by a user program
in an Inner Board (CS Series
only).
Interrupt
Executed once each cycle if
tasks 0 to
READY (started with the
255
TKON(820)instruction) when the
right to execute is obtained.
1. The Interrupt Input Unit must be mounted to the CPU Rack. For CJ1-H
CPU Units, the Unit must be connected as one of the five Units next to the
CPU Unit (slots 0 to 4). For CJ1M CPU Units, the Unit must be connected
as one of the three Units next to the CPU Unit (slots 0 to 2). I/O Interrupt
Units mounted elsewhere cannot be used to request execution of I/O inter-
rupt tasks
2. The Special I/O Unit or CPU Bus Unit must be mounted to the CPU Rack.
For CJ1-H CPU Units, the Unit must be connected as one of the five Units
Extra cyclic tasks
Not supported.
Supported.
Not defined when task is
Undefined at the beginning
started (same as normal
of operation. Values set in
interrupt tasks). Values at
the previous cycle can be
the beginning of each
read.
cycle are undefined.
Always set values before
using them. Values set in
the previous cycle can-
not be read.
None
• Power OFF interrupt enabled
in PLC Setup.
• The scheduled interrupt time
is set (0 to 9999) through the
SET
instruction (MSKS).
• Scheduled
(10 ms or 1.0 ms) is set in
PLC Setup.
• Masks for designated inputs
are canceled through the
SET
instruction (MSKS).
None (always enabled)
None (always enabled)
Section 4-1
Normal cyclic tasks
Related Setting
INTERRUPT
MASK
interrupt
unit
INTERRUPT
MASK

Advertisement

Table of Contents
loading

Table of Contents