EtherCAT XML Configuration help (Elmo drive)

More
1 year 8 months ago #322806 by Hakan
There it is, that's the name lcec.0.D1.srv-cia-statusword instead of lcec.0.0.cia-statusword you have in the hal file.
Replace in cia402.hal file and you should come one step further, to the next variable.

The index 0x6041, you don't seem to need that now when the naming pattern is so obvious from the listing.

I guess EtherCAT went out of OP mode, to INIT or PREOP. No harm done. You have started linuxcnc in a very rudimentary state. If you like to, you can stop it with "halrun -U". Optional. EtherCAT continues to work and linuxcnc will make it enter the state it needs to be in.

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

More
1 year 8 months ago #322815 by SteveCap
Ok, we made it a bit further. but now the entry I've added that should be correct does not seem to take, also there is an error regarding SDO upload?

Steve Cap

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

More
1 year 8 months ago #322816 by Hakan
What's the cause among all text, but it is this line in the middle. More variables to rename.
You have it marked already in the left window. lcec.0.D1.srv-cia-controlword
But you renamed the wrong variable. Rename lcec.0.0.cia-controlword.
 

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

More
1 year 8 months ago #322817 by SteveCap
OK, I am making some headway and beginning to understand how things are being read in. The GUI loads up now, but before  I try to jog anything do I need to modify these sections too? 

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

More
1 year 8 months ago #322819 by Hakan
No need to change, they are fine. For joint 0 and motor "D1"
But I saw in the screenshot, you mix D1 and D2, can't do that. "D1" comes from ethercat-conf.xml, the first drive. You will find "D1" there.
Change D2 to D1.
 

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

More
1 year 8 months ago #322820 by SteveCap
I did catch that a bit afterwards, lol. thank you for keeping an eye out though. I tried to un-E-Stop, power button on and home all axis. No motor movement, drives are still in preop state. Have attached the resulting output.

Steve Cap
 

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

Time to create page: 0.065 seconds
Powered by Kunena Forum