ADICON Support Forum Applied Digital, Inc.
Page 2 of 3 <123>
Topic Options
#24322 - 06/24/16 12:04 PM Re: Lost SECUs and programm issues [Re: fagor]
ADI Tech Support Moderator Offline
old hand


Registered: 12/22/02
Posts: 723
Loc: Branson West, MO
Do any of the I/Os change from off to on when the button is pressed?

Kevin Barrett
ADI Tech Support

Top
#24323 - 06/24/16 12:41 PM Re: Lost SECUs and programm issues [Re: ADI Tech Support]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
No, they are all "off"
Top
#24324 - 06/24/16 12:52 PM Re: Lost SECUs and programm issues [Re: fagor]
ADI Tech Support Moderator Offline
old hand


Registered: 12/22/02
Posts: 723
Loc: Branson West, MO
This is strange. Reload the executive in to the ocelot. Do not load your program.

Press the button and see if the inputs change on the Controller Access screen.

If they don't, I think there is something else wrong with this Ocelot.

If they do, then reload your program and see if it responds.

Kevin Barrett
ADI Tech Support

Top
#24325 - 06/24/16 01:07 PM Re: Lost SECUs and programm issues [Re: ADI Tech Support]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
After reloading the executive, all I/Os from Module 1 stay "off", no matter which button I press.
The I/Os from the other Modules (4 SECU16s) Change from off to on and back as expected.

Top
#24326 - 06/24/16 01:09 PM Re: Lost SECUs and programm issues [Re: fagor]
ADI Tech Support Moderator Offline
old hand


Registered: 12/22/02
Posts: 723
Loc: Branson West, MO
Are you using any of the inputs on the SECU16s? If so, are they working?

Kevin Barrett
ADI Tech Support

Top
#24327 - 06/24/16 01:19 PM Re: Lost SECUs and programm issues [Re: ADI Tech Support]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
I will add a new line to my program an check if the Inputs of the SECU16s work.
Top
#24328 - 06/24/16 01:34 PM Re: Lost SECUs and programm issues [Re: fagor]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
I added 4 new lines saying:
If Module #4 Input #2 turns on
Then Module #2 Relay #15 turn on
If Module #4 Input #2 turns off
Then Module #2 Relay #15 turn off
It works perfectly.

Top
#24329 - 06/24/16 02:33 PM Re: Lost SECUs and programm issues [Re: fagor]
ADI Tech Support Moderator Offline
old hand


Registered: 12/22/02
Posts: 723
Loc: Branson West, MO
OK. Cycle power to the modules (specifically the SECU16I), the cycle power to the Ocelot and then see if the problem persists.

If the problem still persists:

Connect only the SERCU16I to the Ocelot.

Set parameter 1 on the SECU16I to 255 (does a rewrite to the SECU16I of all the parameters).

Cycle power to the SECU16I then the Ocelot. The SECI16I should come back at address 1. Reset parameter 1 to the correct address it should be.

Connect it back up to your system as normal and see if everything works.

Kevin Barrett
ADI Tech Support

Top
#24330 - 06/25/16 06:57 AM Re: Lost SECUs and programm issues [Re: ADI Tech Support]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
Hi!
I cant cycle power to the modules seperately.
There is one powersupply that is connected to the ocelot and a cable with 4 wires that runs form the ocelot to the modules. 2 wires are connected to com A and B and 2 wires transmit power to each module. I cycled power to the SECU16I, but when cycling power to the ocelot, the SECU16I lost power too.
After following your steps (except the last one) there is no Change of behavior.
The SECU16I was reset and is the only module connected. Still all Inputs say "off", no matter if a button is pushed or not.

I have found a spare SECU16. Should I try this one except the SECU16I?
There would be a few Inputs missing, but could see if the SECU16I is broken.

:-)

Top
#24331 - 06/25/16 08:19 AM Re: Lost SECUs and programm issues [Re: fagor]
ADI Tech Support Moderator Offline
old hand


Registered: 12/22/02
Posts: 723
Loc: Branson West, MO
Yes. Try that next.

Kevin Barrett
ADI Tech Support

Top
#24332 - 06/25/16 11:21 AM Re: Lost SECUs and programm issues [Re: ADI Tech Support]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
First: Thank you Kevin for your Patience!!

That spare SECU16 seems to be the one I once killed by connecting power to the com-ports. I thought I threw it away. So its useless.

Lets make a short summary:
I had ocelot with my program working fine with all SECUs, but lost connection from PC to the ocelot.
After changing the MAX202-Chip, I have connection from PC to ocelot again, but the ocelot doesnt interpret the parameters send from the SECU16I correctly anymore.

If the order of cycling power (first SECU16I then ocelot with SECU16I still on power) is really important I could soulder the powercables running into the ocelot and the cable running from ocelot to SECU16I together, so they wont loose contact when I cycle power to the ocelot.

What can I do next?
:-)

