wb_editors
14 355
правок
(Новая страница: «<!-- == Connection via WB-MIO interface converter ==») |
FuzzyBot (обсуждение | вклад) м (FuzzyBot переименовал страницу WBIO-AI-DV-12 Analog Inputs 4-20mA/en в WBIO-AI-DV-12/4-20mA Analog Inputs/en без оставления перенаправления: Часть переводимой страницы WBIO-AI-DV-12 Analog Inputs 4-20mA.) |
||
(не показано 26 промежуточных версий 2 участников) | |||
Строка 99: | Строка 99: | ||
<!-- == Connection via WB-MIO interface converter == | <!-- == 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 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/en|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 inputs — 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 template.json stored on the controller in the <code>/usr/share/wb-mqtt-serial/templates/config-wbio-ai-dv-12-single directory.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 /> | ||
Строка 123: | Строка 123: | ||
{| 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]] | ||
|} | |} | ||
Строка 131: | Строка 131: | ||
{| 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 | |||
-- | -- | ||
== | ==Device pictures and drawings == | ||
{{Wbincludes:WBPicturesNoDrawing|2}} | {{Wbincludes:WBPicturesNoDrawing|2}} | ||
== | == Bugs and features == | ||
=== ERRAIDV01: | === ERRAIDV01: Reduced precision of inputs === | ||
==== | ==== Affected devices ==== | ||
WBIO-AI-DV-12/4-20MA | WBIO-AI-DV-12/4-20MA shipped before May 20, 2019. | ||
==== | ====Description==== | ||
Current measurement error in WBIO-AI-DV-12/4-20MA can be up to 1%. | |||
==== | ====Reasons and detailed description==== | ||
The nominal value of the input protective resistor is selected too large relative to the internal resistance of the ADC. | |||
==== | ====Workarounds==== | ||
no | |||
==== | ====Scheduled fix=== | ||
Starting from May 20,2019 components, providing the error is not more than 0.1%+0.003 mA, are installed in WBIO-AI-DV-12/4-20MA |