Hi,

You need to add an SDO client entry in your master object dict.
You must set the sub index 3 (Node-ID of the SDO server) with the node 
id of your controller.
This way writeNetworkDictCallBack() will find an available SDO client 
and use it.

Regards

--
Francois Beaulier
www.ingelibre.fr

Le 12/03/2016 14:32, canfestival-devel@lists.sourceforge.net a écrit :
> Hi,
>
> I hope someone can help me here, I try to control an Epos motor
> controller with my linux PC.
> I used the Objdictedit tool to import an .eds file of an Epos motor
> controller (generated by EPOS studio).
> After that I changed the type from slave to master in the Node info
> window (is that right?).
>
> Exporting the file to a epos.c file was no problem. But if I use the
> "writeNetworkDictCallBack"
> to write data to the node, no CAN message is sent out and I get the
> following trace:
>
> sdo.c,1919 : 0X3ac0 Send SDO to write in the dictionary of node : 0X8
> sdo.c,1920 : 0X3ac1                                    At index : 0X6040
> sdo.c,1921 : 0X3ac2                                    subIndex : 0X0
> sdo.c,1922 : 0X3ac3                                    nb bytes : 0X2
> sdo.c,1855 : 0X1ad2 index :  0X1280
> sdo.c,1856 : 0X1ad3 nodeIdServer :  0X0
> sdo.c,1866 : 0X1ac9 SDO No preset client found to communicate with node
> :  0X8
>
> My system is running on linux and socketcan. With candump I can see
> outgoing Nmt messages but no SDO messages.
> The CanOpenShell is also running without any issues...
>
> So the error must be in the generated epos.c/h files...
>
> Any ideas what might be the problem?
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> _______________________________________________
> Canfestival-devel mailing list
> Canfestival-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/canfestival-devel


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Canfestival-devel mailing list
Canfestival-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/canfestival-devel

Reply via email to