[Etherlab-users] Regarding examples execution

Anson Paul ansonpaul2013 at gmail.com
Thu Apr 20 17:21:51 CEST 2023


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/etherlabusers@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20230420/3e24fb86/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EL2008 HIGH.PNG
Type: image/png
Size: 103596 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20230420/3e24fb86/attachment-0001.png>


More information about the Etherlab-users mailing list