EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #103 background imageLoading...
Page #103 background image
5-11
5 Understanding Programming
CJ2 CPU Unit Software User’s Manual
5-2 Tasks
5
5-2-1 Overview of Tasks
5-2 Tasks
Tasks are used to divide a program into large units and specify the order in which to execute each unit
or programming. Instructions in any one task can be used to enable or disable the execution of other
tasks.
This means that several program components can be assembled as different tasks, and that only spe-
cific tasks can then be executed as needed for the current product model or process being performed.
This enables switching between different tasks for different processes. Therefore performance (cycle
time) is greatly improved because only required programs will be executed as needed.
A program without tasks is like reading an entire scroll form the beginning, while a program with tasks is
like reading cards individually. Each card can enable or disable other cards. Reading disabled cards will
be skipped.
5-2-1 Overview of Tasks
Concept of Tasks
Program with no tasks Program divided into tasks
It is possible
to pause any
task.
I/O refreshing
I/O refreshing
One continuous
subprogram
Task 3
Task 2
Task 1
Task 3
Task 2
Task 1
Allocation
END
Scroll-type program:
Program with no tasks
Card-type Program:
Program divided into tasks
The entire program is read.
Only the required cards are read.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals