Selection of encoder type (Counter mode)

To ensure a correct acquisition of the counter value, you must first select the appropriate encoder type.

The connected encoder is selected via index 0x80n1:1D “Counter mode”. Explanations of the supported encoder and signal types can be found in chapter “Supported encoder/signal types”.

Choice of the encoder via the index 0x80n1:1D “Counter mode
(n = 0 for Ch.1, n = 1 for Ch.2, depending on the number of channels)

Value

Meaning

0: Encoder RS422 (diff. input)

RS422 encoder with or without zero pulse

1: Counter RS422 (diff. input)

RS422 counter/pulse generator, with or without zero pulse.
Direction preset via track B

2: Encoder TTL (single ended)

TTL encoder with or without zero pulse

3: Counter TTL (single ended)

TTL counter/pulse generator with or without zero pulse.
Direction preset via track B

4: Encoder open collector

Open collector encoder with or without zero pulse

5: Counter open collector

Open collector counter/pulse generator with or without zero pulse.
Direction preset via track B

In the following sections, the settings under subindices 0, 2 and 4 are generally referred to as “encoder” and the settings under subindices 1, 3 and 5 as “counter/pulse generator”.

Selection of encoder type (Counter mode) 1:

Enabling error detection for the C track

By default, error detection on the C track is disabled; the index 0x80n0:0D “Error detection C” is set to FALSE by default.

If an encoder or counter/pulse generator with zero pulse C is used, index 0x80n0:0D “Error detection C” can be set to TRUE at the module. The corresponding LED will then also indicate the error.