Dear Anson,

For most EtherCAT slaves you will not be able to set any output via
console. Reason is a PDO timeout, for Beckhoff slaves I think 500ms. If
there is no update in this time, the slave will go back to its failsafe
state.

You will have to write an c or cpp programm.


Best regards

Andreas

Am Donnerstag, dem 20.04.2023 um 20:51 +0530 schrieb Anson Paul:
> Hi All,
> I am new to this IGH Ethercat master thing.
> I am using
> Ubuntu 20.04 5.4 kernel
> rt preempt_kernel version is 5.4.69-rt39
> NIC-e1000
> IGH ethercat master-1.5.2 334c34cfd2e5 version
> I am using slaves of beckhoff modules
> 1.EK1100 Coupler
> 2.EL1008 Digital Input
> 3.EL2008 Digital Output
>
> Igh master was up when running the command
>   sudo /etc/init.d/ethercat restart
> Igh master was able to detect the slaves 
> when running 
>  ethercat master
>  ethercat slaves
> I wanted to run Blink the digital output Led in EL2008 digital output
> I was able to run the ethercat cstruct -p2 and got the pdos available
> in the Digital output module.
> Are there any terminal commands available to blink the led?
>
> I have got a reference giving the cpp code on how to do that 
> https://www.mailarchive.com/etherlabus...@etherlab.org/msg03184.html
> Can anyone guide me how i can run this cpp program or the  programs
> given in the examples/user/main.c?
>
> Thanks in advance,
>
> Anson

-- 
Etherlab-users mailing list
Etherlab-users@etherlab.org
https://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to