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 fieldbus system used
  • the terminal type
  • the parameterization of the Bus Coupler (conditions) such as
    • compact or full evaluation
    • Intel or Motorola format
    • word alignment switched on or off

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.

Compact evaluation

For compact evaluation, the analog input terminals only occupy addresses in the input process image. Control and status bytes cannot be accessed.

Compact evaluation in Intel format

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

 

Address

Input data

Output data

Conditions

Word offset

High byte

Low byte

High byte

Low byte

Complete evaluation: no

Motorola format: no

Word alignment: any

0

Ch1 D1

Ch1 D0

-

-

1

Ch2 D1

Ch2 D0

-

-

2

Ch3 D1

Ch3 D0

-

-

3

Ch4 D1

Ch4 D0

-

-

Compact evaluation in Motorola format

Default mapping for Profibus and Interbus coupler

 

Address

Input data

Output data

Conditions

Word offset

High byte

Low byte

High byte

Low byte

Complete evaluation: no

Motorola format: yes

Word alignment: any

0

Ch1 D0

Ch1 D1

-

-

1

Ch2 D0

Ch2 D1

-

-

2

Ch3 D0

Ch3 D1

-

-

3

Ch4 D0

Ch4 D1

-

-

Complete evaluation:

For complete evaluation, the analog input terminals occupy addresses in the input and output process image. Control and status bytes can be accessed.

Complete evaluation in Intel format

 

Address

Input data

Output data

Conditions

Word offset

High byte

Low byte

High byte

Low byte

Complete evaluation: yes

Motorola format: no

Word alignment: no

0

Ch1 D0

SB1

Ch1 D0

CB1

1

SB2

Ch1 D1

CB2

Ch1 D1

2

Ch2 D1

Ch2 D0

Ch2 D1

Ch2 D0

3

Ch3 D0

SB3

Ch3 D0

CB3

4

SB4

Ch3 D1

CB4

Ch3 D1

5

Ch4 D1

Ch4 D0

Ch4 D1

Ch4 D0

Complete evaluation in Motorola format

 

Address

Input data

Output data

Conditions

Word offset

High byte

Low byte

High byte

Low byte

Complete evaluation: yes

Motorola format: yes

Word alignment: no

0

Ch1 D1

SB1

Ch1 D1

CB1

1

SB2

Ch1 D0

CB2

Ch1 D0

2

Ch2 D0

Ch2 D1

Ch2 D0

Ch2 D1

3

Ch3 D1

SB3

Ch3 D1

CB3

4

SB4

Ch3 D0

CB4

Ch3 D0

5

Ch4 D0

Ch4 D1

Ch4 D0

Ch4 D1

Complete evaluation in Intel format with word alignment

Default mapping for Lightbus and Ethernet coupler and Bus Terminal Controller (BCxxxx, BXxxxx)

 

Address

Input data

Output data

Conditions

Word offset

High byte

Low byte

High byte

Low byte

Complete evaluation: yes

Motorola format: no

Word alignment: yes

0

reserved

SB1

reserved

CB1

1

Ch1 D1

Ch1 D0

Ch1 D1

Ch1 D0

2

reserved

SB2

reserved

CB2

3

Ch2 D1

Ch2 D0

Ch2 D1

Ch2 D0

4

reserved

SB3

reserved

CB3

5

Ch3 D1

Ch3 D0

Ch3 D1

Ch3 D0

6

reserved

SB4

reserved

CB4

7

Ch4 D1

Ch4 D0

Ch4 D1

Ch4 D0

Complete evaluation in Motorola format with word alignment

 

Address

Input data

Output data

Conditions

Word offset

High byte

Low byte

High byte

Low byte

Complete evaluation: yes

Motorola format: yes

Word alignment: yes

0

reserved

SB1

reserved

CB1

1

Ch1 D0

Ch1 D1

Ch1 D0

Ch1 D1

2

reserved

SB2

reserved

CB2

3

Ch2 D0

Ch2 D1

Ch2 D0

Ch2 D1

4

reserved

SB3

reserved

CB3

5

Ch3 D0

Ch3 D1

Ch3 D0

Ch3 D1

6

reserved

SB4

reserved

CB4

7

Ch4 D0

Ch4 D1

Ch4 D0

Ch4 D1

Key

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 channel address range to commence at a word boundary, empty bytes are inserted into the process image as appropriate.

SB n: Status byte for channel n (appears in the input process image).
CB n: Control byte for channel n (appears in the output process image).

Ch n D0: channel n, lower-order data byte
Ch n D1: channel n, higher-order data byte

reserved: This byte is assigned to the process data memory, although it has no function.
"-": This byte is not used or occupied by the terminal/module.