Beckhoff KL6811 Documentation page 50

Dali/dsi master terminal with integrated power supply
Table of Contents

Advertisement

Access from the user program
• The terminal returns the current value of the code word register in the input data word (byte 1 and byte
2).
III. Write to Register 32 (change contents of the feature register)
Output data
Byte 0: Control byte
0xE0 (1110 0000
)
bin
Explanation:
• Bit 0.7 set means: Register communication switched on.
• Bit 0.6 set means: writing to the register.
• Bits 0.5 to 0.0 indicate register number 32 with 10 0000
• The output data word (byte 1 and byte 2) contains the new value for the feature register.
Observe the register description!
The value of 0x0002 given here is just an example!
The bits of the feature register change the properties of the terminal and have a different meaning, depend-
ing on the type of terminal. Refer to the description of the feature register of your terminal (chapter Register
description) regarding the meaning of the individual bits before changing the values.
Input data (response from the Bus Terminal)
Byte 0: Status byte
0xA0 (1010 0000
)
bin
Explanation:
• The terminal returns a value as a receipt in the status byte that differs only in bit 0.6 from the value of
the control byte.
• The input data word (byte 1 and byte 2) is of no importance after the write access. Any values still
displayed are invalid!
IV. Read Register 32 (check changed feature register)
Output Data
Byte 0: Control byte
0xA0 (1010 0000
)
bin
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 indicate register number 32 with 10 0000
• The output data word (byte 1 and byte 2) has no meaning during read access.
Input Data (answer of the Bus Terminal)
Byte 0: Status byte
0xA0 (1010 0000
)
bin
Explanation:
• The terminal returns the value of the control byte as a receipt in the status byte.
50
Byte 1: DataIN1, high byte
0x00
CAUTION
Byte 1: DataIN1, high byte
0xXX
Byte 1: DataOUT1, high byte
0xXX
Byte 1: DataIN1, high byte
0x00
Version: 2.0.0
Byte 2: DataIN1, low byte
0x02
.
bin
Byte 2: DataIN1, low byte
0xXX
Byte 2: DataOUT1, low byte
0xXX
.
bin
Byte 2: DataIN1, low byte
0x02
KL6811

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ks6811

Table of Contents