Error reading pdos / motors are not moving - solved!

More
07 Dec 2024 11:59 #316177 by piter_iceman
Error reading pdos / motors are not moving was created by piter_iceman
Hello,I followed the instructions provided in this forum thread for setting up EtherCAT with LinuxCNC.The installation and configuration seemed to go well; however, I’m facing an issue where my motors are not moving. Specifically:
  • The values from STATUS word from the drives is not appearing in the LinuxCNC - 0x000000
  • When I start LinuxCNC with
    lathe.ini
    , LinuxCNC loads successfully, but it seems there’s no connection with the drives.
I’ve attached the following files for review:
  1. dmesg.txt: Logs showing EtherCAT activity and errors.
  2. Relevant configuration files (
    hal
    ,
    ini
    ,
    XML
    , pdos, ethercat master, slaves, lcec during linux operation)
I would greatly appreciate it if someone could review the attached files and help identify any mistakes or missing steps that need to be resolved.Thank you in advance for your support!Best regards,Piotr

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
07 Dec 2024 22:30 - 07 Dec 2024 22:52 #316215 by Hakan
Replied by Hakan on topic Error reading pdos / motors are not moving
The pdos you use in ethercat-conf.xml don't agree with the pdos the devices actually have.
Last edit: 07 Dec 2024 22:52 by Hakan.

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

More
08 Dec 2024 09:47 #316235 by piter_iceman
Replied by piter_iceman on topic Error reading pdos / motors are not moving
Hello

Thank you for your comments, please see below the updates.

I modified ethercat-conf.xml -
It looks that there is still no connection between XML and linux.I ran the command
sudo dmesg -wH
to monitor system logs in real time. (dmesg_wH.png)
  • The white area at the top of the output corresponds to the period when LinuxCNC was started.
  • The logs below show what happens when the LinuxCNC session is terminated (after clicking "Exit")
The same has been proceed for: sudo dmesg | grep EtherCAT

I would appreciate your support!




 

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
08 Dec 2024 10:32 #316237 by Hakan

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

More
08 Dec 2024 14:16 - 09 Dec 2024 21:45 #316247 by piter_iceman
Replied by piter_iceman on topic Error reading pdos / motors are not moving
I followed this guide exactly:
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
along with the instructions from:
forum.linuxcnc.org/ethercat/53785-instal...epositories#309793.I reinstalled LinuxCNC, but there were no changes

 
Attachments:
Last edit: 09 Dec 2024 21:45 by piter_iceman.

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

More
09 Dec 2024 21:38 - 10 Dec 2024 07:57 #316358 by piter_iceman
Replied by piter_iceman on topic Error reading pdos / motors are not moving - solved!
  1.  
  2. It's working!!! The vid="0x00445653" and pid="0009252" must exactly match the driver's configuration, and the registers should start from RxPDOs - 0x1600 ; TxPDOs 0x1A00 - verified in TwinCAT 2 and ethercat sdos
Attachments:
Last edit: 10 Dec 2024 07:57 by piter_iceman.

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

Time to create page: 0.123 seconds
Powered by Kunena Forum