Memory Allocation
Section 4-2
65
Example Comparison Mode
Unit is in Comparison Mode. You want to use 5 Comparison Values (CV 0 to
Range 4) for Counter 1 and want to allocate them in Extended Memory starting
from EM520.
For an overview of all addresses related to Comparison Data refer to section 4-2-
6
4-2-3
CIO-Memory Mapping
The Counter Unit is allocated 34 Words in CIO. These 34 Words are divided in 13
Output Words (n to n+13) and 21 Input Words (n+13 to n+34).
Note
Double words in CIO are indicated as for example “n+3, n+4”. How to distinguish
between the least- and most significant words (LSW and MSW) within double
words, you should refer to section the section called
“About this Manual”
at the
beginning of this Manual.
CNT1:
m+26
0
5
5 Comparison Values
m+27
0
Memory Area is EM
m+28
0
5
2
0
Indirect Address is 520
m+29
0
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
Comparision Value
+Set Pattern
+Reset Pattern
Data CV 0
Data CV 1
Data CV 2
Data CV 3
EM520
5 x 10 words =
50 words
EM:
EM530
EM540
EM550
EM520
EM521
EM522
EM523
EM524
EM525
Data CV 0:
Data CV 4
EM560
-Set Pattern
-Reset Pattern
EM526
EM527
EM528
EM529