beelzerob
Senior Member
This is a continuation of a discussion in the Legrand thread, and this topic begins in post 43.
Basically, I've written a CQC driver to interface with the ALC lighting control module, using the RS232 protocol. And in almost all respects, it works just great. The only problem I've had is with the extended ramp rate. Using that command, you should be able to set a ramp time (time to reach the level you specify) of HOURS and hours. This can be used for nifty things like having the lights slowly come on as the sun is going down...so, start them from 0 an hour before sunset, and have them take an hour to get to 100%. Neat stuff.
Well, for the longest time I couldn't get it to work...I'd just get NAK's from the controller, which meant I was doing something wrong. The protocol was a tad ambiguous at that point, so I thought maybe I just wasn't forming the command correctly.
After *months* of trying to get some help from ALC, I finally got the answer I wanted from wlj (see post 44 of the other thread). The actual, specific bytes needed to set the ramp rate to 2 hours. Well, I went home, modified my CQC driver, and sent out those very bytes. The result?? NAK. So even after that, something was still wrong.
The other thread debated that perhaps the extended ramp rate comes with other components, such as the Elk or HAI controllers. However, wlj is able to set the extended ramp rate, and he doesn't' have those other controllers. However, he also doesn't have the specific HLC (Home Lighting Controller) that I do...he has the SLI (Scene Learning Interface). And perhaps there is the difference.
Either way, that is what got this thread here.
Here is all the equipment I have (other than the switches themselves)
Top is the Serial Expansion Module. That connects to my PC for control via CQC.
Middle is the Home Lighting Control Module. That controls everything.
Bottom is the ALC Distribution Module. That's where all the wires come into.
I only have 1 branch of lights....4 dimmers, and 1 relay. The version of my dimmers is 1.7, and the version on my HLC is 1.29
Here is what I've discovered:
There are 3 RS232 commands associated with the extended dimming function of dimmers.
- Set the extended dimming rate (for a particular dimmer)
- Read the extended dimming rate (for a particular dimmer)
- Extended ramp to level (the actual command to move to a new light level at the extended dimming rate)
1) I can read the extended dimming rate of all of my dimmers.
- They are all set to the same amount....5, which equals about 12 seconds of dimming time.
- I never set these values myself, so they must be default values, especially since all of my dimmers have it.
2) I can use the extended ramp to level command. So, if I use that command to tell it to go from 0 to 100, it transitions from 0 to 100 over the course of 12 seconds (which is the extended dimming rate). This is definitely different than telling it to merely "ramp" to a new level, which is a different RS232 command, and takes about 3 seconds to accomplish.
3) I cannot set the extended ramp rate, for any dimmer. When I try to set it to a value, I get a NAK (0x42 80 00) back from the controller.
So, that's where I'm at!
Basically, I've written a CQC driver to interface with the ALC lighting control module, using the RS232 protocol. And in almost all respects, it works just great. The only problem I've had is with the extended ramp rate. Using that command, you should be able to set a ramp time (time to reach the level you specify) of HOURS and hours. This can be used for nifty things like having the lights slowly come on as the sun is going down...so, start them from 0 an hour before sunset, and have them take an hour to get to 100%. Neat stuff.
Well, for the longest time I couldn't get it to work...I'd just get NAK's from the controller, which meant I was doing something wrong. The protocol was a tad ambiguous at that point, so I thought maybe I just wasn't forming the command correctly.
After *months* of trying to get some help from ALC, I finally got the answer I wanted from wlj (see post 44 of the other thread). The actual, specific bytes needed to set the ramp rate to 2 hours. Well, I went home, modified my CQC driver, and sent out those very bytes. The result?? NAK. So even after that, something was still wrong.
The other thread debated that perhaps the extended ramp rate comes with other components, such as the Elk or HAI controllers. However, wlj is able to set the extended ramp rate, and he doesn't' have those other controllers. However, he also doesn't have the specific HLC (Home Lighting Controller) that I do...he has the SLI (Scene Learning Interface). And perhaps there is the difference.
Either way, that is what got this thread here.
Here is all the equipment I have (other than the switches themselves)

Top is the Serial Expansion Module. That connects to my PC for control via CQC.
Middle is the Home Lighting Control Module. That controls everything.
Bottom is the ALC Distribution Module. That's where all the wires come into.
I only have 1 branch of lights....4 dimmers, and 1 relay. The version of my dimmers is 1.7, and the version on my HLC is 1.29
Here is what I've discovered:
There are 3 RS232 commands associated with the extended dimming function of dimmers.
- Set the extended dimming rate (for a particular dimmer)
- Read the extended dimming rate (for a particular dimmer)
- Extended ramp to level (the actual command to move to a new light level at the extended dimming rate)
1) I can read the extended dimming rate of all of my dimmers.
- They are all set to the same amount....5, which equals about 12 seconds of dimming time.
- I never set these values myself, so they must be default values, especially since all of my dimmers have it.
2) I can use the extended ramp to level command. So, if I use that command to tell it to go from 0 to 100, it transitions from 0 to 100 over the course of 12 seconds (which is the extended dimming rate). This is definitely different than telling it to merely "ramp" to a new level, which is a different RS232 command, and takes about 3 seconds to accomplish.
3) I cannot set the extended ramp rate, for any dimmer. When I try to set it to a value, I get a NAK (0x42 80 00) back from the controller.
So, that's where I'm at!