Basic Function Principles

The KL5101 incremental encoder interface terminal enables the connection of any incremental encoder to the Bus Coupler or PLC. A 16-bit counter with a quadrature decoder and a 16-bit latch can be read, set or enabled. In addition to the encoder inputs A, B and C, an additional latch input G1 (24 V) and a gate input G2 (24 V) for locking the counter are available.

It is also possible for the 16-bit up/down counter operating mode to be selected. In this mode, input B is the counter input.

1, 2, or 4-fold evaluation of the encoder signals A, B, C in simple or complementary form can be parameterized via the fieldbus.

The terminal is supplied as a 4-fold quadrature decoder with complementary evaluation of the sensor signals A, B, C. To operate the encoder interface, the 24 VDC operating voltage must be connected to the terminal contacts in addition to the encoder inputs.

From hardware version 03 (i.e. from 18 June 1998) the KL5101 is delivered with new, additional features:

Operation modes

Can be set via the feature register (default setting incremental encoder):
A, B, zero pulse incremental encoder (default)

Up/down counter with:

Functions

Process data

The KL5101 always occupies 6 bytes of input data and 6 bytes of output data. The control/status byte is located at the lowest byte offset. The data word D0/D1 contains the counter word (read/set), the data word D3/D4 contains the latch word (read). In period duration measurement mode, the period duration is output in D2 together with D3/D4.

LED display

The signal LEDs indicate the states of the encoder inputs A, B, C and the status input, as well as the state of the logic inputs of the gate and the additional external latch. The RUN LED indicates cyclic data exchange with the higher-level controller. If no process data is exchanged for 100 ms, the RUN LED goes out. The Power UE LED indicates the operating voltage for the power supply of the incremental encoder.

Contact assignment

Basic Function Principles 1:
Contact assignment