Смена id адреса на wbe2-i-opentherm

Не могу поменять адрес с 11 на 12 на wbe2-i-opentherm.
Контроллер 8.5, модуль установил в MOD3, добавил.
systemctl stop wb-mqtt-serial - останавливаю драйвер
modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x06 -r40200 12 - пытаюсь поменять адрес

root@wirenboard-APARVXMY:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x06 -r40200 12
Data to write: 0xc
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0B][06][9D][08][00][0C][27][0B]
Waiting for a confirmation…
<0B><86><02>
ERROR Illegal data address
ERROR occured!
выдает такую ошибку, как в таком случае добавить? или что не так делаю?

Добрый день!

А попробуйте сначала считать адрес из этого регистра.

Напишите его в HEX формате:

Подскажите пожалуйста команду для считывания регистра?

modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x03 -r40200

или

modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x03 -r0xС8

root@wirenboard-APARVXMY:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x03 -r40200
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0B][03][9D][08][00][01][2A][CE]
Waiting for a confirmation…
ERROR Connection reset by peer: read
ERROR occured!
root@wirenboard-APARVXMY:~#

Попробовал на нашем стенде:

root@wirenboard-AL6EW4HL:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x03 -r0xC8
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0B][03][00][C8][00][01][05][5E]
Waiting for a confirmation…
<0B><03><02><00><0B><61><82>
SUCCESS: read 1 of elements:
Data: 0x000b
root@wirenboard-AL6EW4HL:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x06 -r0xC8 12
Data to write: 0xc
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0B][06][00][C8][00][0C][08][9B]
Waiting for a confirmation…
<0B><06><00><00><0C><08><9B>
SUCCESS: written 1 elements!
root@wirenboard-AL6EW4HL:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a12 -t0x03 -r0xC8
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0C][03][00][C8][00][01][04][E9]
Waiting for a confirmation…
<0C><03><02><00><0C><95><80>
SUCCESS: read 1 of elements:
Data: 0x000c
root@wirenboard-AL6EW4HL:~#

У меня опять с ошибкой:
root@wirenboard-APARVXMY:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x03 -r0xC8
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0B][03][00][C8][00][01][05][5E]
Waiting for a confirmation…
ERROR Connection reset by peer: read
ERROR occured!
root@wirenboard-APARVXMY:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x06 -r0xC8 12
Data to write: 0xc
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0B][06][00][C8][00][0C][08][9B]
Waiting for a confirmation…
ERROR Connection reset by peer: read
<0B><04>ERROR occured!
root@wirenboard-APARVXMY:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a12 -t0x03 -r0xC8
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0C][03][00][C8][00][01][04][E9]
Waiting for a confirmation…
ERROR Connection reset by peer: read
<0B><03>ERROR occured!
root@wirenboard-APARVXMY:~#

Что можно еще глянуть, перезагружал не помогло, в устройствах отображается без ошибки, обновлял.

я забыл вам напомнить, что перед этим нужно остановить драйвер командой:

systemctl stop wb-mqtt-serial

После смены адреса

systemctl start wb-mqtt-serial

https://wiki.wirenboard.com/wiki/Modbus-client#Подготовка_к_работе

root@wirenboard-APARVXMY:~# systemctl stop wb-mqtt-serial
root@wirenboard-APARVXMY:~# ^C
root@wirenboard-APARVXMY:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x03 -r0xC8
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0B][03][00][C8][00][01][05][5E]
Waiting for a confirmation…
<0B><03><02><00><0B><61><82>
SUCCESS: read 1 of elements:
Data: 0x000b
root@wirenboard-APARVXMY:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a11 -t0x06 -r0xC8 12
Data to write: 0xc
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0B][06][00][C8][00][0C][08][9B]
Waiting for a confirmation…
<0B><06><00><00><0C><08><9B>
SUCCESS: written 1 elements!
root@wirenboard-APARVXMY:~# modbus_client --debug -mrtu -b19200 -pnone -s1 /dev/ttyMOD3 -a12 -t0x03 -r0xC8
Opening /dev/ttyMOD3 at 19200 bauds (N, 8, 1)
[0C][03][00][C8][00][01][04][E9]
Waiting for a confirmation…
<0C><03><02><00><0C><95><80>
SUCCESS: read 1 of elements:
Data: 0x000c

Совсем другое дело))) Спасибо!