Access From The User Program; Process Image; Control And Status Byte - Beckhoff KL6021-0023 Documentation

Serial interface terminal and wireless adaptor for enocean radio technology
Table of Contents

Advertisement

6

Access from the user program

6.1

Process image

The KL6021-0023 is represented in the process image with 12 bytes of input data and 12 bytes of output
data. These are organized as follows:
Byte offset
Format
0
Byte
1
Byte
2
Byte
3
Byte
4
Byte
5
Byte
6
Byte
7
Byte
8
Byte
9
Byte
10
Byte
11
Byte
6.2

Control and status byte

Register communication
Control byte (for register communication)
The control byte (CB) is located in the output image [} 25], and is transmitted from the controller to the
terminal.
Bit
CB.7
Name
RegAccess
Key
Bit
Name
CB.7
RegAccess
CB.6
R/W
CB.5 to
Reg. no.
CB.0
Status byte (for register communication)
The status byte (SB) is located in the input image [} 25], and is transmitted from the terminal to the
controller.
Bit
SB.7
Name
RegAccess
KL6021-0023 and KL6023
CB.6
CB.5
CB.4
R/W
Reg. no.
Description
1
Register communication switched on
bin
0
Read access
bin
1
Write access
bin
Register number:
Enter the number of the register [} 27] that you want to read or write here.
SB.6
SB.5
SB.4
R/W
Reg. no.
Version: 2.0.0
Access from the user program
Input data
Status byte (SB [} 25])
DataIn0
DataIn1
DataIn2
DataIn3
DataIn4
DataIn5
DataIn6
DataIn7
DataIn8
DataIn9
DataIn10
CB.3
CB.2
SB.3
SB.2
Output data
Control byte (CB [} 25])
DataOut0
DataOut1
DataOut2
DataOut3
DataOut4
DataOut5
DataOut6
DataOut7
DataOut8
DataOut9
DataOut10
CB.1
CB.0
SB.1
SB.0
25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Kl6023

Table of Contents