Ethercat drive configuration woes
- bkt
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1111
- Thank you received: 114
06 Sep 2023 05:59 #280055
by bkt
Replied by bkt on topic Ethercat drive configuration woes
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 or Create an account to join the conversation.
- aeth
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
14 May 2025 11:19 #328440
by aeth
Replied by aeth on topic Ethercat drive configuration woes
I was considering getting these drivers. Did you manage to get them to work, or should they be avoided?
Please Log in or Create an account to join the conversation.
- mlcupen
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
10 Nov 2025 17:41 #338146
by mlcupen
Replied by mlcupen on topic Ethercat drive configuration woes
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.
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 or Create an account to join the conversation.
- mlcupen
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
10 Nov 2025 17:43 #338147
by mlcupen
Replied by mlcupen on topic Ethercat drive configuration woes
Did you start the motor?
Please Log in or Create an account to join the conversation.
- mlcupen
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
10 Nov 2025 17:55 #338148
by mlcupen
Replied by mlcupen on topic Ethercat drive configuration woes
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 or Create an account to join the conversation.
- ruslanemtsov
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
30 Jun 2026 09:23 #347414
by ruslanemtsov
Replied by ruslanemtsov on topic Ethercat drive configuration woes
After update firmware on Stepper driver
all work fine with configuration in first post
all work fine with configuration in first post
Please Log in or Create an account to join the conversation.
- mwc
- Offline
- Premium Member
-
Less
More
- Posts: 111
- Thank you received: 9
21 Aug 2026 00:23 #348888
by mwc
Replied by mwc on topic Ethercat drive configuration woes
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!
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 or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 12125
- Thank you received: 4140
21 Aug 2026 01:26 #348891
by rodw
Replied by rodw on topic Ethercat drive configuration woes
If you are using the ethercat version from linuxcnc-ethercat, you need to change your hal file to activate things
loadusr -W lcec_conf ethercat-conf.xml
loadrt lcec
lcec.activate servo-thread
The following user(s) said Thank You: mwc
Please Log in or Create an account to join the conversation.
- mwc
- Offline
- Premium Member
-
Less
More
- Posts: 111
- Thank you received: 9
21 Aug 2026 11:43 - 21 Aug 2026 11:54 #348899
by mwc
Replied by mwc on topic Ethercat drive configuration woes
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.
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.
Last edit: 21 Aug 2026 11:54 by mwc.
Please Log in or Create an account to join the conversation.
- mwc
- Offline
- Premium Member
-
Less
More
- Posts: 111
- Thank you received: 9
26 Aug 2026 20:55 #349029
by mwc
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?
Replied by mwc on topic Ethercat drive configuration woes
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 or Create an account to join the conversation.
Time to create page: 0.257 seconds