
Access from the user program
KL5101
28
Version: 3.1
Parameterization with KS2000
The KS2000 configuration software can be used for parameterizations via the serial interface of the
Bus Coupler, independent of the fieldbus system.
5.2
Mapping in the Bus Coupler
As already described in the
Terminal Configuration
section, 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.
If the terminals are fully evaluated, they occupy memory space in the input and output process image.
The following tables provide information about how the terminals map themselves in the Bus Coupler,
depending on the parameters set.
5.2.1
Standard format
The KL5101 is mapped into the bus coupler depending on the set parameters. The terminal always occupies
memory space in the process image of the inputs
and
outputs.
Conditions
Word offset
High Byte
Low Byte
Complete evaluation: any
Motorola format: no
Word alignment: no
0
D0
CB/SB
1
D2
D1
2
D4
D3
Conditions
Word offset
High Byte
Low Byte
Complete evaluation: any
Motorola format: yes
Word alignment: no
0
D1
CB/SB
1
D2
D0
2
D3
D4
Conditions
Word offset
High Byte
Low Byte
Complete evaluation: any
Motorola format: no
Word alignment: yes
0
-
CB/SB
1
D1
D0
2
-
D2
3
D4
D3
Conditions
Word offset
High Byte
Low Byte
Complete evaluation: any
Motorola format: yes
Word alignment: yes
0
-
CB/SB
1
D0
D1
2
-
D2
3
D3
D4
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 limit in the Bus Coupler.
CB
Control byte (appears in the process image of the outputs).
SB
Status byte (appears in the process image of the inputs).
D0/D1
Counter word (read/set)
(D2)
The period duration is output here, together with D3/D4.
D3/D4
Latch word (read)
“-“
This byte is not used or occupied by the terminal.