ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#21510 - 12/07/09 09:40 AM Software Limitations?..Please help
Wild Bill Offline
newbie


Registered: 08/02/04
Posts: 8
Loc: Suffolk, VA
I have 7 secu16's connected to my home automation system. Today I installed a new temperature sensor I built and connected it to an analog input of one of the secu16's. I see the data being read by looking at the module parameters. When I read this analog value into a variable, I only get "0000". I am reading into variable 95. What am I doing wrong? I have done this with other sensors and it worked.
Top
#21511 - 12/07/09 09:54 AM Re: Software Limitations?..Please help [Re: Wild Bill]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
If you have a voltmeter handy, measure the voltage across the input and see that it is above 0V.

Also, how many other analog values (on this and/or other modules) are you tracking?
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#21512 - 12/07/09 11:34 AM Re: Software Limitations?..Please help [Re: Guy Lavoie]
Wild Bill Offline
newbie


Registered: 08/02/04
Posts: 8
Loc: Suffolk, VA
The voltage across the input is about .8 volts which shows around a 39 in parameter 17 of the module. I will have to check my program to see how many other analog values I am tracking. Is there a limit on this?
Top
#21513 - 12/07/09 11:52 AM Re: Software Limitations?..Please help [Re: Wild Bill]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
Yes. The limit is 30 program lines of the type "If Module/Param...". When the executive first starts up, it goes through the program and builds up a table of analog values (and slave variables) the it will need to track. This table has a maximum of 30 entries. Any more lines will be ignored.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#21514 - 12/07/09 12:16 PM Re: Software Limitations?..Please help [Re: Guy Lavoie]
Wild Bill Offline
newbie


Registered: 08/02/04
Posts: 8
Loc: Suffolk, VA
Thanks for the info. Does that mean 30 different "If Module/Param" statements? What if they were all the same "If Module/Param" statements. Would that be using one of the 30 available?
Top
#21515 - 12/07/09 12:22 PM Re: Software Limitations?..Please help [Re: Wild Bill]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
Unfortunately, it's the first 30 "If Module/Param" statements...even if several of them check the same input. If this is the case, then you can save some repetitive input statements by capturing the value in a variable and then testing the variable in the additionnal statements, such as:

IF Module #1 SECU16 Analog #1 is <256 //always true...
THEN Load Data To Variable #33

IF Variable #33...
THEN ...

IF Variable #33...
THEN
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#21516 - 12/07/09 12:53 PM Re: Software Limitations?..Please help [Re: Guy Lavoie]
Wild Bill Offline
newbie


Registered: 08/02/04
Posts: 8
Loc: Suffolk, VA
Thanks for the explanation. Now I understand and I will check my program.
Top
Page 1 of 1 1


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
1 registered (kuro) and 21 anonymous users online.
Recent Posts
Basic Ocelot/IR-100 Question
by kuro
02/09/12 04:16 PM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
02/09/12 08:36 AM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
02/09/12 08:34 AM
how to post an icon
by manu
02/03/12 03:40 AM
Command Pair
by kuro
02/01/12 12:49 AM
Shout Box

Newest Members
feshh, manu, kuro, chuck214, Funkhauser
2747 Registered Users
Forum Stats
2747 Members
19 Forums
3837 Topics
22714 Posts

Max Online: 67 @ 08/16/11 03:08 PM
February
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