Ethercat HAL driver

More
5 years 7 months ago #201277 by db1981
Replied by db1981 on topic Ethercat HAL driver
hello jc2ktr,

the terminal command "ethercat eoe" still doesn't work ?

please go to your ec-debianize folder an do a test run of the get source scripts
"./get_source.sh". it clones the repository and then a full screen of patches have to be applied... or is the patching skipped?
More
5 years 7 months ago - 5 years 7 months ago #201279 by jc2ktr
Replied by jc2ktr on topic Ethercat HAL driver

db1981 wrote: hello jc2ktr,

the terminal command "ethercat eoe" still doesn't work ?

please go to your ec-debianize folder an do a test run of the get source scripts
"./get_source.sh". it clones the repository and then a full screen of patches have to be applied... or is the patching skipped?


no ethercat eoe still shouts out this:

lcnc@LinuxCNC-M75q:~/ethercat_debianize$ ethercat eoe
Unknown command eoe!

and ./get_source.sh this:

Warning: Spoiler!
Last edit: 5 years 7 months ago by jc2ktr. Reason: Edit
More
5 years 7 months ago #201280 by db1981
Replied by db1981 on topic Ethercat HAL driver
upppps, don't know why ....

edit the file rules in ec-debianize/etherlabmaster/debian , remove "--disable-eoe" in line 5.

then build and install the ec master packackes again. maybe you need to set the mac adress and drivers in etc/ethercat again, after this.

then test if the master works "ethercat slaves", test if linuxcnc with ethercat behaves normal, and check if "ethercat eoe" exist then we can go further.

i think saschi dropped eoe support, for simplifying it, because with a lot of eoe slaves you would be confused by an flood of eth interfaces....
More
5 years 7 months ago - 5 years 7 months ago #201283 by jc2ktr
Replied by jc2ktr on topic Ethercat HAL driver

db1981 wrote: upppps, don't know why ....

edit the file rules in ec-debianize/etherlabmaster/debian , remove "--disable-eoe" in line 5.

then build and install the ec master packackes again. maybe you need to set the mac adress and drivers in etc/ethercat again, after this.

then test if the master works "ethercat slaves", test if linuxcnc with ethercat behaves normal, and check if "ethercat eoe" exist then we can go further.

i think saschi dropped eoe support, for simplifying it, because with a lot of eoe slaves you would be confused by an flood of eth interfaces....


Well i try it at the moment,

and let you know if it is succesfull.

Thanks

so now i was succesfull to get eoe working

lcnc@LinuxCNC-M75q:~$ ethercat slaves
0 8:0 PREOP + 0x00000024:0x00242c04
1 8:1 PREOP + EK1100 EtherCAT-Koppler (2A E-Bus)
2 8:2 PREOP + EL1018 8K. Dig. Eingang 24V, 10�s
3 8:3 PREOP + EL1018 8K. Dig. Eingang 24V, 10�s
4 8:4 PREOP + EL1018 8K. Dig. Eingang 24V, 10�s
5 8:5 PREOP + EL2004 4Ch. Dig. Output 24V, 0.5A
6 8:6 PREOP + EL2004 4K. Dig. Ausgang 24V, 0.5A
7 8:7 PREOP + EL2004 4K. Dig. Ausgang 24V, 0.5A
8 8:8 PREOP + ECT60V202(COE)
lcnc@LinuxCNC-M75q:~$ ethercat eoe
Master0
Interface Slave State RxBytes RxRate TxBytes TxRate TxQueue
eoe0a8 0 up 0 0 2624 1656 0/100
lcnc@LinuxCNC-M75q:~$

but how do i get the IndraworksDS to connect to my drive, when i plug in a patch cable to my Network the ethercat bus seems to be terminated :unsure:
Last edit: 5 years 7 months ago by jc2ktr. Reason: status update
More
5 years 7 months ago #201285 by db1981
Replied by db1981 on topic Ethercat HAL driver
strike......

did you pluged the patch cable in the ethercat network? this will not work...

You would need an second network port on your pc. The ec master now has created an virtual network interface for your eoe device : eoe0a8. (if you type ip addr it shoud be listed...)

What you now need is (virtual)bridge between your second hardware ethernet interface and the eoe network interfaces. Then you can connect from your indradrive pc to the virtual eoe interface over your wifi or second lan port...

I'm not an network administrator, but i reads simple. google "debian bridge interfaces"
The following user(s) said Thank You: jc2ktr
More
5 years 7 months ago #201286 by jc2ktr
Replied by jc2ktr on topic Ethercat HAL driver

db1981 wrote: strike......

did you pluged the patch cable in the ethercat network? this will not work...

You would need an second network port on your pc. The ec master now has created an virtual network interface for your eoe device : eoe0a8. (if you type ip addr it shoud be listed...)

What you now need is (virtual)bridge between your second hardware ethernet interface and the eoe network interfaces. Then you can connect from your indradrive pc to the virtual eoe interface over your wifi or second lan port...

I'm not an network administrator, but i reads simple. google "debian bridge interfaces"


Well then this was step one, now i need to buy another network card to use it, because my built in wireless adapter don't work under linux :pinch: but this helped me a lot now.

Thank you very much :)
Time to create page: 7.703 seconds
Powered by Kunena Forum