4-4
Section
LR Area
53
4-3-3 Example Allocations
An example of a possible configuration for exchanging data using the words allo-
cated in DM Area is shown below. In this example, the unit number = 0 and the
first word in the words allocated in DM Area (m) is D20000.
Customizable Counter Unit
CPU Unit
General-purpose words
User-set words
Words allocated in DM Area
40
50
m+10: D20010
m+49: D20049
m+50: D20050
m+99: D20099
DM0100
DM0139
DM0600
DM0649
General-pur-
pose words
User-set words
General-pur-
pose words
to
to
General-pur-
pose output
words
General-pur-
pose input
words
to
to
For the configuration shown above, set m+1 to m+5 of the words allocated in DM
Area as shown below.
Initial Setting Area
Sets 50 and 10 (offset values) as the first word addresses of the input and output
area in the words allocated in DM Area.
Sets the DM Area (0 Hex) as the area and 40 words as the number of the output
area in the Customizable Counter Unit.
Sets the first word address of the output area in the Customizable Counter
Unit to 100 (BCD).
Sets the DM Area (0 Hex) as the area and 50 words as the number of the
input area in the Customizable Counter Unit.
Bit
Sets the first word address of the input area in the
Customizable Counter Unit to 600 (BCD).
5
0
1
0
15
12
08 07
00
0
0
4
0
0
1
0
0
0
0
5
0
0
6
0
0
m+1: D20001
m+2: D20002
m+3: D20003
m+4: D20004
m+5: D20005
4-4
LR Area
4-4-1 Data Exchange Using the LR Area
An example of a possible configuration for exchanging data using the LR Area is
shown below.
Customizable Counter Unit
CPU Unit
LR Area
General-purpose words
D00100
D00109
W300
W319
LR00
LR09
LR10
LR29
to
to
Output
words
Input
words
General-
purpose
input
words
General-
purpose
output
words
to
to
10 words (0A Hex)
20 words (14 Hex)
The configuration for exchanging data using the LR Area is set in the Unit Setup
Area as shown below.
Summary of Contents for CS1 -
Page 1: ...Cat No W378 E1 1 Customizable Counter Units SYSMAC CS1 CS1W HI001 HCP22 HCA22 OPERATION MANUAL...
Page 2: ......
Page 3: ...CS1W HIO01 HCP22 HCA22 Customizable Counter Units Operation Manual Produced January 2001...
Page 4: ...iv...
Page 6: ...vi...
Page 10: ......
Page 20: ......
Page 40: ......
Page 60: ......
Page 146: ......
Page 166: ......