KL31x2 - Two Channel Accurate Analog Terminals

Process image

The terminals KL3132, KL3162, KL3142, KL3152 KL3172 and KL3148 are represented in the process image with a maximum of 6 bytes of input data and 6 bytes of output data. These are organized as follows:

Format
Input data
Output data
Byte
Word
DataIN1
DataOUT1
Byte
Word
DataIN2
DataOUT2
 

Key

SB n: Status byte for channel n
CB n: Control byte for channel n

DataIN n: Input data word channel n
DataOUT n: Output data word channel n

Please refer to the Mapping page for the allocation of the bytes and words to the addresses of the controller.
The meaning of the control and status bytes is explained in Control and status bytes.
In process data mode the analog values are transferred in output data words DataIN1 and DataIN2. Input data words DataOUT1 and DataOUT2 are not used.
 
 

Representation of the analog values

The analog input values are represented by the terminals as follows:

KL3132-0000

Voltage
Decimal
Hexadecimal
-10 V
-32768
0x8000
+10 V
+32767
0x7FFF

KL3142-0000

Current
Decimal
Hexadecimal
0 mA
0
0x0000
20 mA
65535
0xFFFF

KL3152-0000

Current
Decimal
Hexadecimal
4 mA
0
0x0000
20 mA
65535
0xFFFF

KL3162-0000

Voltage
Decimal
Hexadecimal
0 V
0
0x0000
10 V
65535
0xFFFF

KL3172-0000

Voltage
Decimal
Hexadecimal
0 V
0
0x0000
2 V
65535
0xFFFF

KL3172-0500

Voltage
Decimal
Hexadecimal
0 V
0
0x0000
500 mV
65535
0xFFFF

KL3172-1000

Voltage
Decimal
Hexadecimal
0 V
0
0x0000
1 V
65535
0xFFFF

KL3182-0000

Voltage
Decimal
Hexadecimal
-2 V
-32768
0x8000
+2 V
+32767
0x7FFF