Access from the user program
KL3208, KL3228/KS3228
39
Version: 3.3.0
5.2
Control and status bytes
Channel 1
The control and status bytes (CB1 and SB1) for channel 1 in the
are described below.
Channels 2 to 8
The control and status bytes of channels 2 (CB2 and SB2) to 8 (CB8 and SB8) have the same structure as
the control and status bytes of channel 1.
5.2.1
Process data mode
Control byte 1 (for process data mode)
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 -
Cali
Gain
Offset
Clock
up
down
Key
Bit
Name
Description
CB1.7
RegAccess 0
bin
Register communication off (process data mode)
CB1.6
-
0
bin
reserved
CB1.5
Cali
1
bin
Terminal compensation
function is activated
A gain and offset calibration of the terminal can
be carried out with the control byte in process
data mode. The code word must be entered in
register R31 so that the calibration can be
carried out.
The parameter will only be saved permanently
once the code word is reset!
CB1.4
Gain
1
bin
Gain calibration
CB1.3
Offset
1
bin
Offset calibration
CB1.2
Clock
0
bin
slow clock
1
bin
fast clock
CB1.1
up
1
bin
up
CB1.0
down
1
bin
down
Status byte 1 (for process data mode)
The status byte 1 (SB1) is located in the
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 Error
-
-
-
-
Overrange Underrange
Key
Bit
Name
Description
SB1.7
RegAccess
0
bin
Acknowledgement for process data mode
SB1.6
Error
1
bin
General error bit
SB1.5 ...
SB1.2
-
0
bin
reserved
SB1.1
Overrange
1
bin
Process data too large
SB1.0
Underrange
1
bin
Process data too small
Содержание KL3208
Страница 2: ......
Страница 4: ...Table of contents KL3208 KL3228 KS3228 4 Version 3 3 0 7 Appendix 53 7 1 Support and Service 53...
Страница 55: ......