- 1. 一、TechnikenParameter
- 2. 二、Funktion特点
- 3. 三、无缝多Vereinbarung
- 4. 四、可靠的安全性能
- 5. 五、接线端说明
- 6. 六、Der Controller选项表
- 7. 七、KommunikationVereinbarung说明
- 8. 1. 概述
- 9. 出厂默认Parameter
- 10. 2. 指令Das Format说明
- 11. 基本指令Das Format
- 12. 各Feld erklärt
- 13. 3. 具体指令说明
- 14. 3.1 设置RGB(RGBW)值
- 15. 3.2 查询RGB(RGBW)值
- 16. 3.3 Der ControllerSzeneFunktion设置
- 17. 3.3.1 呼吸灯Szene内容表
- 18. 3.3.2 暴闪Szene内容表
- 19. 3.3.3 调光Szene内容表
- 20. 3.3.4 单步调光Szene内容表
- 21. 3.3.5 Schalter!Szene内容表
- 22. 4. Aufmerksamkeit
- 23. 1. 概述
- 24. 1.1 Register-Adresse表
- 25. 2. 指令列表
- 26. 2.1 Der ControllerParameter设置
- 27. 2.2 Der ControllerParameter查询
- 28. 2.3 Der Controller输出值设置
- 29. 2.4 Der Controller输出值查询
- 30. 2.5 Der ControllerSzeneFunktion设置
- 31. 3. Kommunikationsparameter默认值
- 32. 4. Aufmerksamkeit
- 33. TestsAssistenten.Download
一、TechnikenParameter
工作Temperatur:-20 – 60℃
工作电压:DC12V – DC24V
输出电流:16A(每个回路)
额定功率:12V:<500W 24V:<1000W
输出回路:红(R)、绿(G)、蓝(B)三个通道
输出颜色:16777216(256 * 256 * 256)种
输出Verbindung:共阳
静态功耗:<0.3W
外形尺寸:88mm * 54mm * 59mm(长宽高)
Kommunikation方式:RS485
Porter Rate:4800 9600 19200 38400 57600 115200
KommunikationVereinbarung:自有Vereinbarung、MODBUS-RTUVereinbarung、Custom Vereinbarung
二、Funktion特点
多种Szene:
- 颜色控制、无极自动调光
- 定时Schalter!、全彩爆闪、7色呼吸
灵活的指令:
- Custom definiert指令关联控制
- 自带IO控制、Fern entferntIO控制
- 双色筒灯调Farbtemperatur专用指令
- 单回路、多回路定时Schalter!控制
- RGB灯色彩控制(多达1600万色)
- 可配置Porter Rate、上电记忆Funktion、回复使能
丰富的输入输出Funktion:
- 2个可编程输入IO
- 6个可编程自动Szene
- 延时控制、延时输入Techniken(方便对接人体感应)
多种负载对接能力:
- 标准共阳RGB灯带/灯具
- 独立的单色灯带、双Farbtemperatur筒灯
三、无缝多Vereinbarung
- 本司自定Vereinbarung(推荐采用)
- Industrielle Ebene标准MODBUSVereinbarungDas System
- 多达6条用户可Custom Vereinbarung(需要配合本司自定Vereinbarung使用)
四、可靠的安全性能
- RS485Kommunikation控制
- 55A原装进口MOS
- 防电源反接Funktion,宽电压7-28V供电
- 强干扰环境的应用,可Auswahl高速隔离Kommunikation版
- Alles使用大厂原装器件,高性价比。Industrielle Ebene进口MCU抗干扰能力强
五、接线端说明
V+:模块供电正极(宽电压7-26V供电) V-:模块供电负极 A:RS485的A端 B:RS485的B端 V+:共阳RGB灯正极(与供电的V+相通) R:LED红色(负极) G:LED绿色(负极) B:LED蓝色(负极)

