Перейти к содержанию

Навигация

WBIO-AI-DV-12 Analog Inputs/en: различия между версиями

Новая страница: «Previously, when connecting the module via WB-MIO or WB-MIO-E, there was no possibility to select the input mode from the web interface. We recommended creating c…»
(Новая страница: «'''Warning, the information below is outdated and will be deleted!'''»)
(Новая страница: «Previously, when connecting the module via WB-MIO or WB-MIO-E, there was no possibility to select the input mode from the web interface. We recommended creating c…»)
Строка 212: Строка 212:
'''Warning, the information below is outdated and will be deleted!'''
'''Warning, the information below is outdated and will be deleted!'''


Ранее при подключении модуля через  WB-MIO или WB-MIO-E отсутсвовала возможность выбора режима входов из web-интерфейса. Мы рекомендовали создать копии шаблона config-wbio-ai-dv-12-single.json, хранящийся на контроллере в директории <code>/usr/share/wb-mqtt-serial/templates/config-wbio-ai-dv-12-single.json </code>, и внести изменения в копию (файл должен иметь другое имя). При этом необходимо было изменить в шаблоне тип устройства, например на <code>"device_type": "WBIO-AI-DV-12-Single-50v",</code>. После этого было необходимо перезапустить службу wb-mqtt-confed и обновить веб страницу, чтобы новый тип устройства стал доступен в конфигурации.  
Previously, when connecting the module via WB-MIO or WB-MIO-E, there was no possibility to select the input mode from the web interface. We recommended creating copies of the config-wbio-ai-dv-12-single.json template stored on the controller in the folder <code>/usr/share/wb-mqtt-serial/templates/config-wbio-ai-dv-12-single.json </code>, and make changes to the copy (the file must have a different name). It was necessary to change the device type in the template, for example, to <code>"device_type": "WBIO-AI-DV-12-Single-50v",</code>. After that, you had to restart the wb-mqtt-confed service and refresh the web page to make the new device type available in the configuration.  


Для каждого канала можно указывать свой коэффициента пересчета (масштаб), соответствующий режиму измерения. Рестартуйте сервис wb-mqtt-serial после внесения изменений:
Для каждого канала можно указывать свой коэффициента пересчета (масштаб), соответствующий режиму измерения. Рестартуйте сервис wb-mqtt-serial после внесения изменений:
12 063

правки