Gas sensor WB-MSGR/en: различия между версиями

Материал из Wiren Board
(Новая страница: « WB-MSGR gas sensor»)
 
Метка: ручная отмена
 
(не показаны 43 промежуточные версии 3 участников)
Строка 1: Строка 1:
<languages/>
<languages/>


{{#vardefine:ProductFullName1|Датчик газа WB-MSGR (горючие газы)}} {{#vardefine:FileName1|WB-MSGR-2-flammable}} {{#vardefine:ProductName1|WB-MSGR-2-flammable}}  
{{#vardefine:ProductFullName1|WB-MSGR gas sensor (flammable gases)}} {{#vardefine:FileName1|WB-MSGR-2-flammable}} {{#vardefine:ProductName1|WB-MSGR-2-flammable}}  
{{#vardefine:ProductFullName2|Датчик газа WB-MSGR (органические газы)}} {{#vardefine:FileName2|WB-MSGR135-organic}} {{#vardefine:ProductName2|WB-MSGR135-organic}}  
{{#vardefine:ProductFullName2|WB-MSGR gas sensors (organic gases)}} {{#vardefine:FileName2|WB-MSGR135-organic}} {{#vardefine:ProductName2|WB-MSGR135-organic}}  
'''Модель снята с производства.'''
'''The model is discontinued.'''
[[File:WB-MSGR.png |350px|thumb|right| Датчик <div id="wbmsgrphoto">WB-MSGR</div>]]
[[File:WB-MSGR.png |350px|thumb|right| <div id="wbmsgrphoto">WB-MSGR</div>]]


==== Назначение ====
==== Purpose ====


Комбинированные электрохимические датчики газа WB-MSGR с встроенным реле.
Combined electrochemical gas sensors WB-MSGR with built-in relay.


Исполнение: пластиковый корпус с возможностью крепления на DIN-рейку и крепёжными отверстиями.
Design: plastic housing with DIN rail mounting and mounting holes.
Напряжение питания 12 – 24В.
Supply voltage 12 – 24V.


Управление модулем производится с контроллера или ПК по шине RS-485 командами по протоколу MODBUS.
The module is controlled from the controller or PC via RS-485 bus by Modbus commands.


Возможно заказать датчик с сенсорами на выбор:
You can order a sensor with sensors to choose from:
* горючие газы: природный газ, метилпропа​н, пропан, метан, водород. Описание: [[Файл:MQ2.pdf]]
* combustible gases: natural gas, methylpropane, propane, methane, hydrogen. Description: [[File:MQ2.pdf]]
* органическ​ие газы: NH3, NOx, алкоголь, бензол, табачный дым, CO2. Описание: [[Файл:SNS-MQ135.pdf]]
* organic gases: NH3, NOx, alcohol, benzene, tobacco smoke, CO2. Description: [[File:SNS-MQ135.pdf]]


==== Модификации ====
== Modifications==


Характеристики кодируются в артикуле, по следующей схеме:
Characteristics are coded in the article, according to the following scheme:


{| border="1" cellpadding="3" cellspacing="0"
{| border="1" cellpadding="3" cellspacing="0"
!Обозначение
!Designation
!Поддерживаемая функция
!Supported function
|-
|-


| WB-MSGR-xxxx || версия с встроенным реле (основная модель)
| WB-MSGR-xxxx || version with built-in relay (basic model)
|-
|-
| WB-MSG-xxxx || версия без встроенного реле (под заказ)
| WB-MSG-xxxx || version without built-in relay (on request)
|-
|-
|}
|}


== Технические характеристики ==
== Specifications ==
{| class="wikitable"
{| class="wikitable"
! style="text-align: center;" | Параметр
! style="text-align: center;" | Option
! style="text-align: center;" | Значение
! style="text-align: center;" | Value
|-
|-
! colspan="2" |Питание
! colspan="2" |Power
|-
|-
|Напряжение питания
|Supply voltage
|12 В — 24 В постоянного тока
|12 V — 24 V DC
|-
|-
|Потребляемая мощность
|Power consumption
|
|
* 1 Вт в режиме измерения
* 1 watt in measurement mode
* 1,1 Вт при включенном реле
* 1.1 W with relay on
* 1,5 Вт при пиковых нагрузках.  
* 1.5 W at peak loads.  
|-
|-
!colspan="2" | '''Клеммники и сечение проводов'''  
!colspan="2" | '''Terminals and wire section'''  
|-
|-
|| Рекомендуемое сечение провода с НШВИ, мм<sup>2</sup> || 0,75 — 1 (2,5 для реле)
|| Recommended wire cross-section with NSUI, mm<sup>2</sup>|| 0,75 — 1 (2.5 for relay)
|-
|-
|| Длина стандартной втулки НШВИ, мм || 8
|| Length of the standard sleeve NSVE, mm || 8
|-
|-
|| Момент затяжки винтов, Н∙м || 0,2 (0,4 для реле)
|| Torque of screws, N∙m || 0,2 (0,4 for relay)
|-
|-
! colspan="2" |Измеряемые концентрации газов
! colspan="2" |Measured gas concentrations
|-
|-
| Диапазон чувствительности
| Sensitivity range
|  
|  
* 300-10000 ppm -- для датчика с чувствительным элементом к горючим газам;  
* 300-10000 ppm -- for sensor with sensitive element to combustible gases;  
* 10-300 ppm -- для датчика с чувствительным элементом к органическим газам (10-1000 ppm для бензола)
* 10-300 ppm -- for sensor with sensing element to organic gases (10-1000 ppm for benzene)
|-
|-
! colspan="2" |Выходы (в модели WB-MSGR)
! colspan="2" |Outputs (in WB-MSGR MODEL)
|-
|-
| Выходы реле
| Relay output
| Реле с общим, нормально открытым и нормально закрытым контактами (SPDT).
| Relay with common, normally open and normally closed contacts (SPDT).
|-
|-
! colspan="2" |Управление
! colspan="2" |Control
|-
|-
|Интерфейс управления
|Management interface
|RS-485
|RS-485
|-
|-
|Изоляция интерфейса
|Interface isolation
|Неизолированный
|Uninsulated
|-
|-
|Протокол обмена данными
|Communication protocol
|Modbus RTU, адрес задается программно, заводские настройки указаны на наклейке
|Modbus RTU, address is set by software, factory settings are indicated on the label
|-
|-
|Параметры интерфейса RS-485
|RS-485 interface parameters
|  
|  
скорость 9600 бит/с; данные — 8 бит; четность N; стоп-биты 2;  
speed 9600 bps; data bits 8; parity N; stop bits 2;  
Начиная с версии прошивки '''3.1.0''' параметры интерфейсы могут быть настроены программно:
Starting from firmware version '''3.1.0''' parameters interfaces can be configured programmatically:
*Скорость: 1200, 2400, 4800, 9600 (по умолчанию), 19200, 38400, 57600, 115200 бит/с ([[UART_Communication_Settings|Настройка параметров обмена данными по RS-485 для modbus-устройств Wiren Board]])
*Speed: 1200, 2400, 4800, 9600 (default), 19200, 38400, 57600, 115200 bps ([[UART_Communication_Settings/en|Configure RS-485 communication parameters for Wiren Board Modbus devices]])
*Данные: 8 бит
*Data: 8 bit
*Проверка чётности: нет (по умолчанию), 1 - нечётный (odd), 2 - чётный (even)  
*Parity check: none (default), 1 - odd (odd), 2 - even (even)  
*Стоповых бит: 2 (по умолчанию), 1
*Stop bits: 2 (default), 1
|-
|-
|Готовность к работе после подачи питания
|Ready for operation after power supply
| см. раздел [[#Принцип работы и настройка датчика|Принцип работы и настройка датчика]]
| see section [[#Principle of operation and setting sensor and gauge setup]]
|-
|-
! colspan="2" |Габариты
! colspan="2" |dimensions
|-
|-
| Габариты
| Size
| 65x46x29 мм
| 65x46x29 mm
|-
|-
| Ширина DIN-юнитов
| Width of DIN units
| ~2,5
| ~2.5
|-
|-
! colspan="2" |Условия эксплуатации
! colspan="2" |operating Conditions
|-
|-
| Температура воздуха
| Air temperature
|
|
* -10°С до +45°С для датчиков горючих газов
* -10°C to +45°C for combustible gas sensors
* -20°С до +50°С для датчиков органических газов
* -20°C to +50°C for organic gas sensors
|-
|-
| Относительная влажность воздуха
| Relative humidity
| до 98%, без конденсации влаги
| up to 98%, without condensation
|}
|}


== Монтаж ==
== Installation==  
[[Файл:WB-MS-dim.png|200px|thumb|right|Крепежные размеры модуля WB-MSGR]]
[[File:WB-MS-dim.png|200px|thumb|right|WB-MSGR MODULE Mounting dimensions]]
[[Файл:Installation_WB5_+wb-msgr+syren.png|450px|thumb|left|Подключение модуля WB-MSGR к контроллеру WB5. При превышении настроенной концентрации опасного газа срабатывает сирена.]]  
[[File:Installation_WB5_+wb-msgr+syren.png|450px|thumb|left|Connect the WB-MSGR MODULE to the WB5 controller. If the configured concentration of the dangerous gas is exceeded, a siren is triggered.]]  
Датчик может монтируется на стандартную DIN-рейку шириной 35 мм и занимает ширину около 2,5 DIN-модуля. Датчик также имеет отверстия для непосредственного крепления к любой плоской поверхности. Диаметр отверстий 4мм, расстояние между центрами — 41 мм. Расстояние между головкой крепежного винта и поверхностью (глубина) — 11 мм.
The sensor can be mounted on a standard 35 mm wide DIN rail and occupies a width of about 2.5 DIN modules. The sensor also has holes for direct attachment to any flat surface. The diameter of the holes 4mm, the distance between the centers — 41 mm. the Distance between the head of the fixing screw and the surface (depth) — 11 mm.
Блок винтовых зажимов модуля ([[#wbmsgrphoto|см. рисунок "Датчик WB-MSGR"]]) служит для подключения линий питания (V+ и GND), и линий управления по RS-485 (RS-485 A и B). В версии со встроенным реле верхние винтовые зажимы подключены к контактам реле NC, COM, NO.  
The module screw terminal block ([[#wbmsgrphoto|see figure "WB-MSGR SENSOR"]]) is used to connect power lines (V+ and GND) and control lines via RS-485 (RS-485 A and B). In the version with built-in relay, the upper screw terminals are connected to NC, COM, NO relay contacts.  






=== Функции===
=== Functions===


'''Смена адреса''' производится широковещательный (slave_id 0) командой записи (WRITE_SINGLE_REGISTER) в holding register с адресом 128 (0x80).
'''Address change''' is broadcast (slave_id 0) team record (WRITE_SINGLE_REGISTER) to holding register with address 128 (0x80).


По адресу 200 лежит '''сигнатура''' длинной 6 байт. Сигнатура уникальна для каждой модели устройства и позволяет идентифицировать модель.
The 6-byte '''signature''' has address 200. The signature is unique for each device model and allows you to identify the model.
Для получения сигнатуры нужно выполнить READ_HOLDING_REGISTERS адрес 200 длина 6.   
To obtain the signatures, you should run READ_HOLDING_REGISTERS address 200 length 6.   
Запись в эту область памяти не поддерживается, при попытки записи в недопустимое место возвращается ошибка 3.
Writing to this area of memory is not supported and error 3 is returned when attempting to write to an invalid location.


==== Безопасный режим ====
=== Safe mode ===
В этом режиме при прекращении обмена данными по modbus устройство отключает реле по прошествии заданного времени.
In this mode, when the Modbus communication is terminated, the device disconnects the relay after a specified time.


Для включения безопасного режима нужно записать значение отличное от 0 в HOLDING_REGISTER по адресу 8. Это значение - таймаут в секундах.
To enable safe mode, write a value other than 0 to HOLDING_REGISTER at 8. This value is a timeout in seconds.


=== Принцип работы и настройка датчика ===
= = = Operating principle and sensor setting ===
При изменении концентрации определенного газа изменяется сопротивление полупроводникового чувствительного элемента ('''ЧЭ''') датчика Rs.  При измерениях используется соотношение сопротивления ЧЭ Rs к сопротивлению, измеренному в эталонной среде Rs0. При увеличении концентрации газов, к которым чувствителен датчик, сопротивление ЧЭ падает, соответственно, уменьшается соотношение Rs/Rs0. На основании значения соотношения Rs/Rs0 можно принимать решение о включении предупреждающего сигнала. Для разных газов одно и то же соотношение Rs/Rs0 соответствует разной концентрации этих газов в окружающей среде.
When the concentration of a certain gas changes, the resistance of the semiconductor sensing element ('''SE''') of the Rs sensor changesThe measurements use the ratio of the resistance of the SE Rs to the resistance measured in the reference medium Rs0. As the concentration of gases to which the sensor is sensitive increases, the SE resistance decreases, respectively, the Rs/Rs0 Ratio decreases. Based on the value of the Rs/Rs0 ratio, a decision can be made to turn on the warning signal. For different gases, the same RS/Rs0 ratio corresponds to different concentrations of these gases in the environment.


Внутри датчика имеется нагреватель, который постоянно включен, что обеспечивает возможность измерения концентрации газов. Если датчик долго оставался обесточенным, то выход на рабочий режим потребует некоторого времени: от двух суток, если датчик не включался месяц, до недели, если датчик не включался больше полугода. Эксплуатация в агрессивной среде приводит к деградации ЧЭ, наледь и конденсат снижают его чувствительность.  
There is a heater inside the sensor, which is constantly switched on, which makes it possible to measure the concentration of gases. If the sensor remained de-energized for a long time, then the output to the operating mode will require some time: from two days, if the sensor was not turned on for a month, to a week, if the sensor was not turned on for more than six months. Operation in an aggressive environment leads to degradation of SE, ice and condensate reduce its sensitivity.  


Температура и влажность также влияют на сопротивление чувствительного элемента: оно падает с увеличением температуры и влажности.  
Temperature and humidity also affect the resistance of the sensing element: it drops with increasing temperature and humidity.  


Перед настройкой датчика дождитесь выхода ЧЭ на рабочий режим (так называемый "отжиг"). О выходе на рабочий режим можно судить по стабилизации сопротивления ЧЭ при неизменных окружающих условиях при которых датчик будет постоянно эксплуатироваться.
Before setting up the sensor, wait for the SE to enter the operating mode. The operating mode stabilizes the resistance of the SE under constant ambient conditions under which the sensor will be constantly operated.


Значение Rs0 зависит от типа датчика и может варьироваться от одного экземпляра к другому, поэтому изначально возможно установить значение Rs0 равным сопротивлению после выхода на рабочий режим.
The value of Rs0 depends on the type of sensor and can vary from one instance to another, so it is initially possible to set the value of Rs0 equal to the resistance after entering the operating mode.


==== Автоматическое управление реле ====
==== Automatic relay control ====
В модификациях датчиков с реле алгоритм его работы следующий: если значение Rs/Rs0 ("Rs ratio") превышает установленный порог "High threshold" (регистр 61), реле <b>отключается</b>. Если значение становится меньше порога "Low threshold" (регистр 62), реле <b>включается</b>.
In modifications of sensors with relay the algorithm of its operation is as follows: if the value Rs/Rs0 ("Rs ratio") exceeds the set threshold "High threshold" (register 61), the relay <b>is disabled</b>. If the value becomes less than the "Low threshold" (register 62), the relay <b>is switched on</b>.


Для корректной работы параметры "Rs ratio", "High threshold" и "Low threshold" должны иметь значения, отличные от нуля.
For correct operation, the parameters "Rs ratio", "High threshold" and "Low threshold" must have values other than zero.


==== Управление через web-интерфейс ====
=== Web-based management ===
[[File:WB-MSGR-web.png |300px|thumb|right| Датчик WB-MSGR в web-интерфейсе]]
[[File:WB-MSGR-web.png |300px|thumb|right| WB-MSGR sensor in web interface]]


Описанная выше логика работы реализуется через настройки, которые можно выполнить в web-интерфейс датчика.
The operation logic described above is implemented through settings that can be made in the sensor web interface.
   
   
* Relay — состояние реле, может изменяться вручную. (Например, при срабатывании реле вы можете сначала отключить сигнал тревоги, а затем заняться решением проблемы)
* Relay — relay status, can be changed manually. (For example, when a relay is triggered, you can first turn off the alarm and then address the problem)
* Rs — текущее сопротивление чувствительного элемента.
* Rs — current resistance of the sensing element.
* Rs0 — сопротивление чувствительного элемента в эталонной среде.
* Rs0 — resistance of the sensing element in the reference medium.
* Rs ratio — текущее отношение Rs/Rs0
* Rs ratio — current RS/Rs0 ratio
* High threshold -- порог отключения (см. выше)
* High —  threshold turn-off threshold (see above)
* Low threshold -- порог включения (см. выше)
* Low threshold —  the threshold for inclusion (see above)
* Input Voltage -- напряжение питания модуля датчика
* Input Voltage — the voltage supply of the sensor module


=== Карта регистров Modbus ===
=== Modbus register map ===


Набор регистров отличается от набора регистров других модулей в силу специфики устройства, приводим его полностью здесь.
The set of registers differs from the set of registers of other modules due to the specifics of the device, we give it completely here.


{| border="1" class="wikitable" style="text-align:center"
{| border="1" class="wikitable" style="text-align:center"
!Регистр / адрес
!Register / address
!тип
!type
!чтение/запись
!read-write
!значение по-умолчанию
!default
!формат
!format
!назначение
!appointment
!В модификациях
!In modification
|-
|-
|8
|8
Строка 180: Строка 180:
|0
|0
|seconds
|seconds
|таймаут для безопасного режима
|timeout for safe mode
|<nowiki>-R</nowiki>
|<nowiki>-R</nowiki>
|-
|-
Строка 195: Строка 195:
||R||-||raw_val * 16
||R||-||raw_val * 16
unsigned
unsigned
||Сырое усреднённое значение с АЦП датчика газа
||Raw averaged value with gas sensor ADC
|все
|all
|-
|-
|51
|51
Строка 202: Строка 202:
|R
|R
|<nowiki>-</nowiki>
|<nowiki>-</nowiki>
|R × 0.1 (Ohm)
|R × 0.1 (Ohm)
unsigned
unsigned
|Значение сопротивления измерительного элемента датчика газа
|The resistance value of the measuring element of the gas sensor
|
|
|-
|-
Строка 213: Строка 213:
|R/R0 * 1000  
|R/R0 * 1000  
unsigned
unsigned
|Отношение Rs/Rs0 (см. регистр 60)
|RS/Rs0 ratio (see register 60)
|
|
|-
|-
Строка 228: Строка 228:
|RW
|RW
|
|
|R × 10 (Ohm)
|R × 10 (Ohm)
unsigned
unsigned
|Значение сопротивления Rs0 измерительного элемента датчика газа при 100ppm для регистров 52 и 61-62
|The resistance value Rs0 of the measuring element of the gas sensor at 100ppm for the registers 52 and 61-62
|
|
|-
|-
Строка 239: Строка 239:
|R/R0 * 1000  
|R/R0 * 1000  
unsigned
unsigned
|Порог для Rs/Rs0 (передний фронт, превышение порога)
|Threshold for Rs/Rs0 (the rising edge, the threshold is exceeded)
|
|
|-
|-
Строка 248: Строка 248:
|R/R0 * 1000  
|R/R0 * 1000  
unsigned
unsigned
|Порог для Rs/Rs0 (задний фронт, падение значение ниже порога)
|Threshold for Rs/Rs0 (falling edge, falling below the threshold value)
|
|
|-
|-
Строка 259: Строка 259:
|
|
|-
|-
| 110 || holding || RW || 96 || baud rate / 100 || скорость порта RS-485, '''делённая на 100'''. Допустимые скорости: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 <br>([[UART_Communication_Settings|Настройка параметров обмена данными по RS-485 для modbus-устройств Wiren Board]])
| 110 || holding || RW|| 96 || baud rate / 100 || RS-485 port speed, "'divided by 100"'. Permissible speeds: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 <br>([[UART_Communication_Settings|configure RS-485 communication parameters for wiren Board modbus devices]])
|colspan="3"|все
|colspan="3"|all
|-
|-
| 111 || holding || RW || 0 || || настройка бита чётности порта RS-485. Допустимые значения: 0 - нет бита чётности (none), 1 - нечётный (odd), 2 - чётный (even) |
| 111 || holding || RW|| 0 || || configure the RS-485 port parity bit. Valid values: 0 - no parity bit (none), 1 - odd (odd), 2 - even (even) |
|colspan="3"|все
|colspan="3"|all
|-
|-
| 112 || holding || RW || 2 || || количество стоп-битов порта RS-485. Допустимые значения: 1, 2  
| 112 || holding || RW|| 2 || || number of stop bits of RS-485 port. Valid values: 1, 2  
|colspan="3"|все
|colspan="3"|all
|-
|-
|
|
Строка 276: Строка 276:
|
|
|-
|-
| 120 (0x78) || holding || RW || 0 || отличное от 0 || запись в регистр вызывает перезагрузку МК без сохранения состояния
| 120 (0x78) || holding || RW|| 0 || 0 || write to the register causes a reboot of the MK stateless
|все
|everything
|-
|-
| 121 (0x79) || input || R || - || mV || текущее напряжение питания модуля
| 121 (0x79) || input || R || - || mV || current supply voltage of the module
|все
|everything
|-
|-
| 128 (0x80) || holding || RW || 1 || || Modbus-адрес устройства
| 128 (0x80) || holding || RW|| 1 || || Modbus device address
|все
|everything
|-
|-
| 200-206 || input || R || {'W','B','M','S','G','R'} || || сигнатура
| 200-206 || input || R || {'W','B','M','S','G','R'} | | | signature
|все
|everything
|-
|-
| 220-241 || input || R || || __date__ __time__||   дата сборки прошивки
| 220-241 || input || R | | | | _date__ _time__|| firmware build date
|все
|everything
|-
|-
|}
|}


===Карта регистров флагов (Coils)===
===Map of Coils ===




{| border="1" class="wikitable" style="text-align:center"
{| border="1" class="wikitable" style="text-align:center"
!Начальный адрес || Количество || Назначение
!Start address || Quantity || Destination
!В модификациях
!In modification
|-
|-
| 0 || 1 || style="text-align:left" | Состояние реле (чтение и установка) || -R  
| 0 || 1 || style="text-align:left" | relay Status (read and set) || -R  
|-
|-
|}
|}


== Управление по Modbus ==
==Modbus Control==


Подробно о работе с датчиком по протоколу Modbus написано в разделе [[Sensors_Modbus_Management|Управление датчиками Wirenboard по протоколу Modbus]]. Карта регистров приведена выше.
Details of the work with the module via Modbus Protocol is written in [[Sensors_Modbus_Management/en| Sensors Modbus Management ]].
You can also find a map of the device registers there.


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

Текущая версия на 11:24, 6 сентября 2022

Другие языки:


The model is discontinued.

WB-MSGR

Purpose

Combined electrochemical gas sensors WB-MSGR with built-in relay.

Design: plastic housing with DIN rail mounting and mounting holes. Supply voltage 12 – 24V.

The module is controlled from the controller or PC via RS-485 bus by Modbus commands.

You can order a sensor with sensors to choose from:
  • combustible gases: natural gas, methylpropane, propane, methane, hydrogen. Description: Файл:MQ2.pdf
  • organic gases: NH3, NOx, alcohol, benzene, tobacco smoke, CO2. Description: Файл:SNS-MQ135.pdf

Modifications

Characteristics are coded in the article, according to the following scheme:

Designation Supported function
WB-MSGR-xxxx version with built-in relay (basic model)
WB-MSG-xxxx version without built-in relay (on request)

Specifications

Option Value
Power
Supply voltage 12 V — 24 V DC
Power consumption
  • 1 watt in measurement mode
  • 1.1 W with relay on
  • 1.5 W at peak loads.
Terminals and wire section
Recommended wire cross-section with NSUI, mm2 0,75 — 1 (2.5 for relay)
Length of the standard sleeve NSVE, mm 8
Torque of screws, N∙m 0,2 (0,4 for relay)
Measured gas concentrations
Sensitivity range
  • 300-10000 ppm -- for sensor with sensitive element to combustible gases;
  • 10-300 ppm -- for sensor with sensing element to organic gases (10-1000 ppm for benzene)
Outputs (in WB-MSGR MODEL)
Relay output Relay with common, normally open and normally closed contacts (SPDT).
Control
Management interface RS-485
Interface isolation Uninsulated
Communication protocol Modbus RTU, address is set by software, factory settings are indicated on the label
RS-485 interface parameters

speed 9600 bps; data bits 8; parity N; stop bits 2; Starting from firmware version 3.1.0 parameters interfaces can be configured programmatically:

Ready for operation after power supply see section #Principle of operation and setting sensor and gauge setup
dimensions
Size 65x46x29 mm
Width of DIN units ~2.5
operating Conditions
Air temperature
  • -10°C to +45°C — for combustible gas sensors
  • -20°C to +50°C — for organic gas sensors
Relative humidity up to 98%, without condensation

Installation

WB-MSGR MODULE Mounting dimensions
Connect the WB-MSGR MODULE to the WB5 controller. If the configured concentration of the dangerous gas is exceeded, a siren is triggered.

The sensor can be mounted on a standard 35 mm wide DIN rail and occupies a width of about 2.5 DIN modules. The sensor also has holes for direct attachment to any flat surface. The diameter of the holes — 4mm, the distance between the centers — 41 mm. the Distance between the head of the fixing screw and the surface (depth) — 11 mm. The module screw terminal block (see figure "WB-MSGR SENSOR") is used to connect power lines (V+ and GND) and control lines via RS-485 (RS-485 A and B). In the version with built-in relay, the upper screw terminals are connected to NC, COM, NO relay contacts.


Functions

Address change is broadcast (slave_id 0) team record (WRITE_SINGLE_REGISTER) to holding register with address 128 (0x80).

The 6-byte signature has address 200. The signature is unique for each device model and allows you to identify the model. To obtain the signatures, you should run READ_HOLDING_REGISTERS address 200 length 6. Writing to this area of memory is not supported and error 3 is returned when attempting to write to an invalid location.

Safe mode

In this mode, when the Modbus communication is terminated, the device disconnects the relay after a specified time.

To enable safe mode, write a value other than 0 to HOLDING_REGISTER at 8. This value is a timeout in seconds.

= = Operating principle and sensor setting ==

When the concentration of a certain gas changes, the resistance of the semiconductor sensing element (SE) of the Rs sensor changes. The measurements use the ratio of the resistance of the SE Rs to the resistance measured in the reference medium Rs0. As the concentration of gases to which the sensor is sensitive increases, the SE resistance decreases, respectively, the Rs/Rs0 Ratio decreases. Based on the value of the Rs/Rs0 ratio, a decision can be made to turn on the warning signal. For different gases, the same RS/Rs0 ratio corresponds to different concentrations of these gases in the environment.

There is a heater inside the sensor, which is constantly switched on, which makes it possible to measure the concentration of gases. If the sensor remained de-energized for a long time, then the output to the operating mode will require some time: from two days, if the sensor was not turned on for a month, to a week, if the sensor was not turned on for more than six months. Operation in an aggressive environment leads to degradation of SE, ice and condensate reduce its sensitivity.

Temperature and humidity also affect the resistance of the sensing element: it drops with increasing temperature and humidity.

Before setting up the sensor, wait for the SE to enter the operating mode. The operating mode stabilizes the resistance of the SE under constant ambient conditions — under which the sensor will be constantly operated.

The value of Rs0 depends on the type of sensor and can vary from one instance to another, so it is initially possible to set the value of Rs0 equal to the resistance after entering the operating mode.

Automatic relay control

In modifications of sensors with relay the algorithm of its operation is as follows: if the value Rs/Rs0 ("Rs ratio") exceeds the set threshold "High threshold" (register 61), the relay is disabled. If the value becomes less than the "Low threshold" (register 62), the relay is switched on.

For correct operation, the parameters "Rs ratio", "High threshold" and "Low threshold" must have values other than zero.

Web-based management

WB-MSGR sensor in web interface

The operation logic described above is implemented through settings that can be made in the sensor web interface.

  • Relay — relay status, can be changed manually. (For example, when a relay is triggered, you can first turn off the alarm and then address the problem)
  • Rs — current resistance of the sensing element.
  • Rs0 — resistance of the sensing element in the reference medium.
  • Rs ratio — current RS/Rs0 ratio
  • High — threshold turn-off threshold (see above)
  • Low threshold — the threshold for inclusion (see above)
  • Input Voltage — the voltage supply of the sensor module

Modbus register map

The set of registers differs from the set of registers of other modules due to the specifics of the device, we give it completely here.

Register / address type read-write default format appointment In modification
8 holding RW 0 seconds timeout for safe mode -R
50 input R - raw_val * 16

unsigned

Raw averaged value with gas sensor ADC all
51 input R - R × 0.1 (Ohm)

unsigned

The resistance value of the measuring element of the gas sensor
52 input R R/R0 * 1000

unsigned

RS/Rs0 ratio (see register 60)
60 holding RW R × 10 (Ohm)

unsigned

The resistance value Rs0 of the measuring element of the gas sensor at 100ppm for the registers 52 and 61-62
61 holding RW R/R0 * 1000

unsigned

Threshold for Rs/Rs0 (the rising edge, the threshold is exceeded)
62 holding RW R/R0 * 1000

unsigned

Threshold for Rs/Rs0 (falling edge, falling below the threshold value)
110 holding RW 96 baud rate / 100 RS-485 port speed, "'divided by 100"'. Permissible speeds: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
(configure RS-485 communication parameters for wiren Board modbus devices)
all
111 holding RW 0 all
112 holding RW 2 number of stop bits of RS-485 port. Valid values: 1, 2 all
120 (0x78) holding RW 0 0 write to the register causes a reboot of the MK stateless everything
121 (0x79) input R - mV current supply voltage of the module everything
128 (0x80) holding RW 1 Modbus device address everything
200-206 input R | | signature everything
220-241 input | | | _date__ _time__ firmware build date everything

Map of Coils

Start address Quantity Destination In modification
0 1 relay Status (read and set) -R

Modbus Control

Details of the work with the module via Modbus Protocol is written in Sensors Modbus Management . You can also find a map of the device registers there.

Images and drawings of the device


По ссылкам ниже вы можете скачать изображения и чертежи устройства WB-MSGR-2-flammable.

Corel Draw 2018: WB-MSGR-2-flammable.cdr.zip

Corel Draw PDF: WB-MSGR-2-flammable.cdr.pdf

Autocad 2013 DXF: Мы еще не подготовили чертеж этого устройства. Вы можете запросить чертеж устройства "WB-MSGR gas sensor (flammable gases)" на портале техподдержки Wiren Board (необходима регистрация).


По ссылкам ниже вы можете скачать изображения и чертежи устройства WB-MSGR135-organic.

Corel Draw 2018: WB-MSGR135-organic.cdr.zip

Corel Draw PDF: WB-MSGR135-organic.cdr.pdf

Autocad 2013 DXF: Мы еще не подготовили чертеж этого устройства. Вы можете запросить чертеж устройства "WB-MSGR gas sensors (organic gases)" на портале техподдержки Wiren Board (необходима регистрация).