- Posts: 7
- Thank you received: 0
Ethercat HAL driver
- zerix
- Offline
- New Member
-
Please Log in or Create an account to join the conversation.
- sirop
- Offline
- Elite Member
-
- Posts: 193
- Thank you received: 57
2. What is your Linux blend and its bitness?
3. What do ethercat slaves and ethercat master yield?
Please Log in or Create an account to join the conversation.
- zerix
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- sirop
- Offline
- Elite Member
-
- Posts: 193
- Thank you received: 57
zerix wrote: First, I installed linuxcnc then installed EtherCAT realtime HAL driver follow section installation from wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver . Finnaly, I installed Ethercat master from www.etherlab.org/de/ethercat/index.php follow instruction in installation archive. I downloaded linuxcnc 2.7, then i downloaded linuxcnc 2.6. PC is 64-bit bitness. when i create coonection between master and slave, master tries to find slaves, but it can't. slave show that ethercat port switch on. ethercat green LED switch on, but there is no data exchange. mater writes that it "waiting for device(s)..." and "Link: DOWN"
1. Was it the installation method with deb packages from wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver ?
If so, you installed 32 bit version for wheezy which is above all of 28-Jan-2015 , so not the latest.
If this installation methods somehow succeeded, then a version of EtherLab master was also installed.
2. You write that you then installed an EtherLab master. If this part of installation also succeeded, then you might have now two concurrent versions of EtherLab masters ...
So rather begin with a clean Linux and to keep it short:
1. Install this github.com/sittner/ec-debianize .
2. Then install this github.com/sittner/linuxcnc-ethercat
Please Log in or Create an account to join the conversation.
- DaPeace
- Offline
- Junior Member
-
- Posts: 31
- Thank you received: 2
i want to use a EL7041 (without the 0000) to drive one axis of my mill.
The other axis are stepper-drives that get the step/dir-signal from a lpt-breakout.
I want to use the internal counter to drive the stepper and dont want to use any encoder.
Ive setup the maximum current and the voltage according the drive-specs and powersupply.
My question is: in TwinCAT i can choose predefined pdo-assigments.
What do i need to choose to use that stepperdrive in linuxcnc without encoder?
Regards, Jan
Please Log in or Create an account to join the conversation.
- sirop
- Offline
- Elite Member
-
- Posts: 193
- Thank you received: 57
DaPeace wrote: Hey Guys,
i want to use a EL7041 (without the 0000) to drive one axis of my mill.
The other axis are stepper-drives that get the step/dir-signal from a lpt-breakout.
I want to use the internal counter to drive the stepper and dont want to use any encoder.
Regards, Jan
The Pdo entries (their hex indexes) as used in EL7041 are enumerated in these lines:
github.com/sittner/linuxcnc-ethercat/blo...041_1000.c#L160-L216 .
So if your question is about changing this hardcoded PDO setup within linuxcnc-ethercat,
then you either have to edit lcec_el7041_1000.c or use a generic component setup.
If you have questions wrt generic component, feel free to ask.
Please Log in or Create an account to join the conversation.