Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for CiA 311 XML Device Configuration #568

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

Open
juliusz-t opened this issue Apr 22, 2025 · 4 comments
Open

Add support for CiA 311 XML Device Configuration #568

juliusz-t opened this issue Apr 22, 2025 · 4 comments

Comments

@juliusz-t
Copy link

juliusz-t commented Apr 22, 2025

It would be nice to add support for the CiA 311 XML device description. Currently, library supports parsing EDS, DCF, and EPF files via canopen.objectdictionary.import_od() and canopen.network.Network.add_node(). Attempting to load an .xdc file results in a NotImplementedError.

The XML device description is mandatory for CANopen FD devices, so it's a possible prerequisite for #449.
Unfortunately the format specification is hidden behind the member wall. :/

@juliusz-t juliusz-t changed the title Add support for parsing XDC (XML Device Configuration) files Add support for CiA 311 XML Device Configuration Apr 22, 2025
@acolomb
Copy link
Member

acolomb commented Apr 22, 2025

Are there any other open source implementations that already implement the format? I don't have access to the (non-public) specs either. The feature would definitely be welcome and fit in nicely (with an adequate implementation). But I don't see a way to implement it without having some kind of format description available. Whoever gets access to it is welcome to contribute an implementation here.

@rusoku2
Copy link

rusoku2 commented Apr 24, 2025

I checked and found that this document is very old. But maybe there is no newer version.

Draft Specification Proposal
CiA 311
Version 1.1.0
August 10, 2011
CANopen XML schema definition

@juliusz-t
Copy link
Author

There is a newer document CiA 1311, relating directly to the FD standard. I think both are still relevant though.

@rusoku2
Copy link

rusoku2 commented Apr 24, 2025

Ok thanks.I found.

© CAN in Automation (CiA) e. V.
Draft Specification Proposal
CiA 1311-1
Version 1.0.1
August 15, 2022
CANopen FD electronic device descriptions
Part 1: XML schema definitions for CiA 1301

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

No branches or pull requests

3 participants