Ethercat drive configuration woes

More
3 years 1 month ago #280055 by bkt
sorry not understand previous .... so 1.5.2 not work properly where previous (mine version too) work perfect... these is the problem?

Please Log in to join the conversation.

More
1 year 5 months ago #328440 by aeth
I was considering getting these drivers. Did you manage to get them to work, or should they be avoided?

Please Log in to join the conversation.

More
11 months 2 weeks ago #338146 by mlcupen
Hello,
I'm trying to start the motor but it's not working, I tried via halrun and via sudo ethercat upload -p and motor enters OP, but it doesn't accept OP_STATUS, always 0, and the motor dont move, please can you help me somehow.

Please Log in to join the conversation.

More
11 months 2 weeks ago #338147 by mlcupen
Did you start the motor?

Please Log in to join the conversation.

More
11 months 2 weeks ago #338148 by mlcupen

state machine from my comp is ok . 0x6 -> 0x7 -> 0x7f . Bit 2 (quickstop) is always set.

mine too, do you fix that

Please Log in to join the conversation.

More
4 months 1 day ago #347414 by ruslanemtsov
After update firmware on Stepper driver
all work fine with configuration in first post

Please Log in to join the conversation.

More
2 months 1 week ago #348888 by mwc
So after a break doing various other things, I'm back trying to get these drives to work, but hit a couple snags.

This is on a fresh install of 2.9.10, on an Odriod H3.

First is that I can't get the permissions to work after a reboot. If I do the sudo chmod 666, everything works.
I've added the KERNAL rule as per the guide, but it doesn't work after reloading the rules.
That is a pretty minor thing that I can look at later, but I'm open to suggestions?

The bigger issue is, does anybody have a example HAL/ini files from a newer version of LinucCNC?
I've copied my files from my original post, but am getting a servo-thread not found error, and all the fixes I've tried so far have not worked for various reasons, so would like a basic example that works, but my google skills seem to be lacking tonight!
 

Please Log in to join the conversation.

More
2 months 1 week ago #348891 by rodw
If you are using the ethercat version from  linuxcnc-ethercat, you need to change your hal file to activate things
Code:
loadusr -W lcec_conf ethercat-conf.xml loadrt lcec lcec.activate servo-thread

Please Log in to join the conversation.

More
2 months 1 week ago #348899 by mwc
So tried lcec.activate, but that results in an error that activate isn't a valid command.

I have however juggled things to match the first lines in scottlaird's example HAL files in the linuxcnc-ethercat github ( linuxcnc-ethercat/tests/scottlaird-lcectest1/cia402-all.hal at 31e3f343ccc2438d7ae0f843b1819f3926b44bc3 · linuxcnc-ethercat/linuxcnc-ethercat · GitHub ), and LinuxCNC now starts, but I can't seem to get any response from the drives. They do go online, as I can see on them that they've been allocated slave numbers, although strangely they're in the reverse order (first in the chin is 03, with the last being 01).

I've attached my files to see if anybody can spot anything obvious.

Please Log in to join the conversation.

More
2 months 4 days ago #349029 by mwc

Start from the beginning (in reply to your first post)

If I power the drives up with the CAT/Network cable disconnected between drive 1 and 2 (aka drive 2 and 3 not linked to the master), load LinuxCNC, then connect the CAT cable (so drives 2 and 3 are now connected/linked to the master), drives 2 and 3 get configured and can be enabled and controlled by LinuxCNC (I can jog the Y and Z axis), but drive 1 still does nothing.

 

So after being away for a few days, I've read back through this thread to remind me what I had done previously, and I'm back to this point.

On the plus side, I realised why the drives were initialising in the wrong order. Apparently the cable to the computer should go in the ECAT IN port of the first drive, not the ECAT OUT port of the last drive 

In case I've done something stupid during the latest Linux install, how can I check that I'm using the latest built in EtherCAT libraries?

Please Log in to join the conversation.

Time to create page: 0.132 seconds
Powered by Kunena Forum