CANFestivino icon indicating copy to clipboard operation
CANFestivino copied to clipboard

Different profile on Objdictedit.py

Open alessio31183 opened this issue 7 years ago • 3 comments

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

alessio31183 avatar May 18 '17 16:05 alessio31183

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?

jgeisler0303 avatar May 18 '17 18:05 jgeisler0303

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 avatar May 18 '17 21:05 alessio31183

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

Thanks

alessio31183 avatar May 19 '17 12:05 alessio31183