Function library lenzeiosystem.lib, Appendix, 5 selecting the counter modes epm−t410 – Lenze DDS Function library IOSystem User Manual

Page 81

Advertising
background image

Function library LenzeIOSystem.lib

Appendix

6.5

Selecting the counter modes EPM−T410

6−11

L

LenzeIOSystem.lib EN 1.7

Mode

Compare

Load

Auto

Reload

OUT1

OUT0

IN6

IN5

IN4

IN3

IN2

IN1

Function

[hex]

Compare

Load

Auto

Reload

OUT1

OUT0

IN6

IN5

IN4

IN3

IN2

IN1

Function

[dec]

1D

h

29

Encoder 2 edges

G/RES

û

A

B

G/RES

û

A

B

·

·

1E

h

30

Encoder 4 edges

G/RES

û

A

B

G/RES

û

A

B

·

·

2 counters

0

1

1F

h

31

2 × 32 bit counters (counting direction
downwards)

RES

û

CLK

GATE

RES

û

CLK

GATE

·

·

ü

20

h

32

2 × 32 bit counters (counting direction
downwards)

RES

û

CLK

GATE

RES

û

CLK

GATE

·

·

ü

21

h

33

2 × 32 bit counters (counting direction
downwards)

RES

û

CLK

GATE

RES

û

CLK

GATE

·

·

ь

ь

22

h

34

2 × 32 bit counters (counting direction
downwards)

RES

û

CLK

GATE

RES

û

CLK

GATE

·

·

ь

ь

·

Digital output may signal an event.

ü

Function available.

No function / function not available.

A

Encoder signal A

Auto Reload

Auto Reload causes the counter to accept a preset value as soon
as the counter reading matches the Compare register content.

B

Encoder signal B

Compare Load You may use Compare Load to specify a counter limit value to

trigger an output or to restart the counters via Auto Reload when it
is reached.

CLK

Clock signal of a linked encoder

HIGH: Starts or stops the counting

DIR

Indicates counting direction depending on signal level.

LOW: Upcounter

HIGH: Downcounter

GATE

Gate signal level−triggered

HIGH: Pulses are measured

G/RES

û

Gate signal level−triggered and reset signal edge−triggered

HIGH: Pulses are measured

LOW−HIGH edge: Resets one or both counter(s)

PULSE

The pulse width of the supplied signal is measured with an internal
time base

RES

Reset signal level−triggered

HIGH: Resets one or both counter(s)

RES

û

Reset signal edge−triggered

LOW−HIGH edge: Resets one or both counter(s)

START

Start signal edge−triggered

STOP

Stop signal edge−triggered

Advertising