Hate to ask, but need help programming something complicated

Kahuna

New member
I'm building a 3-color LED array, which will use 7 meanwell drivers driven by the VRM 0-10V reference circuit.

I can program PLC's, 4 different brands of robots, varialble speed drives, and servo systems, AND build my own PC's for gaming platforms. The Neptune programming gives me headaches. It's a great controller, but the programming can be difficult. So, I really need some help, and I appreciate it.

I need to run 6 or 7 overlapping profiles for the VRM's. Three of the channels of the four will be used. So -

I need programming for a basic moonlight of mixed blue and white. Following moonlight, and starting at the beginning of the day, (6AM), this needs to fade out to around 5% and be replaced by whites and reds at their lowest setting. The reds should ramp to about 30% and the whites should ramp to about 20% over an hour, whites delayed by 15 minutes. During this time, blues should ramp to 15%. After about 30 minutes of the reds, they should ramp down to off over about 15 minutes. The whites and blues should ramp up to 60% by 9 AM, and then ramp to 90-100% by 11AM. At 11AM, the reds should ramp up to about 50% over 30 minutes, hold until 1:30PM, and then ramp back to off by 2PM. The blues and whites run at 100% until 7PM. Over the next hour the whites and blues should ramp down to around 40%, and then after holding for around 30 minutes, the blues should ramp down to 10%, the whites should ramp down to 20%, and the reds should ramp to 30%. After this, the reds and whites should ramp down to 5% while blues will ramp up to 15-20% , reds being delayed in their ramp down by 15 minutes. At this point, the reds will shut off and the whites/blues will ramp down to moonlight levels over 30 minutes.

If someone wants to program this for trial, I've no problem in posting video of their work and giving them full credit on the site. I just need the help. Badly.

TIA.

Kev
 
I don't have time to write it for you but I'll tell you how I would go about figuring it out...

For each light draw a graph of percentage against time. This will give you a ziggy/zaggy line. Each segment represents 1 profile configuration with a start and end value (ramp time, the last parameter is dependent on the behavior you want). The last component is time; using 'IF Time' statements set the individual profiles in the sequence you want. You don't need to be efficient or fancy with the program and sometimes that is the easiert to understand.

Hope this helps.
 
Back
Top