Mapping

The Bus Terminals occupy addresses within the process image of the controller. The assignment of process data (input and output data) and parameterization data (control and status bytes) to the control addresses is called mapping. The type of mapping depends on:

The Bus Couplers (BKxxxx, LCxxxx) and Bus Terminal Controllers (BCxxxx, BXxxxx) are supplied with certain default settings. The default setting can be changed with the KS2000 configuration software or with a master configuration software (e.g. TwinCAT System Manager or ComProfibus).

The following tables show the mapping depending on different conditions. For information about the contents of the individual bytes please refer to the pages Process image and Control and status byte.

Complete evaluation

Control and status bytes can be accessed.

Complete evaluation in Intel format

Default mapping for CANopen, CANCAL, DeviceNet, ControlNet, Modbus, RS232 and RS485 coupler.

Parameterization
of the Bus Coupler

Address

Input data

Output data

Word offset

High byte

Low byte

High byte

Low byte

Complete evaluation: n/a

Motorola format: no

Word alignment: no

0

DataIN D0

SB

DataOUT D0

CB

1

DataIN D2

DataIN D1

DataOUT D2

DataOUT D1

2

reserved

DataIN D3

reserved

DataOUT D3

Complete evaluation in Motorola format

Parameterization
of the Bus Coupler

Address

Input data

Output data

Word offset

High byte

Low byte

High byte

Low byte

Complete evaluation: n/a

Motorola format: yes

Word alignment: no

0

DataIN D3

SB

DataOUT D3

CB

1

DataIN D1

DataIN D2

DataOUT D1

DataOUT D2

2

reserved

DataIN D0

reserved

DataOUT D0

Complete evaluation in Intel format with word alignment

Default mapping for EtherCAT, Lightbus and Ethernet coupler as well as Bus Terminal Controllers (BCxxxx, BXxxxx).

Parameterization
of the Bus Coupler

Address

Input data

Output data

Word offset

High byte

Low byte

High byte

Low byte

Complete evaluation: n/a

Motorola format: no

Word alignment: yes

0

reserved

SB

reserved

CB

1

DataIN D1

DataIN D0

DataOUT D1

DataOUT D0

2

DataIN D3

DataIN D2

DataOUT D3

DataOUT D2

Complete evaluation in Motorola format with word alignment

Parameterization
of the Bus Coupler

Address

Input data

Output data

Word offset

High byte

Low byte

High byte

Low byte

Complete evaluation: n/a

Motorola format: yes

Word alignment: yes

0

reserved

SB1

reserved

CB1

1

DataIN D2

DataIN D3

DataOUT D2

DataOUT D3

2

DataIN D0

DataIN D1

DataOUT D0

DataOUT D1

Legend

Complete evaluation: In addition to the process data, the control and status bytes are also mapped into the address space.
Motorola format: Motorola or Intel format can be set.
Word alignment: In order for the word address range to commence at a word boundary, empty bytes are inserted into the process image as appropriate.

SB: Status byte (appears in the input process image)
CB: Control byte (appears in the output process image)

DataIN D0: Input double word, lowest significant data byte
DataIN D1: Input double word, ...
DataIN D2: Input double word, ...
DataIN D3: Input double word, highest significant data byte

DataOUT D0: Output double word, lowest significant data byte
DataOUT D1: Output double word, ...
DataOUT D2: Output double word, ...
DataOUT D3: Output double word, highest significant data byte

reserved: This byte occupies process data memory, although it has no function.

Compact evaluation

Mapping 1:

No compact process image

Operation of the KL5151-0000 with compact process image (without control and status bytes) is not possible, since the control and status bytes are required for useful process data operation of the terminal. Even if you adjust your Bus Coupler to the compact process image, the KL5151-0000 will still be represented with its complete process image!