
Programming
KL6581 and KL6583
31
Version: 2.0.0
Bit
Name
Description
SB.4 AddrConflict
1
bin
Address of a KL6583 doubly assigned
SB.3 Communication
Error
0
bin
Communication OK
1
bin
The KL6581 has not found a KL6583 that is ready for operation. Check the
cabling and the addresses.
SB.2 Buffer Full
1
bin
The internal data buffer has overflowed,
SB.1 RxS
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.
SB.0 TxS
1
bin
Toggle for sending data; if TxC <> TxS, then data are transmitted from the
KL6851 to the KL6853.
Register communication
Control byte for register communication
The control byte (CB) is located in the
, and is transmitted from the controller to the
terminal.
Bit
CB.7
CB.6
CB.5
CB.4
CB.3
CB.2
CB.1
CB.0
Name
RegAccess R/W
Reg. no.
Key
Bit
Name
Description
CB.7
RegAccess
1
bin
Register communication switched on
CB.6
R/W
0
bin
Read access
1
bin
Write access
CB.5 to
CB.0
Reg. no.
Register number:
Enter the number of the register that you
- want to read with input data word
- want to write with output data word
.
Status byte for register communication
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 R/W
Reg. no.
Key
Bit
Name
Description
SB.7
RegAccess
1
bin
Acknowledgment for register access
SB.6
R
0
bin
Read access
SB.5 to
SB.0
Reg. no.
Number of the register that was read or written.