5 selecting the counter modes epm-t410, Selecting the counter modes epm−t410, Function library lenzeiosystem.lib – Lenze DDS Function library IOSystem User Manual
Page 80: Appendix, 5 selecting the counter modes epm−t410
6.5
Selecting the counter modes EPM−T410
Function library LenzeIOSystem.lib
Appendix
6−10
L
LenzeIOSystem.lib EN 1.7
6.5
Selecting the counter modes EPM−T410
Mode
Function
IN1
IN2
IN3
IN4
IN5
IN6
OUT0
OUT1
Auto
Reload
Compare
Load
[hex]
[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 upwards/upwards)
–
CLK
CLK
–
CLK
CLK
–
–
–
–
09
h
9
2 × 16 bit counters
(counting direction downwards/upwards)
–
CLK
CLK
–
CLK
CLK
–
–
–
–
0A
h
10
2 × 16 bit counters
(counting direction downwards/upwards)
–
CLK
CLK
–
CLK
CLK
–
–
–
–
0B
h
11
2 × 16 bit counters
(counting direction downwards/upwards)
–
CLK
CLK
–
CLK
CLK
–
–
–
–
2 counters
0
1
0C
h
12
2 × 32 bit counters (counting direction
upwards)
RES
CLK
GATE
RES
CLK
GATE
·
·
–
ü
0D
h
13
2 × 32 bit counters (counting direction
downwards)
RES
CLK
GATE
RES
CLK
GATE
·
·
–
ü
0E
h
14
2 × 32 bit counters (counting direction
upwards)
RES
CLK
GATE
RES
CLK
GATE
·
·
ь
ь
0F
h
15
2 × 32 bit counters (counting direction
downwards)
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
(output counter runs/stops)
RES
CLK
START
STOP
–
–
·
·
–
ü
13
h
19
Measuring the period
(output counter runs/stops)
RES
CLK
START
STOP
–
–
·
·
–
ü
2 counters
0
1
06
h
6
Measuring the pulse width
(f
ref
50 kHz, counting direction selectable)
RES
PULSE
DIR
RES
PULSE
DIR
–
–
–
–
14
h
20
Measuring the pulse width
(f
ref
programmable, counting direction
selectable)
RES
PULSE
DIR
RES
PULSE
DIR
–
–
–
–
15
h
21
Measuring the pulse width
(f
ref
programmable, counting direction
upwards)
RES
PULSE
DIR
RES
PULSE
GATE
–
–
–
–
16
h
22
Measuring the pulse width
(f
ref
programmable, counting direction
downwards)
RES
PULSE
DIR
RES
PULSE
GATE
–
–
–
–
2 counters
0
1
17
h
23
2 × 32 bit counters
(counting direction upwards, set function)
RES
CLK
GATE
RES
CLK
GATE
–
–
–
ü
18
h
24
2 × 32 bit counters
(counting direction upwards, set function)
RES
CLK
GATE
RES
CLK
GATE
–
–
–
ü
19
h
25
2 × 32 bit counters
(counting direction upwards, reset function)
RES
CLK
GATE
RES
CLK
GATE
–
–
–
ü
1A
h
26
2 × 32 bit counters
(counting direction upwards, reset function)
RES
CLK
GATE
RES
CLK
GATE
–
–
–
ü
2 counters
0
1
1B
h
27
32 bit counter
G/RES
û
CLK
DIR
G/RES
û
CLK
DIR
·
·
–
–
1C
h
28
Encoder 1 edge
G/RES
û
A
B
G/RES
û
A
B
·
·
–
–