Lenze EPM−T9XX Modular system User Manual

Page 339

Advertising
background image

Parameterising 2/4xcounter module

2 × 32 bit counter with GATE, RES level−triggered and auto reload (modes 14 and 15)

12

Parameter setting via system bus (CAN) / CANopen

12.4

12.4.8

L

12.4−19

EDSPM−TXXX−9.0−11/2009

12.4.8

2 × 32 bit counter with GATE, RES level−triggered and auto reload (modes 14
and 15)

epm−t082

Fig. 12.4−26

Terminal assignment of the 2/4xcounter in the modes 14 and 15

In the modes 14 and 15, two 32−bit counters are available, which are controlled via
a gate signal (gate). A starting value and a comparison value can be assigned to
each counter.

These modes offer the function "Auto Reload". This means, that the Load Register
can be assigned with a value which is automatically loaded into the counter as
soon as it reaches the comparison value set.

The modules differ in having different counting directions:

Mode 14: Upcounter.
Mode 15: Downcounter

A HIGH level at input IN1 / IN4 (RES) sets the counter to zero.

If a HIGH level is applied to input IN3 / IN6 (GATE), the counter is incremented or
decremented by 1 with each LOW/HIGH edge.

The counter counts up to the value set in the compare register. With this last
LOW−HIGH edge the counter content is overwritten with the value set in the load
register. This is repeated until the input IN3 / IN6 (GATE) receives a LOW signal.

If an "Auto Reload" occurs, the signal level at the output OUT0 / OUT1 changes.
(A LOW−HIGH edge at the input IN1 / IN4 (RES) does not reset the output
OUT0 / OUT1.)

Terminal assignment

RES signal

GATE/CLK signal

OUT signal

Advertising