Ethercat Setup help needed for beginner
- Spezidrohne
- Offline
- New Member
-
- Posts: 19
- Thank you received: 2
Exactly. And i dont rallye have any prior knowledge to this in linux.In seriousness though, I find its less about beginner vs expert in CNC stuff, and more about if you are well versed in linux usage. Most of my troubles setting up were because the instructions just assume you know everything about linux already and leave a lot of critical details out.
Please Log in or Create an account to join the conversation.
- Spezidrohne
- Offline
- New Member
-
- Posts: 19
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
- Posts: 1317
- Thank you received: 453
whether to make a copy of the config, say yes. You find it then at $HOME/linuxcnc/configs/sim_axis or similar
and your user should own the files.
In the ini file, remove all HALFILE= that has "sim" in them.
Please Log in or Create an account to join the conversation.
- grandixximo
-
- Away
- Elite Member
-
- Posts: 292
- Thank you received: 354
try to make a base configuration with pncconf, I think that is how I started.
it makes it easier to understand what is happening, also read the docs, very insightful.
Please Log in or Create an account to join the conversation.
- Spezidrohne
- Offline
- New Member
-
- Posts: 19
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- grandixximo
-
- Away
- Elite Member
-
- Posts: 292
- Thank you received: 354
you will see loadrt [KINS]KINEMATICS or loadrt trivkins or something similar in your hal, that conflicts with the same thing that is written in coresim,hal you can only load kinematics once
and you cannot modify that, it's in the libraries, you can remove the
HALFILE = core_sim.hal
from your ini file
Or as I advised before start from a pncconf configuration, that is more local, and it is easier to understand, as you change settings in pncconf and you see the hal changing, it is more intuitive, just take it easy, it is a steep learning curve.
Please Log in or Create an account to join the conversation.
- Spezidrohne
- Offline
- New Member
-
- Posts: 19
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- Spezidrohne
- Offline
- New Member
-
- Posts: 19
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
- Posts: 1317
- Thank you received: 453
Set it to how much the encoder increases when moving the axis one mm.
setp lcec.0.2.pos-scale 500
for example, or maybe you have one of those with crazy big numbers. Same anyway.
Read encoder value from lcec.0.2.actual-position (before any scaling)
Please Log in or Create an account to join the conversation.
- andrax
-
- Away
- Elite Member
-
- Posts: 282
- Thank you received: 71
Er, no. It’s not that simple; LinuxCNC isn’t plug-and-play. If you don’t have any prior knowledge, you should put the A6 aside for now and start with simple stepper motors. You’ll first need to learn how the system works and what each component does. With EtherCAT, you’re moving beyond the hobbyist level, and even professionals sometimes find it frustrating.
I only broke 4 mice from throwing them in anger... its fiiiinnnee.
In seriousness though, I find its less about beginner vs expert in CNC stuff, and more about if you are well versed in linux usage. Most of my troubles setting up were because the instructions just assume you know everything about linux already and leave a lot of critical details out. I am working with one of my customers to trying an make a true step by step guide.
If you do know "nothing", step and direction with a mesa card is generally pretty safe cause its mostly done by a wizard. You aren't mucking in the terminal or doing much editing in HAL.
(also important to note ethercat in linuxcnc has some quirks too, its not quite "final" in my opinion)
This sounds familiar to me.
I just ended up tearing the whole setup apart in frustration every time and starting over from scratch.
@Spezidrone, this isn’t meant to be a criticism. But it really is an advantage to build a test system with steppers first. That’s the best way to get to know the system and all its configurations.
Etercat sounds simple. Plug the LAN cable into the servo and it’s plug-and-play. If only it were that easy...
If you really want to go through with this, we’d be happy to help, of course.
Welcome to the world of jitter, EMC, XML errors, Hall errors, jumps, and dmesg error logs.
Please Log in or Create an account to join the conversation.