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 #133 background imageLoading...
Page #133 background image
5-41
5 Understanding Programming
CJ2 CPU Unit Software User’s Manual
5-3 Sections
5
5-3-1 Overview of Sections
z Section Names
The section name will be “Section@” with serial numbers starting from 1 automatically allocated as
the suffix. The names can be changed using user definitions.
z Advantages of Dividing Programs into Sections
Dividing programming into sections offers the following advantages.
Programming can be uploaded from the CPU Unit one section at a time. If one section of the pro-
gramming is uploaded in advance, the time required to start online editing will be shortened. Only
one section of the program can be downloaded at a time for online editing. It is also not possible to
download sections one at a time.
Sections can be moved to change the order of execution of the overall program, they can be
moved to other programs, and they can be copied on the project tree.
This enables standardizing programming modules that are smaller than the overall program.
z File Memory Files Related to Sections
Sections are included in the CX-Programmer project file (.CXP). The section names, section com-
ments, and program comments for one CPU Unit are stored in the program index file (PRO-
GRAMS.IDX).
Additional Information
Tasks are used to control whether task program are executed. On the other hand, sections are
divisions created at a lower level in user-defined programs. Sections are created mainly to make
programming easier to understand, as in the following application examples.
Initial processing and main processing can be divided into different sections in one task when
the same processing is required whenever the task is executed.
The normal program area and subroutines can be divided into sections.

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