
Access from the user program
KL3224
24
Version: 2.0.0
5
Access from the user program
5.1
Terminal configuration
The terminal can be configured and parameterized via the internal register structure. Each terminal channel
is mapped in the Bus Coupler. Depending on the type of the Bus Coupler and the mapping configuration
(e.g. Motorola/Intel format, word alignment etc.) the terminal data are mapped in different ways to the Bus
Coupler memory. For parameterizing a terminal, the control and status byte also has to be mapped.
BK2000 Lightbus Coupler
In the BK2000 Lightbus coupler, the control and status byte is mapped in addition to the data bytes. This is
always located in the low byte at the offset address of the terminal channel.
Fig. 14: Mapping in the Lightbus Coupler_KL3202
BK3000 Profibus Coupler
For the BK3000 PROFIBUS coupler, the master configuration should specify for which terminal channels the
control and status byte is to be inserted. If the control and status byte are not evaluated, the terminals
occupy 2 bytes per channel:
• KL3202: 4 bytes of input data
• KL3224: 8 bytes of input data
Fig. 15: Mapping in the Profibus coupler – example for KL3202