Basic Function Principles

Four-channel linear path control can be implemented with the KL5121 Bus 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 encoder edge can be configured, so that positive edges, negative 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, and tracking the workpieces is not possible.

LED display

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

Connections

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

Operation modes

Set by the control byte:

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: