pierremolinaro / acan-t4

CAN / CANFD Arduino Library for Teensy 4.0
MIT License
17 stars 4 forks source link

Help: CANOpen communication #3

Open maharshi114 opened 2 years ago

maharshi114 commented 2 years ago

Can I use this library for CANOpen communication? Is there is any example to send the following command using the ACAN-T4 library? Screenshot (427)

pierremolinaro commented 2 years ago

I think it possible. I read the first line, left column as sending a standard data frame, with 0x601 identifier, and 8 data bytes. This frame can be set up with : CANMessage frame ; frame.id http://frame.id/ = 0x601 ; frame.ext = false ; // Standard frame frame.rtr = false ; // data frame frame.len = 8 ; frame.data [0] = 0x2B ; frame.data [1] = 0x0F ; frame.data [2] = 0x20 ; frame.data [3] = 0 ; frame.data [4] = 0 ; frame.data [5] = 0 ; frame.data [6] = 0 ; frame.data [7] = 0 ;

Pierre

Le 30 mars 2022 à 12:48, Maharshi Oza @.***> a écrit :

Can I use this library for CANOpen communication? Is there is any example to send the following command using the ACAN-T4 library? https://user-images.githubusercontent.com/32606152/160814712-37e48505-a8b3-40ee-9ff7-bc2052b1675f.png — Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan-t4/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWKZVGZ76VBRIYE425FQVTVCQWRNANCNFSM5SBQBSEA. You are receiving this because you are subscribed to this thread.