Re: [etherlab-users] (configuring pdo and sdo for a slave motion controller)

2019-01-15 Thread Gavin Lambert
On 16 January 2019 01:52, quoth Samiha Islam:
> I was a bit confused so as to how to modify the SDO data for the 'ethrcat 
> xml' command. I am concerned that the commands 'ethercat config' and 
> 'ethercat domain' yields nothing. I am working on a modified version of the 
> 'user' example for my slave. It contains the cyclic task.

The "ethercat xml" command displays an SII XML document inferred from the 
slave's SII EEPROM and/or CoE; it should be similar (but less detailed) to the 
one supplied by the slave vendor.  It's not something that you can modify.

It is normal for "ethercat config" and "ethercat domain" to display nothing 
when no application is running.  They provide information about the config and 
data requested by the running application.

> So the PDO cyclic control loop only works in OP state? Not in PREOP? Do I 
> change the state and then run the code? 

The cyclic loop in the application will execute while slaves are in any state.  
Slaves only provide valid PDO inputs in SAFEOP or OP, and only follow PDO 
outputs in OP.  The master will automatically try to transition the slaves from 
PREOP to OP over several cycles after you've called ecrt_master_activate, based 
on the configuration you supplied before calling that.  It's up to your 
application logic to detect when the slaves are in a good state to perform 
whatever task is required (and to detect if they encounter an error or other 
abnormal state).

It sounds like you should have a read of both the documentation for the 
EtherLab master itself and for the EtherCAT protocol in general.


Gavin Lambert
Senior Software Developer

Direct dial: +64 (9) 929 2632 


COMPAC SORTING EQUIPMENT LTD | 4 Henderson Pl | Onehunga | Auckland 1061 | New 
Zealand
Switchboard: +49 2630 96520 | https://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.
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users


Re: [etherlab-users] (configuring pdo and sdo for a slave motion controller)

2019-01-15 Thread Dr.-Ing. Wilhelm Hagemeister

Correct (next time you could drop the parentheses). Perfect. Thanks.

Am 15.01.19 um 15:34 schrieb Samiha Islam:

Dear Wilhelm,
Apologies for not adding the subject. I have added the subject here. Is 
that the correct format?



___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users


Re: [etherlab-users] (configuring pdo and sdo for a slave motion controller)

2019-01-15 Thread Samiha Islam
Dear Wilhelm,
Apologies for not adding the subject. I have added the subject here. Is
that the correct format?

With regards,
Samiha

On Tue, Jan 15, 2019, 3:01 PM Dr.-Ing. Wilhelm Hagemeister  Dear Samiha,
>
> be polite and don't leave the subject empty. It hinders others to filter
> the mailing list effectively.
>
> Regards Wilhelm
>
>
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users


Re: [etherlab-users] (no subject)

2019-01-15 Thread Dr.-Ing. Wilhelm Hagemeister

Dear Samiha,

be polite and don't leave the subject empty. It hinders others to filter 
the mailing list effectively.


Regards Wilhelm

___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users


Re: [etherlab-users] (no subject)

2019-01-15 Thread Samiha Islam
Hello,
I was a bit confused so as to how to modify the SDO data for the 'ethrcat
xml' command. I am concerned that the commands 'ethercat config' and
'ethercat domain' yields nothing. I am working on a modified version of the
'user' example for my slave. It contains the cyclic task.
So the PDO cyclic control loop only works in OP state? Not in PREOP? Do I
change the state and then run the code?

Thank you!
Samiha

On Wed, Jan 9, 2019 at 1:30 PM Samiha Islam  wrote:

> 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
>


-- 
*Samiha  Islam*
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users