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

Different profile on Objdictedit.py #7

Open
alessio31183 opened this issue May 18, 2017 · 3 comments
Open

Different profile on Objdictedit.py #7

alessio31183 opened this issue May 18, 2017 · 3 comments

Comments

@alessio31183
Copy link

alessio31183 commented May 18, 2017

In the folder "objdictgen/config" I can see different DS profiles but not in the Objdictedit script (EDIT section).
How can I upload these profile from the script in the "Edit" tab?

Eventually can I make a profile by myself using a simple test editor, right?

Thanks

@jgeisler0303
Copy link
Owner

You have to start python objdictedit.py in the folder objdictgen. That should then look like shown here:
http://www.canfestival.org/doc.

What CANopen dictionary entries you create then really depends on what you want to do. But beware: apart from the mandatory ones, you can only approx. 20 to 30 of your own into the atmega.

You want to poll data from a device, right? Does it send PDOs? Does it send them cyclically or do you have to poll them? Or do you need to read an SDO on the device?

@alessio31183
Copy link
Author

You have to start python objdictedit.py in the folder objdictgen. That should then look like shown here:
http://www.canfestival.org/doc.

Already did it. It works properly.

But I wanted to upload canopen DS profile like DS-301 or DS-410 for inclinometer.

I wish to make a sensor node over canopen protocol. That's all.
Basically I'm trying to create profile for several sensors

@alessio31183
Copy link
Author

Sorry I got the point....
I have to upload the right profile creating a new node from File --> new

Thanks

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

2 participants