Getting servo into op state

More
07 Jul 2024 09:41 #304573 by johnlee
Hi i'm new to linux and linuxcnc and i've been struggling for few days
I'm trying to build a 3axis mill so I connected rpi5 with beckhoff ek1100 and R88D-Kn04h-Ect
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
Followed the steps above the link and got
ethercat slaves
0 0:0 PREOP EK1100 EtherCAT Coupler (2A E-Bus)
1 0:1 PREOP EL2008 8K. Dig. Ausgang 24V, 0.5A
2 0:2 PREOP R88D-KN04H-ECT G5 Series ServoDrive/Motor
3 0:3 PREOP R88D-KN04H-ECT G5 Series ServoDrive/Motor
4 0:4 PREOP R88D-KN04H-ECT G5 Series ServoDrive/Motor
After that I tried on a cia402 example to move some servos to check its working
github.com/rodw-au/linuxcnc-cia402/blob/main/ethercat-conf.xml
 
but couldn't make it work
So I made a modification on xml and hal and ini file
And here is the problem I'm facing
Now i can enter into gui and when i execute the program
only beckhoff ek1100 module enters into op state
but the servo does'nt enter into op state
Could someone help a bit thanks!
I'll attach my files thanks..
Attachments:

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

More
31 Jul 2024 15:43 #306533 by bkt
Replied by bkt on topic Getting servo into op state
sorry why you set step motor but use 1600 register? ..... maybe is because I'm never try but not sure it can work.

Any how go to terminal and digit: /usr/bin/linuxcnc '/"your-home folder"/"your user-folder"/"your-linuxcnc-folder"/configs/"your-name-config-folder"/"your-ini-file".ini' ... so you can see all error and warning and you can share here for some helps ....

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

Time to create page: 0.092 seconds
Powered by Kunena Forum