
Programming
KL6581 and KL6583
30
Version: 2.0.0
5.2.3
KL6581-0000 - control and status byte
Process data mode
Control byte in process data mode
The control byte (CB) is located in the
, and is transmitted from the controller to the
terminal. In process data mode it has no function.
Bit
CB.7
CB.6
CB.5
CB.4
CB.3
CB.2
CB.1 CB.0
Name
RegAccess -
-
Addr Conflict -
Buffer Full
RxC TxC
Key
Bit
Name
Description
CB.7 RegAccess
0
bin
Register communication off (process data mode)
CB.6 Error
0
bin
General error bit
CB.5 -
1
bin
Reserve
CB.4 Addr Conflict
1
bin
Address of a KL6583 doubly assigned
CB.3 -
1
bin
Reserve
CB.2 Buffer Full
1
bin
The internal data buffer has overflowed
CB.1 RxC
1
bin
Toggle for the reception of data; if RxS <> RxC, then new data is present;
toggling the bit signals to the terminal that the data have been fetched.
CB.0 TxC
1
bin
Toggle for sending data; if TxC <> TxS, then data are transmitted from the
KL6851 to the KL6853.
Status byte in process data mode
The status byte (SB) is located in the
, and is transmitted from the terminal to the
controller.
Bit
SB.7
SB.6
SB.5
SB.4
SB.3
SB.2
SB.1 SB.0
Name
RegAccess Error
Config Missmatch Addr Conflict Communication Error Buffer Full
RxS TxS
Key
Bit
Name
Description
SB.7 RegAccess
0
bin
Acknowledgment for process data mode
SB.6 Error
1
bin
General error bit
SB.5 Config
Missmatch
1
bin
Configuration error: Check the number of configured and connected KL6583
devices and their addresses. (see note below)
Enable display of ConfigMissmatch
The status bit SB.5 shows configuration errors once you have enabled the display by resetting bit
R34.15 in the feature register.