Access from the user program
KL6781
24
Version: 2.0.0
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
Register R16 contains the hardware version of the terminal.
R29: Terminal type - special identification
The name of the special type of the terminal is contained in register R29. KL6781-0000: 0x0000 (0000
dec
)
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 when the terminal is restarted.
The code word is reset when the terminal is restarted.
R32: Baud rate register
Bit
R32.15
R32.14
R32.13
R32.12
R32.11
R32.10
R32.9
R32.8
Name
-
-
-
-
-
-
-
-
Bit
R32.7
R32.6
R32.5
R32.4
R32.3
R32.2
R32.1
R32.0
Name
-
-
-
-
-
Baud rate
Key
Bit
Name
Description
default
R32.15 - R32.3 -
reserved
0
bin
R32.2 - R32.0
Baud rate
110
bin
9600 baud
100
bin
101
bin
4800 baud
100
bin
2400 baud (default)
11
bin
1200 baud
010
bin
600 baud
001
bin
300 baud
Содержание KL6781
Страница 1: ...Documentation KL6781 M Bus Master Terminals 2 0 0 2018 01 16 Version Date...
Страница 2: ......
Страница 4: ...Table of contents KL6781 4 Version 2 0 0...