4 32 bit counter (mode 1), 32 bit counter (mode 1) – Lenze EPM−T9XX Modular system User Manual

Page 397

Advertising
background image

Parameterising 1xcounter/16xdigital input module

32 bit counter (mode 1)

12

Parameter setting via system bus (CAN) / CANopen

12.6

12.6.4

L

12.6−7

EDSPM−TXXX−9.0−11/2009

12.6.4

32 bit counter (mode 1)

In the mode 1 the counter operates as a 32−bit counter. The counter can be
pre−assigned with a starting value via the Rx PDO.

The counting range lies between 0 and +4.294.967.295. As soon as the upper limit
(when counting upwards) has been reached, the count value jumps to the lower
count limit. The moment, the lower count limit (when counting downwards) has
been reached, the count value jumps to the upper count limit.

A HIGH level in byte 4 (Control), bit 3 (Clear) sets the counter to zero.

When bit 2 (Load) changes from LOW to HIGH in byte 4 (Control), the counter is
pre−assigned with the starting value from byte 0 to 3 (Data In).

The software gate which releases the counting process, is opened, when bit 0
(Start) in the byte 4 (Control) has HIGH level. It is closed as soon as bit 1 (Stop) has
HIGH level.

With the software gate open: With every rising edge of signal A (E.0) the counter
is either incremented or decremented by 1.

The counting direction is determined via the level of signal B (E.1):

Upcounter: LOW level
Downcounter: HIGH level

epm−t177

Fig. 12.6−7

Counter access of 1xcounter/16xdigital input in the mode 1

Clear signal

Load signal

Start/stop signal

A/B signal

Counter access

Advertising