LOGO! manual
EWA 4NEB 712 6006-02
34
3.5.11 Up and down counter
The symbol for the up/down counter is as follows:
Cnt
Dir
Par
R
Q
R input You reset the internal count value and the output to zero via the R
(reset) input (R has priority over Cnt).
Cnt input The counter counts the changes from state 0 to state 1 at the Cnt
(count) input. Changes from state 1 to state 0 are not counted. Max-
imum count frequency at the input connectors: 5 Hz
Dir input You specify the count direction via the Dir (Direction) input:
Dir = 0: The counter counts up
Dir = 1: The counter counts down
The counter counts from 0 to 9999. In the event of overrunning or
underrunning, the counter stops.
Par parameter If the internal count value is greater than or equal to Par (Parame-
ter), the output is set. Par can be anything between 0 and 9999.
Timing diagram
R
Dir
Par
Cnt
0
Q
intern
count
value
Programming LOGO!