• Welcome back Guest!

    MARSH is a private reefing group. Comments and suggestions are encouraged, but please keep them positive and constructive. Negative threads, posts, or attacks will be removed from view and reviewed by the staff. Continually disruptive, argumentative, or flagrant rule breakers may be suspended or banned.

Apex FUSION help needed. (1 Viewer)

Users who are viewing this thread

gregg

President
Staff member
Administrator
Moderator
Board Member
Supporting Member
Build Thread Contributor
Joined
Jan 28, 2015
Messages
6,801
Reaction score
2,812
Location
Downtown
I have an outlet on my power bar that i want to come on every hour for 1 minute. Does anyone know the program code in the advanced setting that would make that work?

IMG_0632.jpg
 

steved350

Guest
Joined
Jan 28, 2009
Messages
481
Reaction score
1
Location
Pasadena,Tx
You need to use an OSC command instead of trying to write an on command for every hour of the day. Should look like this.

Set off
Fallback off
OSC 000:00/001:00/059:00 Then ON

The first 000:00 is just an initial off time
The second 001:00 is the minute that you want the outlet to run
The third 059:00 is the time you want the outlet off before it runs again for one minute

Let me know how that works out for ya.
 
Joined
Feb 4, 2014
Messages
10,897
Reaction score
2,068
Location
League City
Gregg, try..... IF time 07:59 then ON IF time 08:00 then OFF

It has to be entered in a 24HR format and have a colon. Like this.... HH:MM

What exactly are you doing. The OSC command above might be better.
 
Joined
Feb 4, 2014
Messages
10,897
Reaction score
2,068
Location
League City
wow that's gonna be a lot of typing but thanks for the clue!!

Ohh gezz...I just saw you wanted it every hour. lol

I thought you said you wanted it on for 1 hour in the day.

If you want it every hour for 1 min then the OSC command is the best option. It's good for dosing pumps, ATO pumps, reactors, water changes, etc.
 
Joined
Feb 4, 2014
Messages
10,897
Reaction score
2,068
Location
League City
Here you go:



