- Posts: 30
- Thank you received: 0
Ethercat HAL driver
I want to get rid of the LPT-Interface of my mill and drive the stepper with EL2024 Output-Clamps and some Buttons with EL1008.
Ive put all together and i see the devices when i run ethercat slaves
I use the generic-driver. I tried an old macbook and a virtual machine on a newer macbook with linuxcnc 2.6 and 2.7. I can list all clamps here too but when i start linuxcnc the complete system hangs and i need to reset the pc.
Do i need one of that intel-nic's or is the generic driver ok for that kind of application?
Is it possible to use the output-clamps for driving step and directions signals at all?
Regards, Jan
Please Log in to join the conversation.
Also, the real-time kernel in a VM will not be real-time.
As it sounds like you have two Macbooks, I suggest converting one to "real" Linux (assuming it is Intel)
Please Log in to join the conversation.
Both have the same problem. Both use the generic-driver and none of them hast a intel-networkcard.
So you think i will need one of the intel or realtek-cards to use that beckhoff-stuff?
Please Log in to join the conversation.
DaPeace wrote: Hey Guys, short question: Im playing around with Ethercat-Components at the moment.
I want to get rid of the LPT-Interface of my mill and drive the stepper with EL2024 Output-Clamps and some Buttons with EL1008.
Ive put all together and i see the devices when i run ethercat slaves
I use the generic-driver. I tried an old macbook and a virtual machine on a newer macbook with linuxcnc 2.6 and 2.7. I can list all clamps here too but when i start linuxcnc the complete system hangs and i need to reset the pc.
Do i need one of that intel-nic's or is the generic driver ok for that kind of application?
Is it possible to use the output-clamps for driving step and directions signals at all?
Regards, Jan
Why don't you try to configure the ethercat HAL component from HAL console (executing halrun) before try it with linuxcnc?.
Create a .hal file with
You can load the file doing halrun -I halfile.hal and check some values with halscope or halmeter
Best regards.
Please Log in to join the conversation.
Following Crashlog i get:
Crashlog
When i put your code into a basic-halfile and start it i get a kernelpanic instantly.
At the end of the trace it says Code: Bad EIP value.
Please Log in to join the conversation.
I have the same issue on D525MW motherboard with integrated network card and generic driver. I already try to put inside some other PCI card but I have still same issue as Dapeace - above.
Best regards.
Please Log in to join the conversation.
Please Log in to join the conversation.
I just try another card with generic driver.
Best regards.
Please Log in to join the conversation.
if someone has another solutions for that it would be very nice to know
Please Log in to join the conversation.
today I once again try pci network card Tenda L8139D together with 8139too driver and system works without crashing now for more than 4 hours. I think that generic driver was not suitable for non of the cards.
Best regards.
Please Log in to join the conversation.
