X10 Community Forum
💬General Category => General Discussion => Topic started by: eesnerd on July 19, 2015, 09:46:36 AM
-
Anybody out there using the Ocelot controller? I have been trying to emulate my dead Homebase's flag feature by using variables, but having no luck. Somebody who knows C++ better than I may have already addressed this.
Norm
-
I've used the Ocelot for over a decade, and it has been a very reliable controller. The last time I even connected to it was to adjust the irrigation cycle last year because watering was prohibited after 8AM.
The Ocelot uses C-max, which is a ladder-logic program for industrial controllers. It doesn't use C++.
With C-max, you use two statements to set up a flag. The first statement is the IF (condition). The condition can be just about anything from receiving an X10 command to a timed event. The second statement is the THEN (do something). That again can be just about anything from transmitting an X10 command to setting an internal variable (flag). Once the flag is set, you can use it in subsequent IF statements.
The was a very good document on the ADI website that described how all of this worked.
Jeff
-
The was a very good document on the ADI website that described how all of this worked.
http://www.appdig.com/adicon_new/ocelot_manuals.htm (http://www.appdig.com/adicon_new/ocelot_manuals.htm)
-
Thanks, Guys. I'll go back to the program and see if I can make it work. I thought that the Ocelot variable would work as easily as a flag in the Homebase language, but there must be some subtle difference I missed. I will reread the Applied Digital paragraph as well.
Jeff, I built your X-10 amplifier and it works like a charm. I had two rooms in my old, rambling house that would not receive commands from the controller reliably until I installed the amplifier and they now respond every time. Thanks!
Norm