Sections; Overview Of Sections - Omron CJ2 CPU - REV 10-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

5 Understanding Programming
5-3

Sections

5-3-1

Overview of Sections

Programs can be created and displayed in sections with the CX-Programmer to divide programming
into functional units. Any program in a task can be divided into sections. Using sections improves pro-
gram legibility and simplifies editing.
• Clearer Processing
A section can be given any name to indicate the process or control performed in that section
• Easy Editing
The order of sections can be changed by dragging and dropping them with the mouse, and sections
can be copied and pasted.
• Unlimited Use
There is no limit to the number of sections that can be created per program.

Sections

The ladder program in each section can be
displayed by double-clicking the icon.
Number of Sections
There is no limit to the number of sections that you can use. Also, as previously, it is possible to cre-
ated a program with only one section.
Order of Section Execution
Section are executed in the order they appear in the project tree (i.e., top to bottom). Program
addresses automatically continue consecutively in the order the tasks are executed. The rung num-
ber starts from 0 in each section.
5-40
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents