Chapter 7 Usage of Various Functions
7-8
(d) 2-phase multiplication mode (MUL4)
- Up or Down is set automatically by the phase difference between A and B phase.
Up counter
- At the rising edge of A-Phase pulse when B-phase is ‘low’.
- At the falling edge of A-Phase pulse when B-phase is ‘high’.
- At the rising edge of B-Phase pulse when A-phase is ‘high’.
- At the falling edge of B-Phase pulse when A-phase is ‘low’.
Up counter
- At the rising edge of A-Phase pulse when B-phase is ‘high’.
- At the falling edge of A-Phase pulse when B-phase is ‘low’.
- At the rising edge of B-Phase pulse when A-phase is ‘low’.
- At the falling edge of B-Phase pulse when A-phase is ‘high’.
(3) Preset setting
(a) Internal Preset
- Set internal preset area and preset value.
- Current value of high speed counter is replaced with preset value at the rising edge of internal preset device.
(b) External Preset
- Set external preset area and preset value.
- External devices are fixed as following
Ch0 : P4, Ch1 : P5, Ch2 : P6, Ch3 : P7
- Current value of high speed counter is replaced with preset value at the rising edge of external preset device.
B-
p
hase in
p
ut
p
ulse
Current value
A
-
p
hase in
p
ut
p
ulse
10 11 12 13
14
15
16 17
18 17 16
15
14
13