Ethercat Setup help needed for beginner

More
7 months 3 days ago - 7 months 3 days ago #344909 by Hakan
lcec.0.n.pos-scale
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)
Last edit: 7 months 3 days ago by Hakan.

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

More
7 months 3 days ago #344912 by andrax

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)
image missing /media/kunena/emoticons/laughing.png
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.

More
7 months 3 days ago #344919 by Spezidrohne
That sounds promising... @andrax
To the folllwing error: fault on my side. The servo was set too soft, and when decelerating there was too much play. Set it a bit harder and now it works. 
Mesa card arrives tomorow. Gonna try my best.

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

More
7 months 3 days ago - 7 months 3 days ago #344920 by Hakan
When you have come this far with EtherCAT you can just keep on going.
No point in switching to Mesa now. Unless you want a Mesa system of course.
Last edit: 7 months 3 days ago by Hakan.

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

More
7 months 3 days ago - 7 months 3 days ago #344926 by Spezidrohne
Mesa for my i/o, as i dont have any ethercat 24v i/o. As there might be glass scales in the future, not sure yet. But for general i/o as a jogwheel, pneumatics, Buttons etc. And for spindle vfd. Run, dir, pwm... Mesa cheaper than endless Beckhoff units.
Last edit: 7 months 3 days ago by Spezidrohne.

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

More
7 months 3 days ago #344929 by rodw

Mesa for my i/o, as i dont have any ethercat 24v i/o. As there might be glass scales in the future, not sure yet. But for general i/o as a jogwheel, pneumatics, Buttons etc. And for spindle vfd. Run, dir, pwm... Mesa cheaper than endless Beckhoff units.
Many people look for used  beckhoff modules on eBay.

I just got this working for testing yesterday
www.aliexpress.com/item/1005005340849270.html
It is documented (including manuals)  on the forum here.
It seems to include all I/O you need. It even has 0-10 volt input for plasma torch voltage and 0-10 volt output for spindle. It would be interesting to get the RS485 modbus working to control the spindle VFD but that might be asking too much....
The following user(s) said Thank You: m3chanist, NWE

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

Time to create page: 0.322 seconds
Powered by Kunena Forum