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

Материал из Wiren Board
(Новая страница: «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
|-
|-
|}
|}

Текущая версия на 21:25, 20 апреля 2021

Другие языки:
Диммер WB-MAO4

The page is in development!

Purpose

4-channel lighting control module is designed to control lamps with interfaces 0-10V, PWM, as well as to control arbitrary load with the corresponding inputs.

The type of output signal: 0-10V or PWM c with an amplitude of 10V. Type of output signals is configured (for all channels at once).

The module is controlled from the controller or PC via the RS-485 bus by MODBUS commands, as well as by external buttons.


Technical specifications

  • 4 channels 0-10V or 10V PWM
  • PWM frequency up to 400 Hz.
  • Supply voltage: 11 to 24 V.
  • Power consumption: 0.3 W.
  • Interface: RS485, Modus RTU
  • RS-485 interface parameters are set programmatically (see register Card);
    default: speed — 9600 bit/s; data — 8 bit; parity bit — no (N); stop bits — 2
  • Save state when power is off
  • Inputs for three buttons for channel control
  • Size– 65*35*7 mm.

Operating conditions

  • Air temperature from -40°C to +70°C;
  • Relative humidity up to 95%, without moisture condensation.

Connection

The module is made in the unselfish version - the board is in a shrink tube.

RS-485 and control buttons are connected to the blue terminals:

  • A and B - RS485 signal lines
  • GND - ground RS-485 bus (if any)
  • b1 and GND - color balance control button
  • b2 and GND - brightness control button

Management

Bus parameters

Speed is 9600 bit/s, data - 8 bit, parity – no, stop bit - 2.

Commands supported by device

Command command (dec)
READ_COIL 1
WRITE_SINGLE_COIL 5
WRITE_MULTI_COILS 15
READ_HOLDING_REGISTERS 3
WRITE_SINGLE_REGISTER 6
WRITE_MULTI_REGISTERS 16


Functions

Address change is broadcast (slave_id 0) team record (WRITE_SINGLE_REGISTER) to holding register with address 128 (0x80).

6 bytes signature lies at the address 200. The signature is unique for each device model and allows you to identify the model. To obtain the signatures necessary to fulfill READ_HOLDING_REGISTERS address 200 length 6. Writing to this area of memory is not supported and error 3 is returned when attempting to write to an invalid location.

LED control

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.

The module uses pulse width modulation (PWM), bit depth: 12 bit, PWM frequency: 24 kHz.

"The page is under development!"

The module has inputs for three hardware buttons.

Button 1. Short press – turns all channels on/off. Long press – smoothly change the brightness of all channels.

Button 2. Long press the button – smooth color change.

You can disable channel management using the buttons by writing 255(0xFF) to HOLDING_REGISTER at address 5.

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

Register / address type read-write default format Purpose Note
0 holding RW - 0-255 Channel level G, logarithmic curve
1 holding RW - 0-255 the Level of the R channel, the logarithmic curve
2 holding RW - 0-255 Channel B Level, logarithmic curve
5 holding RW 0 0: standard mode, 0xFF: disable control button operation mode
6 input R 1 - pressed, 0 - unpressed the state of the button 1
7 input R 1 - pressed, 0 - unpressed button status 2
9 holding RW 74 (312.5 Hz) freq = 24 kHz / (value + 1) PWM frequency
13 holding RW 100 x 10ms Smooth color change time
0 coil RW 0 0: 0-10V

1: PWM 10V

Output mode
120 (0x78) holding RW 0 0 write to the register causes a stateless reboot of the module not supported
121 (0x79) input R - mV current supply voltage of the module not supported
128 (0x80) holding RW 1 Modbus device address everything
200-206 input R {'W','B','M','A,'O', 0} | / | signature everything
220-241 input | | | _date__ _time__ firmware build date everything