wb_editors
14 457
правок
(Новая страница: «{| class="wikitable" | 500px|thumb|center|Desired configuration file | File:DV12WebInterface2.jpg|500px|thumb|center|Module select…») |
FuzzyBot (обсуждение | вклад) (Часть переводимой страницы WBIO-AI-DV-12 I/O Module.) |
||
(не показаны 24 промежуточные версии 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 | {{#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| | [[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 | '''[https://wirenboard.com/en/product/WBIO-AI-DV-12/ Buy WBIO-AI-DV-12]''' | ||
'''[https://wirenboard.com/ | |||
'''[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: | | rowspan="2" | [[File:300px-DV12_Razbor_en.png|300px|thumb|right|Module with removed cover]] | ||
| rowspan="2"| [[File: | | 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 [[ | 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" | ||
Строка 180: | Строка 181: | ||
|} | |} | ||
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 V single-pole voltage input or ±400 mV differential voltage input | ||
:Voltage, 0-2. | :Voltage, 0-2.5 V | ||
; | ; ±50 V single-pole or differential voltage input | ||
:Voltage +/-50V | :Voltage +/-50V | ||
<!--; | <!--;Current measurement input | ||
:Current 0-20mA--> | :Current 0-20mA--> | ||
'' | ''Note: to activate the differential mode of the inputs, you need to set the appropriate setting on the <u>of both inputs.</u>'' | ||
After the necessary settings and saving changes, the device will be displayed in the '''''Devices'''''tab. | |||
{| class="wikitable" | {| class="wikitable" | ||
| [[ | | [[File:Dv12Web4.png|500px|thumb|center|login mode Settings]] | ||
| [[ | | [[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]]. | |||
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. | |||
== | == Connection via WB-MIO interface converter == | ||
'''Unlike other WBIO modules, only one instance can be connected to a single controller or interface module.''' | |||
[[ | [[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]] | ||
[[ | [[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]] | ||
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!''' | ||
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. | |||
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> | ||
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. | |||
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. | |||
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 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" | ||
|[[ | |[[File:Ai-dv-12-add_list_of_channels.png|400px|thumb|right|Add channel list]] | ||
|[[ | |[[File:Ai-dv-12-only-scale.png|400px|thumb|left|Leave only the scale]] | ||
|[[ | |[[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 | ||
!''' | !'''The presence of the jumper'''!! '''Entry type'''!! '''Mode''' || '''Value scale''' | ||
|- | |- | ||
|rowspan="2"|''' | |rowspan="2"|'''No''' | ||
| | |Unipolar | ||
| | |Input voltage 0 — 2.5 V | ||
|0.01 | |0.01 | ||
|- | |- | ||
| | |Differential | ||
| | |Input voltage ±400 mV | ||
|0.01 | |0.01 | ||
|- | |- | ||
|rowspan="2"|''' | |rowspan="2"|'''Is''' | ||
|- | |- | ||
| | |Differential | ||
| | |Input voltage ±50 V | ||
|0.2126 | |0.2126 | ||
|} | |} | ||
<!-- | <!-- 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}}--> |