Program Capacity; Basics Of Programming - Omron CP1E CPU UNIT SOFTWARE User Manual

Cp1e cpu unit software
Table of Contents

Advertisement

4-1-2

Program Capacity

The maximum program capacities of the CP1E CPU Units for all ladder programs (including symbol
table and comments) are given in the following table.
The total number of steps must not exceed the maximum program capacity.
Unit type
E-type CPU Unit
N/NA-type CPU Unit CP1E-N/NA
It is possible to check the program size by selecting Program - Memory View in the CX-Programmer.
The size of a ladder instruction depends on the specific instruction and operands that are used.
4-1-3

Basics of Programming

This section describes the basics of programming for the CP1E.
Basic Concepts of Ladder Programming
Instructions are executed in the order that they are stored in memory (i.e., in the order of the mnemonic
code). Be sure you understand the concepts of ladder programming, and write the programs in the
proper order.
Basic Points in Creating Ladder Programs
Order of Ladder Program Execution
When the ladder diagram is executed by the CPU Unit, the execution condition (i.e., power flow)
flows from left to right and top to bottom.
The flow is different from that for circuits that consist of hard-wired control relays.
For example, when the diagram in figure A is executed by the CPU Unit, power flows as though the
diodes in brackets were inserted so that output R2 is not controlled by input condition D.
The actual order of execution is indicated on the right with mnemonics.
To achieve operation without these imaginary diodes, the diagram must be rewritten. Also, the power
flow in figure B cannot be programmed directly and must be rewritten.
Figure A (Good example)
Signal flow
A
( )
C
( )
Figure B (Bad example)
A
C
CP1E CPU Unit Software User's Manual(W480)
Model numbers
CP1E-E
-
2K steps
-
8K steps
B
( )
R1
D
E
R2
B
R1
E
E
R2
4 Understanding Programming

Program capacity

Order of execution (mnemonics)
LD A
AND B
LD C
OUT R1
OUT TR0
LD TR0
AND D
AND E
OR LD
OUT R2
4
4-3

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF