Ethercat drive configuration woes

More
11 months 3 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 or Create an account to join the conversation.

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

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

More
11 months 3 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 or Create an account to join the conversation.

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

Please Log in or Create an account 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 or Create an account 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
The following user(s) said Thank You: mwc

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

Time to create page: 0.273 seconds
Powered by Kunena Forum