Megoof

Ethercat Communication Recovery

3 posts in this topic

Good Morning,

I have  question about Ethercat Configuration in Sysmac Studio. So we have a system where  I work that has an Ethercat network, and I have noticed that when we kill power on one of the slaves during operation, when it turns back on, communication is not re-established. Only a full system shutdown or a redownload of the EtherCat Network seems to fix this. Is there any setting in the Master Device that can be changed that would allow this to happen?

 

 

eth slave.PNG

Share this post


Link to post
Share on other sites

There is a ResetECError instruction for this. Typically the execution of this instruction is qualified with the GetECError instruction. This means, only execute the reset if an error exists.

Share this post


Link to post
Share on other sites

You can also detect when the slave has returned to the network with the system variable _EC_EntrySlavTbl[] then perform the reset as IO_Rack has suggested. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now