Access from the user program
KL6031/KS6031, KL6041/KS6041
41
Version: 2.1.0
Bit 15 … 15 Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Data bytes
reserved
1
0
1
1
1
22 bytes + 1 Control/Status word in the extended
process data image (see
reserved
0
0
1
1
0
5 bytes + 1 Control/Status byte
reserved
0
0
0
1
1
3 bytes + 1 Control/Status byte
R36 - 63: reserved
5.4
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 complex evaluation
- Intel or Motorola format
- word alignment activated or deactivated
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.
Complex evaluation
In the case of complex evaluation, the serial interface terminals occupy addresses in the input and output
process image. Control and Status words can be accessed.
22-byte process image
Complex evaluation in Intel format
Address
Input data
Output data
Conditions
Word offset
High byte
Low byte
High byte
Low byte
Complex evaluation: yes
Motorola format: no
Word alignment: any
0
SW
CW
1
DataIn 1
DataIn 0
DataOut 1
DataOut 0
2
DataIn 3
DataIn 2
DataOut 3
DataOut 2
3
DataIn 5
DataIn 4
DataOut 5
DataOut 4
4
DataIn 7
DataIn 6
DataOut 7
DataOut 6
5
DataIn 9
DataIn 8
DataOut 9
DataOut 8
6
DataIn 11
DataIn 10
DataOut 11
DataOut 10
7
DataIn 13
DataIn 12
DataOut 13
DataOut 12
8
DataIn 15
DataIn 14
DataOut 15
DataOut 14
9
DataIn 17
DataIn 16
DataOut 17
DataOut 16
10
DataIn 19
DataIn 18
DataOut 19
DataOut 18
11
DataIn 21
DataIn 20
DataOut 21
DataOut 20
Summary of Contents for KL6031 Series
Page 2: ......
Page 4: ...Table of contents KL6031 KS6031 KL6041 KS6041 4 Version 2 1 0...
Page 52: ......