KL31x2 - Two Channel Accurate Analog Terminals

Control and status byte

 

Channel 1

 
 

Process data mode

 
 

Control byte 1 (for process data mode)

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
-
-
-
-
-
CaliDisReq
StartManCali
 
 

Key

Bit
Name
Description
CB1.7
RegAccess
0bin
Register communication off (process data mode)
CB1.6 to CB1.2
-
0bin
reserved
CB1.1
CaliDisReq
1bin
Blocking automatic calibration
CB1.0
StartManCali
1bin
start manual calibration
 
 

Status byte 1 (for process data mode)

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
Error
StateThreshold2
StateThreshold1
Overload
Underload
 
 

Key

 
Bit
Name
Description
SB1.7
RegAccess
0bin
Acknowledgment for process data mode
SB1.6
Error
0bin
no error detected
1bin
KL3142 up to firmware 2B
Overload (bit SB1.1 is set) or
Underload (bit SB1.0 is set)
KL3142 with firmware 2C or higher
and R32.14 = 1bin
KL3132, KL3152, KL3162, KL3172, KL3182 up to firmware 2A
KL3132, KL3152, KL3162, KL3172, KL3182 with firmware 2B or higher
and R32.14 = 1bin
KL3142 with firmware 2C or higher
The last calibration was terminated with an error (no stability)
KL3132, KL3152, KL3162, KL3172, KL3182 with firmware 2B or higher
SB1.5, SB1.4
StateThreshold2
00bin
Limit value 2 is not enabled via bit R32.10 of the feature register
01bin
Process data is less than limit value 2
10bin
Process data is greater than limit value 2
11bin
Process data equals limit value 2
SB1.3, SB1.2
StateThreshold1
00bin
Limit value 1 is not enabled via bit R32.9 of the feature register
01bin
Process data is less than limit value 1
10bin
Process data is greater than limit value 1
11bin
Process data equals limit value 1
SB1.1
Overload
1bin
Process data is greater than specified in register R21. The red error LED of this channel is lit.
The calibration is active if SB1.0 and SB1.1 are set simultaneously.
SB1.0
Underload
1bin
Process data are less than specified in register R22. The red error LED of this channel is lit.
 
 

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 DataIn or
- want to write with output data word DataOut.
 
 

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/W
Reg. no.
 
 

Key

Bit
Name
Description
SB1.7
RegAccess
1bin
Acknowledgment 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

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