Skip to main content
Associate II
October 21, 2024
Question

CanOpenNode Send Data

Hello friends,
I'm new to the H series and CanOpen. I found the CanOpen Node stack sample structure on Github. I did some experiments on this. But I cannot see the data.
Data always comes as zero and dID =723, but my ID is 123. Can anyone help me on how to send the data and manage TPDO? I cannot find the data in the objects in the OD.c file. Thank you in advance.

https://github.com/CANopenNode/CanOpenSTM32/tree/master/CANopenNode_STM32

This topic has been closed for replies.

2 replies

MHoll.2
Senior III
October 21, 2024

Hi,
0x700 + NodeID is the heartbeat message, Node ID can be 0x01 to 0x7F, si probably 0x723 is OK (if 123 is in hex).
Please get your self some documentation on how CanOpen works (for example from CAN-CiA.org, or as simple introduction: https://www.nikhef.nl/pub/departments/ct/po/doc/CANopen30.pdf)

MOBEJ
ST Employee
October 21, 2024

Hello @Yandas , 

An answer to a similar question as yours is provided by @Community member​  in this discussion.

thank you .

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.