Access from the user program
KL6031/KS6031, KL6041/KS604140 Version: 2.1.0
Bit Description of the operation mode default
R34.15 … R34.9 - reserved -
R34.8 0
bin
No transfer rate optimization
The data are immediately placed on the bus.
1
bin
1
bin
Transfer rate optimization
After receipt of a byte, the system waits for max. 4ms for a further byte. If
the receive buffer is full, the data are immediately placed on the bus.
R34.7 0
bin
Small and medium process data image
3 or 5bytes of user data (setting in R35 [}39]) can be transferred.
1
bin
1
bin
Extended process data image
Up to 22bytes of user data (setting in R35 [}39]) can be transferred.
(Compatible couplers: BCxx50, BXxxxx, CXxxxx, BKxx20, BKxx50,
BKxx50)
R34.6 0
bin
Direct transmission from the FIFO
The buffer contents are transmitted immediately.
0
bin
1
bin
Continuous transmission from the FIFO
The send buffer is filled (up to 128bytes) by the controller. The filled buffer
contents will be transmitted on the rising edge of the bit "Control Byte
(Word), Bit 3" (CB.3, CW.3). Once the data have been transferred, the
terminal confirms this to the controller by setting the bit "Status Byte
(Word), Bit 2" (SB.2, SW.2). SB.2 (SW.2) is canceled with CB3 (CW.3).
R34.5 0
bin
KL6031: reserved -
KL6041: Point to point connection disabled 0
bin
1
bin
KL6031: reserved -
KL6041: Point to point connection enabled -
R34.4 0
bin
No support for the XON/XOFF protocol when receiving data 0
bin
1
bin
Support for the XON/XOFF protocol when receiving data
The terminal sends the control character XOFF when the terminal buffer
contains 1014 characters. XON is sent if XOFF was sent previously and the
value falls below the lower buffer limit of 18bytes.
R34.3 0
bin
No support for the XON/XOFF protocol when transmitting data 0
bin
1
bin
Support for the XON/XOFF protocol when transmitting data
The terminal transmits the data transferred by the controller until it receives
from the controller the sign XOFF (DC3
ASCII
== 0x13) from the partner.
Thereafter, transmission is prevented until the sign (DC1
ASCII
== 0x11) is
received.
R34.2 0
bin
No delayed Status byte 0
bin
1
bin
Delayed Status byte
The Status byte is copied by the terminal into the shift register of the K-bus
one cycle later than the higher-value data bytes. This reduces the rate of
data transmission to the controller.
R34.1 0
bin
Standard output format (note R35 [}39]!)
0
bin
1
bin
Alternative output format
In the alternative output format, 4 or 5bytes (3bytes for data and 1 or 2
control/status byte(s)) are mapped in the Bus Coupler.
R34.0 0
bin
KL6031: RTS, CTS deactivated -
KL6041: Full duplex 0
bin
1
bin
KL6031: RTS, CTS activated 1
bin
KL6041: Half duplex -
R35: Number of data bytes mapped in the Bus Coupler
R35 defines the number of data bytes mapped in the Bus Coupler.