Добрый день!
Подскажите пожалуйста оптимальные параметры wb-mqtt-serial.conf для опроса устройств через WB-MGE. Сейчас такой конфиг и с ним постоянно сыплют таймауты в лог:
"address": "192.168.43.170",
"port": 1170,
"devices": [
{
"slave_id": "51",
"device_type": "WB-MR3",
"name": "Relay05 WB-MR3LV/I",
"id": "relay05",
"poll_interval": 2000,
"device_timeout_ms": 10000
},
{
"slave_id": "91",
"device_type": "WB-M1W2",
"name": "Temperature02",
"id": "temperature02",
"poll_interval": 2000,
"device_timeout_ms": 10000
}
],
"port_type": "tcp",
"poll_interval": 2000,
"response_timeout_ms": 5000
}
Настройки на WB-MGE стандартные:
Потерь до шлюза нет, собрано пока в тестовом режиме и соединено 2-метровым патчкордом.
В логах такое. Стабильно раз в 1-2 минуты таймаут, причем почти все до WB-MR3LV/I, а вот до WB-M1W2 изредка. Дело в кол-ве регистров? Что порекомендуете поднастроить?
Mar 26 15:12:06 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:51: Serial protocol error: request timed out
Mar 26 15:12:48 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:28: Serial protocol error: request timed out
Mar 26 15:12:59 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:51: Serial protocol error: request timed out
Mar 26 15:14:41 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 coil(s) @ 0 of device modbus:51: Serial protocol error: request timed out
Mar 26 15:15:52 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:51: Serial protocol error: request timed out
Mar 26 15:18:34 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:51: Serial protocol error: request timed out
Mar 26 15:18:47 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:51: Serial protocol error: request timed out
Mar 26 15:19:53 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:51: Serial protocol error: request timed out
Mar 26 15:20:44 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:51: Serial protocol error: request timed out
Mar 26 15:22:01 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 2 holding(s) @ 270 of device modbus:28: Serial protocol error: request timed out
Mar 26 15:23:48 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:51: Serial protocol error: request timed out
Mar 26 15:24:19 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:51: Serial protocol error: request timed out
Mar 26 15:25:03 wirenboard-A4WP2ZIO user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:51: Serial protocol error: request timed out