Mapping
The Bus Terminals occupy addresses within the process image of the controller. The assignment of the process data (input and output data) and parameterization data (control and status bytes) to the controller 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
With compact evaluation, the analog output terminals only occupy addresses in the output 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 | 0 | - | - | Ch1 D1 | Ch1 D0 |
1 | - | - | Ch2 D1 | Ch2 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 | 0 | - | - | Ch1 D0 | Ch1 D1 |
1 | - | - | Ch2 D0 | Ch2 D1 |
Complete evaluation
For complete evaluation, the analog output 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 | 0 | Ch1 D0 | SB1 | Ch1 D0 | CB1 |
1 | SB2 | Ch1 D1 | CB2 | Ch1 D1 | |
2 | Ch2 D1 | Ch2 D0 | Ch2 D1 | Ch2 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 | 0 | Ch1 D1 | SB1 | Ch1 D1 | CB1 |
1 | SB2 | Ch1 D0 | CB2 | Ch1 D0 | |
2 | Ch2 D0 | Ch2 D1 | Ch2 D0 | Ch2 D1 |
Complete evaluation in Intel format with word alignment
Default mapping for Lightbus, Ethernet and EtherCAT coupler as well as Bus Terminal Controllers (BCxxxx, BXxxxx)
| Address | Input data | Output data | ||
---|---|---|---|---|---|
Conditions | Word offset | High byte | Low byte | High byte | Low byte |
Complete evaluation: 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 |
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 | 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 |
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-value data byte
Ch n D1: channel n, higher-value data byte
Reserved: This byte occupies process data memory, although it has no function.
"-": This byte is not assigned or used by the terminal/module.