Please login or register.

Login with username, password and session length

Author Topic: Ocelot  (Read 2188 times)

eesnerd

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Ocelot
« 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
Logged

JeffVolp

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 122
  • Posts: 2299
    • XTB Home Page
Re: Ocelot
« Reply #1 on: July 19, 2015, 10:47:35 AM »


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
Logged
X-10 automation since the BSR days

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 37
  • Posts: 2547
    • davehouston.org
Re: Ocelot
« Reply #2 on: July 19, 2015, 12:07:34 PM »

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
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No twees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

eesnerd

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Re: Ocelot
« Reply #3 on: July 28, 2015, 07:56:45 AM »

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
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.