Jump to content
EtherCAT_slave

Communication issues EtherCAT cRIO 9039

Recommended Posts

hi,

We are trying to connect a third party EtherCAT slave device to our cRIO 9039, which is configured as an etherCAT master. Problems arise when we try to activate the scan engine of the cRIO. The following error message appears: (see attached). Therefore the scan engine is pretty much stuck in its 'Init'  state and the cRIO is unable to communicate I/O data. We have been able to resolve the issue by replacing the cRIO 9039 with a Beckhoff PLC, suggesting that the third party hardware and .XML file are not at fault.  

Other things we tried to solve the problem include: install the correct Labview version (2018 SP1), device drivers (NI RIO 18.5) and industrial communication EtherCAT package (18.5). Unfortunately this did not resolve the issue.

All suggestions are much appreciated! 😄  

error scanengine.PNG

Share this post


Link to post
Share on other sites

I worked on some Ethercat issue a few years back and remember that at the time the cRIO doesn't support Beckhoff array datatypes and we had to make individual IO variables for each item in the array on the Beckhoff side.  Were you able to import the XML file OK into the LabVIEW project?

Share this post


Link to post
Share on other sites

Is this error message coming from a VI that you are running on the RT target?

Have you tried using the NI Distributed System Manager? I use that to debug Ethercat issues. When you switch to Active mode using NI DSM, it works pretty consistently. Unfortunately the NI Ethercat driver is a load of poop. Soft reboot of the controller usually fixes things up.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.