WB Dimmers Modbus Registers Map/en: различия между версиями
(Новая страница: «== Register map ==») |
|||
(не показаны 4 промежуточные версии этого же участника) | |||
Строка 9: | Строка 9: | ||
{| | {| border="1" class="wikitable" style="text-align:center" | ||
! | !Register / address | ||
! | !type | ||
! | !read-write | ||
! | !default | ||
! | !format | ||
! | !Purpose | ||
! | !Note | ||
|- | |- | ||
| 0 ||holding||RW||-||0-255|| | | 0 ||holding||RW||-||0-255||Channel G level, logarithmic curve | ||
| | | | ||
|- | |- | ||
|1||holding||RW||-||0-255|| | |1||holding||RW||-||0-255||Channel К level, logarithmic curve | ||
| | | | ||
|- | |- | ||
Строка 30: | Строка 30: | ||
|<nowiki>-</nowiki> | |<nowiki>-</nowiki> | ||
|0-255 | |0-255 | ||
| | |Channel B Level, logarithmic curve | ||
| | | | ||
|- | |- | ||
Строка 38: | Строка 38: | ||
|<nowiki>-</nowiki> | |<nowiki>-</nowiki> | ||
|0-255 | |0-255 | ||
| | |Channel W level , the logarithmic curve | ||
|WB-MRGBW-D | |WB-MRGBW-D | ||
|- | |- | ||
Строка 53: | Строка 53: | ||
|RW | |RW | ||
|0 | |0 | ||
0: standard mode, 1: disable control | |||
| | |button operation mode | ||
| | | | ||
|- | |- | ||
Строка 61: | Строка 61: | ||
|R | |R | ||
| | | | ||
|1 - | |1 - pressed, 0 - released | ||
| | |the state of the button 1 | ||
| | | | ||
|- | |- | ||
Строка 69: | Строка 69: | ||
|R | |R | ||
| | | | ||
|1 - | |1 - pressed, 0 - released | ||
| | |the state of the button 2 | ||
| | | | ||
|- | |- | ||
Строка 77: | Строка 77: | ||
|R | |R | ||
| | | | ||
|1 - | |1 - pressed, 0 - released | ||
| | |button status 3 (WB-MRGBW-D) | ||
| | | | ||
|- | |- | ||
Строка 86: | Строка 86: | ||
|0 | |0 | ||
|freq = 24 kHz / (value + 1) (0 - 239) | |freq = 24 kHz / (value + 1) (0 - 239) | ||
| | |PWM frequency | ||
| | | | ||
|- | |- | ||
Строка 94: | Строка 94: | ||
|100 | |100 | ||
|x 10ms (2 - 500) | |x 10ms (2 - 500) | ||
| | |Time for a smooth change of the brightness during turn on and off | ||
| | | | ||
|- | |- | ||
Строка 105: | Строка 105: | ||
| | | | ||
| | | | ||
| | |number of button 1 presses | ||
| | |since version 1.1.1 | ||
|- | |- | ||
|33 | |33 | ||
Строка 113: | Строка 113: | ||
| | | | ||
| | | | ||
| | |number of button 2 presses | ||
| | |since version 1.1.1 | ||
|- | |- | ||
|34 | |34 | ||
Строка 121: | Строка 121: | ||
| | | | ||
| | | | ||
| | |number of button 3 presses | ||
| | |since version 1.1.1 | ||
|- | |- | ||
| 110 || holding || RW || 96 || baud rate / 100 <br> ( 24, 48, 96, 192, 384, 576, 1152 )|| | | 110 || holding || RW || 96 || baud rate / 100 <br> ( 24, 48, 96, 192, 384, 576, 1152 )|| RS-485 port speed, '''divided by 100'''<br>([[UART_Communication_Settings/en|Configure RS-485 communication parameters for Wiren Board Modbus devices]]) | ||
| | | | ||
|- | |- | ||
| 111 || holding || RW || 0 || 0 - | | 111 || holding || RW|| 0 || 0 - no parity bit (none), 1 - odd (odd), 2 - even (even) || RS-485 port parity bit setting. | ||
| | | | ||
|- | |- | ||
| 112 || holding || RW || 2 || 1 | | 112 || holding || RW || 2 || 1 or 2 || number of stop bits of RS-485 port. | ||
| | | | ||
|- | |- | ||
| 128 (0x80) || holding || RW || 1 || || Modbus- | | 128 (0x80) || holding || RW || 1 || || | ||
| | device Modbus-address | ||
|all | |||
|- | |- | ||
| 129 (0x81) || holding || RW || 0 || 0 | | 129 (0x81) || holding || RW || 0 || 0 or 1 || Go to [[WB-MCU-Flasher/en|bootloader mode]] | ||
|1.2.0 | |1.2.0 | ||
|- | |- | ||
Строка 142: | Строка 143: | ||
0x0057 0x0042 0x004d 0x0052 0x0047 0x0042 | 0x0057 0x0042 0x004d 0x0052 0x0047 0x0042 | ||
|| || | || || signature | ||
| | |all | ||
|- | |- | ||
| 220-241 || input || R || || __date__ __time__|| | | 220-241 || input || R || || __date__ __time__|| firmware build date | ||
|все | |все | ||
|- | |- | ||
| 270-271 || holding || R || || || | | 270-271 || holding || R || || ||Device serial number | ||
| WB-MRGBW-D | | WB-MRGBW-D | ||
|- | |- | ||
|} | |} |
Текущая версия на 20:21, 19 июля 2019
Dimmers for LED strips support the following Modbus registers:
Register map
Register / address | type | read-write | default | format | Purpose | Note |
---|---|---|---|---|---|---|
0 | holding | RW | - | 0-255 | Channel G level, logarithmic curve | |
1 | holding | RW | - | 0-255 | Channel К level, logarithmic curve | |
2 | holding | RW | - | 0-255 | Channel B Level, logarithmic curve | |
3 | holding | RW | - | 0-255 | Channel W level , the logarithmic curve | WB-MRGBW-D |
5 | holding | RW | 0
0: standard mode, 1: disable control |
button operation mode | ||
6 | input | R | 1 - pressed, 0 - released | the state of the button 1 | ||
7 | input | R | 1 - pressed, 0 - released | the state of the button 2 | ||
8 | input | R | 1 - pressed, 0 - released | button status 3 (WB-MRGBW-D) | ||
9 | holding | RW | 0 | freq = 24 kHz / (value + 1) (0 - 239) | PWM frequency | |
13 | holding | RW | 100 | x 10ms (2 - 500) | Time for a smooth change of the brightness during turn on and off | |
32 | input | R | number of button 1 presses | since version 1.1.1 | ||
33 | input | R | number of button 2 presses | since version 1.1.1 | ||
34 | input | R | number of button 3 presses | since version 1.1.1 | ||
110 | holding | RW | 96 | baud rate / 100 ( 24, 48, 96, 192, 384, 576, 1152 ) |
RS-485 port speed, divided by 100 (Configure RS-485 communication parameters for Wiren Board Modbus devices) |
|
111 | holding | RW | 0 | 0 - no parity bit (none), 1 - odd (odd), 2 - even (even) | RS-485 port parity bit setting. | |
112 | holding | RW | 2 | 1 or 2 | number of stop bits of RS-485 port. | |
128 (0x80) | holding | RW | 1 |
device Modbus-address |
all | |
129 (0x81) | holding | RW | 0 | 0 or 1 | Go to bootloader mode | 1.2.0 |
200-206 | input | R | {'W','B','M','R','G','B'}
0x0057 0x0042 0x004d 0x0052 0x0047 0x0042 |
signature | all | |
220-241 | input | R | __date__ __time__ | firmware build date | все | |
270-271 | holding | R | Device serial number | WB-MRGBW-D |