69
If is , must be .If not counting is not
performed.
If is , must be .If not counting is not
performed.
i
i
x2 Phase Shifting
(for incremental encoders)
Upcount on rising edge of Ch-A when Ch-B is at 0
Downcount on rising edge of Ch-A when Ch-B is at 1
Upcount on falling edge of Ch-A when Ch-B is at 1
Downcount on falling edge of Ch-A when Ch-B is at 0
Start
Value = 5
Start
Value = 14
Counting to
upwards
Counting to
downwards
Value on
the Screen
Value on
the Screen
Ch-A
6
7
9
Ch-B
8
10
Ch-A
9
8
7
6
11
10
13 12 11 10
9
8
9
10
11
12
13
5
14
Encoder is travelling
in the Reverse Direction
Encoder is travelling
in the Forward Direction
x4 Phase Shifting
(for incremental encoders)
Upcount on rising edge of Ch-A when Ch-B is at 0
Downcount on falling edge of Ch-A when Ch-B is at 0
Downcount on rising edge of Ch-A when Ch-B is at 1
Upcount on falling edge of Ch-A when Ch-B is at 1
Downcount on rising edge of Ch-B when Ch-A is at 0
Upcount on falling edge of Ch-B when Ch-A is at 0
Upcount on rising edge of Ch-B when Ch-A is at 1
Downcount on falling edge of Ch-B when Ch-A is at 1
Start
Value = 5
Value
on the
Screen
Start
Value = 17
Value
on the
Screen
Counting to
upwards
Counting to
downwards
Ch-A
Ch-B
Ch-A
Ch-B
6 7
9
8
10 11 12 13 14 15 16
17
16
15
14
13
12
11
10
9
8
7
6
16 15 14 13 12 11 10
9
8
7 6
5
6
7
8
9
10
11
12
13
14
15
16
Encoder is travelling
in the Reverse Direction
Encoder is travelling
in the Forward Direction