Parameterising 2/4xcounter module
Encoder with G/RES (modes 28 ... 30)
12
Parameter setting
12.4
12.4.15
l
12.4-41
EDSPM-TXXX-3.0-04/2004
12.4.15 Encoder with G/RES (modes 28 ... 30)
epm-t144
Fig. 12.4-55 Terminal assignment of the 2/4xcounter in the modes 28 ...30
The modes 28 to 30 offer two encoders that can be pre-assigned with a starting
value.
The modes differ in the number of edges which are evaluated:
Mode 28: 1 edge
Mode 29: 2 edges
Mode 30: 4 edges
See signal characteristics.
During the counting process a HIGH level must be applied to input IN1 / IN4
(G/RES). With a LOW level the counter content is frozen. With a rising edge at the
input IN1 / IN4 (G/RES) the counter is deleted.
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
A/ B signal
G/RES signal
OUT signal