[etherlab-users] ecrt_slave_config_sdo with boolean type

hamelin.philippe at ireq.ca hamelin.philippe at ireq.ca
Wed Dec 12 16:32:43 CET 2012


Hi again,
 
please forget that email! I just found that I can use size = 1 (1 byte) for any SDO <= 1 byte.
 
Philippe

________________________________

De : Hamelin, Philippe 
Envoyé : 12 décembre 2012 10:07
À : etherlab-users at etherlab.org
Objet : ecrt_slave_config_sdo with boolean type


Hi,
 
I'm trying to use the "ecrt_slave_config_sdo" to configure slave SDO at startup. However, the SDO object has a BOOLEAN type (1 bit) and the "ecrt_slave_config_sdo" function only accepts a size in a multiple of bytes. The same problem arises with the "ecrt_slave_config_create_sdo_request" function. I could propose a patch to support a "bit" level SDO request, but I would like to make sure that I'm not doing something that may have already been done.
 
Regards,
 
------------------------------------
Philippe Hamelin, ing., M. Ing
Chercheur / Researcher

T: 450-652-8499 x2198
F: 450-652-1316

Expertise robotique et civil
Institut de recherche d'Hydro-Québec (IREQ)
1740, boul. Lionel-Boulet
Varennes (QC) J3X 1S1, Canada

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20121212/8465e55f/attachment-0005.htm>


More information about the Etherlab-users mailing list