Host Engineering Forum

General Category => ECOMs and ECOM100s => Topic started by: clyleadams on January 15, 2009, 03:07:54 PM

Title: Ecom100 Config I-Box Lockup
Post by: clyleadams on January 15, 2009, 03:07:54 PM
I have a machine that uses up to six dl-06's to control it.

I use E-COM's to communicate i/o and v-mem status to each of the other PLC's.  Basically each PLC uses ECWX instructions to write its I/O status to each one of the other PLC's.

Occasionally one or more of the PLC's will stop communicating for no apparent reason.  There is no physical ethernet problem (you can still connect to the "locked up" PLC however the PLC and Ecom itself will never attempt to restart communications even after a PLC power cycle.

Upon further investigation, I found that the workspace value (defaults to V401) in the ECOM100 Config is frozen during a lock-up.  If you manually reset the workspace value to "0" communications restart normally.

So my solution to the problem is to add a line to reset the workspace value to 0 on the first scan.  This way, a power cycle will allow the problem to correct itself. Example Below:

---(SP0)-----------------------------------------LD(K0)
                                                                     OUT(V401)

Is there any way for the I-box to figure this out itself? or is there some other method for me to accomplish this?

Thanks,
Lyle Adams
adams.lyle@corrtechinc.com
Title: Re: Ecom100 Config I-Box Lockup
Post by: Greg on January 16, 2009, 04:54:10 PM
See answer here: http://forum.hosteng.com/index.php/topic,326.0.html (http://forum.hosteng.com/index.php/topic,326.0.html)