Сounters Pulsar/en: различия между версиями

Материал из Wiren Board
(Новая страница: «'''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"===»)
Строка 57: Строка 57:




=== Теплосчётчик "Пульсар" ===
=== Heat Meter "Pulsar"===


Адрес устройства можно вывести на дисплей последовательными нажатиями на кнопку под дисплеем. В какой-то момент на дисплей будет выведено 8 цифр - это и есть адрес устройства.
Адрес устройства можно вывести на дисплей последовательными нажатиями на кнопку под дисплеем. В какой-то момент на дисплей будет выведено 8 цифр - это и есть адрес устройства.

Версия 19:56, 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)):

  1. Make sure that only one counter is connected to the interface;
  1. 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"

Адрес устройства можно вывести на дисплей последовательными нажатиями на кнопку под дисплеем. В какой-то момент на дисплей будет выведено 8 цифр - это и есть адрес устройства.

Счётчик воды "Пульсар"

Ошибка создания миниатюры: Файл не найден
Внешний вид счётчика воды Пульсар с помеченным адресом

Адрес счётчика воды Пульсар указан на его корпусе: на наклейке под шкалой справа (см. фото) нанесена запись вида XX_AAAAA. Здесь AAAAA - младшие разряды адреса, старшие - нули. В итоге должно получиться 8 цифр.

Пример: если на наклейке нанесено 14_12345, то адрес устройства - 00012345.

ВНИМАНИЕ: при задании адреса счетчика в Web-интерфейсе контроллера начальные нули в адресе указывать не надо! То есть, если полученный адрес счетчика 00012345, то в поле "Slave id of the device" надо указать адрес 12345.

Подключение датчика в ПО

См. RS-485:Настройка через веб-интерфейс

На сегодняшний день поддерживаются два вида счётчиков (многоструйный счётчик Пульсар-М нуждается в тестировании).

Выбор типа счётчика в конфигурационном файлe

Название счётчика Тип в конфигурационном файле
Счётчик воды Пульсар pulsar-water
Счётчик воды Пульсар v1.1 pulsar-water-v1_1
Счётчик тепла Пульсар pulsar-heat
Счётчик воды многоструйный Пульсар-М pulsar-m-water