Installation and Operation Manual for Four channel Controllable Silicon Dimmer (RS485 Communication/Modbus Protocol)
Added modbusRTU control instructions
The four-way thyristor dimmer is based onRS485Intelligent dimming control module for serial communication. Internally adopted within the moduleForward cutting (the front) Dimming technology, Single channel stable control1000WResistive load, LEDSingle channel drivability of capacitive loads such as lamps500W.
List of core parameters:
| Parameter items | Specification value |
|---|---|
| Number of output channels | 4Independent thyristor output |
| Single channel maximum resistive load | 1000W |
| Single channel maximum capacitive load (LEDLamp) | 500W |
| Dimming gear | 256Grade (0-255) |
| Communication interface | RS485 (A+/B-Wiring terminals) |
| Communication protocol | Customize hexadecimal frame format + Modbus RTU |
| Supply voltage | AC-DCWide pressure input, Direct input220VCan provide power immediately |
| Working current | +12G (Module power supply terminal) |
| Shell specifications | UniversalPLCShell, Standard35mmThe guide rail is safe and reliable |
| Default baud rate | 9600 bps (Can be modified through instructions4800bps) |
| Data bits / Checksum / Stop position | 8 / No verification / 1 |
| Default address | 01 |
Every path has256GradeThe dimming level, Through485Method of sending instructionsTo perform control and status reading. built-inAC-DCPower supply circuit, Direct access220VIt can provide power to the dimmer, No need for an external independent power adapter. Reasonable layout, Adopt universalPLCShell and standards35mmInstallation method of guide rail, Easy to use.
Two, Application areas
- exhibition hall, cinema, Conference Room, Smart home——Scene based lighting atmosphere adjustment
- Industrial and mining exchange pressure regulation, Communication lighting control——Especially suitableLEDLamp dimming
- Photography flash charging control——Accurate control of selected lighting brightness
- High power AC heating and temperature control——Industrial temperature regulation and other scenarios
Appearance and interface definition, Front view of dimmer
3.1 The dimmer panel includes the following areas:
Region:
| explain | Terminal area |
|---|---|
| L1/L2/L3/L4 Wiring line output terminal | 4Two parallel terminals per circuit (TerminalT1/T2/T3/T4) |
| N / Nc Zero line input | NNot used, NcNo effect (Terminal) |
| Lnc Zero line input | Display area |
| The digital display shows the current address and brightness status | Function key area |
| Function keys | Up key (FUNC) , Press the button (UP) , Communication interface terminal (DOWN) |
| A+ / B- | RS485Module power supply indication |
| +12V | Detailed definition of wiring terminals |
3.2 Terminal name
| Function description | Two parallel terminals |
|---|---|
| T1 (The first output) | Connect the live wire input of the lighting fixture: Connect the other end to the neutral wire, Two parallel terminals |
| T2 (Second output) | Connect the live wire input of the lighting fixture: Connect the other end to the neutral wire, Two parallel terminals |
| T3 (The third output) | Connect the live wire input of the lighting fixture: Connect the live wire input of the lighting fixture, Connect the other end to the neutral wire |
| T4 (Two parallel terminals) | The fourth output: Connect the live wire input of the lighting fixture, Connect the other end to the neutral wire |
| L (Fireline input) | Municipal power live line access terminal |
| N / Lnc (Zero line input) | Municipal power neutral line access end (NcNot used) |
| A+ / B- | RS485Communication bus interface |
| +12V | direct12VPower supply end (Optional version) |
1. The two terminals of each circuit are in parallel relationship (Like twoT1) , Convenient wiring for multiple lights
2. Considering the convenience of wiring and current distribution, The fault circuit output is designed with two parallel terminals
3. T1Connect the live wire input of the lamp, Connect the other end of the lamp to the neutral wire (The lights on the actual home decoration or construction site have been connected to the neutral wire)
4. A+, B-For485Communication terminal
Four, Manual operation and button instructions
4.1 Meaning of display screen
- Default power on display "Ad01" —— express485The address is 01
- Press once FUNC Function keys —— Display format is as follows:
255.1:- .1 Indicates the brightness value of the first channel
- .2 .3 .4 Corresponding to each2, 3, 4Road
- 255Indicates the lowest brightness value (The darkest) , 0Indicates the maximum brightness value (Brightest)
4.2 Key function
Example of operation process:
- Press FUNC Select a pathway (Display Ad01 When entering address mode, Otherwise, enter brightness mode)
- Through UP / DOWN Adjust the numerical value
- The brightness value and address will beAutomatic saving, No loss in case of power failure
Five, 485Networking structure dimmer supportRS485Bus networking, One host (Such as computer serial port, PLC, Centralized controller) Through485The bus can be connected simultaneouslyAt most100OneDimmer node (Address range01~64Actual effectiveness, Protocol support to100) . Typical networking topology:
host → [Dimmer01] — [Dimmer02] — [Dimmer03] — ... — [DimmerN] (Hand in hand bus type connection) Six, Detailed explanation of communication protocol (Customize hexadecimal frame format) 6.1 Basic communication parameters6.2 Explanation of frame format definition:
• Instruction codes and bytes are fixed and unchanging, The default address byte is01 (Can be modified arbitrarily)
• The main difference is that4, 5, 6, 7, 8Byte section (Instruction code + Parameter data) 6.3 Complete instruction set (16Binary format) 6.3.1 Five parallel brightness control channels (Old version compatibility) 6.3.2 Single channel independent brightness setting6.3.3 Gradient brightness control (With time parameter) 6.3.4 Stop gradient (Stop the gradient process) 6.3.5 5%Step wise brightness adjustment6.3.6 Storage and query instructions6.3.7 Address and Configuration Management 7, Modbus RTU In addition to the custom hexadecimal frame format mentioned above, the instruction instructions also include:, This dimmer also supports standard Modbus RTU agreement, Can be combined with PLC Or seamless integration with configuration software. 7.1 Register mapping table annotation:
• Register starting address from 0 Start counting
• 30001~30004 Corresponding output1~4The brightness value of the road
• 30005 To synchronize control registers, Four channels change simultaneously after writing
• 30006~30009 Mapping for another brightness (Positive sequence: 0=The darkest, 255=Brightest)
• Can cooperate PLC Or configure software to implement standards modbus Brightness value control7.2 Modbus RTU Example of operation1: Read the address01Brightness value request: 01 03 00 00 00 04 xx xx (Function code03, Read 4 hold registers) Response: 01 03 08 xx xx xx xx xx xx xx xx xx (Return 4 brightness values) Example2: Write address01The brightness of the first channel is128 (50%) Request: 01 06 00 00 00 80 xx xx (Function code06, Write a single register) Response: 01 06 00 00 00 80 xx xx (Display confirmation) Eight, Debugging methods and testing tools are recommended to use serial debugging assistant software for testing:
- Will485After the network is connected hand in hand, ThroughSerial port debugging assistantTest network connectivity
- When obtaining the status of the board, the following data can be sent:, Data can be returned immediately
Recommended settings for serial debugging assistant: Nine, The complete debugging instruction lookup table can be directly copied to the serial debugging assistant16Common instructions sent in binary format: Ten, Protocol upgrade instructions (V4.0newly added) V4.0 The version has made the following protocol extensions on the basis of the original version:
- Added mass mailing addresses 0x09 —— Support broadcast control of all online devices
- Added a breathing command 0x21 —— Support breathing light effect
- Added positive sequence brightness value control instruction:
- Positive sequence brightness value instruction 0x00 For the brightest, 0xFF For the darkest (20230921Add new instructions later)
- Previously, the brightness values were in reverse order (Some are inconvenient for practical purposes, Added positive sequence brightness value instruction)
- Reverse brightness value instruction 0x00 For the darkest, 0x00 For the brightest (Maintain compatibility with previous old instructions)
- Increased modbusRTU Control instructions —— corresponding modbus of And 03 Read and write memory instructions 06 Eleven
Precautions and common questions, Installation and usage precautions⚠️ Load matching:
- Single channel maximum resistive load: Capacitive load1000W, maximum (LED) Overloading operation is strictly prohibited500W, Heat dissipation requirements
- Heat dissipation requirements: Please ensure good ventilation and heat dissipation when working for a long time with high power
- Wiring sequence: Be sure to disconnect the power before proceeding with the wiring operation, Confirm the correct wiring before powering on
- 485Bus: A+, B-Polarity cannot be reversed, Suggest installing on both ends of the bus120ΩTerminal resistance
- Unique address: same485The addresses of each device on the bus cannot be duplicated, Range01~100
- Attention to brightness mapping: In positive sequence mode 0x00=Brightest, 0xFF=The darkest; In reverse order mode, it is the opposite, When programming, it is important to distinguish between them
💡 Best practice recommendations:
- Before the first use, use the serial port debugging assistant to test the standalone connectivity
- Verify the correctness of instructions on non critical lines before formal deployment
- Suggest saving brightness values for important project scenarios (Instructions0E) , Ensure automatic recovery after power failure and restart
- During batch installation of the project, a group mailing address can be used 0x09 Perform unified initialization
- coordinationPLCPriority should be given to using or configuring the system Modbus RTU Method (Good compatibility with standard protocols)
| Key | Function | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| FUNC (Function keys) | Loop select the path to be operated on (1→2→3→4→Address setting) | ||||||||
| UP (Up key) | Increase the brightness or address value of the currently selected path | ||||||||
| DOWN (Press the button) | Reduce the brightness or address value of the currently selected path | ||||||||
| Parameters | Value | ||||||||
| Baud rate | Default9600 (Can be modified to:4800) | ||||||||
| Data bits | 8 | ||||||||
| Checksum | None (None) | ||||||||
| Stop position | 1 | ||||||||
| Byte order | The first byte | The second byte | The third byte | The 4th byte | The 5th byte | The 6th byte | The 7th byte | The 8th byte | The 9th byte |
| meaning | AA Fixed head | BB Fixed head | Address01 | Instruction code | Parameter numbers Festival1 | Parameter numbers Festival2 | Parameter numbers Festival3 | Parameter numbers Festival4 | 3A Fixed tail |
| Instruction name | Instruction code | Parameter description | Example | ||||||
| Set 4 brightness values | 01Positive brightness sequence02Brightness reverse order | 5, 6, 7, 8Byte should have brightness values for 4 channels (01For the brightestFFFor the darkest) | AA BB 01 A1 40 80 FF 00 FF 3ALet the 4 brightness channels be:0% 25% 75% 100% | ||||||
| Instruction name | Instruction code | Parameter description | Example | ||||||
| Single channel brightness setting | A4Positive brightness sequenceA4Brightness reverse order | 5Byte is the channel number (control section) 6, 7, 8byte is the brightness value (04 FF) 6byte is the brightness value 02 00 04 FF) 6byte is the brightness value | AA BB 01 A4 02 40 00 00 3Acontrol the brightness value of the second channel is25%
| ||||||
| instruction name | instruction code | parameter description | example | ||||||
| gradient brightness control (brightness and change do not change abruptly, good visual effect) | A2brightness forward sequence02brightness reverse sequence | 5byte is the channel number (control section) 02 03 04 FF) 6byte is the brightness value 7byte is the time parameter ("0xFF,01fastest FF slow") | AA BB 01 A2 80 05 00 3Acontrol the brightness of the second channel to change faster50%
| ||||||
| instruction name | instruction code | parameter description | example | ||||||
| stop gradient | 03 | 5byte is the channel number (control) | AA BB 01 A2 FF FF 05 00 3Acontrol all four channels) Channel stop gradient | ||||||
| Instruction name | Instruction code | Parameter description | Example | ||||||
| 5%Brightness increases | 06 | 5, 6, 7, 8The bytes correspond in sequence1, 2, 3, 4Is there a road passage available | AA BB 01 06 01 00 01 00 3ASend once, Control1, 3Channel brightness increases5% | ||||||
| 5%Decreased brightness | 05 | ditto | AA BB 01 05 01 00 01 00 3ASend once, Control1, 3Channel brightness decreases5% | ||||||
| 5%Brightness difference plus step | 08 | ditto | AA BB 01 08 01 00 01 00 3ASend once, Control1, 3Channel brightness increases5% | ||||||
| 5%Step by step reduction in brightness difference | 07 | ditto | AA BB 01 07 01 00 01 00 3ASend once, Control1, 3Channel brightness decreases5% | ||||||
| Instruction name | Instruction code | Parameter description | Example | ||||||
| Save the current 4-channel brightness values (The brightness value will not be lost when powered off and will be restored when powered on) | 0E | 5Byte01Indicates saving 6, 7, 8Invalid byte | AA BB 01 0E 01 00 00 00 3ASave all current channel brightness values to memory and restore them upon power on
| ||||||
| Clear the saved brightness values (Clear and restore to default brightest) | 0E | 5Byte01Indicates saving 6, 7, 8Invalid byte | Clear all currently saved channel brightness values. AA BB 01 DE 01 00 00 00 3AEquipment site selection CC DD 01 (Equipment address) | ||||||
| Query the brightness value of a certain road | 0D | Return the original brightness value | AA BB 01 0D 00 02 00 00 3AQuery instruction return: CC DD 01 XX YY ZZ WW 03 AXX Brightness of the first channelYY The brightness of the second channel ZZ Third channel brightnessWM Fourth channel brightness | ||||||
| Instruction name | Instruction code | Parameter description | Example | ||||||
| Independently control the opening/closing of a certain channel (If the brightness is saved, it will be restored to the saved brightness when turned on, If not saved, go to maximum brightness) | 6A | 5Byte channel selection (01 02 03 04 05 And05For all channels) 6Byte01Indicate opening, 02Indicate closure | AA BB 01 6A 02 01 00 00 3AControl channel 2 to open
| ||||||
| Breathing effect instruction | 21 | 5, 6, 7, 8Byte correspondence1, 2, 3, 4The interval time between inhalation and exhalation in the channel, The larger, the slower. 00Table closed, Inhalation and respiratory effects | AA BB 01 21 05 05 05 05 3AControl1, 2, 3, 4The breathing effect of the channel is faster and faster
| ||||||
| Set module address (Need a standalone connection module, You can also use the hand button to modify the address) | 02 | 5Byte 02 Return the original brightness value 01 Indicate sequential brightness 6, 7, 8meaningless Positive sequence0x00The darkest FF Brightest Reverse order0x00 Brightest FF The darkest | AA BB 01 02 5A 00 00 00 3AModify the device address to 02 (The rest are fixed codes Address range01 ~ 64 (The maximum is10Binary to100) return CC DD New address | ||||||
| Set the baud rate (spare) | - | - | AA BB EE 03 SA 00 00 00 3AModify the baud rate to 4800bps return C0 C0 Address | ||||||
| Register address | meaning | Read/write | Value range | ||||||
| 30001 | The first brightness value register | R/W | 0 (Brightest) ~ 255 (The darkest) | ||||||
| 30002 | The second brightness value register | R/W | 0 ~ 255 | ||||||
| 30003 | The third brightness value register | R/W | 0 ~ 255 | ||||||
| 30004 | The fourth brightness value register | R/W | 0 ~ 255 | ||||||
| 30005 | Synchronize the brightness values of four channels | W | 0 ~ 255 | ||||||
| 30006 | Positive sequence brightness value register (Output1-4) | R/W | 0 (Darkest/Off) ~ 255 (Brightest/On) | ||||||
| 30007 | Positive sequence brightness value register | R/W | 0 ~ 255 | ||||||
| 30008 | Positive sequence brightness value register | R/W | 0 ~ 255 | ||||||
| 30009 | Positive sequence brightness value register | R/W | 0 ~ 255 | ||||||
| 30010 | Synchronize control of 4 channels (Brightness value0=The darkest 255=Brightest) | R/W | 0 ~ 255 | ||||||
| Parameters | Set value | ||||||||
| Port | COMxx (Based on actual selection) | ||||||||
| Baud rate | 9600 (Default) | ||||||||
| Checksum | None (No verification) | ||||||||
| Data bits | 8 | ||||||||
| Stop position | 1 | ||||||||
| Sending mode | Hexadecimal transmission | ||||||||
| Serial number | Function description | Instruction content | remarks | ||||||
| 1 | Control all 4 brightness values to50% (255Level50%Converted into16The base number is0x80) | AA BB 01 01 80 80 80 80 3A | 4Simultaneously set the road as50% | ||||||
| 2 | Control the first transition to100%Brightness, The time interval between levels is5 | AA BB 01 02 01 00 05 00 3A | Gradient time=5 | ||||||
| 3 | Control the second gradient to0% (Brightness) , The time interval for the level is8 | AA BB 01 02 02 00 FF 08 00 3A | Gradual transition to extinction | ||||||
| 4 | Query single channel instructions | AA BB 01 0D 01 00 00 00 3A | XXIndicate the brightness value of the corresponding channel return CC DD 01 XX YY ZX XW 03A | ||||||
| 5 | Save all current channel brightness values to memory (No loss in case of power failure, Automatically restore to this brightness state when powered on) | AA BB 01 0E 01 00 00 00 3A | return CC DD 01 | ||||||
| 6 | The instruction to clear the current saved state | AA BB 01 DE 01 00 00 00 3A | return GC DD 01 | ||||||
| 7 | Command to individually control the immediate change in brightness of the first channel | AA BB 01 04 01 50 00 00 3A | 50For brightness value | ||||||
| 8 | Command to individually control the immediate change in brightness of the second channel | AA BB 01 04 02 60 00 00 3A | 60For brightness value | ||||||
| 9 | Command to individually control all 4 brightness channels | AA BB 01 04 FF 80 00 00 3A | 80For brightness value | ||||||
| 10 | Respiratory command test: (Breathing simultaneously through four channels, The speed is08) | AA BB 01 21 08 08 08 08 3A | 4Road breathing at the same time |
Leave a Reply