- Posts: 2419
- Thank you received: 0
Ethercat HAL driver
Thanks for your reply !
You could also use the EtherCAT commands to identify all pdos directly.
It think for me that's the way to go.
I can set up a program that does the terminal command's to retrieve all the info.
Then setup the xml file. This program can be distributed as a Appimage.
Can you provide me a example of a servo example?
If you provide me the terminal command's with the required outputs and the correspondenting xml file. I can check that and write
the translation code for it quite quickly.
To other users, please do the same, so we can write the program.
If it all goes well, we can supply the program within the next "debian buster ethercat iso" release.
Please Log in to join the conversation.
Hi Grotius,Grotius wrote: Hi Tetw,
The bus is trying to connect to mac adres : 00:A0:D2:A5:C0:73
Look if you have the correct mac adres in your ethercat config file. $ ip addr show
I am not sure it's working correct.
Your output : ERROR 0 0:1: PDO entry 0x6000:01 is not mapped. Someone has a similar problem here :
etherlab-dev.etherlab.narkive.com/bqcnVQ...030-01-is-not-mapped
What does this command tell you : $ ethercat cstruct
thanks for the quick answer, since the mac is correct the solution could be to re-install EtherCAT or change the source code installing this.
Please Log in to join the conversation.
One thing you can check is the following. You have used capital letters in your mac. They are different then your terminal output.
Maybe it can cause an issue.
This one is oke : 00:a0:d2:a5:c0:73
Installing your link is an option. But there is a iso you can use. Wich makes the full process about 10 minutes.
What does this command tell you : $ ethercat cstruct ?? or ./ethercat cstruct
I still don't know what is working at your place.
Please Log in to join the conversation.
may i ask you if you could upload your ethercat_conf.xml which you used in your Youtube video?
Have started to make my own for my Ethercat Stepper Driver and Stuck at the Section of the Control Word.
Thanks
Sven
Please Log in to join the conversation.
Do I need a 'real' driver to be able to run a axis in real time? How much slower is the generic driver?
In my experience, the generic driver works very well if you have few connected devices, enough if they are in free mode and if it is in SYNC0 mode, nothing happens if a cycle is lost because the next cycle I will read the data again, but if you have many devices and you use the SYNC0 and SYNC1 mode, I advise you to use the e1000e controller, the configuration of the devices is much faster and you have no loss of synchronism.
Greeting
Chimeno
Please Log in to join the conversation.
I don't understand what your problem is, it is best to start a device one by one, first the ones included in linuxcnc-ethercat and the generic ones are the last ones, don't configure anything until you have registered PDOs and devices in OP.
Greeting
Chimeno
Please Log in to join the conversation.
i got following Error message if i try to run my first created ethercat_conf.xml
it says: lcec_conf: ERROR: Parse error at line 52: mismatched tag.
It is the </master> tag in my XML, but i don´t know what it should look like.
The complete error log follows.
Attachment not found
Please Log in to join the conversation.
I attach modified file, the error is that you have to close the slave at the end
Greeting
Chimeno
Please Log in to join the conversation.
My Device Runs now, but how can i get my I/O´s to my axis configuration.
Please Log in to join the conversation.
Hi Grotius,Grotius wrote: Hi,
One thing you can check is the following. You have used capital letters in your mac. They are different then your terminal output.
Maybe it can cause an issue.
Yes the mac is correct, I tried with uppercase and lowercase
I attach l’output fileGrotius wrote: What does this command tell you : $ ethercat cstruct ?? or ./ethercat cstruct
Attachment not found
If you can marbles the link the ISO and the installation stepsGrotius wrote: Installing your link is an option. But there is a iso you can use. Wich makes the full process about 10 minutes.
thanks for your time.
Hi Chimeno,chimeno wrote: Hello @tetw
I don't understand what your problem is, it is best to start a device one by one, first the ones included in linuxcnc-ethercat and the generic ones are the last ones, don't configure anything until you have registered PDOs and devices in OP.
Greeting
Chimeno
I can't bring the slaves to OP mode.
Please Log in to join the conversation.
