Исправление. Определение на связи/отключен

This commit is contained in:
sasha80
2025-03-14 11:30:17 +03:00
parent 19a9a844ed
commit 2d33484f95
4 changed files with 21 additions and 22 deletions

View File

@@ -68,7 +68,7 @@ class Modbus extends ModbusClientRtu:
if rc != Error.OK:
push_error('%s:%s %s' % [unit_name, port, params])
return false
set_indication_timeout(params[5])
set_response_timeout(params[5])
thread_run()
return true