Не включает выхода модуля вывода WBIO-DO-HS-8

все работало на протяжении 2х недель, в один момент выхода перестали работать на 2х модулях. В веб интерфейсе WB устанавливаю переключатель включено но реакции нет. 2020-07-06_10-54-07

Включите в сеансе ssh

tail -f /var/log/messages

UPD: не то отредактировал

root@wb:~# tail -f /var/log/messages
Jul 6 08:42:01 wb user.warn kernel: [281708.483654] RTL871X: RTW_ADAPTIVITY_MODE_
Jul 6 08:42:01 wb user.warn kernel: [281708.487646] NORMAL
Jul 6 08:42:01 wb user.warn kernel: [281708.931607] RTL871X: nolinked power save leave
Jul 6 08:42:01 wb authpriv.info CRON[11461]: pam_unix(cron:session): session opened for user root by ( uid=0)
Jul 6 08:42:01 wb cron.info CRON[11465]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_confed.sh 2> &1 | logger -t wb-daemon-watchdogs)
Jul 6 08:42:02 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:02 wb user.notice serial: device modbus:161 disconnected
Jul 6 08:42:03 wb user.warn kernel: [281711.259562] RTL871X: nolinked power save enter
Jul 6 08:42:04 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:04 wb user.notice serial: device modbus:161 disconnected
Jul 6 08:42:05 wb authpriv.info CRON[11461]: pam_unix(cron:session): session closed for user root
Jul 6 08:42:06 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:06 wb user.notice serial: device modbus:161 disconnected
Jul 6 08:42:08 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:08 wb user.notice serial: device modbus:161 disconnected
Jul 6 08:42:09 wb user.warn kernel: [281717.102031] RTL871X: RTW_ADAPTIVITY_EN_
Jul 6 08:42:09 wb user.warn kernel: [281717.105815] AUTO, chplan:0x20, Regulation:3,3
Jul 6 08:42:09 wb user.warn kernel: [281717.110382] RTL871X: RTW_ADAPTIVITY_MODE_
Jul 6 08:42:09 wb user.warn kernel: [281717.114314] NORMAL
Jul 6 08:42:10 wb user.warn kernel: [281717.551964] RTL871X: nolinked power save leave
Jul 6 08:42:10 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:10 wb user.notice serial: device modbus:161 disconnected
Jul 6 08:42:12 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:12 wb user.notice serial: device modbus:161 disconnected
Jul 6 08:42:12 wb user.warn kernel: [281719.909292] RTL871X: nolinked power save enter
Jul 6 08:42:14 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:14 wb user.notice serial: device modbus:161 disconnected
Jul 6 08:42:15 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:15 wb user.notice serial: device modbus:161 disconnected
Jul 6 08:42:17 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:17 wb user.notice serial: device modbus:161 disconnected
Jul 6 08:42:18 wb user.warn kernel: [281725.760142] RTL871X: RTW_ADAPTIVITY_EN_
Jul 6 08:42:18 wb user.warn kernel: [281725.763940] AUTO, chplan:0x20, Regulation:3,3
Jul 6 08:42:18 wb user.warn kernel: [281725.768499] RTL871X: RTW_ADAPTIVITY_MODE_
Jul 6 08:42:18 wb user.warn kernel: [281725.772428] NORMAL
Jul 6 08:42:18 wb user.warn kernel: [281726.193086] RTL871X: nolinked power save leave
Jul 6 08:42:19 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:19 wb user.notice serial: device modbus:161 disconnected
Jul 6 08:42:21 wb user.warn kernel: [281728.661343] RTL871X: nolinked power save enter
Jul 6 08:42:21 wb user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 holding(s) @ 6 of device modbus:161: Serial protocol error: request timed out
Jul 6 08:42:21 wb user.notice serial: device modbus:161 disconnected
^Z
[3]+ Остановлен tail -f /var/log/messages

Отключите устройство 161, отключить можно “программно”, открываете
Отключение устройств serial

В веб-интерфейсе:

Configs - /etc/wb-mqtt-serial.conf
Выбираем порт (например Port /dev/ttyRS485-1)
Правее имени устройства - кнопка “Properties”
Нажимаем. В выпавшем списке ставим галочку на “Enable device”. И снова жмем на “Properties” чтоб закрыть список.
Мы добавили в интерфейс устройства возможность его выключить!
Снимаем галочку “Enable device” под адресом устройства и нажимаем “Save” сверху.
Устройство отключено, контроллер к нему не обращается.

