hal ini and xml configuration for akd motor driver

More
21 Nov 2021 09:49 #227177 by db1981
Hello:

./ethercat.hal:14: execv(lcec_conf): No such file or directory

this points to that lcnc can't find the linuxcnc-ethercat files.
Did you installed the ethercat-hal driver?
RIP or installed Version ?

Please Log in or Create an account to join the conversation.

More
21 Nov 2021 10:59 #227181 by rodw
I'm not sure how it was done, either 2.8 std install or install from debs from what I saw.
Its not my machine. I went and looked today then made some progress.
We know that ethercat is loading.
Where is the ethercat hal driver to install?

Please Log in or Create an account to join the conversation.

More
21 Nov 2021 12:59 - 21 Nov 2021 13:00 #227195 by 0x2102
Hello rodw,

Linux-Dev has to be installed, then follow these steps:

git clone github.com/sittner/linuxcnc-ethercat
cd linuxcnc-ethercat
make configure
make
sudo make install
Last edit: 21 Nov 2021 13:00 by 0x2102.
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
22 Nov 2021 06:12 #227270 by rodw
Thank you. That did the trick. Linuxcnc now opens, all the pins are now showing but we could not home the X axis.
I'll open a new thread for our problems. Hopefully some kind soul will help us.

Please Log in or Create an account to join the conversation.

More
24 Nov 2022 14:05 #257561 by ysy999
hello .
I want to install a Linux CNC, use Ethercat, and write HAL to turn a motor.

It uses Panasonic A5 series motors and amplifiers.
I've done a lot of research, but I can't get my head around it at all.

Below are my questions.
thank you for your help

1. Does the HAL file differ depending on the type of servo motor?
  (I just want to rotate the motor first)
2. Created HAL file. After looking at the manufacturer's manual, I entered the address and information of the servo amplifier.
  How to transmit step movement signal from Linux CNC to motor?

I don't understand the process at all.

forum.linuxcnc.org/ethercat/47428-a-brie...the-hal-setup-please
Here are the files I wrote

thank you!!
 

Please Log in or Create an account to join the conversation.

More
24 Nov 2022 19:24 - 24 Nov 2022 19:25 #257573 by endian
hello there,

a lot of tried and really working stuff is here :

www.iram.fr/~blanchet/ethercat/akd/examples/akd_free_pdo.sh

www.iram.fr/~blanchet/ethercat/akd/

forum.linuxcnc.org/ethercat/22346-etherc...ver?start=850#159273  ... here is working configuration for AKD 

It is really easy to configure. It is Pure CiA402 stuff... at your place I will start in TwinCAT3, mapped PDOs and start up, try it over axis NC online simulation and finally try to setup own stuff...
 
Last edit: 24 Nov 2022 19:25 by endian.

Please Log in or Create an account to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum