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 #95 background imageLoading...
Page #95 background image
5-3
5 Understanding Programming
CJ2 CPU Unit Software User’s Manual
5-1 Programming
5
5-1-1 Programming Overview
5-1 Programming
User programs are created by using the CX-programmer. Programs consist of the following parts.
•Programs
The entire user program consists of multiple programs. Each program ends with an END(001)
instruction.
• Tasks (Smallest Executable Unit)
A program is assigned to a task to execute it. (In the CX-Programmer, the task number is specified in
the properties as a program attribute.) Tasks include cyclic tasks (executed with normal cyclic pro-
cessing), interrupt tasks (executed when interrupt conditions have been completed), scheduled inter-
rupt tasks (executed at specified intervals), and the power OFF interrupt task (executed when the
power is interrupted).
• Sections
When creating and displaying programs with the CX-Programmer, the one program can be divided
into any number of parts. Each part is called a section. Sections are generally made to make the pro-
gram easier to understand.
• Subroutines and Function Blocks
In one program, you can create subroutine programs and function blocks.
5-1-1 Programming Overview
Structure of User Programs
CPU Unit
User program
Program
Program
Program
Task 1
Task 2
Task n
The user program consists of
multiple programs. Each program is
allocated to a task. Tasks are
executed in order of task numbers.
Programs are
assigned to tasks
for execution.

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