MAN0878-09-EN_XLE_XLT_UserManual
A u g u s t 2 3 , 2 0 1 8
P a g e 91 | 158
The accumulator is reset to zero on the specified edge if rotation is clockwise (as shown in
Figure 12.1 above). However, if rotation is reversed, the accumulator is alternately set to
Counts per rev
–
1 on that same physical edge. When direction is reversed, that same physical
edge is seen (by the internal decoder) as having the opposite edge polarity as shown below.
Table 12.1
–
Sync Pulse Mode
Mode
Direction A (HSC1) B (HSC2)
Marker
(HSC3)
Reset
Value
Async, Reset on rising edge
Rising
0
Async, Reset on falling edge
Falling
0
Async, Reset on both edge
Both
0
High, Reset on 1 rising
Clockwise
Rising
High
0
“
Counter
Falling
High
CPR - 1
Low, Reset on 1 rising
Clockwise
Rising
Low
0
“
Counter
Falling
Low
CPR - 1
High, Reset on 1 falling
Clockwise
Rising
High
CPR - 1
“
Counter
Falling
High
0
Low, Reset on 1 falling
Clockwise
Rising
Low
CPR - 1
“
Counter
Falling
Low
0
High, Reset on 2 rising
Clockwise
Rising
High
0
“
Counter
Falling
High
CPR - 1
Low, Reset on 2 rising
Clockwise
Rising
Low
0
“
Counter
Falling
Low
CPR - 1
High, Reset on 2 falling
Clockwise
Rising
High
CPR - 1
“
Counter
Falling
High
0
Low, Reset on 2 falling
Clockwise
Rising
Low
CPR - 1
“
Counter
Falling
Low
0
12.3 HSC Functions Register Map
Table 12.2
–
HSC Functions Register Map
Register
Frequency
Totalize
Pulse
Quad
%AI5-6
HSC1 (function) Accumulator
Quad 1 Acc
%AI7-8
HSC2 (function) Accumulator
%AI9-10
HSC3 (function) Accumulator
Quad 2 Acc
%AI11-12
HSC4 (function) Accumulator
%AQ1-2
HSC1 Preset
%AQ3-4
HSC2 Preset
%Q17
Clear HSC1
Clear Quad 1
%Q18
Clear HSC2
Set Quad 1
%Q19
Clear HSC3
Clear Quad 2
%Q20
Clear HSC4
Set Quad 2