![Omron CPM2A - 11-2005 Manual Download Page 33](http://html1.mh-extra.com/html/omron/cpm2a-11-2005/cpm2a-11-2005_manual_742517033.webp)
1-3
Section
Structure and Operation
12
1-3
Structure and Operation
1-3-1 CPU Unit Structure
The following diagram shows the internal structure of the CPU Unit.
External
input
devices
I/O memory
Program
PC Setup
Peripheral
port
Settings
Settings
Communications
processing
Settings
External
output
devices
RS-232C
port
Communica-
tions switch
Input circuits
Output circuits
The program reads and writes data in this memory area during execution. Part of
the I/O memory contains the bits that reflect the status of the PC’s inputs and
outputs. Parts of the I/O memory are cleared when the power is turned ON and
other parts are retained.
Note
Refer to
Section 3 Memory Areas
in the
Programming Manual
(W353) for more
details on I/O memory.
This is the program written by the user. The CPM2A executes the program cycli-
cally. (Refer to
1-3-5 Cyclic Operation
and Interrupts for details.)
The program can be divided broadly into two parts: the “main program” that is
executed cyclically and the “interrupt programs” that are executed only when the
corresponding interrupt is generated.
The PC Setup contains various startup and operating parameters. The PC Set-
up parameters can be changed from a Programming Device only; they cannot
be changed from the program.
Some parameters are accessed only when PC’s power supply is turned on and
others are accessed regularly while the power is on. It will be necessary to turn
the power off and then on again to enable a new setting if the parameter is ac-
cessed only when the power is turned on.
Note
Refer to
Section 1 PC Setup
in the
Programming Manual
(W353) for more de-
tails.
The Communications Switch determines whether the peripheral port and
RS-232C port operate with the standard communications settings or the com-
munications settings in the PC Setup.
I/O Memory
Program
PC Setup
Communications Switch