Register description

The following registers are used for parameterizing the KL4414, KL4418, KL4424 and KL4428. Each signal channel of the analog terminal has one register that can be read or written to with the aid of control, status and data bytes via register communication.

R0: Process data for D/A-C

Process data, which are transferred to the D/A converter.

R6: diagnostic register

The diagnostic register of the KL4414 and KL4424 is currently not used.

R7: command register

The command register of the KL4414 and KL4424 is currently not used.

R8: terminal designation

Register R8 contains the terminal identifier. e.g.:

  • KL4414: 0x113E (4414dec) or 
  • KL4424: 0x1148 (4424dec)

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 - offset (Ba)

This register is used for the offset compensation of the terminal (see equation 1.1). Register value (16 bit signed integer). Default: 0x0001 (1dec)

R18: hardware compensation - gain (Aa)

This register is used for the gain compensation of the terminal (see equation 1.1). Register value (16 bit unsigned integer x 2-12). Default: typical 0x0E99 (3737dec)

R19: manufacturer scaling - offset (Bh)

This register contains the offset for the manufacturer scaling (see equation 1.3). Register value (16 bit signed integer). Default: 0x0000 (0dec)
Manufacturer scaling can be enabled via bit R32.1 of the feature register.

R20: manufacturer scaling - gain (Ah)

This register contains the gain for manufacturer scaling (see equation 1.3). Register value (16 bit unsigned integer x 2-8). Default: typical 0x0020 (32dec)
Manufacturer scaling can be enabled via bit R32.1 of the feature register.

DR21: manufacturer switch-on value

The terminal applies the manufacturer switch-on value to its output after a system reset or a watchdog timer overflow (terminal has received no process data for 100 ms). Register value (16 bit signed integer).

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.

Feature register (R32)

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

Bit

R32.15

R32.14

R32.13

R32.12

R32.11

R32.10

R32.9

R32.8

Name

-

-

-

-

-

-

-

enUserActValue

Bit

R32.7

R32.6

R32.5

R32.4

R32.3

R32.2

R32.1

R32.0

Name

-

-

enSignRepr

-

enSignAmRepr

enWdTimer

enManScal

enUsrScal

Key

Bit

Name

Description

default

R32.15

-

reserved

0bin

...

...

...

...

R32.9

-

reserved

0bin

R32.8

enUserActValue

0bin

Manufacturer switch-on value active

0bin

1bin

User switch-on value active

R32.7

-

reserved

0bin

R32.6

-

reserved

0bin

R32.5

enSignRepr

0bin

Signed representation is not active

0bin

1bin

Signed representation is active

R32.4

-

reserved

0bin

R32.3

enSignAmRepr

0bin

 Two's complement representation is active

0bin

1bin

 Signed amount representation is active (-1dec = 0x8001)

R32.2

enWdTimer

0bin

Watchdog timer is not active

1bin

1bin

Watchdog timer is active (the watchdog is triggered if no process data are received for 100 ms)

R32.1

enManScal

0bin

Manufacturer scaling is active

1bin

1bin

Manufacturer scaling is not active

R32.0

enUsrScal

0bin

User scaling is not active

0bin

1bin

User scaling is active

R33: user scaling - offset (Bw)

This register contains the offset of the user scaling.
User scaling can be enabled in the feature register via bit R32.0.

R34: user scaling - gain (Aw)

This register contains the gain of the user scaling. Default: 0x0100 (256dec)
User scaling can be enabled in the feature register via bit R32.0

R35: user switch-on value

If the user switch-on value has been enabled with bit R32.8 of the feature register, the terminal sets its output to the user activation value in place of the manufacturer switch-on value on the occurrence of a system reset or a watchdog timer overflow (terminal has not received any process data for 100 ms).