И перезапустите контроллер.

Я так сделал, но как это должно повлиять? В итоге перезагрузил, по прежнему не работает.

Jul 6 10:10:16 wb user.warn kernel: [ 766.384754] NORMAL
Jul 6 10:10:16 wb user.warn kernel: [ 766.806984] RTL871X: nolinked power save leave
Jul 6 10:10:19 wb user.warn kernel: [ 769.338347] RTL871X: nolinked power save enter
Jul 6 10:10:25 wb user.warn kernel: [ 775.216159] RTL871X: RTW_ADAPTIVITY_EN_
Jul 6 10:10:25 wb user.warn kernel: [ 775.219848] AUTO, chplan:0x20, Regulation:3,3
Jul 6 10:10:25 wb user.warn kernel: [ 775.224292] RTL871X: RTW_ADAPTIVITY_MODE_
Jul 6 10:10:25 wb user.warn kernel: [ 775.228368] NORMAL
Jul 6 10:10:25 wb user.warn kernel: [ 775.670239] RTL871X: nolinked power save leave
Jul 6 10:10:28 wb user.warn kernel: [ 778.012553] RTL871X: nolinked power save enter
Jul 6 10:10:28 wb daemon.info dhclient[3674]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
Jul 6 10:10:33 wb user.warn kernel: [ 783.844537] RTL871X: RTW_ADAPTIVITY_EN_
Jul 6 10:10:33 wb user.warn kernel: [ 783.848251] AUTO, chplan:0x20, Regulation:3,3
Jul 6 10:10:33 wb user.warn kernel: [ 783.852697] RTL871X: RTW_ADAPTIVITY_MODE_
Jul 6 10:10:33 wb user.warn kernel: [ 783.856537] NORMAL
Jul 6 10:10:34 wb user.warn kernel: [ 784.306730] RTL871X: nolinked power save leave
Jul 6 10:10:36 wb daemon.info dhclient[3674]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
Jul 6 10:10:36 wb user.warn kernel: [ 786.654730] RTL871X: nolinked power save enter
Jul 6 10:10:42 wb user.warn kernel: [ 792.521322] RTL871X: RTW_ADAPTIVITY_EN_
Jul 6 10:10:42 wb user.warn kernel: [ 792.525033] AUTO, chplan:0x20, Regulation:3,3
Jul 6 10:10:42 wb user.warn kernel: [ 792.529436] RTL871X: RTW_ADAPTIVITY_MODE_
Jul 6 10:10:42 wb user.warn kernel: [ 792.533369] NORMAL
Jul 6 10:10:42 wb user.warn kernel: [ 792.945843] RTL871X: nolinked power save leave
Jul 6 10:10:44 wb daemon.info dhclient[3674]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
Jul 6 10:10:45 wb user.warn kernel: [ 795.484102] RTL871X: nolinked power save enter
Jul 6 10:10:51 wb user.warn kernel: [ 801.348163] RTL871X: RTW_ADAPTIVITY_EN_
Jul 6 10:10:51 wb user.warn kernel: [ 801.351943] AUTO, chplan:0x20, Regulation:3,3
Jul 6 10:10:51 wb user.warn kernel: [ 801.356326] RTL871X: RTW_ADAPTIVITY_MODE_
Jul 6 10:10:51 wb user.warn kernel: [ 801.360177] NORMAL
Jul 6 10:10:51 wb user.warn kernel: [ 801.776369] RTL871X: nolinked power save leave
^Z
[1]+ Остановлен tail -f /var/log/messages

Выложите пожалуйста содержимое

cat /etc/wb-hardware.conf

Еще какие-то модули подключены к контроллеру сбоку?

нет

