142
Data Area Allocation
Appendix B
Note
Values in brackets are in hexadecimal.
Gate, Cumulative Gate, and Sampling Modes
DM Allocation
Bit
Word (Input)
n+2
n+3
n+4
n+5
n+6
n+7
n+8
n+9
00
Counter 1
present
value
x10
0
[x16
0
]
Counter 1
present
value
x10
4
[x16
4
]
Counter 2
present
value
x10
0
[x16
0
]
Counter 2
present
value
x10
4
[x16
4
]
Counter 1
counting
Error
location
x10
0
Counter 1
preset value
number
x10
0
Output
status of
each bit
1:ON,
0: OFF
01
Counter 1
Input Z
02
Counter 1
Control
input IN1
03
Counter 1
Control
input IN2
04
Counter 1
present
value
x10
1
[x16
1
]
Counter 1
present
value
x10
5
[x16
5
]
Counter 2
present
value
x10
1
[x16
1
]
Counter 2
present
value
x10
5
[x16
5
]
Counter 1
Counter
overflow
Error
location
x10
1
Counter 1
preset value
number
x10
1
05
Counter 1
Reset
06
Counter
operating
07
Unit busy
08
Counter 1
present
value
x10
2
[x16
2
]
Counter 1
present
value
x10
6
[0]
Counter 2
present
value
x10
2
[x16
2
]
Counter 2
present
value
x10
6
[0]
Counter 2
counting
Error code
x10
0
Counter 2
preset value
number
x10
0
---
09
Counter 2
Input Z
10
Counter 2
Control
input IN1
11
Counter 2
Control
input IN2
12
Counter 1
present
value
x10
3
[x16
3
]
Counter 1
present
value
0
Counter 2
present
value
x10
3
[x16
3
]
Counter 2
present
value
0
Counter 2
Counter
overflow
Error code
x10
1
Counter 2
preset value
number
x10
1
---
13
Counter 2
Reset
14
Data
transfer
completion
15
Error
DM
m
Present/Set value modes
0: BCD; 1: Hexadecimal
Not used.
Not used.
Operating mode
4: Gate mode
5: Cumulative gate mode
6: Sampling mode
m+1
Not used.
Counter 1 control input
0: External; 1: Internal
Counter 1 input type
m+2
Not used.
Counter 2 control input
0: External; 1: Internal
Counter 2 input type
m+3 to
m+99
Not used.
15
00
Summary of Contents for C200H-CT021
Page 1: ...C200H CT021 High speed Counter Unit Operation Manual Revised December 2000 ...
Page 2: ...iv ...
Page 4: ...vi ...