Marco Reps video on youtube about EtherCAT

More
2 years 2 months ago #309137 by Evgeny

Clone these 2 repos (or download az zip)
github.com/marcoreps/linuxcnc_leadshine_EL8
github.com/LinuxCNC

Clopy from the second these files in to a known directory (/home/cnc/linuxcnc-dev/emc/motion/) for example.
homing.c
homing.h
motion.h

from the first repo, edit the el8_homecomp file, and change the path to homing.c file, to where you saved your files.

compile the cia402.comp:
sudo homecomp --install cia402.comp

compile the el8_homecomp.comp:
sudo homecomp --install el8_homecomp.comp

edit your axis.ini (or whatever is your gui)
after the EMCMOT, paste this line:
HOMEMOD=el8_homecomp
 

I followed all the steps in this instruction.
 
Code:
[EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 SERVO_PERIOD = 1000000 HOMEMOD=el8_homecomp

So thats it. The rest is setting up the servos, and the internal homing in the drives. Without it, you can not use this process, since the servos not responding to homing request.

I had problems with this point.
I can't figure out yet which parameter in the servo I should changeimage missing /media/kunena/emoticons/dizzy.png

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

More
2 years 2 months ago #309139 by rodw

Can anyone recommend a low-latency remote assistance software?
We usually use Teamviewer but you must be using an Xorg desktop not Wayland
The following user(s) said Thank You: onceloved

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

More
2 years 2 months ago #309152 by Evgeny
The homing mode is described in the servo manual in section 5.5.4 on page 195. I have studied it but I still don't understand what settings I have to change to make it work.
www.leadshine.com/upfiles/downloads/80d2...d8_1687682456724.pdf

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

More
2 years 2 months ago #309158 by chrisfischer
I too am having trouble with the ethercat install. Looks like the issue is very similar to Evgeny. I am able to see the ethercat slaves at this point but when I try to interact with lcec_conf it errors. I searched the computer and cannot find lcec_conf anywhere.
Code:
kira@Kira:~/dev/hal-cia402$ halcmd loadusr -W lcec_conf ethercat-conf.xml <commandline>:0: execv(lcec_conf): No such file or directory <commandline>:0: waitpid failed lcec_conf lcec_conf <commandline>:0: lcec_conf exited without becoming ready
As a noob, I was happy to get this far with the help from chatgpt. But now I am stuck. Any ideas?

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

More
2 years 2 months ago #309159 by Evgeny

I too am having trouble with the ethercat install. Looks like the issue is very similar to Evgeny. I am able to see the ethercat slaves at this point but when I try to interact with lcec_conf it errors. I searched the computer and cannot find lcec_conf anywhere.


Hi. If you figure out how I can send you 10GB of data, I can send you an acronis image of my system, the drivers are already installed and the configuration runs. But I can't set up homing yet.

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

More
2 years 2 months ago #309161 by jimwhiting
Is the ethercat-conf.xml file in the ~/dev/hal-cia402 directory?

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

Time to create page: 0.184 seconds
Powered by Kunena Forum