DC Pump Wave Modes

Introduction:
When controlling DC pumps you will need to use one Dimming Channel per pump. The codes given in each example below are using the standard dimming ports (Daylight & Actinic) If you are already using these - or if you need a different type of dimming signal to what your StandardDimming ports are - you will need to get a DimmingExpansion module. Examples on how to adjust the codes for this can be found on that page.

PulseSync (Sync and AntiSync).
This allows for the quick and easy syncing of multiple pumps to a common Wavemode at the same time, or have them on opposite cycles. Instead of having to write the code multiple times for each pump, you only do it once and then tell each dimming channel being used whether to run at the same time or on opposite times to each other.

Activation:
When running the wizard select DC Pump (Jebao/Tunze/Speedwave) to intialize the DCPump class

You can also copy/paste the code provided in the links below.

If you want to control the different modes via the Portal/App you may need to change the following lines in your code

ReefAngel.DCPump.UseMemory= false;

to this:

ReefAngel.DCPump.UseMemory= True;

Wave Modes:
Constant

Lagoon

ReefCrest

ShortPulse

LongPulse

NutrientTransport

TidalSwell

Else

Sine

Gyre