RelayExpansion

Introduction:
The RelayExpansion consists of both an expansion module (which connects to either the primary relay box or to the expansion hub via a USB cable) and a second relay box (which connects to the expansion module via a DE-15 or VGA cable). The second relay box adds an additional 8 controllable AC Ports to the standard Reef Angel, and has the following ports:
 * Outlet socket 1-8
 * Power inlet connector
 * Communication connector
 * Daylight dimming channel (Non-functional, see Note 2 below)
 * Actinic dimming channel (Non-functional, see Note 2 below)

Note 1: Only one expansion module can be connected to your system without an ExpansionHub

Note 2: Only the relay box directly connected to the head unit has usable daylight and actinic dimming channels. Those on additional relay boxes are not currently addressable by the system).

Installation and Setup:
For detailed instructions on setup please click here

Activation:
Once you have succesfully installed the hardware, Activate the RelayExpansion options by selecting "RelayExpansion" when prompted by the Wizard.

To address a RelayExpansion:
{ ReefAngel.Relay.On(Box1_Port1); //Turn On,  RelayExpansion 1, Port1 Where Box1 is the First expansion Box, Port 1 is the Port you want ReefAngel.Relay.Off(Box1_Port1); //Turn Off, RelayExpansion 1, Port1 Where Box1 is the First expansion Box, Port 1 is the Port you want }

Except for Modes in which case, we use Bit to turn a port off:
{ ReefAngel.OverheatShutoffPorts E[0] = Port3Bit | Port6Bit; //Overheat Mode, E[0] is the address of the first relay box, Port3 & 6 Off - Bit in this scenario means "Off" }