Access from the user program
KL4414, KL4418, KL4424, KL4428
36
Version: 3.0.0
7.3
Control and status bytes
Channel 1
The control and status bytes for channel 1 are shown below.
Channel 2, channel 3 and channel 4
The control and status bytes of channels 2, 3 and 4 are structured like the control and status byte of channel
1.
Process data mode
Control byte 1 in process data mode
Control byte 1 (CB1) is located in the
, and is transmitted from the controller to the
terminal. In process data mode it has no function.
Bit
CB1.7
CB1.6
CB1.5
CB1.4
CB1.3
CB1.2
CB1.1
CB1.0
Name
RegAccess
-
-
-
-
-
-
-
Key
Bit
Name
Description
CB1.7
RegAccess
0
bin
Register communication off (process data mode)
CB1.6 - CB1.0
-
0
bin
reserved
Status byte 1 in process data mode
The status byte 1 (SB1) is located in the
and is transmitted from terminal to the controller.
In process data mode it has no function.
Bit
SB1.7
SB1.6
SB1.5
SB1.4
SB1.3
SB1.2
SB1.1
SB1.0
Name
RegAccess
-
-
-
-
-
-
-
Key
Bit
Name
Description
SB1.7
RegAccess
0
bin
Acknowledgment for process data mode
SB1.6 - SB1.0
Error
0
bin
reserved
Register communication
Control byte 1 in register communication
Control byte 1 (CB1) is located in the
, 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
1
bin
Register communication switched on
CB1.6
R/W
0
bin
Read access
1
bin
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
or
• want to write with output data word