LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview CANopen SYNC protocol

 Hi,

I want to build synchronous communication for CANopen in Labview. Where should I send sync message? Just before writing and reading from PDOs ?  

 

Thanks.

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

Hi,

How can I ensure that my CANopen communication works synchronously ? 

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

Hi,

 

You can refer to the example VI, CANopen SYNC.vi.

 

NI-IndCom for CANopen Help doc. describes the details of Synchronization:

A synchronization (SYNC) object provides synchronous communication on a CANopen network. An SYNC producer broadcasts SYNC messages in the network periodically. An SYNC message is a single CAN frame with an identifier 128 (080h) by default. You can configure devices to transmit synchronous PDOs when these devices receive an SYNC message. Each device may have a time jitter in transmission when other objects have higher priority identifiers or transmitting orders. The maximum time jitter indicates the quality of the synchronization.
The time period between SYNC messages depends on the communication cycle period parameter. You may configure this parameter during the boot-up process.

Thanks!

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