![Beckhoff KL6811 Documentation Download Page 48](http://html.mh-extra.com/html/beckhoff/kl6811/kl6811_documentation_2719655048.webp)
Access from the user program
KL6811
48
Version: 2.0.0
Bit
Feature
Value
Explanation
Default
R32.15
R32.14
R32.13
R32.12
Operation mode
0000
bin
DALI
0000
bin
0001
bin
DSI
further
reserved
R32.11 -
-
reserved
0
bin
...
...
...
...
...
R32.5
-
-
reserved
0
bin
R32.4
Disable counting of
DALI devices
0
bin
The DALI devices are not counted after the KL6811
startup.
0
bin
1
bin
After the KL6811 startup, the DALI devices are
counted, and the result is stored in register 1 (
).
R32.3
Deactivation of the
internal DALI power
supply unit
0
bin
Supply of the DALI bus via the internal power supply
unit of the KL6811.
0
bin
1
bin
Internal DALI power supply unit deactivated: an
external DALI power supply unit is required.
R32.2
-
-
reserved
0
bin
R32.1
-
-
reserved
0
bin
R32.0
-
-
reserved
0
bin
5.5
Examples of Register Communication
The numbering of the bytes in the examples corresponds to the display without word alignment.
5.5.1
Example 1: reading the firmware version from Register 9
Output Data
Byte 0: Control byte
Byte 1: DataOUT1, high byte
Byte 2: DataOUT1, low byte
0x89 (1000 1001
bin
)
0xXX
0xXX
Explanation:
• Bit 0.7 set means: Register communication switched on.
• Bit 0.6 not set means: reading the register.
• Bits 0.5 to 0.0 specify the register number 9 with 00 1001
bin
.
• The output data word (byte 1 and byte 2) has no meaning during read access. To change a register,
write the required value into the output word.
Input Data (answer of the Bus Terminal)
Byte 0: Status byte
Byte 1: DataIN1, high byte
Byte 2: DataIN1, low byte
0x89
0x33
0x41
Explanation:
• The terminal returns the value of the control byte as a receipt in the status byte.
• The terminal returns the firmware version 0x3341 in the input data word (byte 1 and byte 2). This is to
be interpreted as an ASCII code:
◦ ASCII code 0x33 represents the digit 3
◦ ASCII code 0x41 represents the letter A
The firmware version is thus 3A.