Installation and Operation Manual for Four channel Controllable Silicon Dimmer - RS485 Communication Modbus Protocol Command Set - Modbus Product Center

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

Installation and Operation Manual for Four channel Controllable Silicon Dimmer - RS485 Communication Modbus Protocol Command Set - Modbus Product Center

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 itemsSpecification value
Number of output channels4Independent thyristor output
Single channel maximum resistive load1000W
Single channel maximum capacitive load (LEDLamp) 500W
Dimming gear256Grade (0-255)
Communication interfaceRS485 (A+/B-Wiring terminals)
Communication protocolCustomize hexadecimal frame format + Modbus RTU
Supply voltageAC-DCWide pressure input, Direct input220VCan provide power immediately
Working current+12G (Module power supply terminal)
Shell specificationsUniversalPLCShell, Standard35mmThe guide rail is safe and reliable
Default baud rate9600 bps (Can be modified through instructions4800bps)
Data bits / Checksum / Stop position8 / No verification / 1
Default address01

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

  1. exhibition hall, cinema, Conference Room, Smart home——Scene based lighting atmosphere adjustment
  2. Industrial and mining exchange pressure regulation, Communication lighting control——Especially suitableLEDLamp dimming
  3. Photography flash charging control——Accurate control of selected lighting brightness
  4. High power AC heating and temperature control——Industrial temperature regulation and other scenarios
Currently, green energy conservation and environmental protection are the trend, LEDAs the preferred energy-saving lamp, lamps have been widely used in various projects. Dimmer asLEDThe adjustment equipment at the front end of the lamp also needs to adapt to development and updates. Previously, lamps were mostly made of tungsten wire, Halogen lamps are mainly used (Resistive load) , But The lamp belongs to capacitive loadLEDHas significant impact and harmonics on power drive, Certain processing circuits must be applied to ensure the reliable operation of the equipment, Three.

Appearance and interface definition, Front view of dimmer

3.1 The dimmer panel includes the following areas:

Region:

explainTerminal area
L1/L2/L3/L4 Wiring line output terminal4Two parallel terminals per circuit (TerminalT1/T2/T3/T4)
N / Nc Zero line inputNNot used, NcNo effect (Terminal)
Lnc Zero line inputDisplay area
The digital display shows the current address and brightness statusFunction key area
Function keysUp key (FUNC) , Press the button (UP) , Communication interface terminal (DOWN)
A+ / B-RS485Module power supply indication
+12VDetailed definition of wiring terminals

3.2 Terminal name

Function descriptionTwo 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
+12Vdirect12VPower supply end (Optional version)
⚠️ matters needing attention:
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)

 

KeyFunction
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
ParametersValue
Baud rateDefault9600 (Can be modified to:4800)
Data bits8
ChecksumNone (None)
Stop position1
Byte orderThe first byteThe second byteThe third byteThe 4th byteThe 5th byteThe 6th byteThe 7th byteThe 8th byteThe 9th byte
meaningAA
Fixed head
BB
Fixed head
Address
01
Instruction codeParameter numbers
Festival1
Parameter numbers
Festival2
Parameter numbers
Festival3
Parameter numbers
Festival4
3A
Fixed tail
Instruction nameInstruction codeParameter descriptionExample
Set 4 brightness values01Positive brightness sequence
02Brightness 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 3A
Let the 4 brightness channels be:0% 25% 75% 100%
Instruction nameInstruction codeParameter descriptionExample
Single channel brightness settingA4Positive brightness sequence
A4Brightness 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 3A
control the brightness value of the second channel is25%

AA BB 01 A4 FF 80 60 50 3A
control the brightness value of all four channels is50%

instruction nameinstruction codeparameter descriptionexample
gradient brightness control
(brightness and change do not change abruptly,
good visual effect)
A2brightness forward sequence
02brightness 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 3A
control the brightness of the second channel to change faster50%

AA BB 01 A2 02 80 06 00 3A
control the brightness of the third channel to change slowly75%

AA BB 01 A4 03 C0 B0 00 3A
control the brightness of all four channels to change gradually100%

