EasyManuals Logo
Home>Omron>Computer Hardware>SYSMAC CP2E-N D Series

Omron SYSMAC CP2E-N D Series User Manual

Omron SYSMAC CP2E-N D Series
578 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 #46 background imageLoading...
Page #46 background image
4 Understanding Programming
4-2
CP2E CPU Unit Software User’s Manual(W614)
4-1 Programming
User programs are created by using the CX-Programmer.
The user programs consist of the following parts.
• Programs
A program consists of more than one instruction and ends with an END instruction.
• Tasks (Smallest Executable Unit)
A program is assigned to an interrupt task to execute it. (In the CX-Programmer, the interrupt task
number is specified in the program properties.)
Tasks include cyclic tasks (executed with normal cyclic processing), interrupt tasks (executed when
interrupt conditions have been completed) and scheduled interrupt tasks (executed at specified inter-
vals).
The CP2E can use only one cyclic task.
• 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 created mainly to make programs easier to understand.
• Subroutines and Function Blocks
You can create subroutines and function blocks within a program.
The user programs are saved in a project file (.CXP) for the CX-Programmer along with other parame-
ters, such as the symbol table, PLC Setup data, and I/O memory data.
Programs can be written using only ladder programs.
4-1-1 User Programs
Structure of User Programs
User Program Data
Programming Languages

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP2E-N D Series and is the answer not in the manual?

Omron SYSMAC CP2E-N D Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP2E-N D Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals