If you just want to test reading/writing SDO data in PREOP, you can use the download and upload commands of the ethercat command line tool.
To actually bring the slave to OP state and get it to do anything interesting, however, you have to write an application with a PDO cyclic control loop; it’s not possible to keep a slave in OP from the command line alone. The “ethercat xml” command is not particularly useful. What are you imagining that you might want to use it for? Gavin Lambert Senior Software Developer Direct dial: +64 (9) 929 2632 [cid:logo_compac_5dcf97ef-52f5-498c-8b9b-728410ddffaf.png] [cid:compacicon_82e8a8c7-154a-4a32-9720-a5badb6258e0.png]<http://www.compacsort.com> [cid:facebook_fa85b924-53b9-45cc-8162-0564f64ec3a3.png] <https://www.facebook.com/Compacsort> [cid:linkedin_4ec016ad-84fa-443c-85a3-b9615a4ccef8.png] <https://www.linkedin.com/company/compac-sorting-equipment/> [cid:youtube_32142163-fc27-4aed-b14d-e8a377f98a6d.png] <https://vimeo.com/compacsort> [cid:twitter_d89338d8-98c8-4b65-9a9e-7b1333160b0d.png] <https://twitter.com/compacsort> COMPAC SORTING EQUIPMENT LTD | 4 Henderson Pl | Onehunga | Auckland 1061 | New Zealand Switchboard: +64 96 34 00 88 | tomra.com<http://www.tomra.com> The information contained in this communication and any attachment is confidential and may be legally privileged. It should only be read by the person(s) to whom it is addressed. If you have received this communication in error, please notify the sender and delete the communication. From: Samiha Islam Sent: Thursday, 10 January 2019 01:29 To: etherlab-users@etherlab.org Subject: [etherlab-users] (no subject) Hello, I have installed etherlab 2.1 successfully with Ubuntu 12.04 LTS and rt preempt kernel 3.4.69. I am using command line tools and with only one slave Faulhaber motion controller mc 5005. I have installed most things using the bundle provided in etherlab website. May I please get some guidance how I can handle the sdo data for the slave? Also how to use the ethercat xml command for the slave info? Thanks. With regards, Samiha Islam
_______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users