root@wb:~# cat /etc/wb-hardware.conf
{
“slots”: [
{
“id”: “wb6-mod1”,
“name”: “Internal slot 1”,
“compatible”: [
“wbe2”,
“wbe3-reduced”
],
“module”: “”,
“options”: {}
},
{
“id”: “wb6-mod2”,
“name”: “Internal slot 2”,
“compatible”: [
“wbe2”,
“wbe3-reduced”
],
“module”: “”,
“options”: {}
},
{
“id”: “wb6-mod3”,
“name”: “Internal slot 3”,
“compatible”: [
“wbe3”,
“wbe3-reduced”
],
“module”: “wbe2r-r-zigbee”,
“options”: {}
},
{
“id”: “wb6-extio1”,
“name”: “External I/O module 1”,
“compatible”: [
“wb5-extio”
],
“module”: “wbio-do-hs-8”,
“options”: {}
},
{
“id”: “wb6-extio2”,
“name”: “External I/O module 2”,
“compatible”: [
“wb5-extio”
],
“module”: “wbio-do-hs-8”,
“options”: {}
},
{
“id”: “wb6-extio3”,
“name”: “External I/O module 3”,
“compatible”: [
“wb5-extio”
],
“module”: “”,
“options”: {}
},
{
“id”: “wb6-extio4”,
“name”: “External I/O module 4”,
“compatible”: [
“wb5-extio”
],
“module”: “”,
“options”: {}
},
{
“id”: “wb6-extio5”,
“name”: “External I/O module 5”,
“compatible”: [
“wb5-extio”
],
“module”: “”,
“options”: {}
},
{
“id”: “wb6-extio6”,
“name”: “External I/O module 6”,
“compatible”: [
“wb5-extio”
],
“module”: “”,
“options”: {}
},
{
“id”: “wb6-extio7”,
“name”: “External I/O module 7”,
“compatible”: [
“wb5-extio”
],
“module”: “”,
“options”: {}
},
{
“id”: “wb6-extio8”,
“name”: “External I/O module 8”,
“compatible”: [
“wb5-extio”
],
“module”: “”,
“options”: {}
},
{
“id”: “wb6-rs485-1”,
“name”: “RS485-1 interface config”,
“compatible”: [
“wb6-rs485”
],
“module”: “wb6-can-rs485”,
“options”: {
“mode”: “enabled”
}
},
{
“id”: “wb6-rs485-2”,
“name”: “RS485-2/CAN interface config”,
“compatible”: [
“wb6-rs485”,
“wb6-can”
],
“module”: “wb6-can-rs485”,
“options”: {
“mode”: “enabled”
}
},
{
“id”: “wb6-w1”,
“name”: “W1 terminal mode”,
“compatible”: [
“wb6-wx”
],
“module”: “wb6-wx-di”,
“options”: {}
},
{
“id”: “wb6-w2”,
“name”: “W2 terminal mode”,
“compatible”: [
“wb6-wx”
],
“module”: “wb6-wx-di”,
“options”: {}
},
{
“id”: “wb6-wbmz2”,
“name”: “Mezzanine board”,
“compatible”: [
“wb6-wbmz2-power”
],
“module”: “”,
“options”: {}
}
]
}

А самое банальное проверили - на VIN модулей есть питание?

Да 24 Вольта, первое что сделал.

Давайте отключим второй (правый) модуль, отодвинем его. Уберем из конфига (ставим none) и проверим на одном.

Вопрос решил, убрал питание в модулей (перезагрузил их) и все заработало. Но это неприемлемо для контроллера. Почему так ???

То есть с клеммы Vin самих модулей? при этом контроллер оставался подключенным и работал? Реально странно. Причина может быть одна - плохой контакт между землей модулей и землей контроллера.
Надо провод поосновательней и соединить.
https://wirenboard.com/wiki/index.php/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C_%D0%B4%D0%B8%D1%81%D0%BA%D1%80%D0%B5%D1%82%D0%BD%D1%8B%D1%85_%D0%B2%D1%8B%D1%85%D0%BE%D0%B4%D0%BE%D0%B2_(WBIO-DO-HS-8)#.D0.9F.D0.BE.D0.B4.D0.BA.D0.BB.D1.8E.D1.87.D0.B5.D0.BD.D0.B8.D0.B5_.D0.BD.D0.B0.D0.B3.D1.80.D1.83.D0.B7.D0.BA.D0.B8 написано.
Если там токи гуляют - повиснуть мог из-за наводок.

Чуть позже скину схему как у меня соединенно

Забыли?

Здравствуйте, высылаю схему, от БП я всегда + и 1 веду на клеммный распределитель и от туда подключаю устройства.

Ясно, то есть “звезда”. Но все ж присоедините проводом прямо клеммы земло модуля и контроллера. Благо они рядом. “внешняя” земля может быть для импульсов гораздо боОльшим сопротивлением чем нежные внутренние цепи WBIO.

Я уже подключил, как вы рекомендуете, от контроллера питание +24 и GND к модулям. Буду тестировать дальше.