12 measuring the pulse width with gate, f, Programmable (modes 21 and 22) – Lenze EPM−T9XX Modular system User Manual
Page 352

Parameterising 2/4xcounter module
Measuring the pulse width with GATE, fref programmable (modes 21 and 22)
Parameter setting via system bus (CAN) / CANopen
12.4
12.4.12
L
12.4−32
EDSPM−TXXX−9.0−11/2009
12.4.12
Measuring the pulse width with GATE, f
ref
programmable (modes 21 and 22)
1
2
3
4
5
6
7
8
9
10
GND
+24 V DC
IN1 (RES)
IN2 (PULSE)
IN3 (GATE)
Out0
Counter
0
Counter
1
IN4 (RES)
IN5 (PULSE)
IN6 (GATE)
Out1
epm−t098
Fig. 12.4−41
Terminal assignment of the 2/4xcounter in the modes 21 and 22
The pulse widths of the signal at the input IN2 / IN5 (PULSE) are measured with a
programmable time base (f
ref
, see figure Counter access").
The modules differ in having different counting directions:
Mode 21: Upcounter.
Mode 22: Downcounter
The measuring process is enabled with a HIGH level at input IN3 / IN6 (GATE).
The measuring process starts with a HIGH−LOW edge at input IN2 / IN5 (PULSE)
and ends with the LOW−HIGH edge.
A LOW−HIGH edge of the measured signal stores the pulse width with the unit
1/f
ref
. This result can be found and read out in the data output range until the next
result appears.
During the counting process, a LOW level must be applied to input IN1 / IN4 (RES).
A HIGH level deletes the counter.
Output OUT0 / OUT1 has no function.
)
Note!
The measuring process is terminated only if a HIGH level is
applied at input IN3 / IN6 (GATE) for the complete duration of the
measuring process.
Terminal assignment
GATE/CLK signal
PULSE signal
RES signal
OUT signal