This Programm reads the diagnostic information from Ethercat-Master and tried to find out which Ethercat-Device has an error.
The name of the device was written into the variable strSlaveName. If the problem fixed the Ethercat was automatic restarted.
You need for this program the library CXA_ETHERCATMASTER.
Step 1: Import the appended file
Step 2: Call the program in a task
Because it is just an diagnosis the cycletime of this task can be slow.
You find more details how it works in the comments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.