Control And Status Byte - Beckhoff KL6224 Documentation

Io-link terminal
Table of Contents

Advertisement

Access from the user program
5.2

Control and status byte

Register communication
Control byte (for register communication)
The control byte (CB) is located in the output image [} 34], and is transmitted from the controller to the
terminal.
Bit
CB.7
CB.6
Name
RegAccess R/W
Key
Bit
Name
CB.7
RegAccess
CB.6
R/W
CB.5 to CB.0
Reg. no.
Status byte (for register communication)
The status byte (SB) is located in the input image [} 34], and is transmitted from terminal to the controller.
Bit
SB.7
SB.6
Name
RegAccess R/W
Key
Bit
Name
SB.7
RegAccess
SB.6
R
SB.5 to SB.0
Reg. no.
Process data mode
Control and status byte in process data mode
In process data mode the control and status bytes of the KL6224 currently have no addi-
tional function.
Note
Control byte in process data mode
The control byte (CB) is located in the output image [} 34], and is transmitted from the controller to the
terminal.
Bit
CB.7
Name
RegAccess -
Key
Bit
Name
CB.7
RegAccess
CB.6 to CB.0
-
38
CB.5
CB.4
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 [} 39] that you want to read or write
here.
SB.5
SB.4
Reg. no.
Description
1
Acknowledgement for register access
bin
0
Read access
bin
Number of the register that was read or written.
CB.6
CB.5
-
Description
0
Register communication off (process data mode)
bin
0
reserved
bin
Version: 2.0.0
CB.3
CB.2
SB.3
SB.2
CB.4
CB.3
-
-
CB.1
CB.0
SB.1
SB.0
CB.2
CB.1
-
-
CB.0
-
KL6224

Advertisement

Table of Contents
loading

Table of Contents