GithubHelp home page GithubHelp logo

Comments (6)

trojanobelix avatar trojanobelix commented on July 22, 2024

Which version do you use? Please use the latest release or the bugfix branch. Can you provide the xdd file, please.

from canopeneditor.

ksdexory avatar ksdexory commented on July 22, 2024

I came across that in the latest binary version v4.0-104-g6f50f73. I found a workaround, when I give transmit/receive access to PDO under the object dictionary tab -> object settings (instead of transmit only as per video tutorial), the problem goes away. I was wondering if there is a bug on that field and the logic is the other way around (t gives access to receive and r gives access to transmit).
image

from canopeneditor.

trojanobelix avatar trojanobelix commented on July 22, 2024

@CANopenNode : Janez, we had a discussion about the PDO access types and whether they are consistent across all import/export options. I have a halfway overview of the V1.x (legacy mode) stuff with rww and so on, but with the new definitions (tr, etc) I lack the deeper insight. Do you have a feeling for whether everything is OK? If not, I will try to dive deeper, but it may take some time.

from canopeneditor.

CANopenNode avatar CANopenNode commented on July 22, 2024

Hi,

Clarifying Access PDO:

  • V1.x (legacy mode): optional, TPDO, RPDO, default
  • V4: no, t, r, tr is for: not mappable, mappaple to TPDO only, mappable to RPDO only, mappable to TPDO or RPDO

Then there are rww and similar, which is combination of SDO and PDO access. In V1options are unchanged.
In V4 I tried to make SDO and PDO access more clear and independent from each other, so I just removed confusing options. I think, the latest CANopen standards use the same approach.


Then I must say, I usually configure PDOs dinamically, directly on the running CANopen devices and then store parameters, not using OD editor at all.


The problem here is independent from legacy or V4 mode. There is problem inside "(T)X PDO mapping" tab. After I do a configuration and press the Save button, it generates all TPDO communication and mapping parameters, but: it generates only as much subindexes in mapping parameters as there are mapped variables. This is wrong. It must always generate 8 subindexes or at least leave number of subindexes unchanged. "Number of mapped objects" is correct. Unused mapping slots are necessary for dynamic PDO configuration.

from canopeneditor.

CANopenNode avatar CANopenNode commented on July 22, 2024

I clarified myself about "rww" and "rwr". This is from the standard:

The “rwr” indicates that the related object is read or is written using SDO, but is only mapped to TPDO.
The “rww” indicates that the related object is read and is written using SDO, but is only mapped to a RPDO.

I think, it is now correct in CANopenEditor.

from canopeneditor.

CANopenNode avatar CANopenNode commented on July 22, 2024

This should be fixed now.

from canopeneditor.

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.