E L C P r o g r a m m i n g M a n u a l
F o r m o r e i nf o r m a t i o n v i sit :
w w w. e a t o n . c o m
MN05003003E
3-118
Counter
C238 C239 C240 C241 C242
DHSCS
Hi-speed
interrupt I040 I050 I060 I070 I080
Hi-speed compare Set/Reset
C232~C242 share 6 software comparators
d) Block diagram of software counters and comparators:
Software
Counter
1
Software
counter
2
Software
counter
8
Count value
Software
comparator
x 6
1
2
6
Set / reset
Set / reset
Set / reset
5. Hardware
comparators:
a) There are 2 groups of hardware comparators provided respectively for 2 groups of hardware
counters (A group and B group). Each group shares 4 comparators with individual Compare
Set/Reset functions.
b) When programming the DHSCS and DHSCR instructions, the total of Set/Reset
comparisons for both instructions can not be more than 4, otherwise a syntax check error will
occur.
c) Each high-speed counter interrupt occupies an associated hardware comparator;
consequently the interrupt number can not be repeated. Also, I010~I040 can only be applied
for group A comparators and I050~I080 for group B.
d) If DCNT instruction enables C243 as high speed counter (group A) and DHSC/DHSC
instruction uses C245 as high speed counter (group A) at the same time, the ELC takes
C243 as the source counter automatically and no syntax check error will occur.
e) Table of settings for hardware counters and comparators:
A group
B group
Hardware counter
A1 A2 A3 A4 B1 B2 B3 B4
Counter No.
C243, C245~C248,
C251,C252
C244, C249, C250, C253,
C254
High-speed counter interrupt I010
I020
I030
I040
I050
I060
I070 I080
Hi-speed compare Set/Reset
Share 4 hardware
comparators for group A
Share 4 hardware
comparators for group B
f) Block diagram of hardware counters and comparators:
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...