Ethercat Motion Problem

More
10 months 1 week ago - 10 months 1 week ago #340498 by ts
Replied by ts on topic Ethercat Motion Problem

Hi,
try changing the value in the .hal file
Code:
setp cia402.0.pos-scale 1000   [code]Hi. Pardon for offtop. Please could you try to explain what will do linunxCNC when you using this scale, and reach the calculating maximum of +2^31, and momentary jump to -2^31. On my case system stops and there an error of following..
[/code]
Last edit: 10 months 1 week ago by ts.

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

More
9 months 3 weeks ago - 9 months 3 weeks ago #341172 by lorenzing
Replied by lorenzing on topic Ethercat Motion Problem
Hi all,
thanks to Hakan, I’m now able to control all the motors without any issues.
However, could someone help me with this error shown by the code dmesg command:  dmesg.txt
Could this error cause problems during machine operation?

Many thanks, Lorenzo
Last edit: 9 months 3 weeks ago by lorenzing.

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

More
9 months 3 weeks ago - 9 months 3 weeks ago #341191 by nanowhat
Replied by nanowhat on topic Ethercat Motion Problem
Which error are you referring to?
Code:
 833.377534 pcieport 0000:00:1d.0: AER: Corrected error message received from 0000:00:1d.0
seems to be caused by PCI-express link power management
Code:
 8933.654387EtherCAT WARNING 0-4: Other mailbox protocol response for eoe0s4.
Which version of the ethercat library are you using? 1.6 by default has ethernet over ethercat active, and it doesn't seem to be compatible with linuxCNC. With 1.6, one must compile the library from source to disable EoE.
Last edit: 9 months 3 weeks ago by nanowhat. Reason: forum code formatting is problematic
The following user(s) said Thank You: lorenzing

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

More
9 months 3 weeks ago - 9 months 3 weeks ago #341196 by lorenzing
Replied by lorenzing on topic Ethercat Motion Problem
Thanks nanowhat, I checked my version and it’s actually 1.6
Code:
lorenzo@LinuxCNC:~$ ethercat version IgH EtherCAT master 1.6.8 1.6.8.g2543cc5-1+27.2 
Could you help me understand how to disable EoE in this version?

Thanks a lot, Lorenzo.
Last edit: 9 months 3 weeks ago by lorenzing.

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

More
9 months 3 weeks ago - 9 months 3 weeks ago #341202 by lorenzing
Replied by lorenzing on topic Ethercat Motion Problem
Hi all, I’ve followed these steps:
Code:
cd ~ git clone https://gitlab.com/etherlab.org/ethercat.git cd ethercat
I also checked my driver type (igb):
Code:
./bootstrap ./configure --enable-igb --disable-eoe --sysconfdir=/etc
Then I ran:
Code:
make sudo make install sudo depmod -a
After completing this setup, I’m attaching the new dmesg file, but EoE still seems to be active.
Last edit: 9 months 3 weeks ago by lorenzing.

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

More
9 months 3 weeks ago - 9 months 3 weeks ago #341203 by lorenzing
Replied by lorenzing on topic Ethercat Motion Problem
Hi all, I miss some steps in make command:
Code:
make make modules sudo make install sudo make modules_install sudo depmod -a Now in dmesg looks better. Remind to remove all previous version.  
Last edit: 9 months 3 weeks ago by lorenzing.

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

Time to create page: 0.114 seconds
Powered by Kunena Forum