Ethercat HAL driver

More
10 years 9 months ago #68309 by Markux
Replied by Markux on topic Ethercat HAL driver
Hi guys,

Just to confirm that the combo from wazjebk (Realtek 8139 with a 8139too driver) works very well for over a week now.
Thanks for the solution.

I do however have another question; how do you add another Beckhoff module to the list of compatible hardware given here?

I need to make EL7041 module be supported (not EL7041-1000 which already exists and has been tested).

Thanks,
M
More
10 years 9 months ago #68313 by andypugh
Replied by andypugh on topic Ethercat HAL driver

Markux wrote: I do however have another question; how do you add another Beckhoff module to the list of compatible hardware given here?


Follow the instructions here:
wiki.linuxcnc.org/cgi-bin/wiki.pl?BasicSteps

Then the bottom of every page has an "edit the text of this page" link.

You will need to know the name of the LinuxCNC penguin. A clue to the name can be gained from knowing that the sample program that carves a 3D penguin is called 3dchips.ngc
More
10 years 9 months ago #68351 by Markux
Replied by Markux on topic Ethercat HAL driver
Hi andy,

Thanks for the reply, but I think there was a misunderstanding; I was asking what is needed in order to effectively add new hardware that is supported by the driver.
The problem is: When I enter a line in the .xml file such as:
...
<slave idx="2" type="EL7041" name="7041"/>
...
It says: ERROR: invalid slave type EL7041. ERROR: Parse error at line 6: parsing aborted.
This is bcs EL7041 is not in the list of supported hardware. EL7041-1000 is.
So I am guessing I need to add some data to that "glue" layer that automatically connects the registers/addresses in the hardware and assigns variables from the type lcec.0.2124.dout-1 for example...which is lcec_conf, right? So I was asking for a bit of help on this maybe..how to proceed and what are all of the files that need to be modified.

also I noticed on the gihub files that the hardware EL7041-1000 is added (done) by certain gentleman koppi if I'm not wrong. Does anyone maybe know where can I contact him? I don't think the file for EL7041 should be that different from EL7041-1000 but maybe I'm wrong...

Thanks
M
The following user(s) said Thank You: Nico2017
More
10 years 9 months ago #68356 by andypugh
Replied by andypugh on topic Ethercat HAL driver
Sorry, I misunderstood.

I have never used EtherCAT, and know nothing about how it works.
Note that the EtherCAT driver is not actually part of LinuxCNC (it has incompatible licensing terms)
More
10 years 9 months ago #68369 by cgc
Replied by cgc on topic Ethercat HAL driver
Hello,
write <slave idx="2" type="EL7041-1000" name="7041-1000"/>
and use the 7041.
It is running.

regards Frank
More
10 years 9 months ago #68378 by Markux
Replied by Markux on topic Ethercat HAL driver
Hi Frank,

Yeah, I also thought of pretending I have 7041-1000, I wrote exactly as you said but without success.
I don't know what I'm doing wrong. You sound like you can also practically confirm that this is working but it doesn't in my case:



Any advice on why is this happening?
Attachments:
Time to create page: 1.221 seconds
Powered by Kunena Forum