OscillateOSC [DURATION / DURATION / DURATION] Then [ON/OFF/PROFILE]The oscillate, or OSC statement is one of the most confusing of all the Apex commands. In its simplest form it’s arepetitive OFF/ON/OFF (or ON/OFF/ON) command that repeats the cycle forever. Anytime you have a repetitiveevent, the oscillate should be considered. One of the most obvious uses of the oscillate is with power heads likethose from Tunze where you want to cycle the right side then left side then right side and so on. The oscillate willdo that. Some other uses for the oscillate command are: Controlling dosing pumps – say you wanted to dose 10 seconds every 4 hours Limiting when ATO pumps can run regardless of switch states – run your ATO for 5 minutes 3 times a day Controlling water changes – pump OUT old water for 5 minutes then pump IN new water for 5 minutes Limiting how much time reactors run (calcium, carbon, phosphate, etc.) Initiating an AFS drum rotation – each OFF/ON cycle causes the drum to extend/rotate one time.The Oscillate syntax is as follows (Tip: there is no “If” conditional)OSC MMM:SS/MMM:SS/MMM:SS Then ONIf you had multiple power heads, you could stagger the pumps OFF/ON/OFF times so only one pump is running at atime but you alternate from right side to left side of tank. For example:Left Power Head: OSC 0:00/0:30/0:30 Then ONRight Power Head: OSC 0:30/0:30/0:00 Then ONLeft power head will start by running 30 seconds then OFF for 30 seconds. Meantime Right power head will wait30 seconds while the right is running, then run 30 then be OFF for 30. So the pumps alternate left-right running 30seconds each. They’ll continue to do that until modified with another statement.You don’t have to use all three parameters if you don’t want. Consider a dosing pump that you want to run for 1minute every hour, only at night. Also note that there is no ‘SET’ statement – oscillate generates both an ON and aOFF so SET is unnecessary. That pump program would look like this:Fallback OFFOSC 059:00/1:00/0 Then ON (note that leading zeros in minutes are not required)If Time 07:00 to 18:00 Then OFF (overrides the OSC during the day and turns outlet OFF)Now, if you really want to get wild and crazy with this statement you can reverse the OFF/ON/OFF cycle toON/OFF/ON. To do this, substitute “Then OFF” for “Then ON” at the end of the command (the ‘Then’ part of thecommand defines the middle time and whether the outlet is ON or OFF during that time). So in other words yourtwo choices are (substitute time in the format MMM:SS for the off or on):OSC off/on/off Then ONOSC on/off/on Then OFFOne final comment on the oscillate command. The 3 time values don’t have to add up to exactly 1 houror even 24 hours. They can be any combination of minutes and seconds you desire.If your times (in minutes) are evenly divisible into 1440 (# minutes in 24 hours), the controller calculatesthe on/off times starting at midnight but then resets every night at midnight (local time so make sure your time
 
OP
OP
gregg

gregg

President
Staff member
Administrator
Moderator
Board Member
Supporting Member
Build Thread Contributor
Joined
Jan 28, 2015
Messages
6,801
Reaction score
2,812
Location
Downtown
You need to use an OSC command instead of trying to write an on command for every hour of the day. Should look like this.

Set off
Fallback off
OSC 000:00/001:00/059:00 Then ON

The first 000:00 is just an initial off time
The second 001:00 is the minute that you want the outlet to run
The third 059:00 is the time you want the outlet off before it runs again for one minute

Let me know how that works out for ya.
i tried this but it didn't come on at the top of the hour?
 

steveb

Staff member
Administrator
Moderator
Board Member
Build Thread Contributor
Joined
Jun 24, 2009
Messages
11,953
Reaction score
2,856
Location
Spring
Gregg does the device on the outlet draw enough current for it to turn on/off reliably? Have you tried it with one of two relay outlets as opposed to the six controlled by triac?
 
OP
OP
gregg

gregg

President
Staff member
Administrator
Moderator
Board Member
Supporting Member
Build Thread Contributor
Joined
Jan 28, 2015
Messages
6,801
Reaction score
2,812
Location
Downtown
Gregg does the device on the outlet draw enough current for it to turn on/off reliably? Have you tried it with one of two relay outlets as opposed to the six controlled by triac?
yes I have it in a relay outlet, I did notice it come on for a minute at 9:08 but not at 9:00 ... guess I need to check again at 10:08
 

Kingb4c0

Guest
Joined
Jan 20, 2009
Messages
216
Reaction score
3
Location
249 & Spring Cypress
You need to use an OSC command instead of trying to write an on command for every hour of the day. Should look like this.

Set off
Fallback off
OSC 000:00/001:00/059:00 Then ON

The first 000:00 is just an initial off time
The second 001:00 is the minute that you want the outlet to run
The third 059:00 is the time you want the outlet off before it runs again for one minute

Let me know how that works out for ya.

This is the correct sentence, also enable the Log option on the outlet configuration so you can check the output logs.
 

steved350

Guest
Joined
Jan 28, 2009
Messages
481
Reaction score
1
Location
Pasadena,Tx
In the initial off time put the amount of time that you want it off before it starts the initial oscillation (OSC). If you want it to start at 12:00 and it's 11:58 the code looks like this.

OSC 002:00/001:00:059:00 ON

THE initial time entry only gets used one time to delay the outlet a set amount of time before the OSC starts.


Sent from my iPhone using Tapatalk
 

paraletho

Guest
Joined
Jul 30, 2008
Messages
597
Reaction score
119
Location
Sabine Pass TX
Gregg what is the outlet running. If it is a dosing pump then the amp draw is too small for the electronic switches. I think it is #4 and #8 that are mechanical.
 
Joined
Jun 7, 2015
Messages
364
Reaction score
4
Location
Beltway 8 and Fort Bend Toll Rd.
You need to use an OSC command instead of trying to write an on command for every hour of the day. Should look like this.

Set off
Fallback off
OSC 000:00/001:00/059:00 Then ON

The first 000:00 is just an initial off time
The second 001:00 is the minute that you want the outlet to run
The third 059:00 is the time you want the outlet off before it runs again for one minute

Let me know how that works out for ya.

This is the correct code as already confirmed by Kingb4c0. Be sure to enable logging like he said.



Gregg does the device on the outlet draw enough current for it to turn on/off reliably? Have you tried it with one of two relay outlets as opposed to the six controlled by triac?
Gregg what is the outlet running. If it is a dosing pump then the amp draw is too small for the electronic switches. I think it is #4 and #8 that are mechanical.

This is no longer an issue with the new 2016 APEX model. I am not sure but I believe I remember Gregg posting he had the new model somewhere. There is no mention of the low amp draw problems in the manual of the EB832 like there was in the EB8. All outputs of the EB832 are now relay controlled.



Gregg I inputted this same code in a spare test outlet to check for you and it is working as it should. Here are the first 2 hours of the code in item line 25,26 and 30,31.

OSC test.jpg osc2.jpg
 
Last edited:
OP
OP
gregg

gregg

President
Staff member
Administrator
Moderator
Board Member
Supporting Member
Build Thread Contributor
Joined
Jan 28, 2015
Messages
6,801
Reaction score
2,812
Location
Downtown
Here it is a little bigger.... I forget how small it loads my pictures when uploading straight from my PC.





so i put the code in exactly as you stated.. thanks for your help, now can you tell me were i can find that log you showed me in your screen shot?

fyi, this is for a stir pump is why i only want it on for a minute each hour.
 
Joined
Jun 7, 2015
Messages
364
Reaction score
4
Location
Beltway 8 and Fort Bend Toll Rd.
Scroll over the icons on your Fusion. It will be a symbol of horizontal bars. Leave your mouse over it for a second if you accessing it from pc it will say output log. The log page only shows the first 20 logs of the day by default. You can change that to 50 or just hit the arrows to scroll over to the next page if you have more than 20 logs for the day.

 
Last edited:
Top