LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

EtherCAT Slave Error -2147138467 Danfoss drives

Hello

I have the folowing confiquration: NI-3110RT and Danfoss slave EtherCat drive FC-302. I uploated my XML files by simply making a right click- Utilities-XML file. See attached file. However I am geting the following error and i am not sure how to ajust my PDO selections. I have atached my project, and XML file.

 

Error -2147138467 occurred at an unidentified location

Possible reason(s):

An SDO request sent by the master has been aborted by the slave device.

Incorrect initial commands and incorrect PDO selections may cause this error. Check the configuration of the slave device on the device's property page.

Download All
0 Kudos
Message 1 of 29
(6,012 Views)

Hi Tommy,

 

Can you please post the XML file that you imported?

 

Joey S.
Senior Product Manager, Software
National Instruments
0 Kudos
Message 2 of 29
(5,974 Views)

Hello 

 

Please find attache the XML file I am using. I had to change the extension to txt to be able to upload it. Rename the extension to .xml

 

Thank you

Tommy

0 Kudos
Message 3 of 29
(5,967 Views)

Thanks Tommy. When I import the XML file into an EtherCAT Master in LabVIEW, I don't see an error next to the device name. I am able to add a new "FC-300 VLT (R) Automation Drive". Of course, since I don't have the hardware I can't run the actual code to see the error.

 

What code are you running on the cRIO that produces this error? Can you send the VI that produces that error? Can you attach a screenshot of the error message? Are you performing a PDO Read? An SDO Read? What kind of read would you like to do?

Joey S.
Senior Product Manager, Software
National Instruments
0 Kudos
Message 4 of 29
(5,936 Views)

Hello Joey

 

Thank you for your help!

 

 I am not running any code on the cRIO and up to that point my system is happy as well, however when I try to switch from configuration mode to active after I import the xml file the system will not let me do it. When I go into the Online Device State and try to do it step by step, it gives me the following error when I push the Safe state button. 

Error -2147138467 occurred at an unidentified location

Possible reason(s):

An SDO request sent by the master has been aborted by the slave device.

Incorrect initial commands and incorrect PDO selections may cause this error. Check the configuration of the slave device on the device's property page.

 

The only configuration that an EtheCat has is the ID address, the rest are define in the XML file right? 

 

I have attached the project on the previous post, but EtherCat should let go to active mode without a VI.  Of cource I just relize that I am runing EtherCat 2.4 I should give it a try with 2.5.

0 Kudos
Message 5 of 29
(5,920 Views)

I have attached a screen shot of the error I get.

 

Error -2147138467 occurred at an unidentified location

Possible reason(s):

An SDO request sent by the master has been aborted by the slave device.

Incorrect initial commands and incorrect PDO selections may cause this error. Check the configuration of the slave device on the device's property page.

0 Kudos
Message 6 of 29
(5,909 Views)

Hi Tommy,

 

I believe I am corresponding with you via email through NI Support. Once we arrive at a solution we can post back here to update.

 

When you upgraded to EtherCAT 2.6, I am assuming you also upgraded to LabVIEW 2013 and RIO 13.0?

Joey S.
Senior Product Manager, Software
National Instruments
0 Kudos
Message 7 of 29
(5,896 Views)

Have you found any solutions yet?  I am also running EtherCAT 2.6, LV 2013 and RIO 13, and getting this exact error number (Error -214713846).  This occurs when taking the device from a Pre-Operational state to a Safe Operational state under the Online Slave Device State screen.

 

Error -2147138467 occurred at an unidentified location

Possible reason(s):

An SDO request sent by the master has been aborted by the slave device.

Incorrect initial commands and incorrect PDO selections may cause this error. Check the configuration of the slave device on the device's property page.

 

It seems it could be the same problem.  My device is a Balluff BNI ECT-508-105-Z015.  The correct XML is loaded, and the device appears when adding a new device, but it refuses to enter an operational state, instead kicking back into the Pre-Op state and returning the error.  

 

Any updates or solutions you have would be appreciated.

0 Kudos
Message 8 of 29
(5,825 Views)

H Pete, 

 

This should be a rare error. Usually it has to do with a configuration of an XML file being wrong. Using the manual for the device a new mapping for the PDO needs to be defined. We have a document on modifying the XML here 

 

We were able to get Tommy up and running but it took some extensive trouble shooting. If you have SSP I would create a service request and reference this forum. The AE will try all known solutions with you and escalate if needed. 

 

Jesse Dennis
Engineer
INTP
0 Kudos
Message 9 of 29
(5,814 Views)

Hi Pete,

 

Tommy opened a service request with National Instruments where we worked directly with him to modify his XML file so that it would work with his device and the EtherCAT driver. There is not a generic solution to this error code that will likely work across the board.

 

Contact NI Support by going to ni.com/ask or calling 866-275-6964 (US customers) and attach your XML file as well as the EtherCAT manual for the device.

 

Good luck!

 

Joey S.
Senior Product Manager, Software
National Instruments
0 Kudos
Message 10 of 29
(5,810 Views)