Is a CANopen library for matlab available?

104 views (last 30 days)
Gabriel
Gabriel on 10 Nov 2014
Commented: Dimitri MANKOV on 22 Nov 2021 at 14:59
Hello,
I would like to communicate with motors like these ones here directly from my (C-compiled) Matlab-code using CANopen: specification sheet
I know that there exists the the "Vehicle Network Toolbox", but it seems like this one only supports CAN and not CANopen.
It seems like all other pieces of information I found on this topic by far end in dead links. Such as CANopen with Simulink leads to this dead link. Or CANopen and xPC leads to the dead link about Toolbox xPC
Would be great if someone could help me.

Answers (1)

James
James on 6 Jan 2017
I don't know how to obtain it but this link suggests that they have something (an "OpenECU Simulink blockset") available: http://pi-innovo.com/canopen-reference-design/
There's lots of proprietary CANopen stacks available but they cost $3k - $20k.
There's an open source implementation you may be able to integrate but it'll be a lot of work: https://github.com/CANopenNode/
An alternative, if you're just wanting to experiment, there's a method described in the following link that might let you get something working: http://stackoverflow.com/a/17811848/980942
You'll still need some way to communicate CAN, so you may still need the Vehicle Network Toolbox.
  2 Comments
Dimitri MANKOV
Dimitri MANKOV on 22 Nov 2021 at 14:59
In case you are working with Simulink Real-Time, Speedgoat offers CANopen I/O modules designed to work with this toolbox. You can find more information here:

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!