16 293
правки
(Новая страница: «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 condition…») |
Метка: ручная отмена |
||
(не показана 21 промежуточная версия 3 участников) | |||
Строка 142: | Строка 142: | ||
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. | 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 <b>is disabled</b>. If the value becomes less than the "Low threshold" (register 62), the relay <b>is switched on</b>. | |||
For correct operation, the parameters "Rs ratio", "High threshold" and "Low threshold" must have values other than zero. | |||
=== | === Web-based management === | ||
[[File:WB-MSGR-web.png |300px|thumb|right| | [[File:WB-MSGR-web.png |300px|thumb|right| 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 — 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 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 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" | ||
! | !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 | |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 ratio (see register 60) | ||
| | | | ||
|- | |- | ||
Строка 228: | Строка 228: | ||
|RW | |RW | ||
| | | | ||
|R | |R × 10 (Ohm) | ||
unsigned | unsigned | ||
| | |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 | ||
| | |Threshold for Rs/Rs0 (the rising edge, the threshold is exceeded) | ||
| | | | ||
|- | |- | ||
Строка 248: | Строка 248: | ||
|R/R0 * 1000 | |R/R0 * 1000 | ||
unsigned | unsigned | ||
| | |Threshold for Rs/Rs0 (falling edge, falling below the threshold value) | ||
| | | | ||
|- | |- | ||
Строка 259: | Строка 259: | ||
| | | | ||
|- | |- | ||
| 110 || holding || RW || 96 || | | 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 || || | | 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 || || | | 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 || | | 120 (0x78) || holding || RW|| 0 || 0 || write to the register causes a reboot of the MK stateless | ||
| | |everything | ||
|- | |- | ||
| 121 (0x79) || input || R || - || | | 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 || || | | 220-241 || input || R | | | | _date__ _time__|| firmware build date | ||
| | |everything | ||
|- | |- | ||
|} | |} | ||
=== | ===Map of Coils === | ||
{| | {| border="1" class="wikitable" style="text-align:center" | ||
! | !Start address || Quantity || Destination | ||
! | !In modification | ||
|- | |- | ||
| 0 || 1 || style="text-align:left" | | | 0 || 1 || style="text-align:left" | relay Status (read and set) || -R | ||
|- | |- | ||
|} | |} | ||
== | ==Modbus Control== | ||
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}} |