Top
#24333 - 06/26/16 11:38 AM Re: Lost SECUs and programm issues [Re: fagor]
ADI Tech Support Moderator Offline
old hand


Registered: 12/22/02
Posts: 723
Loc: Branson West, MO
The order is important. The modules must have power before the Ocelot, as the Ocelot scans for the modules on power up. So it is important to cycle power to the modules first, then the Ocelot.

Kevin Barrett
ADI Tech Support

Top
#24334 - 06/29/16 09:01 AM Re: Lost SECUs and programm issues [Re: ADI Tech Support]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
Hi!

I repeated setting parameter 1 to 255 and then cycled power first to the SECU16I and then to the ocelt.
Still all I/O of the SECU16I say "off" in the controller access. Parameters change from 34 to 142 depending on the position of the swich.

Top
#24335 - 06/29/16 09:29 AM Re: Lost SECUs and programm issues [Re: fagor]
ADI Tech Support Moderator Offline
old hand


Registered: 12/22/02
Posts: 723
Loc: Branson West, MO
I've got one more suggestion to try before I think there is a problem with the SECU16I.

Can you connect just the SECU16I to the Ocelot without the other modules connected so the only the Ocelot and the SECU16I has power and are communicating with each other and see if it properly responds then?

Kevin Barrett
ADI Tech Support

Top
#24336 - 06/29/16 11:37 AM Re: Lost SECUs and programm issues [Re: ADI Tech Support]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
Hi!
Same result with only ocelot and SECU16I connected.
Do you know a shop that ships to germany?
The only one in germany, I originally bought all components from, does no longer exist.

Top
#24337 - 06/29/16 11:47 AM Re: Lost SECUs and programm issues [Re: fagor]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
What I dont understand is:
The SECU16I worked fine until I changed the Max202 chip from the ocelot. How should that have damaged the SECU16I?

Top
#24338 - 06/29/16 11:50 AM Re: Lost SECUs and programm issues [Re: fagor]
ADI Tech Support Moderator Offline
old hand


Registered: 12/22/02
Posts: 723
Loc: Branson West, MO
You can get one from automationtec.net. Send an e-mail to sales.atec@automationtec.net. They will sell to Germany.

It wouldn't. I think this is just coincidence. But everything we are trying is pointing to the SECU16I.

Kevin Barrett
ADI Tech Support

Top
#24339 - 06/30/16 07:46 AM Re: Lost SECUs and programm issues [Re: ADI Tech Support]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
I am thinking about taking the chance ordering some of the most fault-prone chips as well.
Can you tell me which of the based chips break down most often?
Do I have to order them from automationtec.net, or can I just search for a Chip with the same label in a chip-shop arround the corner?
;-)

Top
#24340 - 06/30/16 08:00 AM Re: Lost SECUs and programm issues [Re: fagor]
ADI Tech Support Moderator Offline
old hand


Registered: 12/22/02
Posts: 723
Loc: Branson West, MO
About the only chip you might be able to find locally would be the 75176 and Max 202 chips. That is the chip that controls communications between the Ocelot and modules. All the rest you will probably have to get from them. The chip you might want to stock:

75176 (used in the Ocelots and modules)
29C040 (you will have to get from Automationtec.net because of the program inside it. Used in the Ocelot.)
16F876 (same as with the 29C040. Used in the Ocelot)
14051 (you might be able to find this locally but I doubt it, used in the SECU16 and SECU16I)
Max 202 (Used in the Ocelot. Might be able to find it locally).

Kevin Barrett
ADI Tech Support

Top
#24351 - 07/10/16 01:18 PM Re: Lost SECUs and programm issues [Re: ADI Tech Support]
fagor Offline
junior


Registered: 01/16/08
Posts: 40
Hi!

After having some difficulties ordering the modules and chips (the parcel got lost), I continued trying to find out what went wrong.
I had a look on what we have done so far and my post #24325 - 06/24/16 10:07 AM saying: "After reloading the executive, all I/Os from Module 1 stay "off", no matter which button I press." attracted my attention.
I again downloaded the flash512.bin that only has 24kb instead of my old one having 27kb.
Then I reloaded the controller executive and after that I ignored the "Warning!Your Controller does not have the latest exec code.load now".
Now the I/Os of my SECU16I display ON and OFF again.
I just have to ignore that warning every time I "attach to Controller"
I will write an email to automationtec.net that they should wait sending a replacement-parcel what they wanted to do on monday.
I only have the SECU16I connected and want to check if it still works when all modules are connected. If it does, I can cancel the order.

Top
Page 2 of 3 <123>


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
0 registered and 49 anonymous users online.
Recent Posts
Ocelot not working
by JPO
11/08/17 06:02 AM
Shout Box

Newest Members
brigiel, vevevie, zhutree, 416, saiqul
3003 Registered Users
Forum Stats
3003 Members
19 Forums
4004 Topics
23442 Posts

Max Online: 132 @ 11/13/16 10:07 AM
November
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