instruction nameinstruction codeparameter descriptionexample
stop gradient035byte is the channel number (control)AA BB 01 A2 FF FF 05 00 3A
control all four channels) Channel stop gradient
Instruction nameInstruction codeParameter descriptionExample
5%Brightness increases065, 6, 7, 8The bytes correspond in sequence1, 2, 3, 4Is there a road passage availableAA BB 01 06 01 00 01 00 3A
Send once, Control1, 3Channel brightness increases5%
5%Decreased brightness05dittoAA BB 01 05 01 00 01 00 3A
Send once, Control1, 3Channel brightness decreases5%
5%Brightness difference plus step08dittoAA BB 01 08 01 00 01 00 3A
Send once, Control1, 3Channel brightness increases5%
5%Step by step reduction in brightness difference07dittoAA BB 01 07 01 00 01 00 3A
Send once, Control1, 3Channel brightness decreases5%
Instruction nameInstruction codeParameter descriptionExample
Save the current 4-channel brightness values
(The brightness value will not be lost when powered off and will be restored when powered on)
0E5Byte01Indicates saving
6, 7, 8Invalid byte
AA BB 01 0E 01 00 00 00 3A
Save all current channel brightness values to memory and restore them upon power on

AA BB 01 0E 01 00 00 00 3A
Equipment site selection
CC DD 01 (Equipment address)

Clear the saved brightness values
(Clear and restore to default brightest)
0E5Byte01Indicates saving
6, 7, 8Invalid byte
Clear all currently saved channel brightness values.
AA BB 01 DE 01 00 00 00 3A
Equipment site selection
CC DD 01 (Equipment address)
Query the brightness value of a certain road0DReturn the original brightness valueAA BB 01 0D 00 02 00 00 3A
Query instruction
return:
CC DD 01 XX YY ZZ WW 03 A
XX Brightness of the first channelYY The brightness of the second channel
ZZ Third channel brightnessWM Fourth channel brightness
Instruction nameInstruction codeParameter descriptionExample
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)
6A5Byte channel selection
(01 02 03 04 05 And05For all channels)
6Byte01Indicate opening, 02Indicate closure
AA BB 01 6A 02 01 00 00 3A
Control channel 2 to open

AA BB 01 6A 02 02 00 00 3A
Control channel closure

Breathing effect instruction215, 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 effectsAA BB 01 21 05 05 05 05 3A
Control1, 2, 3, 4The breathing effect of the channel is faster and faster

AA BB 01 21 00 00 05 05 3A
Only1, 2The respiratory effect of the channel is closed

Set module address
(Need a standalone connection module, You can also use the hand button to modify the address)
025Byte
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 3A
Modify 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 3A
Modify the baud rate to 4800bps
return C0 C0 Address
Register addressmeaningRead/writeValue range
30001The first brightness value registerR/W0 (Brightest) ~ 255 (The darkest)
30002The second brightness value registerR/W0 ~ 255
30003The third brightness value registerR/W0 ~ 255
30004The fourth brightness value registerR/W0 ~ 255
30005Synchronize the brightness values of four channelsW0 ~ 255
30006Positive sequence brightness value register (Output1-4) R/W0 (Darkest/Off) ~ 255 (Brightest/On)
30007Positive sequence brightness value registerR/W0 ~ 255
30008Positive sequence brightness value registerR/W0 ~ 255
30009Positive sequence brightness value registerR/W0 ~ 255
30010Synchronize control of 4 channels (Brightness value0=The darkest 255=Brightest) R/W0 ~ 255
ParametersSet value
PortCOMxx (Based on actual selection)
Baud rate9600 (Default)
ChecksumNone (No verification)
Data bits8
Stop position1
Sending modeHexadecimal transmission
Serial numberFunction descriptionInstruction contentremarks
1Control all 4 brightness values to50% (255Level50%Converted into16The base number is0x80) AA BB 01 01 80 80 80 80 3A4Simultaneously set the road as50%
2Control the first transition to100%Brightness, The time interval between levels is5AA BB 01 02 01 00 05 00 3AGradient time=5
3Control the second gradient to0% (Brightness) , The time interval for the level is8AA BB 01 02 02 00 FF 08 00 3AGradual transition to extinction
4Query single channel instructionsAA BB 01 0D 01 00 00 00 3AXXIndicate the brightness value of the corresponding channel
return CC DD 01 XX YY ZX XW 03A
5Save 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 3Areturn CC DD 01
6The instruction to clear the current saved stateAA BB 01 DE 01 00 00 00 3Areturn GC DD 01
7Command to individually control the immediate change in brightness of the first channelAA BB 01 04 01 50 00 00 3A50For brightness value
8Command to individually control the immediate change in brightness of the second channelAA BB 01 04 02 60 00 00 3A60For brightness value
9Command to individually control all 4 brightness channelsAA BB 01 04 FF 80 00 00 3A80For brightness value
10Respiratory command test: (Breathing simultaneously through four channels, The speed is08) AA BB 01 21 08 08 08 08 3A4Road breathing at the same time
Related Tags
Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

Your email address will not be published. Required fields are marked *.