Parameterising 2/4xcounter module
2 x 32 bit counter with GATE (mode 35)
12
Parameter setting
12.4
12.4.18
l
12.4-51
EDSPM-TXXX-3.0-04/2004
12.4.18 2 x 32 bit counter with GATE (mode 35)
epm-t160
Fig. 12.4-68 Terminal assignment of the 2/4xcounter in the mode 35
Themode35offerstwo32-bitcounterswhichcanbeassignedwithastarting
value.
The counting direction is determined via the signal level at input IN3 / IN6 (DIR):
Upcounter: LOW level
Downcounter: HIGH level
Each LOW-HIGH edge at input IN2 / IN5 (CLK) increments and/or decrements the
counter by 1, respectively.
During the counting process, a HIGH level must be applied to input IN1 / IN4
(GATE). With a LOW level the counter content is frozen.
When the counter reaches zero, the output OUT0 / OUT1 is set to HIGH level for
at least 100 ms, even if the counter continues to count. When the counter stops
at zero, the output OUT0 / OUT1 remains on the HIGH level.
Terminal assignment
DIR signal
CLK signal
GATE signal
OUT signal