Internal Structure Of The Cpu Unit; Overview - Omron CS1G/H-CPUxx-EV1 Programming Manual

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Internal Structure of the CPU Unit

1-3
Internal Structure of the CPU Unit
1-3-1

Overview

Auto-
matic
backup
Flash
memory
(CS1-H, CS1D, CJ1-H,
or CJ1M CPU Units only)
The User Program
Note
6
The following diagram shows the internal structure of the CPU Unit.
CPU Unit
User program
Memory Card
Access
I/O memory
EM file memory
Auto-
PLC Setup
matic
and other
backup
parameters
The user program is created from up to 288 program tasks, including interrupt
tasks. The tasks are transferred to the CPU Unit from the CX-Programmer
programming software.
There are two types of tasks. The first is a cyclic task that is executed once
per cycle (maximum of 32) and the other is an interrupt task that is executed
only when the interrupt conditions occur (maximum of 256). Cyclic tasks are
executed in numerical order.
1. With a CS1-H, CJ1-H, CJ1M, or CS1D CPU Unit, interrupt tasks can be
executed cyclically in the same way as cyclic tasks. These are called "extra
cyclic tasks." The total number of tasks that can be executed cyclically
must be 288 or less.
2. When using the CX-Programmer, use version 2.1 or higher for a CS1-H or
CJ1-H CPU Unit and version 3.0 or higher for a CJ1M CPU Unit (except for
low-end models), or CS1D CPU Units for Duplex-CPU Systems. When us-
ing a low-end CJ1M CPU Unit (CJ1M-CPU11/CPU21), use CX-Program-
mer version 3.3 or higher. When using a CS1-H, CJ1-H, CJ1M, or CS1D
CPU Unit Ver. 2.0 or later, use CX-Programmer version 4.0 or higher.
Program instructions read and write to I/O memory and are executed in order
starting at the top of the program. After all cyclic tasks are executed, the I/O
for all Units are refreshed, and the cycle repeats again starting at the lowest
cyclic task number.
Refer to the section on CPU Unit operation in the CS/CJ Series Operation
Manual for details on refreshing I/O.
The programm is divided
Task 1
into tasks and the tasks
are executed in order by
Task 2
task number.
Task n
I/O memory, PC Setup,
programs and the EM area
can be saved as files.
DIP switch
Section 1-3

Advertisement

Table of Contents
loading

Table of Contents