Сounters Pulsar/en: различия между версиями
FuzzyBot (обсуждение | вклад) м (FuzzyBot переименовал страницу Подключение счётчиков Пульсар/en в Сounters Pulsar/en без оставления перенаправления: Часть переводимой страницы Подключение счётчиков Пульсар.) |
(Новая страница: «Two types of counters are supported (multi-jet Pulsar-M counter needs to be tested).») |
||
(не показаны 4 промежуточные версии 1 участника) | |||
Строка 77: | Строка 77: | ||
Two types of counters are supported (multi-jet Pulsar-M counter needs to be tested). | Two types of counters are supported (multi-jet Pulsar-M counter needs to be tested). | ||
=== | === Выбор типа счётчика в конфигурационном файлe === | ||
{| class="wikitable" | {| class="wikitable" | ||
! | ! Название счётчика | ||
! | ! Тип в конфигурационном файле | ||
|- | |- | ||
| | | Счётчик воды Пульсар | ||
| pulsar-water | | pulsar-water | ||
|- | |- | ||
| | | Счётчик воды Пульсар v1.1 | ||
| pulsar-water-v1_1 | | pulsar-water-v1_1 | ||
|- | |- | ||
| | | Счётчик тепла Пульсар | ||
| pulsar-heat | | pulsar-heat | ||
|- | |- | ||
| ''' | | Счётчик воды '''многоструйный''' Пульсар-М | ||
| pulsar-m-water | | pulsar-m-water | ||
|} | |} |
Версия 19:59, 11 июня 2019
Connection
Connection to the Wiren Board is made via the RS-485/en interface according to the manual to the meter.
Color marking of wires:
- brown - V+ (9-30 V, power by Wiren Board via Vout)
- white - V- (connects to GND)
- yellow - RS-485 A
- green - RS-485 B
Serial port settings
- Speed: 9600 baud
- Parity bit: N
- Stop bits: 1
Important: Incorrect configuration of communication parameters may result in incorrect data from the meter.
Getting the address
The address of the devices operating under the pulsar Protocol is 8 decimal digits (12 34 56 78). When specifying an address in the Web-interface of the controller, initial zeros are not specified in the address.
Depending on the software version, different commands are used to determine the address ("network address" in the manufacturer's terminology) of counters connected via RS-485.
The algorithm for obtaining the address of the connected device (must be valid for all pulsar devices connected to RS-485, tested on water meters "pulsar water meter RS485" (old model) and "pulsar water meter module v1.1" (newer model)):
- Make sure that only one counter is connected to the interface;
- Via serial-tool, send the following request:
F0 0F 0F F0 00 00 00 00 00 A5 44
The device with the earlier versions of software should respond with the following frame:
F0 0F 0F F0 AA AA AA AA XX XX
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
00 00 00 00 0A 0C 01 00 79 E6 C3 4A
In this case, you should get the answer in the form:
BB BB BB BB 0A XX XX XX XX XX XX XX XX XX XX XX XX XX
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, 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"
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).
Выбор типа счётчика в конфигурационном файлe
Название счётчика | Тип в конфигурационном файле |
---|---|
Счётчик воды Пульсар | pulsar-water |
Счётчик воды Пульсар v1.1 | pulsar-water-v1_1 |
Счётчик тепла Пульсар | pulsar-heat |
Счётчик воды многоструйный Пульсар-М | pulsar-m-water |