- Posts: 51
- Thank you received: 11
Ethercat HAL driver
- Sockheaven
- Offline
- Senior Member
-
I did some researching, and it looks like the Kollmorgen AKD has a State Machine to enable the drive that consists of the first four bits of that control word.
To enable the axis I need to set that control word to 6, and then 15 to enable the amp and tell the drive to follow the set points over the bus.
Anyone have an idea how I would implement that logic?
if I could write teh control word to 6 when the estop was cleared and 15 when the machine was enabled that might work (then back to 6 when the machine disable) but I'm not sure how to implement that logic.
Best Regards,
Paul
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
- Posts: 295
- Thank you received: 125
sorry I was wrong, memory fails me, I attach a new file with the breakdown of the word status,Hmm, I tried implementing your change, but get an error on startup now:
lcec_conf: ERROR: Invalid complexEntry bitLen 0
it doesn't seem to like a bitlength of 0 - is there a different attribute like bitNum?
I can see why bit length might be an error.
I think you have to look at what status pins you need, for example word 6 is (0110) and 15 (0001 0101)To enable the axis I need to set that control word to 6, and then 15 to enable the amp and tell the drive to follow the set points over the bus.
Greeting
Chimeno
Please Log in or Create an account to join the conversation.
- Sockheaven
- Offline
- Senior Member
-
- Posts: 51
- Thank you received: 11
Best Regards,
Paul
Please Log in or Create an account to join the conversation.
- papagno-source
- Offline
- Elite Member
-
- Posts: 170
- Thank you received: 13
Exist a complete procedure for installation ethercat on actual master 2.9-pre0 on debian Wheezy ?
Thanks
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
- Posts: 295
- Thank you received: 125
Here in the forum there are several examples of installations, simply install
1 install "ec-debianize" github.com/sittner/ec-debianize
2 install "linuxcnc-ethercat" github.com/sittner/linuxcnc-ethercat
any questions you have here we are.
regards
Chimeno
Please Log in or Create an account to join the conversation.
- papagno-source
- Offline
- Elite Member
-
- Posts: 170
- Thank you received: 13
Excuse, i don't understand.
I dowload with git actual linuxcnc-dev.
Complile it on debian whhezy rtai.
After copy manually point 1 and pint 2 up link file and remake ?
Excuse i want know first step.
Please Log in or Create an account to join the conversation.