ADAM CPU 821x
Chapter 3 Deployment of the CPU 821x
ADAM 8000 Manual CPU 821x – Rev 1.1
3-3
Address allocation
To provide specific addressing of the installed peripheral modules, certain
addresses must be allocated in the CPU.
The CPU contains a peripheral area (addresses 0...1023) and a process
image of the inputs and the outputs (for both each address 0...127).
When the CPU is initialized it automatically assigns peripheral addresses to
the digital input/output modules starting from 0.
If there is no hardware projecting, analog modules are allocated to even
addresses starting from address 256.
The signaling states of the lower addresses (0...127) are additionally saved
in a special memory area called the
process image
.
The process image is divided into two parts:
•
process image of the inputs (PAE)
•
process image of the outputs (PAA)
Peripheral area
0
.
.
.
127
128
.
.
.
1023
Process image
0
.
.
.
127
0
.
.
.
127
Inputs
PAE
Outputs
PAA
Digital modules
Analog modules
The process image is updated automatically when a cycle has been
completed.
You may access the modules by means of read or write operations on the
peripheral bytes or on the process image.
Note!
Please remember that you may access different modules by means of read
and write operations on the same address.
The addressing ranges of digital and analog modules are different when
they are addressed automatically.
Digital modules: 0...127
Analog modules: 128...1023
Automatic
addressing
Signaling states in
the process image
Read/write access