LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Ethercat NI-9145

Solved!
Go to solution

Hi all,

 

I have a strange problem with a system composed by a cRIO 9035 e two EtherCAT NI-9145.

 

The slots of the two EtherCAT are all occupied. I have 8 NI-9208 on the ETH1 and 3 NI-9476, 2 NI-9425, 2 NI-9234 and 1 NI-9214 on the ETH2.

 

Sometimes the EtherCAT goes in status disconnected and the LED error on the ETH2 blink red twice and pauses. In this status the real time seems stopped and I cannot read nothing from it.

 

In the ETH2 I have also FPGA code that reads the DI-DO and commands 9 DO for generate PWM.

 

I read the manual of the NI-9145 and for the LED error blinking twice I have this description:

 

There is an application watchdog timeout. The slave did not receive a scheduled EtherCAT telegram

 

Specifically what does it means this error? Someone have a problem like this?

 

Thank you very much

0 Kudos
Message 1 of 3
(1,956 Views)
Solution
Accepted by topic author Penzium

Hi,

this error occurs when the CPU is too high, preventing the main chassis from sending the scheduled EtherCAT telegram from the NI-9145 device. If the CPU remains high, for longer than the watchdog timeout, then the chassis will disconnect from the NI-9145 device. This causes the error LED to blink twice and then pause.

You will need to reduce the CPU usage of the application to resolve this issue. The reduction of CPU will need to take into account the system requirements and application, and as a result, the action taken will be specific to your code. For generic advice you can see the suggestions and documents below:

Hope this helps!

Regards,

Alessia

0 Kudos
Message 2 of 3
(1,874 Views)

Thank you for your answer, it clarified me some points.


I reduced the cycle time of a timed loops and now it seems the CPU is around 50%. The led error blinking in the EtherCAT module has not come back.

 

 

Message 3 of 3
(1,852 Views)