Access from the user program
KL6001
28
Version: 3.0.0
5.3
Register overview
Address
Name
Default value
R/W
Storage medium
R0
Number of data bytes in the send
buffer
variable
R
RAM
R1
Number of data bytes in the
receive buffer
variable
R
RAM
R2...R5
reserved
0x0000
R
R6
Diagnostic register
variable
R
RAM
R7
Command register not used
0x0000
R
R8
Terminal type
6001
R
ROM
R9
Firmware version
0x????
R
ROM
R10
Multiplex shift register
0x0218
R
ROM
R11
Signal channels
0x0130
R
ROM
R12
Minimum data length
0x3030
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
reserved
0x0000
R/W
SEEROM
R18
"Buffer full" message
0x0080
R/W
SEEROM
R19...R30
reserved
0x0000
R/W
SEEROM
R31
Code word register
variable
R/W
RAM
R32
Baud rate
0x0006
R/W
SEEROM
R33
Data Frame
0x0003
R/W
SEEROM
R34
Feature register
0x0003
R/W
SEEROM
R35
Number of data bytes sent to the
Bus Coupler
0x0003
R/W
SEEROM
R36…R47
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.
General description of registers
Complex terminals that possess a processor are able to exchange data bi-directionally with the higher-level
controller. These terminals are referred to below as intelligent Bus Terminals. These include the analog
inputs (0 to 10 V, -10 to 10 V, 0 to 20 mA, 4 to 20 mA), the analog outputs (0 to 10 V, -10 to 10 V, 0 to
20 mA, 4 to 20 mA), serial interface terminals (RS485, RS232, TTY, data exchange terminals), counter
terminals, encoder interfaces, SSI interfaces, PWM terminals and all other parameterizable modules.
The main features of the internal data structure are the same for all the intelligent terminals. This data area is
organized as words, and includes 64 memory locations. The important data and parameters of the terminal
can be read and set through this structure. It is also possible for functions to be called by means of
corresponding parameters. Each logical channel in an intelligent terminal has such a structure (so a 4-
channel analog terminal has 4 sets of registers).
This structure is divided into the following areas: