Operating Modes

Inputs and outputs which are not used by the counters, are available for other tasks. In the following table, A means input channel A, B means input channel B and C means output channel C.

Operating mode Function Used inputs and outputs Notes
0 No counter none This operating mode is selected if the integrated fast counter is not necessary.
1 One up-counter

A = Counting input

C = End value reached

The counting input and the output “End value reached) are enabled by the bit EN = TRUE within the control byte.
2 One up-counter with enable input via terminal

A = Counting input

B = Enable input

C = End value reached

The enable input enables the counting input and the output “end value reached” as well. The counter is only enabled if the enable input = TRUE (signal 1) AND the bit EN = TRUE within the control byte.
3 Two up/down counters

A = Counting input 0

B = Counting input 1

With this operating mode, two counters, which are independent of each other, exist. The state “End value reached” is only readable from the two status bytes, not from output terminals.

The counting direction is defined by the bit UP/DWN within the control byte.

4 Two up/down counters (1 counting input inverted)

A = Counting input 0

B = Counting input 1

This operating mode equals operating mode 3 with one exception: The counting input B (of counter 1) is inverted. It counts the TRUE/FALSE edges at input B.
5 One up/down counter with a dynamic set input via terminal

A = Counting input

B = Dynamic set

input

With this operating mode, one up/down counter is available which has a dynamic set input. Dynamic means that the set operation is performed at the FALSE/TRUE signal edge (0/1 edge) of the set input and not while the signal is TRUE.

The state “End value reached” is only readable from the status byte, not from an output terminal.

6 One up/down counter with a dynamic set input via terminal

A = Counting input

B = Dynamic set

input

This operating mode equals operating mode 5 with one exception: The dynamic set input operates at the TRUE/FALSE edge (1-0 edge).
7 One up/down counter for position sensors

A = Trace A of the

position sensor

B = Trace B of the

position sensor

With this operating mode, incremental position sensors can be used which interchange their counting signals on tracks A and B in a 90° phase sequence. Depending on the sequence of the signals at A and B, the counter counts up or down. There is no pulse-multiplier function (e.g. x2 or x4). The position sensor must provide 24 V signals. Signals of 5 V sensors must be converted. Zero traces are not processed. The state “End value reached” is only readable from the state byte 0, not from an output terminal.

The bit UP/DWN within the control byte must be FALSE. Otherwise, a parameter error occurrs.

In this operating mode, the maximum counting frequency is 35 kHz.

8 Reserved    
9 One up/down counter for position sensors (pulse multiplier x2)

A = Trace A of the

position sensor

B = Trace B of the

position sensor

This operating mode equals operating mode 7 with one exception: There is a pulse multiplication x2 with the evaluation of the counting inputs. This means, that the counter counts both the positive edges and the negative edges of trace A. This results in the double number of counting pulses. The precision increases correspondingly.

In this operating mode, the maximum counting frequency is 30 kHz.

10 One up/down counter for position sensors (pulse multiplier x4)

A = Trace A of the

position sensor

B = Trace B of the

position sensor

This operating mode equals operating mode 7 with one exception: There is a pulse multiplication x4 with the evaluation of the counting inputs. This means that the counter counts the positive and negative edges of the traces A and B. This results in the fourfold number of counting pulses. The precision increases correspondingly.

In this operating mode, the maximum counting frequency is 15 kHz.