5.2
Control and status bytes
Channel 1
The values are explained below using channel 1 as an example.
Channel 2
The control and status bytes of channel 2 (CB2 and SB2) are structured like the control and status byte of
channel 1 [} 33].
5.2.1
Process data mode
Control byte 1 (for process data mode)
Control byte 1 (CB1) is located in the output image [} 32], and is transmitted from the controller to the
terminal.
Bit
CB1.7
CB1.6
Name
RegAccess
-
Key
Bit
Name
Description
CB1.7
RegAccess
0
CB1.6
-
0
CB1.5
Calli
1
CB1.4
Gain
1
CB1.3
Offset
1
CB1.2
Clock
0
1
CB1.1
up
1
CB1.0
down
1
Status byte 1 (for process data mode)
The status byte 1 (SB1) is located in the input image [} 32] and is transmitted from terminal to the controller.
Bit
SB1.7
SB1.6
Name
RegAccess
Error
Key
Bit
Name
Description
SB1.7
RegAccess
0
SB1.6
Error
1
SB1.5 ..
-
0
. SB1.2
SB1.1
Overrange
1
SB1.0
Underrange 1
KL3222
CB1.5
CB1.4
Calli
Gain
Register communication off (process data mode)
bin
reserved
bin
Terminal
A gain and offset calibration of the terminal can be carried
bin
compensation
out with the control byte in process data mode. The code
function is
word must be entered in register R31 so that the calibration
enabled
can be carried out.
The parameter will only be saved permanently once the
Gain calibration
bin
code word is reset!
Offset calibration
bin
slow clock
bin
fast clock
bin
up
bin
down
bin
SB1.5
SB1.4
-
-
Acknowledgment for process data mode
bin
General error bit
bin
reserved
bin
Process data too large
bin
Process data too small
bin
Version: 2.3.0
Access from the user program
CB1.3
CB1.2
Offset
Clock
SB1.3
SB1.2
SB1.1
-
-
Overrange Underrange
CB1.1
CB1.0
up
down
SB1.0
33