
Access from the user program
KL4414, KL4418, KL4424, KL4428
39
Version: 3.0.0
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 (B
a
)
This register is used for the offset compensation of the terminal (see equation 1.1). Register value (16 bit
signed integer). Default: 0x0001 (1
dec
)
R18: hardware compensation - gain (A
a
)
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 (3737
dec
)
R19: manufacturer scaling - offset (B
h
)
This register contains the offset for the manufacturer scaling (see equation 1.3). Register value (16 bit signed
integer). Default: 0x0000 (0
dec
)
Manufacturer scaling can be enabled via bit
of the feature register.
R20: manufacturer scaling - gain (A
h
)
This register contains the gain for manufacturer scaling (see equation 1.3). Register value (16 bit unsigned
integer x 2
-8
). Default: typical 0x0020 (32
dec
)
Manufacturer scaling can be enabled via bit
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.
Содержание KL4414
Страница 2: ......
Страница 4: ...Table of contents KL4414 KL4418 KL4424 KL4428 4 Version 3 0 0 ...