News:

  • June 11, 2026, 10:33:33 AM

Login with username, password and session length

Author Topic: Ecom100 Config I-Box Lockup  (Read 12023 times)

clyleadams

  • Newbie
  • *
  • Posts: 7
Ecom100 Config I-Box Lockup
« 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

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 702
  • Hmmm...
    • Host Engineering, Inc.
Re: Ecom100 Config I-Box Lockup
« Reply #1 on: January 16, 2009, 04:54:10 PM »
There are two types of people in the world; those that can extrapolate from incomplete data sets.