Access from the user program
KL2751/KS2751, KL2761/KS2761
42
Version: 3.1.0
6.5
Register description
All registers can be read or written via register communication. They are used for the parameterization of the
terminal.
Basic configuration is also possible via the PLC using the
function block.
R7: Command register
Note
User code word
For the following commands to be executed, it is first necessary for the user code word,
0x1235, to be entered into
•
Command 0x7000: Restore Factory Default Settings
Entering 0x7000 in register R7 restores the factory settings for the following registers:
R33: 0
dec
R34: 256
dec
R35: 3
dec
R36: 10
dec
R37: 16383
dec
R38: 0
dec
R39: 0
dec
R40: 1
dec
R41: 0
dec
(KL2751-0000, KL2751-0011, KL2761-0000, KL2761-0011)
R8: Terminal type
The terminal identifier is contained in register R8: KL2751 or KL2761.
R9: Firmware version
Register R9 contains the ASCII coding of the terminal's firmware version, e.g.
0x3141 = '1A'
. The
'0x31'
corresponds here to the ASCII character
'1'
, while the
'0x41'
represents the ASCII character
'A'
.
This value cannot be changed.
R16: Hardware version number
Register R16 contains the hardware version of the terminal.
R29: Terminal type, special version
Register R29 contains the special version of the terminal.
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. The code word is reset if the terminal is
restarted.