Memory Allocation; Memory Mapping - Omron CJ1W-CT021 Operation Manual

High-speed counter units
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

Memory Allocation

4-2

Memory Allocation

4-2-1

Memory Mapping

The following figure shows how the 40 words in the Special I/O Unit Area (CIO)
and the 400 words in the Special I/O unit DM Area (DM) are mapped in the mem-
ory of the CPU-Unit.
An Indirect Address at the end of every Counter specific block in DM specifies
where the Range or Comparison Data of the corresponding Counter is allocated.
CIO Memory Mapping Output Words
n = CIO 2000 + (N x 10)
N = Machine Number
Range Memory Mapping
Comparison Memory Mapping
m = D 20,000 + (N x 100)
N = Machine Number
k1, k2 = Any available address in DM/EM
(Refer to 4-2-2 for more details about Indirect Addressing)
Note The Range/Comparison Data blocks that are allocated to the Counters do not
necessarily have to be consecutive and can be in any area of DM/EM. In case
they overlap the Unit reports this in CIO as a warning, but does not generate an
error. This makes it possible to define only one block with Range/Comparison
(Refer to 4-2-3 for details):
n
General
n+1
n+2
Counter 1
n+4
n+5
Counter 2
n+7
n+8
Not used
n+13
(Refer to 4-2-5 for details):
(Refer to 4-2-6 for details):
k1
Range / CV Settings
Counter 1
k2
Range / CV Settings
Counter 2
Section 4-2
CIO Memory Mapping Input Words
(Refer to 4-2-3 for details):
n+14
General
n+19
n+20
Counter 1
n+24
n+25
Counter 2
n+29
n+30
Not used
n+39
DM-Memory Mapping
(Refer to 4-2-4 for details):
General
Counter 1
Indirect Address k1
Counter 2
Indirect Address k2
Free DM
m
m+29
m+30
m+74
m+75
m+119
m+120
m+399
97

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents