LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Canopen Heartbeat

Solved!
Go to solution

Hi,

I have been configuring CANopen communication between crio-9014 and epos4 drive. I want to add Heartbeat protocol to my communication algorithm. But, I have 2 main questions;

 

1) In heartbeat mechanism, If one node is the loss of communication, would whole communication be stopped or just that node be stopped? 

2) Should I read heartbeat in the main loop where I read and write my PDOs or should I create parallel  loop to my main loop ?

0 Kudos
Message 1 of 3
(2,767 Views)
Solution
Accepted by topic author BURAK_AYDIN

Hi,

 

1) In heartbeat mechanism, If one node is the loss of communication, would whole communication be stopped or just that node be stopped? 

Only the failed node be stopped.

 

2) Should I read heartbeat in the main loop where I read and write my PDOs or should I create parallel  loop to my main loop ?

There is no restriction about the position of the read heartbeat. But a shandalone loop could support the efficient check.

 

Additional, do you use the NI 9881 now?

 

Thanks!

Message 2 of 3
(2,755 Views)

Hi, 

First, thank you for your answer. 

Yes, I use NI 9881 module right now.

0 Kudos
Message 3 of 3
(2,733 Views)