Tunze min speed for short pulse
-
carlii
- Posts: 84
- Joined: Sat Mar 17, 2012 7:22 pm
Tunze min speed for short pulse
Is there a way I can set my Tunze pumps minimum speed to 30 when using the internal memory function for short pulse? The Tunze pumps cut off when their value is below 30 and clicks when it comes back on. I want it to pulse from 30 to 70 or so, but I like using the portal to tune the action.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Tunze min speed for short pulse
We can do that.
Do you plan on using all modes or just short pulse?
Do you plan on using all modes or just short pulse?
Roberto.
-
carlii
- Posts: 84
- Joined: Sat Mar 17, 2012 7:22 pm
Re: Tunze min speed for short pulse
Short pulse is all I want to experiment with right now. The only other mode I use is Reefcrest which works fine.
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Tunze min speed for short pulse
Try this:
Code: Select all
ReefAngel.DCPump.UseMemory=false;
ReefAngel.PWM.SetActinic(ShortPulseMode(30,InternalMemory.DCPumpSpeed_read(),InternalMemory.DCPumpDuration_read()*10,ReefAngel.DCPump.ActinicChannel-1));
ReefAngel.PWM.SetDaylight(ShortPulseMode(30,InternalMemory.DCPumpSpeed_read(),InternalMemory.DCPumpDuration_read()*10,ReefAngel.DCPump.DaylightChannel-1));
Roberto.
-
carlii
- Posts: 84
- Joined: Sat Mar 17, 2012 7:22 pm
Re: Tunze min speed for short pulse
Could you help me code this for 3 pumps on an expansion pwm unit? I am drawing a blank.
-
ReEfnWrX
- Posts: 232
- Joined: Tue Nov 05, 2013 8:40 am
- Location: Houston TX
Re: Tunze min speed for short pulse
I think this is what you are looking for, although someone else may need to verify the code... I am not sure if at the end the -None is correct... I think that refers to sync or anti sync
Code: Select all
ReefAngel.PWM.SetChannel (0, ShortPulseMode(30,InternalMemory.DCPumpSpeed_read(),InternalMemory.DCPumpDuration_read()*10,ReefAngel.DCPump.ExpansionChannel[0]-None));
ReefAngel.PWM.SetChannel (1, ShortPulseMode(30,InternalMemory.DCPumpSpeed_read(),InternalMemory.DCPumpDuration_read()*10,ReefAngel.DCPump.ExpansionChannel[1]-None));
ReefAngel.PWM.SetChannel (2, ShortPulseMode(30,InternalMemory.DCPumpSpeed_read(),InternalMemory.DCPumpDuration_read()*10,ReefAngel.DCPump.ExpansionChannel[2]-None));
-
carlii
- Posts: 84
- Joined: Sat Mar 17, 2012 7:22 pm
Re: Tunze min speed for short pulse
Ok, This is working now that I removed the DCPump definitions earlier in my code. I now need to play with the sync settings. Thanks.