Access from the user program
KL1501, KL1512
30
Version: 3.1.0
5.4
KL1512 - Mapping in the Bus Coupler
As already described in the Terminal Configuration chapter, each Bus Terminal is mapped in the Bus
Coupler. This mapping is usually done with the default setting in the Bus Coupler / Bus Terminal. The
KS2000 configuration software or a master configuration software (e.g. ComProfibus or TwinCAT System
Manager) can be used to change this default setting.
The following tables shows the mapping of the KL1512 in the Bus Coupler, depending on the set
parameters.
Default mapping for: CANopen, CANCAL, DeviceNet, ControlNet, Modbus, RS232 and RS485 coupler
Conditions
Word offset
High byte
Low byte
Complete evaluation: any
Motorola format: no
Word alignment: no
0
Ch1 D0
Ch1 CB/SB
1
Ch2 CB/SB
Ch1 D1
2
Ch2 D1
Ch2 D0
3
-
-
Default mapping for: Profibus and Interbus Coupler
Conditions
Word offset
High byte
Low byte
Complete evaluation: any
Motorola format: yes
Word alignment: no
0
Ch1 D1
Ch1 CB/SB
1
Ch2 CB/SB
Ch1 D0
2
Ch2 D0
Ch2 D1
3
-
-
Default mapping for: Lightbus, EtherCAT & Ethernet coupler and Bus Terminal Controller (BCxxxx,
BXxxxx)
Conditions
Word offset
High byte
Low byte
Complete evaluation: any
Motorola format: no
Word alignment: yes
0
Res.
Ch1 CB/SB
1
Ch1 D1
Ch1 D0
2
Res.
Ch2 CB/SB
3
Ch2 D1
Ch2 D0
Conditions
Word offset
High byte
Low byte
Complete evaluation: any
Motorola format: yes
Word alignment: yes
0
Res.
Ch1 CB/SB
1
Ch1 D0
Ch1 D1
2
Res.
Ch2 CB/SB
3
Ch2 D0
Ch2 D1
Key
Complete evaluation
The terminal is mapped with control and status byte.
Motorola format
Motorola or Intel format can be set.
Word alignment
The terminal is positioned on a word boundary in the Bus Coupler.
Ch n CB
Control byte for channel n (appears in the process image of the outputs).
Ch n SB
Status byte for channel n (appears in the process image of the inputs).
Ch n D0
Channel n, data byte 0 (byte with the lowest value)
Ch n D1
Channel n, data byte 1 (byte with the highest value)
"-"
This byte is not used or occupied by the terminal.
Res.
Reserved: this byte is assigned to the process data memory, although it has no function.