Перейти к содержанию

Навигация

WB-MAO4 0-10V Modbus Analog Outputs/en: различия между версиями

м
FuzzyBot переименовал страницу WB-MAO4 Modbus Dimmer/en в WB-MAO4 0-10V Modbus Analog Outputs/en без оставления перенаправления: Часть переводимой страницы WB-MAO4 Modbus Dimmer.
(Новая страница: «The brightness of the channel is set by an 8-bit number (0-255). The physical brightness of the LEDs is set according to the logarithmic dimming curve.»)
м (FuzzyBot переименовал страницу WB-MAO4 Modbus Dimmer/en в WB-MAO4 0-10V Modbus Analog Outputs/en без оставления перенаправления: Часть переводимой страницы WB-MAO4 Modbus Dimmer.)
 
(не показано 12 промежуточных версий 1 участника)
Строка 88: Строка 88:
The physical brightness of the LEDs is set according to the logarithmic dimming curve.  
The physical brightness of the LEDs is set according to the logarithmic dimming curve.  


Модуль использует широтно-импульсную модуляцию (PWM), разрядность: 12 бит, частота ШИМ: 24 кГц.
The module uses pulse width modulation (PWM), bit depth: 12 bit, PWM frequency: 24 kHz.
==== Кнопки  ====


''<u>Страница находится в разработке!d</u>''
"<u>The page is under development!</u>"


Модуль имеет входы для трёх аппаратных кнопок.  
The module has inputs for three hardware buttons.  


Кнопка 1. Короткое нажатие включение/выключение всех каналов. Длительное нажатие плавное изменение яркости всех каналов.
Button 1. Short press turns all channels on/off. Long press smoothly change the brightness of all channels.


Кнопка 2. Длительное нажатие кнопки плавное изменение цвета.
Button 2. Long press the button smooth color change.


Отключить управление каналами с помощью кнопок можно, записав число 255(0xFF) в HOLDING_REGISTER по адресу 5.
You can disable channel management using the buttons by writing 255(0xFF) to HOLDING_REGISTER at address 5.


В любом режиме работы, текущее состояние кнопок можно прочесть из HOLDING_REGISTER по адресу 6 и 7. 0 отпущена, 1 - нажата.
In any operating mode, the current status of the buttons can be read from HOLDING_REGISTER at 6 and 7. 0 - button unpressed, 1 - pressed.
==== Карта регистров ====
==== Register map ====


{| border="1" class="wikitable" style="text-align:center"
{| border="1" class="wikitable" style="text-align:center"
!Регистр / адрес
!Register / address
!тип
!type
!чтение/запись
!read-write
!значение по-умолчанию
!default
!формат
!format
!назначение
!Purpose
!Примечание
!Note
|-
|-


| 0 ||holding||RW||-||0-255||Уровень канала G, логарифмическая кривая
| 0 ||holding||RW||-||0-255||Channel level G, logarithmic curve
|
|
|-
|-
|1||holding||RW||-||0-255||Уровень канала R, логарифмическая кривая
|1||holding||RW||-||0-255||the Level of the R channel, the logarithmic curve
|
|
|-
|-
Строка 125: Строка 124:
|<nowiki>-</nowiki>
|<nowiki>-</nowiki>
|0-255
|0-255
|Уровень канала B, логарифмическая кривая
|Channel B Level, logarithmic curve
|
|
|-
|-
Строка 140: Строка 139:
|RW
|RW
|0
|0
|0: стандартный режим, 0xFF: отключить управление
|0: standard mode, 0xFF: disable control
|режим работы кнопок
|button operation mode
|
|
|-
|-
Строка 148: Строка 147:
|R
|R
|
|
|1 - нажата, 0 - отпущена
|1 - pressed, 0 - unpressed
|состояние кнопки 1
|the state of the button 1
|
|
|-
|-
Строка 156: Строка 155:
|R
|R
|
|
|1 - нажата, 0 - отпущена
|1 - pressed, 0 - unpressed
|состояние кнопки 2
|button status 2
|
|
|-
|-
Строка 165: Строка 164:
|74 (312.5 Hz)
|74 (312.5 Hz)
|freq = 24 kHz / (value + 1)
|freq = 24 kHz / (value + 1)
|частота ШИМ
|PWM frequency
|
|
|-
|-
Строка 173: Строка 172:
|100
|100
|x 10ms
|x 10ms
|Время плавного изменения цвета
|Smooth color change time
|
|
|-
|-
Строка 179: Строка 178:


1: PWM 10V
1: PWM 10V
||Режим работы выходов
||Output mode
|
|
|-
|-
| 120 (0x78) || holding || RW || 0 || отличное от 0 || запись в регистр вызывает перезагрузку МК без сохранения состояния
| 120 (0x78) || holding || RW|| 0 || 0 || write to the register causes a  stateless reboot of the module
|не поддерживается
|not supported
|-
|-
| 121 (0x79) || input || R || - || mV || текущее напряжение питания модуля
| 121 (0x79) || input || R || - || mV || current supply voltage of the module
|не поддерживается
|not supported
|-
|-
| 128 (0x80) || holding || RW || 1 || || Modbus-адрес устройства
| 128 (0x80) || holding || RW|| 1 || || Modbus device address
|все
|everything
|-
|-
| 200-206 || input || R ||{'W','B','M','A,'O', 0}
| 200-206 || input || R ||{'W','B','M','A,'O', 0}
|| || сигнатура
| | | / | signature
|все
|everything
|-
|-
| 220-241 || input || R || || __date__ __time__||   дата сборки прошивки
| 220-241 || input || R | | | | _date__ _time__|| firmware build date
|все
|everything
|-
|-
|}
|}
wb_editors
14 355

правок