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