LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO 9074 and NI 9144 behaviour and troubleshooting

Also another hint.
On fresh reboot of the devices (power-off/power-on), checking the device state on both EtherCATs there is an error on both:

On the first device:

Error -2147138442 occurred at an unidentified location
Possible reason(s):
The module cannot be found. If the physical module exists, and the device is in FPGA mode, recompiling and downloading may fix this problem.

 

On the second device:
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.

 

P.S

I have also recompliled and download the FPGA code successfully a couple of times.

0 Kudos
Message 11 of 38
(3,627 Views)

I guess you can also check for two more pieces of information to understand what can be happening:

 

The first one is fetching the cRIO-9074's XML for the EtherCAT network you have, and see if you detect inconsistencies, or errors there. Use FTP or SFTP to browse to the following path on your 9074: /ni-rt/config 

 

The second is to do a Wireshark to the network and check the EtherCAT errors: Using Wireshark to Capture EtherCAT Network Packets

 

All the best!

0 Kudos
Message 12 of 38
(3,605 Views)

I am attaching the XML files. I do not know what I am supposed to check, though. I will proceed with wireshark and post the results here.

 

P.S On Friday I formatted the controller and reinstalled software with no results.

0 Kudos
Message 13 of 38
(3,588 Views)

According wireshark packet capturing: I currently have an unmanaged switch, since this is not going to work (the packets should be broadcasted on all ports, right?) I will try tomorrow using a hub.
My current network configuration is as follows:

Switch port 1: LAN / Internet

Switch port 2: Host PC

Switch Port 3: EtherCAT master (cRIO9074 port1)

EtherCAT slaves 0-1 daisy chained with master through master's port2.

 

Oscar, is it mandatory to change my topology according the link you posted? I think yes but just confirming

0 Kudos
Message 14 of 38
(3,577 Views)

I captured some packets using Wireshark according the above Oscar's link.

I connect to cRio from the host PC and I can clearly see the packets transferring between HOST and controller without errors.
There are no ECAT packets though.
Also both devices seem to transmit ECAT packets with no problem
I inspect the packets while browsing the configuration of each EtherCAT also while I run the project VIs as usual.

0 Kudos
Message 15 of 38
(3,568 Views)

Hi Oscar.
First of all I would like to thank you for your support so far. I am glad, thank you!
I have attached a Wireshark log.

This log was created while restarting the devices, connecting to cRIO, trying to switch to active mode (unsuccessfuly)  and finally running the controller and host program. Hope it helps.

0 Kudos
Message 16 of 38
(3,564 Views)