ADICON Support Forum Applied Digital, Inc.
Page 1 of 2 12>
Topic Options
#22148 - 10/07/10 06:28 AM ocelot Polling speed
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
Hi
Guys just got my Ocelot up and running on my test bench and looking to deploy in my home automation system.

I have attached it to a secu-16I.

All works great but is there any way to speed the polling? Sometimes it can take upto 5 seconds for the Ocelot to se that a contact is closed or has been opened?

My 2nd question is and this may be in the wrong forum if so I am sorry. Is it possible to script so you can speak to the Ocelot and retrieve the values of the attached modules.

Eventually I want to use a pc to control everything at the moment I am using the ocelot to generate a x10 command and the pc to pick this up. It would be quicker and free up address's if I could speak to the Ocelot direct.

thanks
jasemilly

Top
#22149 - 10/07/10 06:53 AM Re: ocelot Polling speed [Re: jasemilly]
ADI Tech Support Moderator Offline
addict


Registered: 12/22/02
Posts: 622
Loc: Branson West, MO
The Ocelot communicates at 9600 baud to the modules and this can not be changed.

Check the connections on the COMs lines between the Ocelot and SECU16I. Slow response like this is usually a indication of bad communications between the Ocelot and the module it is connected to.

Also, in C-Max in click Controller Utilities, Retrieve controller parameters. Make sure parameter 7 is set to 0.

You can download our serial port protocol from our web site at the following link:

http://www.appdig.com/Serprot/CPUXA_Protocol.pdf

Kevin Barrett
ADI Tech Support

Top
#22150 - 10/11/10 03:37 AM Re: ocelot Polling speed [Re: ADI Tech Support]
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
Hi

I have changed the wire between the Oceot and SECU-16I.

The Parameter 7 is set to 0.

It takes 2-4 seconds to see a contact on one input.

thanks
Jason

Top
#22151 - 10/11/10 06:28 AM Re: ocelot Polling speed [Re: jasemilly]
ADI Tech Support Moderator Offline
addict


Registered: 12/22/02
Posts: 622
Loc: Branson West, MO
I just tested it. It taked mine less than a second to respond. Have you loaded a If-Then-Else program into the Ocelot? Try reloading the executive (Controller Utilities, Reload Controller Executive). This will erase any program loaded into the Ocelot. Then see if the response is better.

Kevin Barrett
ADI Tech Support

Top
#22152 - 10/11/10 06:48 AM Re: ocelot Polling speed [Re: ADI Tech Support]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6421
Loc: Montreal, QC, Canada
How fast does the comms LED blink on the Ocelot? Do you see many blinks per second with the odd one second pause every 10 seconds or so?
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#22156 - 10/12/10 12:56 AM Re: ocelot Polling speed [Re: ADI Tech Support]
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
Hi I have an if then else.

But I did notice the delay when I just connected to the controller and wired in 2 wires with a the supplied resistor between and put them together.

will try your suggestion.

thanks,
Jasemilly

Top
#22157 - 10/12/10 01:00 AM Re: ocelot Polling speed [Re: Guy Lavoie]
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
the comms light flashes very rapidly for what appears random lengths of time longest 13 sec shortest is a blip!!! The pause is about 3 seconds.

thanks
Jase milly

Top
#22158 - 10/12/10 01:17 AM Re: ocelot Polling speed [Re: ADI Tech Support]
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
HI reloded the executive no difference and the duration of the rapid flickering comms light is random. But the pause is always about 2 seconds.

thanks
jasemilly

Top
#22159 - 10/12/10 05:57 AM Re: ocelot Polling speed [Re: jasemilly]
ADI Tech Support Moderator Offline
addict


Registered: 12/22/02
Posts: 622
Loc: Branson West, MO
OK. Try placing a 150Ohm resistor across the Coms A and B on the SECU16I to terminate the communications bus.

Kevin Barrett
ADI Tech Support

Top
#22160 - 10/13/10 04:04 AM Re: ocelot Polling speed [Re: ADI Tech Support]
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
Hi thanks

thats fixed it. Does that mean the secu16i has a fault or should the resistor be there? Don't mind as the fix was very cheap!

Top
#22161 - 10/13/10 07:09 AM Re: ocelot Polling speed [Re: jasemilly]
ADI Tech Support Moderator Offline
addict


