68
i
If is , must be .If not counting is not
performed.
Upcount on rising edge of Ch-A input
Upcount on rising edge of Ch-B input
Start
Value = 0
Start
Value = 8
Counting to
upwards
Counting to
downwards
Value on
the Screen
Upcount on rising edge of Ch-A input when Ch-B is at 0
Downcount on rising edge of Ch-A when Ch-B is at 1
Ch-A
Start
Value = 0
Ch-B
Start
Value = 8
Counting to
upwards
Counting to
downwards
UP
UP
DOWN
x1 Phase Shifting
(for incremental encoders)
Upcount on rising edge of Ch-A input when Ch-B is at 0
Downcount on rising edge of Ch-A input when Ch-B is at 1
Start
Value = 5
Start
Value = 8
Value on
the Screen
Value on
the Screen
Value on
the Screen
Counting to
upwards
Counting to
downwards
Value on
the Screen
Value on
the Screen
Ch-A
1
2
4
6
Ch-B
3
5
7
7
6
4
2
5
3
1
1
2
0
1
1
7
6
8
7
7
Ch-A
6
7
9
Ch-B
8
10
7
6
4
5
3
Ch-A
9
8
7
6
4
5
6
7
Encoder is travelling
in the Reverse Direction
Encoder is travelling
in the Forward Direction