Mitsubishi Electronics FX5 User Manual

Page of 306
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 OFF
ON
At down-counting
1 count down when phase A input is ON and phase B input switches ON
OFF
Up/down counter
Counter timing
At up-counting
1 count up when phase A input is ON and phase B input switches OFF
ON
1 count up when phase A input is OFF and phase B input switches ON
OFF
At down-counting
1 count down when phase A input is ON and phase B input switches ON
OFF
1 count down when phase A input is OFF and phase B input switches OFF
ON
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-counting
At up-counting
-1
-1
+1
+1
B-phase input
A-phase input
-1
At down-counting
At up-counting