KL4494 - Analog terminal with two input and two output channels, -10 V...+10V

Register description

All registers can be read or written via register communication.

 

R0: Raw value A/D-C

Raw value of the A/D converter (XR)

 
 

R6: Diagnostic register

The status byte is mapped to the low-order byte (bit 7 to bit 0) of register R6.
The high-order byte (bit 15 to bit 8) of register R6 is reserved.

 
 

R7: Command register

The command register of KL4494 is currently not used.

 
 

R8: Terminal description

The terminal description is contained in register R8: 0x118E (4494dec)

 
 

R9: Firmware version

Register R9 contains the ASCII coding of the terminal's firmware version, e.g. 0x3141 (1A)ASCII. '0x31' corresponds to the ASCII character '1' and '0x41' to the ASCII character 'A'. This value cannot be changed.

 
 

R10: Data length (multiplex shift register)

R10 contains the number of multiplexed shift registers and their length in bits.

 
 

R11: Signal channels

Unlike R10, this contains the number of channels that are logically present. Thus for example a shift register that is physically present can perfectly well consist of several signal channels.

 
 

R12: Minimum data length

The particular byte contains the minimum data length for a channel that is to be transferred. If the MSB is set, the control and status byte is not necessarily required for the terminal function and is not transferred to the control, if the Bus Coupler is configured accordingly.

 
 

R13: Data structure (data type register)

 
Data type register
Meaning
0x00
Terminal with no valid data type
0x01
Byte-Array
0x02
Structure: 1 Byte, n Bytes
0x03
Word array
0x04
Structure: 1 byte, n words
0x05
Double word array
0x06
Structure: 1 byte, n double words
0x07
Structure: 1 byte, 1 double word
0x08
Structure: 1 byte, 1 double word
0x11
Byte array with variable logical channel length
0x12
Structure: 1 byte, n bytes with variable logical channel length (e.g. 60xx)
0x13
Word array with variable logical channel length
0x14
Structure: 1 byte, n words with variable logical channel length
0x15x
Double word array with variable logical channel length
0x16
Structure: 1 byte, n double words with variable logical channel length
 
 

R15: Alignment register

Via the alignment register bits, the Bus Coupler arranges the address range of an analog terminal such that it starts at a byte boundary.

 
 

R16: Hardware version number

Register R16 contains the hardware version of the terminal; this value cannot be changed.

 
 

R17: Hardware compensation for analog input - offset (Ba)

This register is used for the offset compensation of the analog input (see equation 1.1).

 
 

R18: Hardware compensation for analog input - gain (Aa)

This register is used for the gain compensation of the analog input.

Scaling: Gain factor = R18 x 2-12 (see equation 1.1)

Example: 4096dec (0x1000), equivalent to a gain factor of 1

 
 

R19: Hardware compensation for analog output - offset (Ba)

This register is used for the offset compensation of the analog output (see equation 1.1).

 
 

R20: Hardware compensation for analog output - gain (Aa)

This register is used for the gain compensation of the analog output.

Scaling: Gain factor = R20 x 2-15 (see equation 1.1)

Example: 32768dec (0x1000), equivalent to a gain factor of 1

 
 

R21 Overrange-Limit - OvRL (Ya)

This limit value limits the maximum measuring range of the input terminal (see equation 1.0). If it is exceeded, the associated status bit is set, and the maximum value is displayed.

 
 

R22 Underrange-Limit - UnRL (Ya)

If the value falls below this limit, the associated status bit is set, and the minimum value is displayed (see equation 1.0).

 
 

R31: Code word register

If you write values into the user registers without first entering the user code word (0x1235) into the code word register, the terminal will not accept the supplied data.
If you write values into the user registers and have previously entered the user code word (0x1235) in the code word register, these values are stored in the RAM registers and in the SEEPROM registers and are therefore retained if the terminal is restarted.

The code word is reset with each restart of the terminal.

 
 

R32: Feature register

The feature register specifies the terminal's configuration. Default: 0x0404 (1028dec)

High-Byte: analog output configuration

 
Bit
R32.15
R32.14
R32.13
R32.12
R32.11
R32.10
R32.9
R32.8
Name
-
-
-
enUsrDefault
enSiemens
enWDT
enManScal
enUsrScal

Low-Byte: analog input configuration

 
Bit
R32.7
R32.6
R32.5
R32.4
R32.3
R32.2
R32.1
R32.0
Name
-
-
-
-
enSiemens
enWDT
enManScal
enUsrScal
 
 

Key

 
Bit
Name
Description
default
R32.15
-
reserved
0bin
...
...
...
...
R32.13
-
reserved
0bin
R32.12
enUsrDefault
1bin
User default value specified via register R35 is active
0bin
R32.11
enSiemens
Analog Output
0bin
Standard output format
0bin
1bin
Siemens output format
R32.10
enWDT
1bin
Watchdog timer is active
1bin
R32.9
enManScal
Analog Output
0bin
Manufacturer scaling is active
0bin
1bin
Manufacturer scaling is not active
R32.8
enUsrScal
Analog Output
0bin
User scaling is not active
0bin
1bin
User scaling is active
R32.7
-
reserved
0bin
R32.6
-
reserved
0bin
R32.5
-
reserved
0bin
R32.4
-
reserved
0bin
R32.3
enSiemens
Analog Input
0bin
Standard output format
0bin
1bin
Siemens output format:
The three bits with the lowest value are used for displaying status information (see below).
R32.2
enWDT
1bin
Watchdog timer is active
1bin
R32.1
enManScal
Analog Input
0bin
Manufacturer scaling is active
0bin
1bin
Manufacturer scaling is not active
R32.0
enUsrScal
Analog Input
0bin
User scaling is not active
0bin
1bin
User scaling is active
 
 

Siemens output format

If the Siemens output format is selected, the lowest three bits are used for status evaluation. The process data is represented in bits 15 to 3, with bit 15 representing the sign bit. Scaling of the measured value according to the Siemens standard has to be done via user scaling (R33, R34).

 
Measured value
Bit 15 ... 3
Bit 2
X
Bit 1
Error
Bit 0
Overflow
Measured value < -10 V
 
0
0
1
-10 V < Measured value < 10 V
Process data
0
0
0
Measured value >+10 V
 
0
0
1
 
 

R33: User scaling for analog input - offset (Bw)

This register contains the offset of the user scaling for the analog input (default: 0).
User scaling for the analog input can be activated in the feature register via bit R32.0.

 
 

R34: User scaling for analog input - gain (Aw)

This register contains the gain factor of the user scaling for the analog input (default: 256dec, equivalent to a gain factor of 1).
Scaling: Gain factor = R34 x 2-8

User scaling for the analog input can be activated in the feature register via bit R32.0.

 
 

R35: User default value for analog output

Here you can specify the user default value.

 
 

R36: User scaling for analog output - offset (Bw)

This register contains the offset of the user scaling for the analog input (default: 0).
User scaling for the analog output can be activated in the feature register via bit R32.8.

 
 

R37: User scaling for analog output - gain (Aw)

This register contains the gain factor of the user scaling for the analog output (default: 256dec, equivalent to a gain factor of 1).

Scaling: Gain factor = R37 x 2-8

User scaling for the analog output can be activated in the feature register via bit R32.8