Description of functions – BECKHOFF KL5121 User Manual

Page 6

Advertising
background image

Description of functions

6

KL5121


Description of functions

Four-channel linear path control can be implemented with the KL5121
function terminal. For this purpose the terminal reads in the incremental
signal (which is either supplied by an encoder or by a pulse generator),
obtains the position of the workpiece from another input (latch), and
switches on the outputs at defined counter states which have previously
been stored in the form of a table. Automatic speed correction is carried
out separately for each channel (adjustable by means of registers in the
terminal). The workpiece’s sensor edge can be configured, so that rising
edges, falling edges or both may be used. The switching times for the
individual output channels are < 100 µS. A maximum of 60 switching
values can be entered, and the number for each channel can vary from 0
to 60. The counter is limited to 16 bits, a tracking of the workpieces is not
possible.

Operating modes

Set by the control byte:
- linear path control with 4 output channels
- alternative: PWM type of output with pre-set on and off times (nozzle

test)

LED display

The signal LEDs indicate the state of the sensor inputs A and B, the latch
and gate logic inputs and of the four outputs O1, O2, O3 and O4.

Process data

The KL5121 always occupies 6 bytes of input data and 6 bytes of output
data. The control/status byte is located at the lowest byte offset.
There are two logical data channels: data channel 0 to enable the output
functions and for reading in the status information, while data channel 1 is
used to transmit the switch values in the terminal’s output table.

Connections

The KL5121 has 4 logical 24 V inputs and 4 logical 24 V outputs, as well as
8 contacts for the 24 V DC supply of external devices.

A, B: sensor inputs (incremental encoder or pulse generator)
Latch (workpiece sensor input): the latch input recognises the workpiece,
with the result that the 16 bit counter is set to zero when the latch input is
activated. The latch input can be configured by way of the feature register.
Gate (enable input): the gate enables the latch input. The gate input can be
configured by way of the feature register.
O1, O2, O3, O4: 24 V switch output
24 V/0 V: 24 V DC supply voltage for the external devices (e.g. encoder)

Advertising