EasyManuals Logo

Beckhoff KS6031 User Manual

Beckhoff KS6031
53 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #35 background imageLoading...
Page #35 background image
Access from the user program
KL6031/KS6031, KL6041/KS6041 35Version: 2.1.0
Key
Bit Name Description
SW.15
...
SW8
IL7...IL0
(InLenght*)
1
dec
... 22
dec
If the large process image is used: Number of input bytes available for transfer from the
terminal to the controller.
- If the small/medium process image is used: not shown
SW.7 - 0
bin
reserved
SW.6
...
SW.4
IL2*...IL0*
(InLenght*)
0 If the large process image is used: reserved
1... 6 If the medium process image is used: Number of input bytes available for transfer from
the terminal to the controller.
1... 4 If the small process image is used: Number of input bytes available for transfer from the
terminal to the controller.
SW.3 BUF_F 1
bin
The receive FIFO is full. All further incoming data will be lost!
SW.2 IA
(InitAccepted-Bit)
1
bin
Initialization was completed by the terminal.
0
bin
The terminal is ready again for serial data exchange.
SW.1 RR
(ReceiveRequest)
toggle Via a change of state of this bit the terminal notifies the controller that the DataIn bytes
contain the number of bytes indicated via the IL bits. The controller has to acknowledge
receipt of the data in the control byte via a change of state of bit CW.1 [}34] (RA). Only
then new data can be transferred from the terminal to the controller.
SW.0 TA
(TransmitAccepted)
toggle The terminal acknowledges receipt of data by changing the state of this bit. Only now
new data can be transferred from the controller to the terminal.
Data transfer examples
The examples use the large process image.
Data transfer from the controller to the terminal
Control word Status word Comment
CW.15...CW.8 CW.7...CW.1 SW.15...SW.8 SW.7...SW.1
00000000
bin
00000000
bin
xxxxxxxx
bin
0000x0x0
bin
Start of data transmission
00000010
bin
00000001
bin
xxxxxxxx
bin
0000x0x0
bin
The controller requests transmission
of 2bytes by the terminal
00000010
bin
00000001
bin
xxxxxxxx
bin
0000x0x1
bin
Command is executed: Terminal has
loaded 2bytes into the transmission
FIFO
00010000
bin
00000000
bin
xxxxxxxx
bin
0000x0x1
bin
The controller requests transmission
of 16bytes by the terminal
00010000
bin
00000000
bin
xxxxxxxx
bin
0000x0x0
bin
Command is executed: Terminal has
loaded 16bytes into the transmission
FIFO
Data transfer from the terminal to the controller
Control word Status word Comment
CW.15...CW.8 CW.7...CW.1 SW.15...SW.8 SW.7...SW.1
xxxxxxxx
bin
0000000x
bin
00000000
bin
0000000x
bin
Start of data transmission
xxxxxxxx
bin
0000000x
bin
00000011
bin
0000001x
bin
The terminal requests transfer of
3bytes from the controller
xxxxxxxx
bin
0000001x
bin
00000011
bin
0000001x
bin
Acknowledgement: Controller has
received 3bytes from the receive
FIFO
xxxxxxxx
bin
0000001x
bin
00010110
bin
0000000x
bin
The terminal requests transfer of
22bytes from the controller
xxxxxxxx
bin
0000000x
bin
00010110
bin
0000000x
bin
Acknowledgement: Controller has
received 22bytes from the receive
FIFO

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Beckhoff KS6031 and is the answer not in the manual?

Beckhoff KS6031 Specifications

General IconGeneral
BrandBeckhoff
ModelKS6031
CategoryTouch terminals
LanguageEnglish

Related product manuals