Дико извиняюсь, затупил. Реле работает нормально. А с ключом вопрос открыт
Здравствуйте,
Проверьте пожалуйста, актуален ли вопрос с обновлением модуля MegaD?
Да, актуально, но ситуация немного изменилась. Поскольку после обновления появилась возможность создавать порты вручную, то теперь, возможно, было бы достаточно разрешить добавлять порты с названием, заканчивающимся буквой "A" и "B".
А можете прислать результат запроса данных? (кнопка Read State)
Хочу посмотреть, как в принципе оно отдаётся контроллером и как управляется.
http://192.168.10.14/sec/?cmd=all
OFF/0;ON/OFF;OFF/OFF;OFF/OFF;OFF/OFF;ON/OFF;OFF/3;NA/NA;OFF/3;OFF/0;OFF/6;OFF/0;ON/1;OFF/0;OFF;ON;ON;ON;ON;ON;ON;ON;ON;ON;ON;ON;ON;ON;ON;ON;temp:27.12;OFF/0;ON;ON;ON;ON;ON;ON
Array
(
[0] => Array
(
[NUM] => 0
[VALUE] => 0
[COMMAND] => input
)
[1] => Array
(
[NUM] => 0
[VALUE] => 0
[COMMAND] => counter
)
[2] => Array
(
[NUM] => 1
[VALUE] => ON/OFF
[COMMAND] => output
)
[3] => Array
(
[NUM] => 2
[VALUE] => OFF/OFF
[COMMAND] => output
)
[4] => Array
(
[NUM] => 3
[VALUE] => OFF/OFF
[COMMAND] => output
)
[5] => Array
(
[NUM] => 4
[VALUE] => OFF/OFF
[COMMAND] => output
)
[6] => Array
(
[NUM] => 5
[VALUE] => ON/OFF
[COMMAND] => output
)
[7] => Array
(
[NUM] => 6
[VALUE] => 0
[COMMAND] => input
)
[8] => Array
(
[NUM] => 6
[VALUE] => 3
[COMMAND] => counter
)
[9] => Array
(
[NUM] => 7
[VALUE] => NA/NA
[COMMAND] => output
)
[10] => Array
(
[NUM] => 8
[VALUE] => 0
[COMMAND] => input
)
[11] => Array
(
[NUM] => 8
[VALUE] => 3
[COMMAND] => counter
)
[12] => Array
(
[NUM] => 9
[VALUE] => 0
[COMMAND] => input
)
[13] => Array
(
[NUM] => 9
[VALUE] => 0
[COMMAND] => counter
)
[14] => Array
(
[NUM] => 10
[VALUE] => 0
[COMMAND] => input
)
[15] => Array
(
[NUM] => 10
[VALUE] => 6
[COMMAND] => counter
)
[16] => Array
(
[NUM] => 11
[VALUE] => 0
[COMMAND] => input
)
[17] => Array
(
[NUM] => 11
[VALUE] => 0
[COMMAND] => counter
)
[18] => Array
(
[NUM] => 12
[VALUE] => 1
[COMMAND] => input
)
[19] => Array
(
[NUM] => 12
[VALUE] => 1
[COMMAND] => counter
)
[20] => Array
(
[NUM] => 13
[VALUE] => 0
[COMMAND] => input
)
[21] => Array
(
[NUM] => 13
[VALUE] => 0
[COMMAND] => counter
)
[22] => Array
(
[NUM] => 14
[VALUE] => 0
[COMMAND] => output
)
[23] => Array
(
[NUM] => 15
[VALUE] => 1
[COMMAND] => output
)
[24] => Array
(
[NUM] => 16
[VALUE] => 1
[COMMAND] => output
)
[25] => Array
(
[NUM] => 17
[VALUE] => 1
[COMMAND] => output
)
[26] => Array
(
[NUM] => 18
[VALUE] => 1
[COMMAND] => output
)
[27] => Array
(
[NUM] => 19
[VALUE] => 1
[COMMAND] => output
)
[28] => Array
(
[NUM] => 20
[VALUE] => 1
[COMMAND] => output
)
[29] => Array
(
[NUM] => 21
[VALUE] => 1
[COMMAND] => output
)
[30] => Array
(
[NUM] => 22
[VALUE] => 1
[COMMAND] => output
)
[31] => Array
(
[NUM] => 23
[VALUE] => 1
[COMMAND] => output
)
[32] => Array
(
[NUM] => 24
[VALUE] => 1
[COMMAND] => output
)
[33] => Array
(
[NUM] => 25
[VALUE] => 1
[COMMAND] => output
)
[34] => Array
(
[NUM] => 26
[VALUE] => 1
[COMMAND] => output
)
[35] => Array
(
[NUM] => 27
[VALUE] => 1
[COMMAND] => output
)
[36] => Array
(
[NUM] => 28
[VALUE] => 1
[COMMAND] => output
)
[37] => Array
(
[NUM] => 29
[VALUE] => 1
[COMMAND] => output
)
[38] => Array
(
[NUM] => 30
[VALUE] => 27.12
[COMMAND] => temperature
[INDEX] => 0
)
[39] => Array
(
[NUM] => 31
[VALUE] => 0
[COMMAND] => input
)
[40] => Array
(
[NUM] => 31
[VALUE] => 0
[COMMAND] => counter
)
[41] => Array
(
[NUM] => 32
[VALUE] => 1
[COMMAND] => output
)
[42] => Array
(
[NUM] => 33
[VALUE] => 1
[COMMAND] => output
)
[43] => Array
(
[NUM] => 34
[VALUE] => 1
[COMMAND] => output
)
[44] => Array
(
[NUM] => 35
[VALUE] => 1
[COMMAND] => output
)
[45] => Array
(
[NUM] => 36
[VALUE] => 1
[COMMAND] => output
)
[46] => Array
(
[NUM] => 37
[VALUE] => 1
[COMMAND] => output
)
)
Я правильно понимаю, что состояния вида OFF/OFF это как раз порты типа OUT/DS2413?
Да
Пожалуйста, войдите в систему, чтобы добавлять комментарии Присоединиться!