#22148 - 10/07/10 06:28 AM
ocelot Polling speed
|
jasemilly
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
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
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
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
|
|
|
|
#22156 - 10/12/10 12:56 AM
Re: ocelot Polling speed
[Re: ADI Tech Support]
|
jasemilly
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
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
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
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
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
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
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
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
junior
Registered: 10/07/10
Posts: 41
|
just read my post back!!!! meant to say 8 secu16's wired to the ocelot
|
|
Top
|
|
|
|
#22411 - 03/15/11 07:03 AM
Re: ocelot Polling speed
[Re: Guy Lavoie]
|
jasemilly
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
|
|
|
|
#22413 - 03/15/11 07:13 AM
Re: ocelot Polling speed
[Re: Guy Lavoie]
|
jasemilly
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
|
|
|
|
#22415 - 03/15/11 07:25 AM
Re: ocelot Polling speed
[Re: Guy Lavoie]
|
jasemilly
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
|
|
|
|
Moderator: Dan Smith, Monte G, ADI Tech Support, Guy Lavoie
|
1 registered
(dasdasd)
and 17 anonymous users online.
|
|
2765 Members
19 Forums
3856 Topics
22808 Posts
Max Online: 67 @ 08/16/11 03:08 PM
|
|
|