Relay expansion and power control expansion

Expansion modules and attachments
Post Reply
anderzon_
Posts: 67
Joined: Sun Oct 27, 2013 11:35 am

Relay expansion and power control expansion

Post by anderzon_ »

How do I set up those two together? Is it possible in the reef angel wizzard? There is only relay exp in the list.
I didnt understand the manual for this expansion.
Is it possible to switch on and of individually outputs on this expansion
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Relay expansion and power control expansion

Post by rimai »

You have to manually code it.
Roberto.
anderzon_
Posts: 67
Joined: Sun Oct 27, 2013 11:35 am

Re: Relay expansion and power control expansion

Post by anderzon_ »

Ok. Even if I only use the power control? Where could I fimd the code for it?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Relay expansion and power control expansion

Post by rimai »

It is just like the expansion relay box.
All functions are the same. You simply reference it as another expansion box.
For example, the relay expansion is box 1 and power control is box 2, you reference it as Box2_Portx.
Roberto.
anderzon_
Posts: 67
Joined: Sun Oct 27, 2013 11:35 am

Re: Relay expansion and power control expansion

Post by anderzon_ »

So just copy & paste then change box number. Thank u
anderzon_
Posts: 67
Joined: Sun Oct 27, 2013 11:35 am

Re: Relay expansion and power control expansion

Post by anderzon_ »

Would this work for control the orp exp with powe control exp, if I place it in the loop?
Do I need to upload the CustomMainScreen_PowerControlExpansion file to reef angel like in the manual?

Code: Select all

if (ReefAngel.Params.ORP >= 400 ) ReefAngel.Relay.Off(Box1_Port3);
if (ReefAngel.Params.ORP <= 350 ) ReefAngel.Relay.On(Box1_Port3);
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Relay expansion and power control expansion

Post by rimai »

Sure, but I thought you said that the power control expansion was box2.
Roberto.
anderzon_
Posts: 67
Joined: Sun Oct 27, 2013 11:35 am

Re: Relay expansion and power control expansion

Post by anderzon_ »

Yes, but I have found out that the relay expansion is broken so Im gonna replace it with the power controller for all 12 volts.
anderzon_
Posts: 67
Joined: Sun Oct 27, 2013 11:35 am

Re: Relay expansion and power control expansion

Post by anderzon_ »

Its working :)
The only thing is that the expansion begins the relay with 11 not 9 in the display, but the code i correct.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Relay expansion and power control expansion

Post by rimai »

Ports go from 1 to 8. There is no port 9.
Then 11 to 18, 21 to 28 and so on. That way, you know which box and which port it is. Port 67 is box 6 port 7.
Roberto.
anderzon_
Posts: 67
Joined: Sun Oct 27, 2013 11:35 am

Re: Relay expansion and power control expansion

Post by anderzon_ »

Does not get the 12 volts relay box to work together with the 220 volts relay expansion. When I plug in a 220 volt relay box as box 1 and 12 volt as box 2, the 12 volt box does not work. If I take away the 220 volt box. the 12 volts box works as box 1. It will not work if the 12 volts are nr 1 and 220 volt nr 2 either. Seems like it just work alone for some reason. Any ideas?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Relay expansion and power control expansion

Post by rimai »

You need to change the dip switches inside the module.
Roberto.
anderzon_
Posts: 67
Joined: Sun Oct 27, 2013 11:35 am

Re: Relay expansion and power control expansion

Post by anderzon_ »

Have done that like in the mannual. All off for no 1 and on off off for no 2
Post Reply