Access from the user program
5.2.2
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
Name
RegAccess R/W
Key
Bit
Name
Description
CB1.7
RegAccess 1
CB1.6
R/W
0
1
CB1.5 to
Reg. no.
Register number:
CB1.0
Enter the number of the register [} 35] that you
- want to read with input data word DataIn [} 32] or
- want to write with output data word DataOut [} 32].
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
Name
RegAccess R/W
Key
Bit
Name
Description
SB1.7
RegAccess 1
SB1.6
R
0
SB1.5 to
Reg. no.
Number of the register that was read or written.
SB1.0
34
CB1.5
CB1.4
Reg. no.
Register communication switched on
bin
Read access
bin
Write access
bin
SB1.5
SB1.4
Reg. no.
Acknowledgment for register access
bin
Read access
bin
Version: 2.3.0
CB1.3
CB1.2
CB1.1
SB1.3
SB1.2
SB1.1
CB1.0
SB1.0
KL3222