Ethercat drive configuration woes

More
3 years 10 months ago #259233 by wazza77
Yes I found that it easiest to do it headless via a VNC viewer I have two screens I set VNC with the pi on one and use the other one as normal you can copy and past etc makes it very easy

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

More
3 years 10 months ago #259406 by wazza77
Ok, so with the EK1100, LinuxCNC won't start if Ek1100 is not connected. To get the system to work, the drive needs to be disconnected, and EK1100 connected then connect the drive after linuxcnc starts!

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

More
3 years 10 months ago #259409 by wazza77
So EK1100 is '0'
EL1809 is '1'
EL2809 is '2'
drive is "3'

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

More
3 years 10 months ago #259533 by wazza77
If I get time over the next few days, I will try to see if I can configure it step by step in the .xml as I first did with my mill 8 years ago. I think the setup has changed a bit since then, but I might try to configure it step by step and let the cia402 component do the rest. This should allow the drives to remain plugged in when I start linuxcnc (hopefully); otherwise, I will go shopping for a different drive

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

More
3 years 1 month ago #279766 by mwc
I've just done a fresh install to see if any of these issues are fixed, and I can report that it's now possible to get all 3 drives functioning, however they still don't enable if plugged in when LCNC is loaded.

I've not had a look to see exactly what's happening with status/control words, but if I have them connected when LCNC is loaded, then they don't enable. I tried disconnecting and reconnecting them once loaded, but they don't enable.
However if I leave them disconnected, open LCNC, then connect them, they enable, and all 3 work.

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

More
3 years 1 month ago #279852 by mwc
I've just spent some time going back over this, and the problem is still the same (I'd forgotten that I had managed to get all 3 drives enabled previously).

If I load LCNC with drives powered up and connected, opmode and statusword remain as 0 in Halshow, yet looking at the ethercat debug output, the value is shown as 0x0231, as per my previous screenshot in post  forum.linuxcnc.org/ethercat/47534-etherc...woes?start=40#259032

Load LCNC with the drives disconnected and/or powered off, then connect the drives, opmode and statusword get reported correctly in halshow (they match the values shown in the ethercat debug output), and the drives enable as expected.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum