
Access from the user program
KL5101
29
Version: 3.1
5.3
Register overview
Address
Designation
Default value
R/W
Storage medium
R0…R5
reserved
0x0000
R
R6
Diagnostic register not used
0x0000
R
R7
Command register not used
0x0000
R
R8
Terminal type
5101
R
ROM
R9
Firmware version
0x????
R
ROM
R10
Multiplex shift register
0x0218/0130
R
ROM
R11
Signal channels
0x0130
R
ROM
R12
Minimum data length
0x03030
R
ROM
R13
Data structure
0x0000
R
ROM
R14
reserved
0x0000
R
R15
Alignment register
variable
R/W
RAM
R16
Hardware version number
0x????
R/W
SEEROM
R17…R30
reserved
0x0000
R/W
SEEROM
R31
Code word register
variable
R/W
RAM
R32
Feature register
0x2200
R/W
SEEROM
R33…R61
reserved
0x0000
R/W
SEEROM
5.4
Register description
The registers can be read or written via the register communication. They are used for the parameterization
of the terminal.
R0 to R7: Registers in the internal RAM of the terminal
The process variables can be used in addition to the actual process image. Their function is specific to the
terminal.
•
R0 to R5: reserved
•
R6: Diagnostic register
The diagnostic register can contain additional diagnostic information. Parity errors, for instance, that
occur in serial interface terminals during data transmission are indicated here.
•
R7: Command register
High-Byte_Write = function parameter
Low-Byte_Write = function number
High-Byte_Read = function result
Low-Byte_Read = function number
R8 to R15: Registers in the internal ROM of the terminal
The type and system parameters are hard programmed by the manufacturer, and the user can read them
but cannot change them.
•
R8: Terminal type
The terminal type in register R8 is needed to identify the terminal.
•
R9: Software version (X.y)
The software version can be read as a string of ASCII characters.
•
R10: Data length
R10 contains the number of multiplexed shift registers and their length in bits.
The Bus Coupler sees this structure.
•
R11: Signal channels
Related to 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.