EasyManua.ls Logo

Omron CJ - 08-2008 - Page 267

Omron CJ - 08-2008
733 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
219
Examples Section 4-2
or
Example: Input 8064.
7. DM Area Settings
The following table shows the parts of the DM Area are allocated to Special
I/O Units and CPU Bus Units for initial settings. The actual settings depend on
the model of Unit being used.
After writing the initial settings to the DM Area, be sure to restart the Units by
turning the PLC OFF and then ON again or toggling the Restart Bits for the
affected Units.
8. Writing the Program
Write the program with a Programming Device (CX-Programmer or Program-
ming Console).
The CJ-series PLC’s program can be divided into independently executable
tasks. A single cyclic task can be written for program execution like earlier
PLCs or several cyclic tasks can be written for a more flexible and efficient
program. The following table shows the differences when programming with
CX-Programmer or a Programming Console.
↓
↑
PC SETUP
+209 0000
CHG
PC SETUP?
+209 0000 0000
8
0
6
4
WRITE
+209 8064
PC SETUP
Unit Allocated words
Special I/O Units D20000 to D29599 (100 words × 96 Units)
CPU Bus Units D30000 to D31599 (100 words × 16 Units)
Special I/O Unit or
CPU Bus Unit
Restart
Programming
Device
Relationship between Tasks
and Program
Writing a new program Editing an existing program
Cyclic tasks Interrupt
tasks
Cyclic tasks Interrupt
tasks
CX-Programmer Specify the type of task and
task number for each program.
All can be writ-
ten.
(Cyclic tasks 0
to 31)
All can be writ-
ten.
(Interrupt tasks
0 to 255)
All can be
edited.
All can be
edited.
Programming Con-
sole
Task = program
(Cyclic task 0 is the main
program)
Only one can
be written.
(Cyclic task 0)
Several can be
written.
(Interrupt tasks
1 to 3, 100 to
131) (See
note.)
All can be
edited.
All can be
edited.

Table of Contents