Control and status byte

Register communication

Control byte (for register communication)

The control byte (CB) is located in the output image, 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

1bin

Register communication switched on

CB.6

R/W

0bin

Read access

1bin

Write access

CB.5 to CB.0

Reg. no.

Register number:
Enter the number of the register that you want to read or write here.

Status byte (for register communication)

The status byte (SB) is located in the input image, and is transmitted from 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

1bin

Acknowledgement for register access

SB.6

R

0bin

Read access

SB.5 to SB.0

Reg. no.

Number of the register that was read or written.

Process data mode

Control and status byte 1:

Control and status byte in process data mode

In process data mode the control and status bytes of the KL6224 currently have no additional function.

Control byte in process data mode

The control byte (CB) is located in the output image, 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

-

-

-

-

-

-

-

Key

Bit

Name

Description

CB.7

RegAccess

0bin

Register communication off (process data mode)

CB.6 to CB.0

-

0bin

reserved

Status byte in process data mode

The status byte (SB) is located in the input image, and is transmitted from terminal to the controller.

Bit

SB.7

SB.6

SB.5

SB.4

SB.3

SB.2

SB.1

SB.0

Name

RegAccess

-

-

-

-

-

-

-

Key

Bit

Name

Description

SB.7

RegAccess

0bin

Acknowledgement for process data mode

SB.6 to SB.0

Error

0bin

reserved