Marco Reps video on youtube about EtherCAT

More
01 Sep 2024 04:50 #309127 by onceloved
If I have time today, I will try to help you configure this return to origin method.

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

More
01 Sep 2024 05:31 #309130 by onceloved
Can anyone recommend a low-latency remote assistance software?

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

More
01 Sep 2024 10:40 #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.
 
[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 change
Attachments:

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

More
01 Sep 2024 11:00 #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
01 Sep 2024 14:27 #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
01 Sep 2024 17:08 #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.
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
01 Sep 2024 17:26 #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
01 Sep 2024 17:52 #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.

More
01 Sep 2024 18:05 #309164 by Evgeny
I have this
/home/cnc/hal-cia402
o_O

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

More
01 Sep 2024 18:24 #309165 by chrisfischer

Is the ethercat-conf.xml file in the ~/dev/hal-cia402 directory?
 

Good question, should have mentioned. yes its in there. it wasnt clear from the instructions if anything else is needed like hal files etc.
So right now there is the ethercat-conf.xml the cia402.comp and the lincense and readme files. there is also an example folder with a less complete ethercat-conf.

i used the marcos ethercat-conf file and removed some info as i only have two drives under power right now.


Warning: Spoiler!

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

Time to create page: 0.214 seconds
Powered by Kunena Forum