2 parameterising 2/4xcounter module, 1 parameter data, Parameterising 2/4xcounter module – Lenze EPM−T9XX Modular system User Manual
Page 435: Parameter data, 13 parameter setting via profibus−dp, Parameterising 2/4xcounter module parameter data, Stop
Parameterising 2/4xcounter module
Parameter data
Parameter setting via PROFIBUS−DP
13.2
13.2.1
L
13.2−1
EDSPM−TXXX−9.0−11/2009
13.2
Parameterising 2/4xcounter module
13.2.1
Parameter data
The operating mode of the 2/4xcounter (e.g. 2 x 32−bit counter or 4 x 16−bit
counter) can be determined by assigning each channel (counter 0 and counter 1)
a mode via the parameter data.
(
Stop!
Depending on the mode setting, the terminal assignment of the
counter module changes!
For the 2/4xcounter, 2 bytes of parameter data are available.
The parameter data follow the assignment below:
Byte
Assignment
Lenze setting
0
Mode, counter 0
Selecting the modes
00
h
1
Mode, counter 1
00
h
Counter mode overview
Mode of
Function
IN1
IN2
IN3
IN4
IN5
IN6
OUT0
OUT1
Auto
Reload
Compare
Load
[h]
[dec]
2 counters
0
1
00
h
0
32−bit counter
RES
CLK
DIR
RES
CLK
DIR
·
·
–
–
01
h
1
Encoder 1 edge
RES
A
B
RES
A
B
·
·
–
–
03
h
3
Encoder 2 edges
RES
A
B
RES
A
B
·
·
–
–
05
h
5
Encoder 4 edges
RES
A
B
RES
A
B
·
·
–
–
4 counters
0.1
0.2
1.1
1.2
08
h
8
2 × 16−bit counters
(counting direction up/up)
–
CLK
CLK
–
CLK
CLK
–
–
–
–
09
h
9
2 × 16−bit counters
(counting direction down/up)
–
CLK
CLK
–
CLK
CLK
–
–
–
–
0A
h
10
2 × 16−bit counters
(counting direction up/down)
–
CLK
CLK
–
CLK
CLK
–
–
–
–
0B
h
11
2 × 16−bit counters
(counting direction down/down)
–
CLK
CLK
–
CLK
CLK
–
–
–
–
2 counters
0
1
0C
h
12
2 × 32−bit counters
(counting direction up)
RES
CLK
GATE
RES
CLK
GATE
·
·
–
ü
0D
h
13
2 × 32−bit counters
(counting direction down)
RES
CLK
GATE
RES
CLK
GATE
·
·
–
ü
0E
h
14
2 × 32−bit counters
(counting direction up)
RES
CLK
GATE
RES
CLK
GATE
·
·
ь
ь
0F
h
15
2 × 32−bit counters
(counting direction down)
RES
CLK
GATE
RES
CLK
GATE
·
·
ь
ь
1 counter
0/1
10
h
16
Frequency measuring
RES
CLK
START
STOP
–
–
·
·
–
ü
11
h
17
Measuring the period
RES
CLK
START
STOP
–
–
·
·
–
ü
12
h
18
Frequency measuring
(Counter output on/off)
RES
CLK
START
STOP
–
–
·
·
–
ь