
Bidirectional counters:
MODE
U
P-
DO
I
ND
EP
A counts up. B counts down.
1
process
input A
input B
0 -1
2
3
0 1
0
1
MODE
U
P-
DO D
I
R
EC
A counts up if B is ‘0’ and counts down if B is ‘1’
1
process
input A
input B
2 3 4 3
-1 2
0
MODE
U
P-
DO
PHASE
Rising edge of A counts up if B is ‘0’. Falling edge of A
counts down if B is ‘0’.
1
process
input A
input B
2 3
1
2
1
0
2
CndSP
PrOC
tOtAL
PrO
dCdiS
OFFSEt
dcFAC
FACdi
nO
dCtOt
dCFAC
YES
FACtO
Programming diagram of the
DISPLAY in MODE: COUNTER
18
18
Bidirectional counters:
MODE
U
P-
DO
I
ND
EP
A counts up. B counts down.
1
process
input A
input B
0 -1
2
3
0 1
0
1
MODE
U
P-
DO D
I
R
EC
A counts up if B is ‘0’ and counts down if B is ‘1’
1
process
input A
input B
2 3 4 3
-1 2
0
MODE
U
P-
DO
PHASE
Rising edge of A counts up if B is ‘0’. Falling edge of A
counts down if B is ‘0’.
1
process
input A
input B
2 3
1
2
1
0
2
CndSP
PrOC
tOtAL
PrO
dCdiS
OFFSEt
dcFAC
FACdi
nO
dCtOt
dCFAC
YES
FACtO
Programming diagram of the
DISPLAY in MODE: COUNTER