Registered: 12/22/02
Posts: 622
Loc: Branson West, MO
It is not a fault. Depending on many factors, sometimes a network, even as slow as the one we provide (9600 baud), needs to be terminated. That's what the resistor is doing; terminating the ADICON network.

Kevin Barrett
ADI Tech Support

Top
#22378 - 02/18/11 02:43 AM Re: ocelot Polling speed [Re: ADI Tech Support]
kamo Offline
newbie


Registered: 02/14/11
Posts: 2
Thanks for the info....
_______________________
It is said that a friend is found in Holiday Palace dating is equally difficult in the game Holiday Palace you play.

Top
#22408 - 03/15/11 02:57 AM Re: ocelot Polling speed [Re: jasemilly]
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
Just want to check double check a thought. I have now wired secu16i to the ocelot. Should only the last unit have the resistor?
Top
#22409 - 03/15/11 03:21 AM Re: ocelot Polling speed [Re: jasemilly]
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
just read my post back!!!! meant to say 8 secu16's wired to the ocelot
Top
#22410 - 03/15/11 04:13 AM Re: ocelot Polling speed [Re: jasemilly]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6421
Loc: Montreal, QC, Canada
Yes, the module at the end of the bus wiring should have the termination resistor.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#22411 - 03/15/11 07:03 AM Re: ocelot Polling speed [Re: Guy Lavoie]
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
have removed all resistors apart from the last one. All secu16 coms light is permant red active light is blinking slow at a consistent rate. I have wired from one unit to the next ie from ocelot to com a to the next com units com a. and put the resistor on the last one. all wires appear to be correct.

any ideas please??????

thanks

Top
#22412 - 03/15/11 07:06 AM Re: ocelot Polling speed [Re: jasemilly]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6421
Loc: Montreal, QC, Canada
Did you do the autoaddressing procedure, etc?
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#22413 - 03/15/11 07:13 AM Re: ocelot Polling speed [Re: Guy Lavoie]
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
no I thought the units kept the address's once set. if they get the new address's will they be in the same order in the mapping for ocelot ie will module 1 still be module 1??????

please say yes I have everything programed up around alot of switches and distance to walk!!!

Top
#22414 - 03/15/11 07:20 AM Re: ocelot Polling speed [Re: jasemilly]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6421
Loc: Montreal, QC, Canada
It's not clear exactly where you're starting from... Did you already have a bunch of addressed (ie: working) modules and now you added a new one? Something else?

Yes, they do keep their addresses once set. If you want to add a new module to an existing setup, you can disconnect the existing modules and connect just the new one, start the autoaddress procedure, and keep clicking on "skip this address" until you get to the address you want and then press the button. You then terminate the procedure and reconnect you existing modules.

But if you start the autoaddress procedure with your existing modules connected, they will lose their setting and you will need to address them again in the order you want.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#22415 - 03/15/11 07:25 AM Re: ocelot Polling speed [Re: Guy Lavoie]
jasemilly Offline
junior


Registered: 10/07/10
Posts: 41
I have 8 modules all addressed and working. But slowly, I had a resistor in each module, and thought this would be the speed issue, so I have removed all the resistors apart from the last one, now none of the modules appear in the cmax software, the comms light is a solid red and the active is a slow flash red for approx a second off for about 0.5 seconds then back on.

the wiring appears ok i have them daisy chained from the ocelot.

thanks

Top
Page 1 of 2 12>


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
1 registered (dasdasd) and 17 anonymous users online.
Recent Posts
baby carriers
by apsun
05/19/12 06:53 PM
The Foremost Selected Infant Carriers
by dasdasd
05/19/12 06:33 PM
Whole house music.
by Guy Lavoie
05/19/12 04:13 PM
cmax 2.0
by Presidio Dog
05/12/12 10:42 PM
Dead SpeakEasy
by ADI Tech Support
05/04/12 09:50 AM
Shout Box

Newest Members
dasdasd, apsun, modularko, Presidio Dog, appoa
2765 Registered Users
Forum Stats
2765 Members
19 Forums
3856 Topics
22808 Posts

Max Online: 67 @ 08/16/11 03:08 PM
May
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31