Marco Reps video on youtube about EtherCAT
07 Jun 2024 20:01 #302562
by eduard
Replied by eduard on topic Marco Reps video on youtube about EtherCAT
Hi, I'm also new in lcnc, so maybe not so helpful what I write.
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
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.
It is quite possible that I did not write something correctly, as LinuxCNC is new to me as well. If anyone has any additions, please feel free to add them.
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
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.
It is quite possible that I did not write something correctly, as LinuxCNC is new to me as well. If anyone has any additions, please feel free to add them.
The following user(s) said Thank You: cekaa
Please Log in or Create an account to join the conversation.
26 Jun 2024 10:12 #303821
by DPFlex
Replied by DPFlex on topic Marco Reps video on youtube about EtherCAT
Hi all,
I could not start Linuxcnc, it has issue
"ERROR: wj200_vfd unable to create libmodbus connection. - No such file or directory
./EL8_machine.hal:7: waitpid failed wj200_vfd wj200_vfd"
I downloaded wj200_vfd.comp from "linuxcnc/src/hal/user_comps/wj200_vfd" to install but it said that no "modbus.h".
I searched linuxcnc repo, could not find modbus.h file.
Any advise to solve ? Thank you.
I could not start Linuxcnc, it has issue
"ERROR: wj200_vfd unable to create libmodbus connection. - No such file or directory
./EL8_machine.hal:7: waitpid failed wj200_vfd wj200_vfd"
I downloaded wj200_vfd.comp from "linuxcnc/src/hal/user_comps/wj200_vfd" to install but it said that no "modbus.h".
I searched linuxcnc repo, could not find modbus.h file.
Any advise to solve ? Thank you.
Please Log in or Create an account to join the conversation.
- tommylight
-
Topic Author
- Away
- Moderator
-
Less
More
- Posts: 18251
- Thank you received: 6052
26 Jun 2024 13:05 #303827
by tommylight
Replied by tommylight on topic Marco Reps video on youtube about EtherCAT
Open a terminal, navigate to where the downloaded file is located and type:
sudo halcompile --install wj200_vfd wj200_vfd.comp
sudo halcompile --install wj200_vfd wj200_vfd.comp
Please Log in or Create an account to join the conversation.
28 Jun 2024 06:59 #303956
by DPFlex
Replied by DPFlex on topic Marco Reps video on youtube about EtherCAT
Tks Tommylight.
1. I tried your advice "sudo halcompile --install wj200_vfd wj200_vfd.comp"
It has error "Unrecognized file type for mode install: 'wj200_vfd"
2. I tried this command "sudo halcompile --install wj200_vfd.comp"
It has error "fatal error: modbus.h: No such file or directory"
I am new to LCNC, please be patient with me![:) :)](/media/kunena/emoticons/smile.png)
Thank you.
1. I tried your advice "sudo halcompile --install wj200_vfd wj200_vfd.comp"
It has error "Unrecognized file type for mode install: 'wj200_vfd"
2. I tried this command "sudo halcompile --install wj200_vfd.comp"
It has error "fatal error: modbus.h: No such file or directory"
I am new to LCNC, please be patient with me
![:) :)](/media/kunena/emoticons/smile.png)
Thank you.
Please Log in or Create an account to join the conversation.
Time to create page: 0.137 seconds