Register communication

Control byte 1 in register communication

Control byte 1 (CB1) is located in the output image, and is transmitted from the controller to the terminal.

Bit

CB1.7

CB1.6

CB1.5

CB1.4

CB1.3

CB1.2

CB1.1

CB1.0

Name

RegAccess

R/W

Reg. no.

Key

Bit

Name

Description

CB1.7

RegAccess

1bin

Register communication switched on

CB1.6

R/W

0bin

Read access

1bin

Write access

CB1.5 to CB1.0

Reg. no.

Register number:
Enter the number of the register that you
- want to read with input data word 0 or
- write to with output data word 0.

CAUTION

No valid process data during the register communication!

It is not possible to access the data registers during register communication! Process data that may still be displayed is not valid!

Status byte 1 in register communication

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

Bit

SB1.7

SB1.6

SB1.5

SB1.4

SB1.3

SB1.2

SB1.1

SB1.0

Name

RegAccess

R

Reg. no.

Key

Bit

Name

Description

SB1.7

RegAccess

1bin

Acknowledgement for register access

SB1.6

R

0bin

Read access

SB1.5 to SB1.0

Reg. no.

Number of the register that was read or written.

Channel 2 (KL5152/KS5152 and KL5151-0050 only)

The control and status bytes of channel 2 (CB2 and SB2) have the same structure as the control and status bytes of channel 1.