Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FW/HW/SW version and (OD) Revision number management is unclear / incomplete #154

Open
GRoussos opened this issue Dec 23, 2024 · 2 comments

Comments

@GRoussos
Copy link

XDD files include HW/SW/FW version numbers set to 0 in the DeviceIdentity section and the CANopenEditor GUi does not expose these. Presumably, these should be linked to 0x1009/0x100A/?? as specified by CiA301 Profile.

Moreover , the CANopenEditor GUI does not provide any way to view or set the Device or File revision in the Device Info tab, although both Revision numbers are included in the FileInfo and DeviceInfo sections of EDS files respectively. XDD files do not seem to contains any such info, so maybe these fields are obsolete?

The OD revision number is set in object 0x1018.03 according to CiA 301 profile and this is manually edited but does not seem to be linked with any of the Device or File revision fields.
I'm under the impression that a CANopen master might use the DeviceInfo or FileInfo revision of a EDS file to match it to a specific slave based on the 0x1018.03 value the slave is reporting.

So my questions are:

  1. Regarding HW/SW version, should the values in DeviceIdentity section of XDD reflect the 0x1009/0x100A values?
  2. Regarding revision: should the EDS FileInfo and / or DeviceInfo revision numbers be synced with 0x1018.03 and / or be exposed in the CANopenEditor GUI? If yes, how are these fields stored in XDD files (other than 0x1018.03)?

If any update of CANopenNode editor is needed after all to better align with CiA standards and common practices I can contribute to it.
Thanks

@trojanobelix
Copy link
Collaborator

Please provide a XDD that shows this issue.

@nimrof
Copy link
Collaborator

nimrof commented Dec 28, 2024

The OD revision number is set in object 0x1018.03 according to CiA 301 profile and this is manually edited but does not seem to be linked with any of the Device or File revision fields.

Not checked how it works in the code, but that looks wrong to not link the values, at least in EDS
From CiA 306(eds):
image

I'm under the impression that a CANopen master might use the DeviceInfo or FileInfo revision of a EDS file to match it to a specific slave based on the 0x1018.03 value the slave is reporting.

I think i have seen Weidmuller ucontrol work somewhat that way.
You register a device with its EDS file and the default is that it checks if the device matches some of the identity values if not a error is given...not sure if the master stoped, but something bad happend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants