EtherCAT Slave Device is Not Recognized in LabVIEW Project

Updated Nov 6, 2018

Reported In

Hardware

  • cRIO-9068
  • cRIO-9064
  • NI-9145

Driver

  • NI-Industrial Communications for EtherCAT

Issue Details

I am doing one of the following:
  • Adding a third party EtherCAT Slave to an NI EtherCAT Master in LabVIEW Project Explorer. I have loaded the .xml EtherCAT Slave Information (ESI) file from the manufacturer. The ESI file is also known as the EtherCAT XML Device Description File.
  • Adding an NI-9145 CompactRIO expansion chassis to my EtherCAT master.
When I attempt to add the slave, I get one of the following two symptoms:
 
  • The EtherCAT Slave does not show up in the list when I try to add it in the LabVIEW Project Explorer.
     
  • The EtherCAT Slave is showing up as an unknown device with address 0. When I place the cursor over the drive, I see the following description:

    Unknown Device (Address 0)
    This EtherCAT slave device is not recognized.
    The possible reason is that the device profile is not properly installed.
    Import the device profile by right-clicking the master item and selecting "Utilities >> Import Device Profile"


How do I resolve this?

Solution

This is a known issue and has been fixed in EtherCAT 16.1. It occurs with the configuration shown in the table below. You should update to EtherCAT 16.1 to fix this behavior.
 
DriverOperating SystemLabVIEW Version
NI-Industrial Communications for EtherCAT 17.0All WindowsAll
NI-Industrial Communications for EtherCAT 16.0Windows 10 (64-bit)2016 (32-bit)
NI-Industrial Communications for EtherCAT 15.5Windows 72015 SP1

If you are unable to update/rollback to NI-Industrial Communications for EtherCAT 16.1, follow the following steps below to fix the issue:
 
  1. Manually move the XML files to the following location depending on your LabVIEW version: 
  • If you have LabVIEW 2013 SP1 and later then move it to this location depending on your LabVIEW version: C:\Program Files (x86)\National Instruments\LabVIEW XXXX\resource\Framework\Providers\indcomecat\DD 
  • For LabVIEW 2013 and earlier, move it to this location: C:\Program Files(x86)\National Instruments\Shared\IndComECAT\DD 
  2. Restart LabVIEW

The slave should now appear when you try to add a new slave to an existing master in the project. If the EtherCAT device still doesn't show up, try editing the XML file to remove any forward slashes from any name fields. For instance, changing <Name>Fx/Gage0</Name> to <Name>FxGage0</Name>.

If none of the above work, contact NI Support

WAS THIS ARTICLE HELPFUL?

Not Helpful