六、Der Controller选项表
| 型Nr. | Kommunikationsschnittstelle | Kommunikation隔离 | 负载能力 | 单回路负载能力 | 供电电源 |
|---|---|---|---|---|---|
| WE102 | RS485 | 无 | 15A | 5A | – |
| WE102A | RS485 | 无 | 20A | 5A | – |
| WE102B | RS485 | 有 | 15A | 5A | – |
| WE102C | RS485 | 有 | 20A | 5A | – |
| WE102D | RS485 | 无 | 6A | 2A | – |
| WE102E | RS485 | 无 | 8A | 2A | – |
| WE102F | RS485 | 无 | 6A | 2A | – |
说明:
- Der Controller是低压直流Der Controller,默认的供电电压是DC:7-28V。建议12V或24V。当应用在供电电压größer als28V时,需要提前联系客服人员进行定制。
- Der Controller的输出端口是大功率MOS管,严禁负载(输出与V+)短路。为了防止负载短路,Bitte wählen与负载功率合适的保险管进行保护。
- Der Controller的负载电压与供电电压要一致。
七、KommunikationVereinbarung说明
自有Vereinbarung
本Vereinbarung用于配置Ausrüstung的 RS485 Kommunikationsparameter。所有Befehl均以 0xA5开头,以 0x5A结尾。Prüfungen und是从 LängeBytes 开始,zu Prüfungen undBytes之前 的所有Bytes的累加和(通常取低8位)。
1. 设置KommunikationAdresse (0xB0)
- Funktion: 更改Ausrüstung的KommunikationAdresse。
- 重要提示:
o如果Ausrüstung上有 Adresse拨码Schalter!,此BefehlUnwirksam,会返回失败 (0xB3)。必须使用拨码Schalter!设置Adresse。
o拨码Schalter!Operationen:
- 出厂默认:所有Schalter!在非数字侧 (1),Adresse为 0xFF。
- 设置Adresse:将Schalter!拨zu数字侧表示该位为 0,否则为 1。
- 必须断电Operationen! 带电Operationen可能损坏Der Controller。
- 拨码Schalter!设置后,重新通电生效。
o使用此Befehl设置Adresse:无需断电,立即生效,新Adresse会保存。
- Befehle senden (主机 -> Ausrüstung):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x04 | 此BefehlDaten部UnterteilungLänge (旧Adresse + Befehl字 + 新Adresse = 3Bytes) |
| 3 | 旧Adresse | 0xXX | gegenwärtig与AusrüstungKommunikation使用的Adresse (0x00-0xFF) |
| 4 | Befehl字 | 0xB0 | Adresse设置Befehl |
| 5 | 新Adresse | 0xXX | 要设置的新Adresse (0x00-0xFF) |
| 6 | Prüfungen und | 0xXX | 从 Länge (0x04) zu 新Adresse 的累加和 (SUM(0x04, 旧Adresse, 0xB0, 新Adresse)) |
| 7 | Ende码 | 0x5A | 固定Ende符 |
·
- EmpfangAntwort (Ausrüstung -> 主机):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x03 | 此AntwortDaten部UnterteilungLänge (新Adresse + Befehl字 = 2Bytes) |
| 3 | 新Adresse | 0xXX | Ausrüstunggegenwärtig使用的Adresse (即设置后的Adresse) |
| 4 | Befehl字 | 0xB2 / 0xB3 | 0xB2 = 设置成功 0xB3 = 设置失败 (通常因拨码Schalter!Existenz导致) |
| 5 | Prüfungen und | 0xXX | 从 Länge (0x03) zu Befehl字 的累加和 (SUM(0x03, 新Adresse, Befehl字)) |
| 6 | Ende码 | 0x5A | 固定Ende符 |
·
2. 查询KommunikationAdresse (0xB1)
·Funktion: 查询Ausrüstunggegenwärtig的KommunikationAdresse。
·Befehle senden (主机 -> Ausrüstung):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x03 | 此BefehlDaten部UnterteilungLänge (Adresse + Befehl字 = 2Bytes) |
| 3 | Adresse | 0xXX / 0xFF | 本机Adresse (单台查询) 或 0xFF (Rundfunk查询,所有Ausrüstung都会AntwortAdresse) |
| 4 | Befehl字 | 0xB1 | Adresse查询Befehl |
| 5 | Prüfungen und | 0xXX | 从 Länge (0x03) zu Befehl字 (0xB1) 的累加和 (SUM(0x03, Adresse, 0xB1)) |
| 6 | Ende码 | 0x5A | 固定Ende符 |
·
·EmpfangAntwort (Ausrüstung -> 主机):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x03 | 此AntwortDaten部UnterteilungLänge (Adresse + Befehl字 = 2Bytes) |
| 3 | Adresse | 0xXX | Ausrüstunggegenwärtig的KommunikationAdresse |
| 4 | Befehl字 | 0xB2 | Adresse查询回复Befehl (固定为成功回复) |
| 5 | Prüfungen und | 0xXX | 从 Länge (0x03) zu Befehl字 (0xB2) 的累加和 (SUM(0x03, Adresse, 0xB2)) |
| 6 | Ende码 | 0x5A | 固定Ende符 |
·
3. 设置KommunikationPorter Rate (0xB4)
- Funktion: 更改Ausrüstung的 RS485 KommunikationPorter Rate。
- Befehle senden (主机 -> Ausrüstung):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x04 | 此BefehlDaten部UnterteilungLänge (Adresse + Befehl字 + Porter Rate = 3Bytes) |
| 3 | Adresse | 0xXX | gegenwärtig与AusrüstungKommunikation使用的Adresse (0x00-0xFF) |
| 4 | Befehl字 | 0xB4 | Porter Rate设置Befehl |
| 5 | Porter Rate | 0x01-0x05 | 1=4800, 2=19200, 3=38400, 4=57600, 5=115200, 其他=9600 |
| 6 | Prüfungen und | 0xXX | 从 Länge (0x04) zu Porter Rate 的累加和 (SUM(0x04, Adresse, 0xB4, Porter Rate)) |
| 7 | Ende码 | 0x5A | 固定Ende符 |
·
- EmpfangAntwort (Ausrüstung -> 主机):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x04 | 此AntwortDaten部UnterteilungLänge (Adresse + Befehl字 + Porter Rate = 3Bytes) |
| 3 | Adresse | 0xXX | Geräte Adresse |
| 4 | Befehl字 | 0xB6 / 0xB7 | 0xB6 = 设置成功 0xB7 = 设置失败 |
| 5 | Porter Rate | 0x01-0x05 | Ausrüstunggegenwärtig使用的Porter Rate (1=4800, 2=19200, 3=38400, 4=57600, 5=115200, 其他=9600) |
| 6 | Prüfungen und | 0xXX | 从 Länge (0x04) zu Porter Rate 的累加和 (SUM(0x04, Adresse, Befehl字, Porter Rate)) |
| 7 | Ende码 | 0x5A | 固定Ende符 |
·
4. 查询KommunikationPorter Rate (0xB5)
·Funktion: 查询Ausrüstunggegenwärtig的 RS485 KommunikationPorter Rate。
·Befehle senden (主机 -> Ausrüstung):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x03 | 此BefehlDaten部UnterteilungLänge (Adresse + Befehl字 = 2Bytes) |
| 3 | Adresse | 0xXX / 0xFF | 本机Adresse (单台查询) 或 0xFF (Rundfunk查询) |
| 4 | Befehl字 | 0xB5 | Porter Rate查询Befehl |
| 5 | Prüfungen und | 0xXX | 从 Länge (0x03) zu Befehl字 (0xB5) 的累加和 (SUM(0x03, Adresse, 0xB5)) |
| 6 | Ende码 | 0x5A | 固定Ende符 |
·
·EmpfangAntwort (Ausrüstung -> 主机):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x04 | 此AntwortDaten部UnterteilungLänge (Adresse + Befehl字 + Porter Rate = 3Bytes) |
| 3 | Adresse | 0xXX | Geräte Adresse |
| 4 | Befehl字 | 0xB6 / 0xB7 | 0xB6 = 查询成功 0xB7 = 查询失败 (不Häufig) |
| 5 | Porter Rate | 0x01-0x03 | Ausrüstunggegenwärtig使用的Porter Rate (1=19200, 2=57600, 3=115200, 其他=9600) |
| 6 | Prüfungen und | 0xXX | 从 Länge (0x04) zu Porter Rate 的累加和 (SUM(0x04, Adresse, Befehl字, Porter Rate)) |
| 7 | Ende码 | 0x5A | 固定Ende符 |
·
o注意: 查询Antwort中的Porter RateZahlenwert定义 (1=19200, 2=57600, 3=115200) 与设置Befehl (1=4800, 2=19200, 3=38400…) 不同,且范围更小。其他=9600是相同的。
5. 设置是否回复 ACK (0xB8)
·Funktion: 设置Ausrüstung在收zuBefehl后是否回复Bestätigen (ACK)。
o0x00(默认): 回复 ACK。
o0x01: 不回复 ACK。
·Befehle senden (主机 -> Ausrüstung):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x04 | 此BefehlDaten部UnterteilungLänge (Adresse + Befehl字 + 回复Schließen = 3Bytes) |
| 3 | Adresse | 0xXX | gegenwärtig与AusrüstungKommunikation使用的Adresse (0x00-0xFF) |
| 4 | Befehl字 | 0xB8 | ACK 回复设置Befehl |
| 5 | 回复Schließen | 0x00 / 0x01 | 0 = 回复ACK (默认) 1 = 不回复ACK |
| 6 | Prüfungen und | 0xXX | 从 Länge (0x04) zu 回复Schließen 的累加和 (SUM(0x04, Adresse, 0xB8, 回复Schließen)) |
| 7 | Ende码 | 0x5A | 固定Ende符 |
·
·EmpfangAntwort (Ausrüstung -> 主机):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x04 | 此AntwortDaten部UnterteilungLänge (Adresse + Befehl字 + 回复Schließen = 3Bytes) |
| 3 | Adresse | 0xXX | Geräte Adresse |
| 4 | Befehl字 | 0xBA / 0xBB | 0xBA = 设置成功 0xBB = 设置失败 |
| 5 | 回复Schließen | 0x00 / 0x01 | Ausrüstunggegenwärtig的ACK回复Status (0=回复, 1=不回复) |
| 6 | Prüfungen und | 0xXX | 从 Länge (0x04) zu 回复Schließen 的累加和 (SUM(0x04, Adresse, Befehl字, 回复Schließen)) |
| 7 | Ende码 | 0x5A | 固定Ende符 |
·
6. 查询是否回复 ACK (0xB9)
- Funktion: 查询Ausrüstunggegenwärtig是否回复 ACK。
- 重要提示: 如果Ausrüstung已设置为不回复 ACK (0x01),Senden Sie此查询Befehl后,Ausrüstung不会回复任何Daten(Kommunikation灯可能会闪,但Die Serie无输出)。
- Befehle senden (主机 -> Ausrüstung):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x03 | 此BefehlDaten部UnterteilungLänge (Adresse + Befehl字 = 2Bytes) |
| 3 | Adresse | 0xXX / 0xFF | 本机Adresse (单台查询) 或 0xFF (Rundfunk查询) |
| 4 | Befehl字 | 0xB9 | ACK 回复查询Befehl |
| 5 | Prüfungen und | 0xXX | 从 Länge (0x03) zu Befehl字 (0xB9) 的累加和 (SUM(0x03, Adresse, 0xB9)) |
| 6 | Ende码 | 0x5A | 固定Ende符 |
·
- EmpfangAntwort (Ausrüstung -> 主机): (仅当Ausrüstung设置为回复 ACK 时才会收zu)
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x04 | 此AntwortDaten部UnterteilungLänge (Adresse + Befehl字 + 回复Schließen = 3Bytes) |
| 3 | Adresse | 0xXX | Geräte Adresse |
| 4 | Befehl字 | 0xBA / 0xBB | 0xBA = 查询成功 0xBB = 查询失败 (不Häufig) |
| 5 | 回复Schließen | 0x00 / 0x01 | Ausrüstunggegenwärtig的ACK回复Status (0=回复, 1=不回复) |
| 6 | Prüfungen und | 0xXX | 从 Länge (0x04) zu 回复Schließen 的累加和 (SUM(0x04, Adresse, Befehl字, 回复Schließen)) |
| 7 | Ende码 | 0x5A | 固定Ende符 |
·
7. 设置断电输出Status记忆Funktion (0xBC)
- Funktion: 控制Ausrüstung断电后是否记忆并恢复断电前的输出Status。
o0x00(默认): 不记忆。下次上电输出为默认Status。
o0x01: 记忆。下次上电恢复断电前的输出Status。
- 说明: Öffnen.记忆Funktion (0x01) 后,Ausrüstung会在下一次收zuWirksam的输出控制Befehl并执行后,将当时的输出Status保存下来。断电后,下次上电即恢复该Status。
- Befehle senden (主机 -> Ausrüstung):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x04 | 此BefehlDaten部UnterteilungLänge (Adresse + Befehl字 + 记忆Funktion = 3Bytes) |
| 3 | Adresse | 0xXX | gegenwärtig与AusrüstungKommunikation使用的Adresse (0x00-0xFF) |
| 4 | Befehl字 | 0xBC | 记忆Funktion设置Befehl |
| 5 | 记忆Funktion | 0x00 / 0x01 | 0 = 不记忆 (默认) 1 = 记忆 |
| 6 | Prüfungen und | 0xXX | 从 Länge (0x04) zu 记忆Funktion 的累加和 (SUM(0x04, Adresse, 0xBC, 记忆Funktion)) |
| 7 | Ende码 | 0x5A | 固定Ende符 |
·
- EmpfangAntwort (Ausrüstung -> 主机):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x04 | 此AntwortDaten部UnterteilungLänge (Adresse + Befehl字 + 记忆Funktion = 3Bytes) |
| 3 | Adresse | 0xXX | Geräte Adresse |
| 4 | Befehl字 | 0xBE / 0xBF | 0xBE = 设置成功 0xBF = 设置失败 |
| 5 | 记忆Funktion | 0x00 / 0x01 | Ausrüstunggegenwärtig的记忆FunktionStatus (0=不记忆, 1=记忆) |
| 6 | Prüfungen und | 0xXX | 从 Länge (0x04) zu 记忆Funktion 的累加和 (SUM(0x04, Adresse, Befehl字, 记忆Funktion)) |
| 7 | Ende码 | 0x5A | 固定Ende符 |
·
8. 查询断电输出Status记忆Funktion (0xBD)
- Funktion: 查询Ausrüstunggegenwärtig的断电输出Status记忆FunktionStatus。
- Befehle senden (主机 -> Ausrüstung):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x03 | 此BefehlDaten部UnterteilungLänge (Adresse + Befehl字 = 2Bytes) |
| 3 | Adresse | 0xXX / 0xFF | 本机Adresse (单台查询) 或 0xFF (Rundfunk查询) |
| 4 | Befehl字 | 0xBD | 记忆Funktion查询Befehl |
| 5 | Prüfungen und | 0xXX | 从 Länge (0x03) zu Befehl字 (0xBD) 的累加和 (SUM(0x03, Adresse, 0xBD)) |
| 6 | Ende码 | 0x5A | 固定Ende符 |
·
- EmpfangAntwort (Ausrüstung -> 主机):
| Bytes位置 | Feld | 值 (16. System) | 说明 |
| 1 | Anfang码 | 0xA5 | 固定Anfang符 |
| 2 | Länge | 0x04 | 此AntwortDaten部UnterteilungLänge (Adresse + Befehl字 + 记忆Funktion = 3Bytes) |
| 3 | Adresse | 0xXX | Geräte Adresse |
| 4 | Befehl字 | 0xBE / 0xBF | 0xBE = 查询成功 0xBF = 查询失败 (不Häufig) |
| 5 | 记忆Funktion | 0x00 / 0x01 | Ausrüstunggegenwärtig的记忆FunktionStatus (0=不记忆, 1=记忆) |
| 6 | Prüfungen und | 0xXX | 从 Länge (0x04) zu 记忆Funktion 的累加和 (SUM(0x04, Adresse, Befehl字, 记忆Funktion)) |
| 7 | Ende码 | 0x5A | 固定Ende符 |
·
总结关键点:
- Anfang/Ende码: 所有Befehl都以 0xA5开始,以 0x5AEnde。
- Länge: 指从 LängeBytes之后 zu Prüfungen undBytes之前 的DatenAnzahl der Bytes。
- Prüfungen und: Berechnung范围是从 LängeBytes 开始,zu Prüfungen undBytes之前 的所有Bytes。务必Richtig.Berechnung。
- Adresse:
- 设置/查询特定Ausrüstung时使用其 gegenwärtigAdresse。
- RundfunkAdresse 0xFF可用于查询Befehl(Adresse、Porter Rate、ACKStatus、记忆Funktion),所有Ausrüstung都会Antwort(注意冲突)。
- 拨码Schalter!: Existenz时,Adresse设置BefehlUnwirksam且危险(需断电Operationen)。
- ACK 回复: 如果Ausrüstung设置为不回复 ACK (0x01),Senden Sie查询 ACK StatusBefehl (0xB9) 将不会收zu任何Antwort。
- 记忆Funktion: Öffnen.后,需Senden Sie一次Wirksam的输出控制Befehl,Ausrüstung才会保存当时的输出Status用于断电恢复。
WE-10x系列 LEDDer ControllerKommunikationVereinbarungvollständigDokumentation
1. 概述
WE-10x系列LEDDer Controller主要用于对低压RGB灯具、单双色灯具的颜色和Leuchtkraft进行控制。支持标准的RS485Kommunikationsschnittstelle,Daten交换采用16 EinführungVereinbarung。在具体的BefehlDas Format中,各部Unterteilung以Bytes为单位。可以通过软件配置其它的Porter Rate。配置后会按最新Porter Rate应答Befehl。
出厂默认Parameter
- KommunikationPorter Rate:9600bps
- Datenplatz:8位
- Stoppen Sie Platz:1位
- Prüfstand.:无
- Geräte Adresse:0x00-0xFE(RundfunkAdresse0xFF)
2. 指令Das Format说明
基本指令Das Format
[Anfang码] [Länge] [Adresse] [Befehl字] [WirksamDaten] [Prüfungen und] [Ende码]
各Feld erklärt
| Feld | 说明 | Wert | 备注 |
|---|---|---|---|
| Anfang码 | Daten帧开始标志 | 0xA5 | festen Wert |
| Länge | Anfang码、Länge、Ende码除外的所有Kommunikation内容的Bytes之和 | 0xXX | 从”Adresse”zu”Prüfungen und”的BytesLänge和 |
| Adresse | Der ControllerAdresse | 0x00-0xFE | RundfunkAdresse0xFF不应答 |
| Befehl字 | Befehl的Funktionscode | 0xA0-0xA1 | 详见各指令Vereinbarung |
| WirksamDaten | Kommunikation中的WirksamDaten | – | 各指令的Daten内容定义详见各指令Vereinbarung |
| Prüfungen und | Länge、Adresse、Befehl字、WirksamDaten的算术累加和 | 0xXX | 溢出部Unterteilung忽略,取低8位;可使用0xEE替换(不Prüfungen) |
| Ende码 | Daten帧Ende标志 | 0x5A | festen Wert |
3. 具体指令说明
3.1 设置RGB(RGBW)值
Funktion:依据三基色原理设置RGB的值,W值为可选的Leuchtkraft值。
Senden Sie指令Das Format
A5 [Länge] [Adresse] A0 [R值] [G值] [B值] [W值] [Prüfungen und] 5A
Länge说明:
- RGBTypusDer Controller:0x06(6Bytes)
- RGBWTypusDer Controller:0x07(7Bytes)
Parameter范围:
- R值:0x00-0xFF(红色输出值)
- G值:0x00-0xFF(绿色输出值)
- B值:0x00-0xFF(蓝色输出值)
- W值:0x00-0xFF(白色输出值,仅RGBWTypusWirksam)
Empfang指令Das Format
A5 [Länge] [Adresse] A2 [R值] [G值] [B值] [W值] [Prüfungen und] 5A
Länge说明:
- RGBTypusDer Controller:0x06(6Bytes)
- RGBWTypusDer Controller:0x07(7Bytes)
Beispiel
RGBWTypusDer Controller,红灯和白灯亮:
- Senden Sie:
A5 07 FF A0 FF 00 00 FF EE 5A - Empfang:
A5 06 00 A2 FF 00 00 A7 5A
3.2 查询RGB(RGBW)值
Funktion:查询Der Controllergegenwärtig的RGB(W)输出值。
Senden Sie指令Das Format
A5 03 [Adresse] A0 [Prüfungen und] 5A
Empfang指令Das Format
A5 [Länge] [Adresse] A2 [R值] [G值] [B值] [W值] [Prüfungen und] 5A
Beispiel
- Senden Sie:
A5 03 FF A0 EE 5A - Empfang:
A5 06 00 A2 FF 00 00 A7 5A
3.3 Der ControllerSzeneFunktion设置
Funktion:设置各种Szene效果,包括呼吸、暴闪、调光、单步调光、Schalter!等。
Senden Sie指令Das Format
A5 [Länge] [Adresse] A1 [Szene码] [Funktionscode] [Szene内容] [Prüfungen und] 5A
Parameter说明:
- Szene码:0x01(呼吸灯)、0x02(暴闪)、0x03(调光)、0x04(单步调光)、0x05(Schalter!)
- Funktionscode:详见相应的SzeneBefehl表
- Szene内容:详见相应的SzeneBefehl表
Empfang指令Das Format
同3.1的EmpfangBefehlDas Format。
3.3.1 呼吸灯Szene内容表
Funktionscode:0x01 Szene内容Das Format:
[颜色码] [速度] [Leuchtkraft]
颜色码说明:
- 0x01:红灯呼吸
- 0x02:绿灯呼吸
- 0x03:蓝灯呼吸
- 0x04:白灯呼吸(RGB型时是RGB合成白色呼吸,RGBW型时是W输出呼吸)
- 0x05:RGB呼吸
- 0x06:黄灯呼吸
- 0x07:紫灯呼吸
Beispiel
- 红灯呼吸:
A5 08 FF A1 01 01 01 00 FF EE 5A - 绿灯呼吸:
A5 08 FF A1 01 02 01 00 FF EE 5A - 蓝灯呼吸:
A5 08 FF A1 01 03 01 00 FF EE 5A - 白灯呼吸:
A5 08 FF A1 01 04 01 00 FF EE 5A - RGB呼吸:
A5 08 FF A1 01 05 01 00 FF EE 5A - 黄灯呼吸:
A5 08 FF A1 01 06 01 00 FF EE 5A - 紫灯呼吸:
A5 08 FF A1 01 07 01 00 FF EE 5A
3.3.2 暴闪Szene内容表
Funktionscode:0x02 Szene内容Das Format:
[颜色码] [速度] [Leuchtkraft] [其他Parameter]
Beispiel
- 红灯爆闪:
A5 08 FF A1 02 01 01 02 FF EE 5A - 绿灯爆闪:
A5 08 FF A1 02 02 01 02 FF EE 5A - 蓝灯爆闪:
A5 08 FF A1 02 03 01 02 FF EE 5A - 白灯爆闪:
A5 08 FF A1 02 04 01 02 FF EE 5A - 7色爆闪:
A5 0B FF A1 02 06 01 02 FF FF FF FF EE 5A - 黄灯爆闪:
A5 0B FF A1 02 07 01 02 FF FF FF EE 5A - 紫灯爆闪:
A5 0B FF A1 02 08 01 02 FF FF FF FF EE 5A
3.3.3 调光Szene内容表
Funktionscode:0x03 Szene内容Das Format:
[颜色码] [目标Leuchtkraft] [速度]
Beispiel
- 红灯调光:
A5 07 FF A1 03 01 FF 01 EE 5A - 绿灯调光:
A5 07 FF A1 03 02 FF 01 EE 5A - 蓝灯调光:
A5 07 FF A1 03 03 FF 01 EE 5A - 白灯调光:
A5 07 FF A1 03 04 FF 01 EE 5A(只对RGBW输出型Nr.Wirksam) - 同步调光(全亮):
A5 0A FF A1 03 05 FF FF FF FF 01 EE 5A - 同步调光(Alles geschlossen):
A5 0A FF A1 03 05 00 00 00 00 01 EE 5A
3.3.4 单步调光Szene内容表
Funktionscode:0x04 Szene内容Das Format:
[Operationen码]
Operationen码说明:
- 0x01:红灯Leuchtkraft加1
- 0x81:红灯Leuchtkraft减1
- 0x02:绿灯Leuchtkraft加1
- 0x82:绿灯Leuchtkraft减1
- 0x03:蓝灯Leuchtkraft加1
- 0x83:蓝灯Leuchtkraft减1
- 0x04:白灯Leuchtkraft加1(RGBWWirksam)
- 0x84:白灯Leuchtkraft减1(RGBWWirksam)
- 0x05:RGBWLeuchtkraft加1(RGBWWirksam)
- 0x85:RGBWLeuchtkraft减1(RGBWWirksam)
Beispiel
- 红灯Leuchtkraft加1:
A5 05 FF A1 04 01 EE 5A - 红灯Leuchtkraft减1:
A5 05 FF A1 04 81 EE 5A - 绿灯Leuchtkraft加1:
A5 05 FF A1 04 02 EE 5A - 绿灯Leuchtkraft减1:
A5 05 FF A1 04 82 EE 5A - 蓝灯Leuchtkraft加1:
A5 05 FF A1 04 03 EE 5A - 蓝灯Leuchtkraft减1:
A5 05 FF A1 04 83 EE 5A - 白灯Leuchtkraft加1:
A5 05 FF A1 04 04 EE 5A - 白灯Leuchtkraft减1:
A5 05 FF A1 04 84 EE 5A - RGBWLeuchtkraft加1:
A5 05 FF A1 04 05 EE 5A - RGBWLeuchtkraft减1:
A5 05 FF A1 04 85 EE 5A
3.3.5 Schalter!Szene内容表
Funktionscode:0x05 Szene内容Das Format:
[颜色码] [延时] [OperationenTypus] [Status值]
OperationenTypus说明:
- 0x01:单通道控制
- 0x05:RGBW同时控制
Status值说明:
- 0x01:开
- 0x00:关
- 0x02:Schalter!Wechseln(Senden Sie一次为开,下一次为关,循环)
Beispiel
- 红灯开:
A5 08 FF A1 05 01 00 01 01 EE 5A - 红灯关:
A5 08 FF A1 05 01 00 01 00 EE 5A - 红灯Schalter!Wechseln:
A5 08 FF A1 05 01 00 01 02 EE 5A - 白灯开:
A5 08 FF A1 05 04 00 01 01 EE 5A - 白灯关:
A5 08 FF A1 05 04 00 01 00 EE 5A - 白灯Schalter!Wechseln:
A5 08 FF A1 05 04 00 01 02 EE 5A - RGBW开:
A5 0B FF A1 05 05 00 01 01 01 01 01 EE 5A - RGBW关:
A5 0B FF A1 05 05 00 01 00 00 00 00 EE 5A - RGBWSchalter!Wechseln:
A5 0B FF A1 05 05 00 01 02 02 02 02 EE 5A
4. Aufmerksamkeit
- RundfunkAdresse0xFF用于向所有AusrüstungBefehle senden,但Ausrüstung不会AntwortRundfunkBefehl
- Prüfungen undBerechnung:从”Länge”Bytes开始zu”Prüfungen und”前一个Bytes的累加和,取低8位
- 使用0xEE作为Prüfungen und可以跳过Prüfberechnung
- RGBTypusDer Controller忽略W值Parameter
- SzeneFunktion中的白色效果在RGB型和RGBW型Der Controller上的实现方式不同
LEDDer Controller MODBUSVereinbarungvollständigDokumentation
1. 概述
WE-10x系列LEDDer Controller主要用于对低压RGB灯具、单双色灯具的颜色和Leuchtkraft进行控制,支持标准的RS485Kommunikationsschnittstelle,Daten交换采用标准的MODBUS RTUVereinbarung。有关详细的指令生成与Analyse方式,可根据本文中的Register.表结合参考《MODBUSVereinbarung中文版》即可。
1.1 Register-Adresse表
注: 保持Register.1相应的寻址Adresse是0x0000,保持Register.2相应的寻址Adresse是0x0001,依次类推。
| Register.Name | 寻址Adresse | Funktion说明 | 值范围 | 访问权限 | 备注 |
|---|---|---|---|---|---|
| 输出值R | 0x0000 | 红色通道输出值 | 0x0000-0x00FF | 读写 | RGB值范围0-255 |
| 输出值G | 0x0001 | 绿色通道输出值 | 0x0000-0x00FF | 读写 | RGB值范围0-255 |
| 输出值B | 0x0002 | 蓝色通道输出值 | 0x0000-0x00FF | 读写 | RGB值范围0-255 |
| 输出值W | 0x0003 | 白色通道输出值 | 0x0000-0x00FF | 读写 | W值范围0-255 |
| Geräte Adresse | 0x0004 | AusrüstungKommunikationAdresse | 0x0001-0x00FF | 读写 | 1-255 |
| Porter Rate | 0x0005 | KommunikationPorter Rate | 0-5 | 读写 | 见Porter Rate说明 |
| 禁止应答 | 0x0006 | 是否禁止应答 | 0-1 | 读写 | 0:允许,1:禁止 |
| 断电记忆 | 0x0007 | 断电Status记忆 | 0-1 | 读写 | 0:不记忆,1:记忆 |
| SzeneFunktion | 0x0008 | SzeneFunktion设置 | – | 读写 | 见SzeneFunktion说明 |
Porter Rate设置值说明:
- 0: 4800bps
- 1: 9600bps(默认值)
- 2: 19200bps
- 3: 38400bps
- 4: 57600bps
- 5: 115200bps
2. 指令列表
2.1 Der ControllerParameter设置
Funktionscode: 0x06(Schreiben eines einzelnen Registers) Der ControllerParameter包括Geräte Adresse、Porter Rate、禁止应答、断电记忆等Parameter。当不清楚Geräte Adresse时,可通过RundfunkAdresse进行Parameter设置。 指令Das Format:
[Geräte Adresse] [Funktionscode0x06] [Register-Adresse高8位] [Register-Adresse低8位] [Daten高8位] [Daten低8位] [CRC-Test低8位] [CRC-Test高8位]
Beispiel:Der Controller原Adresse为0x01,更改Adresse为0x03
- Befehle senden:
01 06 00 04 00 03 88 0A - EmpfangAntwort:
01 06 00 04 00 03 88 0A
说明:
- Adresse设置时,返回Befehl的从机Adresse同Empfang的Befehl一致,都是0x01
- 新从机Adresse将在下一次Kommunikation时Wirksam,设置abgeschlossen.后请使用新从机Adresse0x03
- 使用RundfunkAdresse0x00可以进行Geräte Adresse初始化设置
2.2 Der ControllerParameter查询
Funktionscode: 0x03(Lesen Sie das Register) 注意: 当设置了”禁止应答”FunktionWirksam后,查询无返回。 指令Das Format:
[Geräte Adresse] [Funktionscode0x03] [Ausgang Adresse高8位] [Ausgang Adresse低8位] [Anzahl der Register高8位] [Anzahl der Register低8位] [CRC-Test低8位] [CRC-Test高8位]
Beispiel:查询Der ControllerAdresse
- Befehle senden:
01 03 00 04 00 01 C5 CB - EmpfangAntwort:
01 03 02 00 01 79 84
Antwort说明:
01:Geräte Adresse03:Funktionscode02:返回DatenAnzahl der Bytes00 01:查询zu的参Zahlenwert(此处为Geräte Adresse0x0001)79 84:CRC-Test
2.3 Der Controller输出值设置
Funktionscode: 0x10(Schreiben mehrerer Register) 设置4个输出回路的值,当负载是RGB灯具时可以显示对应的颜色,当负载是单色灯具时,将对应每个输出的Leuchtkraft值。本Befehl为RGBWDas Format设置,当Der Controller为”无W输出型Nr.”时,W值将被Der Controller忽略。 指令Das Format:
[Geräte Adresse] [Funktionscode0x10] [Ausgang Adresse高8位] [Ausgang Adresse低8位] [Anzahl der Register高8位] [Anzahl der Register低8位] [DatenAnzahl der Bytes] [Daten1高8位] [Daten1低8位] ... [CRC-Test低8位] [CRC-Test高8位]
Beispiel1:设置R回路输出为0xFF
- Befehle senden:
01 10 00 00 00 04 08 00 FF 00 00 00 00 00 00 B9 75 - EmpfangAntwort:
01 10 00 00 00 04 C1 CA
Beispiel2:设置G回路输出为0xFF
- Befehle senden:
01 10 00 00 00 04 08 00 00 00 FF 00 00 00 00 A2 6E - EmpfangAntwort:
01 10 00 00 00 04 C1 CA
Beispiel3:设置B回路输出为0xFF
- Befehle senden:
01 10 00 00 00 04 08 00 00 00 00 00 FF 00 00 86 4A - EmpfangAntwort:
01 10 00 00 00 04 C极 CA
Beispiel4:设置W回路输出为0xFF
- Befehle senden:
01 10 00 00 00 04 08 00 00 00 00 00 00 00 FF F6 3A - EmpfangAntwort:
01 10 00 极 00 00 04 C1 CA
Beispiel5:设置Alles回路输出为0xFF
- Befehle senden:
01 10 00 00 00 04 08 00 FF 00 FF 00 FF 00 FF DD 11 - EmpfangAntwort:
01 10 00 00 00 04 C1 CA
Beispiel6:设置Alles回路输出为0x00
- Befehle senden:
01 10 00 00 00 04 08 00 00 00 00 00 00 00 00 B6 7A - EmpfangAntwort:
01 10 00 00 00 04 C1 CA
2.4 Der Controller输出值查询
Funktionscode: 0x03(Lesen Sie das Register)
Beispiel:查询Der ControllerAdresse为0x01的输出值
- Befehle senden:
01 03 00 00 00 04 44 09 - EmpfangAntwort:
01 03 08 00 FF 00 FF 00 FF 00 00 BE FC
Antwort说明:
- 按照RGBW的顺序返回
- 上述Beispiel返回值:R=0x00FF, G=0x00FF, B=0x00FF, W=0x0000
- 每个通道值占用2个Bytes(16位),但Wirksam值为低8位
2.5 Der ControllerSzeneFunktion设置
Funktionscode: 0x10(Schreiben mehrerer Register) 包括呼吸、暴闪、调光、独立Schalter!等Funktion。 注: 当是”RGB输出的型Nr.”时,只要是白色Funktion都是合成的,比如灯带是RGB合成白色呼吸;当是”RGBW型Nr.”时,灯带直接从W输出呼吸灯。
呼吸灯Funktion写入内容表
| Funktion | Schreiben Sie Wert | 说明 |
|---|---|---|
| 红灯呼吸 | 0x0001 | 红色呼吸效果 |
| 绿灯呼吸 | 0x0002 | 绿色呼吸效果 |
| 蓝灯呼吸 | 0x0003 | 蓝色呼吸效果 |
| 白灯呼吸 | 0x0004 | 白色呼吸效果 |
| 紫灯呼吸 | 0x0005 | 紫色呼吸效果 |
| 黄灯呼吸 | 0x极6 | 黄色呼吸效果 |
| 青灯呼吸 | 0x0007 | 青色呼吸效果 |
| 七彩呼吸 | 0x0008 | 七彩呼吸效果 |
爆闪Funktion写入内容表
| Funktion | Schreiben Sie Wert | 说明 |
|---|---|---|
| 红灯爆闪 | 0x0001 | 红色爆闪效果 |
| 绿灯爆闪 | 0x0002 | 绿色爆闪效果 |
| 蓝灯爆闪 | 0x0003 | 蓝色爆闪效果 |
| 白灯爆闪 | 0x0004 | 白色爆闪效果 |
| 7色爆闪 | 0x0005 | 7色循环爆闪 |
调光Funktion写入内容表
| Parameter | Adresse偏移 | 说明 |
|---|---|---|
| FunktionAuswahl | 0x0000 | 调光Funktion标识(0x0003) |
| RLeuchtkraft值 | 0x0001 | 红色Leuchtkraft(0x00-0xFF) |
| GLeuchtkraft值 | 0x0002 | 绿色Leuchtkraft(0x00-0xFF) |
| BLeuchtkraft值 | 0x0003 | 蓝色Leuchtkraft(0x00-0xFF) |
| WLeuchtkraft值 | 0x0004 | 白色Leuchtkraft(0x00-0xFF) |
| 调光速度 | 0x0005 | 调光速度值 |
Schalter!Funktion写入内容表
| Funktion | Schreiben Sie Wert | 说明 |
|---|---|---|
| 红灯Schalter! | 0x0001 | 红色Schalter!Wechseln |
| 绿灯Schalter! | 0x0002 | 绿色Schalter!Wechseln |
| 蓝灯Schalter! | 0x0003 | 蓝色Schalter!Wechseln |
| 白灯Schalter! | 0x0004 | 白色Schalter!Wechseln |
| AllesSchalter! | 0x0005 | Alles通道Schalter! |
Beispiel1:设置Der Controller为紫灯呼吸
- Befehle senden:
01 10 00 08 00 05 0A 00 01 00 00 00 00 00 00 00 00 00 00 81 C8 - EmpfangAntwort:
01 10 00 08 00 05 81 C8
Beispiel2:7色爆闪
- Befehle senden:
01 10 00 08 00 08 10 00 02 01 00 02 00 FF FF FF 00 5B 4C - EmpfangAntwort:
01 10 00 08 00 08 40 0D
Beispiel3:红灯Leuchtkraft调zu0x0F、绿灯Leuchtkraft调zu0xFF、蓝灯Leuchtkraft调zu0x80、白灯Leuchtkraft调zu0xA0
- Befehle senden:
01 10 00 08 00 07 0E 00 03 极 05 00 0F 00 FF 00 80 00 A0 00 01 1D C1 - EmpfangAntwort:
01 10 00 08 00 07 00 09
Beispiel4:Der Controller红灯Schalter!转换(Senden Sie本Befehl一次为开,下一次为关,循环)
- Befehle senden:
01 10 00 08 00 05 0A 00 05 00 01 00 00 00 00 00 02 A6 61 - EmpfangAntwort:
01 10 00 08 00 05 81 C8
Beispiel5:RGBWAlles延时1秒Schalter!转换
- Befehle senden:
01 10 00 08 00 08 10 00 05 00 05 00 00 00 01 00 02 00 02 00 02 00 02 46 13 - EmpfangAntwort:
01 10 00 08 00 08 40 0D
3. Kommunikationsparameter默认值
- Geräte Adresse: 0x01(默认)
- Porter Rate: 9600bps(8位Datenplatz,1位Stoppen Sie Platz,无Prüfungen)
- 禁止应答: 0(允许应答)
- 断电记忆: 0(不记忆输出Status)
4. Aufmerksamkeit
- 使用RundfunkAdresse0x00时,所有Ausrüstung都会Antwort,可能导致Kommunikation冲突
- 设置”禁止应答”Funktion后,Ausrüstung将不Antwort任何查询Befehl
- RGBW输出值范围为0x0000-0x00FF,实际Wirksam值为低8位
- SzeneFunktion设置时,请根据Der Controller型Nr.(RGB或RGBW)Auswahl合适的Funktion
11111