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

Часть переводимой страницы WBIO-AI-DV-12 I/O Module.
(Новая страница: «To connect, you need to dock the WBIO-AI-DV-12 module to the right of the WIren Board controller, making sure that all the connector pins on the module get into t…»)
(Часть переводимой страницы WBIO-AI-DV-12 I/O Module.)
 
(не показано 25 промежуточных версий 2 участников)
Строка 1: Строка 1:
<languages/>
<languages/>
{{#vardefine:ProductFullName1|analog WBIO-AI-DV-12}} {{#vardefine:FileName1|WBIO-AI-DV-12}} {{#vardefine:ProductName1|WBIO-AI-DV-12}} {{#vardefine:ProductFullName2|analog WBIO-AI-DV-12 to measure analog signals 4-20mA}} {{#vardefine:FileName2|WBIO-AI-DV-12_4-20}} {{#vardefine:ProductName2|WBIO-AI-DV-12_4-20}}  
{{#vardefine:ProductFullName1|analog WBIO-AI-DV-12 module}} {{#vardefine:FileName1|WBIO-AI-DV-12}} {{#vardefine:ProductName1|WBIO-AI-DV-12}} {{#vardefine:ProductFullName2|analog WBIO-AI-DV-12 module for measuring 4-20mA analog signals}} {{#vardefine:FileName2|WBIO-AI-DV-12_4-20}} {{#vardefine:ProductName2|WBIO-AI-DV-12_4-20}}  
[[File:WBIO-AI-DV-12.png|mini|WBIO-AI-DV-12 ]]
[[File:WBIO-AI-DV-12.png|мини|WBIO-AI-DV-12]]


The module is designed for industrial and home automation systems and is used to measure the values of analog signals. Typical applications of the module can be considered as receiving data with analog thermometers or measurement of the stresses for each element batteries.
The module is designed for industrial and home automation systems and is used to measure the values of analog signals. Typical applications of the module can be considered as receiving data with analog thermometers or measurement of the stresses for each element batteries.
Строка 8: Строка 8:




'''[https://wirenboard.com/en/product/WBIO-AI-DV-12/ Buy WBIO-AI-DV-12 in the online store ]'''
'''[https://wirenboard.com/en/product/WBIO-AI-DV-12/ Buy WBIO-AI-DV-12]'''
'''[https://wirenboard.com/en/product/WBIO-AI-DV-12_4-20MA/ Buy WBIO-AI-DV-12_4-20MA in the online store]'''  
 
'''[https://wirenboard.com/ru/product/WBIO-AI-DV-12_4-20MA/ Buy WBIO-AI-DV-12 4-20MA]'''  


For a description of the current input module WBIO-AI-DV-12_4-20 mA, see [[WBIO-AI-DV-12 4-20MA/en|separate page]].
For a description of the current input module WBIO-AI-DV-12_4-20 mA, see [[WBIO-AI-DV-12 4-20MA/en|separate page]].
Строка 161: Строка 162:
{| class="wikitable"
{| class="wikitable"
| [[File:Jumper.png|200px|thumb|center|jumper ]]
| [[File:Jumper.png|200px|thumb|center|jumper ]]
| rowspan="2" | [[File:DV12 Razor.png|300px|thumb|right|Module with  removed cover]]
| rowspan="2" | [[File:300px-DV12_Razbor_en.png|300px|thumb|right|Module with  removed cover]]
| rowspan="2"| [[File:DV12 Plata's Peremuchkami.png|300px|thumb|right|Installing jumpers]]
| rowspan="2"| [[File:300px-DV12_Plata_S_Peremuchkami.png|300px|thumb|right|Installing jumpers]]
|-
|-
| [[File:First_latch.png|mini|thumb|center|Rear cover removal]]
| [[File:First_latch.png|mini|thumb|center|Rear cover removal]]
Строка 173: Строка 174:
'''Unlike other WBIO modules, only one instance can be connected to a single controller or interface module.'''
'''Unlike other WBIO modules, only one instance can be connected to a single controller or interface module.'''


To connect, you need to dock the WBIO-AI-DV-12 module to the right of the WIren Board controller, making sure that all the connector pins on the module get into the corresponding connector holes on the controller. Next, you should go to the web interface of the controller (read more about the web interface in [[web interface_wiren_board|relevant section]]), go to the tab ''''Configs'''' and select'''''/etc/wb-hardware.conf'''''. Next, in the drop-down list, select the module name '''''WBIO-AI-DV-12 Analog Inputs'''''.
To connect, you need to dock the WBIO-AI-DV-12 module to the right of the WIren Board controller, making sure that all the connector pins on the module get into the corresponding connector holes on the controller. Next, you should go to the web interface of the controller (read more about the web interface in [[Веб-интерфейс_Wiren_Board/en|relevant section]]), go to the tab ''''Configs'''' and select'''''/etc/wb-hardware.conf'''''. Next, in the drop-down list, select the module name '''''WBIO-AI-DV-12 Analog Inputs'''''.


{| class="wikitable"
{| class="wikitable"
| [[Файл:DV12WebInterface.jpg|500px|thumb|center|Нужный конфигурационный файл]]
| [[File:DV12WebInterface.jpg|500px|thumb|center|Desired configuration file]]
| [[Файл:DV12WebInterface2.jpg|500px|thumb|center|Выбор модуля]]
| [[File:DV12WebInterface2.jpg|500px|thumb|center|Module selection]]
|}
|}


Теперь можно активировать необходимый режим работы во вкладке '''"Channels"'''. Каналы  обозначаются в виде '''"Channel Ax"''', где 'x' соответствует номерe входа.
Now you can activate the desired mode in the ''Channels'' tab. Channels are denoted as '''''Channel Ax''''', where 'x' corresponds to the entry number.
Для активации нужного режима работы входа, необходимо выбрать следующие настройки:
To activate the desired mode of operation of the input, you must select the following settings:
;Однополярный вход напряжения 0 — 2.5 В или дифференциальный вход напряжения ±400 мВ
;0 — 2.5 V single-pole voltage input or ±400 mV differential voltage input
:Voltage, 0-2.5V
:Voltage, 0-2.5 V
;Однополярный или дифференциальный вход напряжения ±50 В
; ±50 V single-pole or differential voltage input
:Voltage +/-50V
:Voltage +/-50V
<!--;Вход измерения тока
<!--;Current measurement input
:Current 0-20mA-->
:Current 0-20mA-->
''Примечание: для активации дифференциального режима работы входов, нужно выставить соответствующую настройку на <u>обоих входах.</u>''
''Note: to activate the differential mode of the inputs, you need to set the appropriate setting on the <u>of both inputs.</u>''


После необходимой настройки и сохранения изменений, устройство отобразится во вкладке '''"Devices"'''.
After the necessary settings and saving changes, the device will be displayed in the '''''Devices'''''tab.


{| class="wikitable"
{| class="wikitable"
| [[Файл:Dv12Web4.png|500px|thumb|center|Настройки режима работы входа]]
| [[File:Dv12Web4.png|500px|thumb|center|login mode Settings]]
| [[Файл:Dv12web3.png|500px|thumb|center|Отображение входов с разными режимами работы]]
| [[File:Dv12web3.png|500px|thumb|center|Display inputs with different operating modes]]
|}
|}
   
   
Для дополнительной информации смотрите раздел [[Модули ввода-вывода#Активирование нового модуля в веб-интерфейсе контроллера|Активация нового модуля в веб-интерфейсе контроллера]].  
For more information, see [[I / o modules#activating a new module in the controller web interface|Activating a new module in the controller web interface]].  
В отличие от других модулей, WBIO-AI-DV-12 может подключаться девятым модулем в линейке боковых модулей. Однако при этом он должен занимать первую, пятую или девятую позицию в линейке.
Unlike other modules, WBIO-AI-DV-12 can be connected with the ninth module in the line of side modules. However, it must occupy the first, fifth or ninth position in the line.


== Подключение через преобразователь интерфейсов WB-MIO ==
== Connection via WB-MIO interface converter ==


В отличие от других WBIO модулей, может быть подключен только один экземпляр к одному контроллеру или интерфейсному модулю.
'''Unlike other WBIO modules, only one instance can be connected to a single controller or interface module.'''


[[Файл:Scale_WBIO_AI_DV_12.png|500px|thumb|right|Значение коэффициента масштаба измерений '''scale''' выбран равным 0.2126 для измерения напряжения в диапазоне ±50 В]]
[[File:Scale_WBIO_AI_DV_12.png|500px|thumb|right|the value of the scale factor of the dimensions '''scale''' is chosen equal to 0.2126 for measuring voltage of ±50 V]]
[[Файл:AI-DV-12_VIA_WB_MIO.png|300px|thumb|left|Представление модуля WBIO-AI-DV-12, подключенного через преобразователь WB-MIO в веб-интерфейсе контроллера]]
[[File:AI-DV-12_VIA_WB_MIO.png|300px|thumb|left|View of the WBIO-AI-DV-12 module connected via the WB-MIO converter in the controller web interface]]


Модуль WBIO-AI-DV-12 можно подключать и через преобразователь интерфейсов [[WB-MIO|WB-MIO]]. При этом могут использоваться два шаблона устройства: WBIO-AI-DV-12-50V и  WBIO-AI-DV-12. Если их нет в конфигураторе, вам необходимо обновить wb-mqtt-serial командой <code>apt-get update && apt-get install wb-mqtt-serial</code>. Шаблон WBIO-AI-DV-12-50V предназначен для устройств, где перемычки-джамперы установлены (измерение напряжения на дифференциальных входах в диапазоне от 0 до 50 В), а шаблон WBIO-AI-DV-12 — для устройств со снятыми перемычками (измерение напряжений на дифференциальных входах от 0 до 400 мВ, на однополярых от 0 до 2,5 В).  
The WBIO-AI-DV-12 module can also be connected via the interface Converter [[WB-MIO|WB-MIO]]. Two device templates can be used: WBIO-AI-DV-12-50V and WBIO-AI-DV-12. If they are not in the Configurator, you need to update wb-mqtt-serial with <code>apt-get update && apt-get install wb-mqtt-serial</code>. The WBIO-AI-DV-12-50V template is designed for devices where jumpers are installed (voltage measurement on differential inputs in the range from 0 to 50 V), and the WBIO-AI-DV-12 template is for devices with removed jumpers (voltage measurement on differential inputs from 0 to 400 mV, on unipolar from 0 to 2.5 V).  




'''Внимание, информация ниже устарела и будет удалена!'''
'''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 после внесения изменений:
For each channel, you can specify a conversion factor (scale) corresponding to the measurement mode. Restartujte service wb-mqtt-serial after changes:
<code>> service wb-mqtt-serial restart<br>> service wb-mqtt-confed restart</code>
<code>> service wb-mqtt-serial restart<br>> service wb-mqtt-confed restart</code>
Наиболее правильным способом является установка параметра масштаба измерений в настройке каналов в конфигурации устройства. Допустим, мы хотим измерять на первом дифференциальном входе напряжение в дианазоне ±50 В.  
The most correct way is to set the measurement scale parameter in the channel setup in the device configuration. Let's say we want to measure the voltage in the ±50 V range at the first differential input.  
Для этого выполняем следующие настройки. В свойствах устройства добавляем список каналов (List if channels), щелкнув на кнопке '''Properties''', а затем добавляем канал, щелкнув на кнопке '''+Item'''.
To do this, perform the following settings. In the device properties, add a channel list (List if channels) by clicking on the 'Properties' button, and then add a channel by clicking on the '''+Item'''button.
В настройках канала оставляем только поле для указания коэффициента пересчета (Scale (value multiplier)), остальные опции отключаем:
In the channel settings, we leave only the field for specifying the conversion factor (Scale (value multiplier)), the other options are disabled:
Указываем имя канала (как в интерфейсе) и коэффициент пересчета.
Specify the channel name (as in the interface) and conversion factor.
Сохраняем изменения кнопкой '''Save''' вверху экрана.
Save changes with the '''Save''' button at the top of the screen.
<br />
<br />


Строка 226: Строка 227:


{| class="wikitable" style="text-align:center"
{| class="wikitable" style="text-align:center"
|[[Файл:Ai-dv-12-add_list_of_channels.png|400px|thumb|right|Добавляем список каналов]]
|[[File:Ai-dv-12-add_list_of_channels.png|400px|thumb|right|Add channel list]]
|[[Файл:Ai-dv-12-only-scale.png|400px|thumb|left|Оставляем только масштаб]]
|[[File:Ai-dv-12-only-scale.png|400px|thumb|left|Leave only the scale]]
|[[Файл:Ai-dv-12-DIFF1_right_scale.png|600px|thumb|right|Задаем имя канала и коэффициент пересчета]]
|[[File:Ai-dv-12-DIFF1_right_scale.png|600px|thumb|right|Set the channel name and conversion factor]]
|}
|}


Строка 234: Строка 235:


{| class="wikitable" style="text-align:center"
{| class="wikitable" style="text-align:center"
|+ Зависимость режима работы входа от установленной перемычки и фактора масштабирования
|+ Dependence of the input operation mode on the installed jumper and scaling factor
!'''Наличие перемычки'''!! '''Тип входа''' !! '''Режим работы''' || '''Значение scale'''
!'''The presence of the jumper'''!! '''Entry type'''!! '''Mode''' || '''Value scale'''
|-
|-
|rowspan="2"|'''Нет'''
|rowspan="2"|'''No'''
|Однополярный
|Unipolar
|Вход напряжения 0 — 2,5 В
|Input voltage 0 — 2.5 V
|0.01
|0.01
|-
|-
|Дифференциальный
|Differential
|Вход напряжения ±400 мВ
|Input voltage ±400 mV
|0.01
|0.01
|-
|-
|rowspan="2"|'''Есть'''
|rowspan="2"|'''Is'''
|-
|-
|Дифференциальный
|Differential
|Вход напряжения ±50 В
|Input voltage ±50 V
|0.2126
|0.2126
|}
|}


<!-- Для моделей, предназначенных для измерения тока коэффициент '''scale''' должен устанавливаться в значение 0.1 -->
<!-- For models designed to measure current, the'scale' factor must be set to 0.1 -->


== Изображения и чертежи устройства ==
== Images and drawings of the device ==
{{Wbincludes:WBPicturesNoDrawing|1}}
{{Wbincludes:WBPicturesNoDrawing|1}}
<!--{{Wbincludes:WBPicturesNoDrawing|2}}-->
<!--{{Wbincludes:WBPicturesNoDrawing|2}}-->
wb_editors
14 355

правок