116
19 BUILT-IN I/O FUNCTION
19.1 High-speed Counter Function
■1 phase, 2 input counter
Counting method of 1 phase, 2 input counter is as follows.
■2 phase, 2 input counter [1 edge count]
Counting method of 2 phase, 2 input counter [1 edge count] is as follows.
■2 phase, 2 input counter [2 edge count]
Counting method of 2 phase, 2 input counter [2 edge count] is as follows.
Up/down counter Counter timing
At up-counting 1 count up when phase A input is ON and phase B input switches OFFON
At down-counting 1 count down when phase A input is ON and phase B input switches ONOFF
Up/down counter Counter timing
At up-counting 1 count up when phase A input is ON and phase B input switches OFFON
1 count up when phase A input is OFF and phase B input switches ONOFF
At down-counting 1 count down when phase A input is ON and phase B input switches ONOFF
1 count down when phase A input is OFF and phase B input switches OFFON
ON
OFF
-1 when OFF→ON
Down-counting input
ON
OFF
+1 when OFF→ON
Up-counting input
A-phase input
B-phase input
Current value
Up counting Down counting
-1+1+1
B-phase input
A-phase input
At down-countingAt up-counting
-1
-1+1+1
B-phase input
A-phase input
-1
At down-countingAt up-counting