![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262038.webp)
3
CPU Unit Operation
3-2
CP2E CPU Unit Software User’s Manual(W614)
3-1
CPU Unit Operation
This section gives an overview of the CPU Unit operation, describes the operating modes, and explains
how the Unit operates when there is a power interruption.
The CPU Unit reads and writes data to the internal I/O memory areas while executing user ladder pro-
grams by executing the instructions in order one at a time from the start to the end.
Self-diagnosis, such as an I/O bus check, is performed.
Instructions are executed from the beginning of the program and I/O memory is refreshed.
Data to and from external devices, such as sensors and switches, directly connected to the built-in I/O
terminals and expansion I/O terminals, is exchanged with data in the I/O memory of the PLC. This pro-
cess of data exchange is called the I/O refresh.
Peripheral servicing is used to communicate with devices connected to the communications port or for
exchanging data with the CX-Programmer.
The cycle time is the time between one I/O refresh and the next.
3-1-1
Overview of CPU Unit Operation
Overhead Processing (Self-diagnosis)
Ladder Program Execution
I/O Refresh
Peripheral Servicing
Cycle Time
0 0 1 1 1 0 1 0
1 1 0 1 1 0 0 0
1 0 1 0 1 0 0 1
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
1 0 1 1 1 0 1 1
1 1 0 0 1 0 1 0
1 0 0 0 1 1 0 1
0 1 0 1 0 1 0 0
0 1 1 0 1 0 1 0
CPU Unit Internal Memory
CPU Unit
processing
cycle
O
v
erhead processing
(self-diagnosis)
Program exec
u
tion
I/O refreshing
Peripheral ser
v
icing
Access
I/O memory
Change in stat
u
s
after all instr
u
ctions
ha
v
e
b
een exec
u
ted
Exchange
Refreshes external de
v
ices at this timing
Inp
u
ts
O
u
tp
u
ts
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......