beautypg.com

Terminal configuration – BECKHOFF KL4112 User Manual

Page 7

background image

Terminal configuration

KL4112

7


Terminal configuration

The terminal can be configured and parametrized by way of the internal
register structure.

Each terminal channel is mapped in the bus coupler. The terminal’s data is
mapped differently in the bus coupler’s memory depending on the type of
the bus coupler and on the set mapping configuration (eg.Motorola / Intel
format, word alignment,...). For parametrization of a terminal, the con-
trol/status byte must also be mapped.

Beckhoff Lightbus
Coupler BK2000

In the case of the Beckhoff-Lightbus coupler BK2000, the control /status
byte is always mapped besides the data bytes. It is always in the low byte
at the offset address of the terminal channel.

0

Offset Terminal1 Channel1 = 0

Offset Terminal2 Channel1 = 4

KL4112

Offset Terminal2 Channel2 = 8
User data allocation depending
on mapping

K-Bus

Beckhoff-Lightbus
bus coupler
BK2000

To the bus terminal

L

H

C/S - 0

D0 - 0

D0 - 1

D1 - 0

D1 - 1

C/S - 1

C/S

C/S

Data L

Data H

Data H Data L

C/S

The terminal is
mapped in the
bus coupler.

Profibus Coupler BK3000

In the case of the Profibus coupler BK3000, for which terminal channels
the control /status byte is also to be inserted must be defined in the master
configuration .If the control /status byte is not evaluated, the KL4112 occu-
pies 4 bytes of output data (2 bytes of user data per channel).

Offset Terminal1 Channel1 = 0

Offset Terminal1 Channel2 = 3

Offset Terminal2 Channel1 = 6

KL4112 Channel1

KL4112 Channel 2

The control-/status byte
must be inserted for
parametrization.

K-Bus

Profibus bus coupler
BK3000

To the bus terminal

Data H

Data L

D1 - 0

D0 - 0

D0 - 1

D1 - 1

C/S - 0

C/S

C/S - 1

0

The terminal is
mapped in the
bus coupler.