@intrahouse
Итак по тестам:
- Плагин V15 далеко не всегда стартует сам без бубна. Во всяком случае лог выводит только одну строчку. Интересный момент: каждый старт - стоп лога плагина при возникновении такой ошибки добавляет такую же строчку в лог и все.
![v_15.jpg](/assets/uploads/files/1579186479526-v_15.jpg)
- Плагин V15 начал обрабатывать отключение одного из устройств в линии но! есть большое но! Он обрабатывает только первый заход, начиная со второго захода он не видит устройство с другим адресом
//отключение питания счетчика ABB
19.12 21:40:07.247 modbus1: READ: unitId = 1, FC = 4, address = 0x502D (0x502d), length = 1
19.12 21:40:10.252 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:10.464 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:10.464 modbus1: READ: unitId = 1, FC = 4, address = 0x5294 (0x5294), length = 1
19.12 21:40:13.460 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:13.666 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:13.667 modbus1: READ: unitId = 2, FC = 3, address = 0x9C40 (0x9c40), length = 2
19.12 21:40:13.699 IH: get [ { id: 'ch17', value: 33620271 } ]
set {} //значение устройства №2 пришло
19.12 21:40:13.900 modbus1: READ: unitId = 1, FC = 4, address = 0x5000 (0x5000), length = 2
19.12 21:40:16.901 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:17.102 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:17.111 modbus1: READ: unitId = 1, FC = 4, address = 0x5001 (0x5001), length = 2
19.12 21:40:20.146 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:20.313 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:20.324 modbus1: READ: unitId = 1, FC = 4, address = 0x5002 (0x5002), length = 2
19.12 21:40:23.402 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:23.527 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:23.529 modbus1: READ: unitId = 1, FC = 4, address = 0x5003 (0x5003), length = 2
19.12 21:40:26.530 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:26.730 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:26.732 modbus1: READ: unitId = 1, FC = 4, address = 0x500A (0x500a), length = 1
19.12 21:40:29.734 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:29.937 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:29.939 modbus1: READ: unitId = 1, FC = 4, address = 0x500B (0x500b), length = 1
19.12 21:40:32.940 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:33.223 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:33.223 modbus1: READ: unitId = 1, FC = 4, address = 0x500C (0x500c), length = 1
19.12 21:40:36.145 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:36.433 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:36.433 modbus1: READ: unitId = 1, FC = 4, address = 0x500D (0x500d), length = 1
19.12 21:40:39.355 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:39.555 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:39.560 modbus1: READ: unitId = 1, FC = 4, address = 0x500F (0x500f), length = 1
19.12 21:40:42.561 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:42.764 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:42.766 modbus1: READ: unitId = 1, FC = 4, address = 0x5010 (0x5010), length = 1
19.12 21:40:45.768 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:45.970 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:45.973 modbus1: READ: unitId = 1, FC = 4, address = 0x5011 (0x5011), length = 1
19.12 21:40:48.973 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:49.173 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:49.179 modbus1: READ: unitId = 1, FC = 4, address = 0x501F (0x501f), length = 2
19.12 21:40:52.180 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:52.381 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:52.397 modbus1: READ: unitId = 1, FC = 4, address = 0x502D (0x502d), length = 1
19.12 21:40:55.398 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:55.598 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:55.601 modbus1: READ: unitId = 1, FC = 4, address = 0x5294 (0x5294), length = 1
19.12 21:40:58.602 modbus1: Network ERROR: ETIMEDOUT
19.12 21:40:58.803 modbus1: Port is not open! TRY RECONNECT
19.12 21:40:58.805 modbus1: READ: unitId = 2, FC = 3, address = 0x9C40 (0x9c40), length = 2
19.12 21:41:01.808 modbus1: Network ERROR: ETIMEDOUT
19.12 21:41:02.010 modbus1: Port is not open! TRY RECONNECT
//устройство №2 отвалилось
19.12 21:41:02.018 modbus1: READ: unitId = 1, FC = 4, address = 0x5000 (0x5000), length = 2
19.12 21:41:05.018 modbus1: Network ERROR: ETIMEDOUT
19.12 21:41:05.219 modbus1: Port is not open! TRY RECONNECT
19.12 21:41:05.229 modbus1: READ: unitId = 1, FC = 4, address = 0x5001 (0x5001), length = 2
19.12 21:41:22.880 modbus1: undefined //проскакивающая ошибка
19.12 21:41:24.271 modbus1: Network ERROR: ETIMEDOUT
19.12 21:41:24.472 modbus1: Port is not open! TRY RECONNECT
19.12 21:41:24.475 modbus1: READ: unitId = 1, FC = 4, address = 0x500D (0x500d), length = 1
19.12 21:41:27.476 modbus1: Network ERROR: ETIMEDOUT
19.12 21:41:27.676 modbus1: Port is not open! TRY RECONNECT
плюс проскакивает ошибка undefined на ровном месте.
3. когда у нас не запускался V15 пытались пробовать V14 для своих тестов, там отваливается все при разных настройках double/int/uint
![INT_UINT_V14.jpg](/assets/uploads/files/1579186987547-int_uint_v14.jpg)