wb_editors
14 355
правок
(Новая страница: «where AA AA AA is the address you're looking for, XX doesn't matter.») |
FuzzyBot (обсуждение | вклад) м (FuzzyBot переименовал страницу Подключение счётчиков Пульсар/en в Сounters Pulsar/en без оставления перенаправления: Часть переводимой страницы Подключение счётчиков Пульсар.) |
||
(не показано 18 промежуточных версий 1 участника) | |||
Строка 41: | Строка 41: | ||
where AA AA AA is the address you're looking for, XX doesn't matter. | where AA AA AA is the address you're looking for, XX doesn't matter. | ||
For example, if the device responded with an answer 0F F0 0F F0 01 23 45 67 xx xx, the address of the device is 01234567. | |||
If there is no response, send request | |||
<pre> | <pre> | ||
00 00 00 00 0A 0C 01 00 79 E6 C3 4A | 00 00 00 00 0A 0C 01 00 79 E6 C3 4A | ||
</pre> | </pre> | ||
In this case, you should get the answer in the form: | |||
<pre> | <pre> | ||
BB BB BB BB 0A XX XX XX XX XX XX XX XX XX XX XX XX XX | BB BB BB BB 0A XX XX XX XX XX XX XX XX XX XX XX XX XX | ||
</pre> | </pre> | ||
where BB BB BB BB is the desired address, XX is irrelevant; for example, if the device responded | |||
'''00 83 60 43''' 0A 12 CB C1 0C 00 00 00 00 00 79 E6 2A 91, | '''00 83 60 43''' 0A 12 CB C1 0C 00 00 00 00 00 79 E6 2A 91, the counter address is 00836043. | ||
=== | === Heat Meter "Pulsar"=== | ||
The device address can be displayed on the display successive presses on the button under the display. At some point, the display will display 8 digits - this is the address of the device. | |||
=== | === Water meter "Pulsar" === | ||
[[Файл:Счётчик_воды_Пульсар.jpg|300px|thumb|right| | [[Файл:Счётчик_воды_Пульсар.jpg|300px|thumb|right|Pulsar water meter with address marked ]] | ||
Address water meter pulsar is on his body: on the sticker beneath the dial to the right (see photo) caused an entry XX_AAAAA. Here AAAAA - Junior bits of the address, senior - zeros. The result should be 8 digits. | |||
Example: if the label is 14_12345, the device address is 00012345. | |||
NOTE: when specifying the address of the counter in the Web-interface of the controller, you do not need to specify the leading zeros in the address! That is, if the received address of the counter is 00012345, then in the field "Slave id of the device" you must specify the address 12345. | |||
== | == Connecting the sensor to the SOFTWARE == | ||
See [[RS-485:Настройка через веб-интерфейс/en]] | |||
Two types of counters are supported (multi-jet Pulsar-M counter needs to be tested). | |||
=== | === Select the counter type in the configuration file === | ||
{| class="wikitable" | {| class="wikitable" | ||
! | ! Counter name | ||
! | ! Type in the configuration file | ||
|- | |- | ||
| | | Pulsar water meter | ||
| pulsar-water | | pulsar-water | ||
|- | |- | ||
| | | Pulsar v1.1 water meter | ||
| pulsar-water-v1_1 | | pulsar-water-v1_1 | ||
|- | |- | ||
| | | Pulsar Heat meter | ||
| pulsar-heat | | pulsar-heat | ||
|- | |- | ||
| | | '''Multi-jet''' water meter Pulsar-M | ||
| pulsar-m-water | | pulsar-m-water | ||
|} | |} |