Coder Social home page Coder Social logo

Comments (4)

CANopenNode avatar CANopenNode commented on May 24, 2024 1

CANopenEditor is quite complex GUI program, it is not so strict, as tries to be CANopenNode stack. CANopenNode exporter also ignores $NODEID keyword, default COB-IDs are handled internally "automatically". But this keyword is required for correct eds documentation file.
Please note, PDO mapping and communication parameters can be changed also dynamically on running CANopen device.

from canopenstm32.

CANopenNode avatar CANopenNode commented on May 24, 2024

This is more question for CANopenEditor. However, in CANopeNode/example/DS301_profile.eds this seems to be correct:
https://github.com/CANopenNode/CANopenNode/blob/master/example/DS301_profile.eds#L594
Try $NODEID+0x180

from canopenstm32.

Jan-Jelle avatar Jan-Jelle commented on May 24, 2024

the problem only seems to exist with PDO's that are manually created.
image
0x1200 is the SDO server parameter, this indeed has the addition of $NODEID.

the COB-ID for the RPDO in the example also has the $NODEID, like this. $NODEID+0x80000300.
image

so only when i add $NODEID+ in the 'default' value in the Object Dictionary it does take it over correctly in the EDS file. i guess this will work, but when I change the RPDO and press 'save' i just need to remember to add this again as it overwrites with the set COB-ID from the PDO editor.

image

from canopenstm32.

Jan-Jelle avatar Jan-Jelle commented on May 24, 2024

adding $NODEID at the default value in EDSeditor prior to EDS export is a workable solution to this problem!

from canopenstm32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.