- Posts: 193
- Thank you received: 57
Ethercat HAL driver
- sirop
- Offline
- Elite Member
-
ChrisB wrote: Thank you for your help.
i cant figure out the problem.
Datatype complex makes more sens, but this is not the problem.
i have two scenarios.
the first one is, if i use configpdos = false
Then linuxcnc does not stars and the debuginfo says failed to set safeop. 0x0017 invalid sync manager configuration.
The other one is configpdos = true
then the drives gets an error F29 invalid ECAT command-value mapping length.
can you imagine what the problem is?
Tanks
Hard to guess for me.
However, I noticed one inconsistent thing in your configs:
if
That which is more questionable for me is:
Quick google search yields:
sir.upc.edu/wikis/roblab/index.php/Development/EthercatThe buffered mode is typically used for cyclic data exchange, i.e. process data (PDO) since the buffered mode allows access to the communication buffer at any time for both sides [...]
It can be noted that SyncManagers running in buffered mode need three times the process data size allocated in the DPRAM (fig. A.5).
Is the EEPROM correct?
- ChrisB
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 0
i red this article sir.upc.edu/wikis/roblab/index.php/Development/Ethercat.
But now i don't know how to check the EEPROM
- sirop
- Offline
- Elite Member
-
- Posts: 193
- Thank you received: 57
ChrisB wrote: Hi,
i red this article sir.upc.edu/wikis/roblab/index.php/Development/Ethercat.
But now i don't know how to check the EEPROM
I can not tell you more than :
www.etherlab.org/en/ethercat/faq.phpA quick solution for the missing information is to generate the SII contents from the slave description XML file using Beckhoff's TwinCAT, and write them to the slave.
- Automata27
- Offline
- New Member
-
- Posts: 11
- Thank you received: 6
First of all Thank you very much to Sascha Ittner for adding pll patch for linuxcnc in ethercat hal driver of lcec...
I have tried with linuxcnc-ethercat hal driver with pll patch applied to linuxcnc v2.7.11 branch and my dc issue is solved...
after applying pll patch to linuxcnc i had to use isolcpus in my boot command line, using isolcpus had solved the problem of dc synchronization...
i have attached my hal file and xml file for reference...
Any comment/ suggestion on attached file or result are most welcome...
FYI...
linux ketnel is stretch rt-preempt:- Linux automata 4.9.0-3-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux
linuxcnc :- linuxcnc v2.7.11
motors & Drives :- Panasonic minas- A6 400W(Ethercat) & panasonic Minas- A5 400W (Ethercat)
Thank You,
Regards.
- Automata27
- Offline
- New Member
-
- Posts: 11
- Thank you received: 6
3 axis with ethercat drives and motors on linuxcnc v2.7.11 with pll patch
velocity & pos plot without isolcpus
- sqmathlete
- Offline
- Premium Member
-
- Posts: 118
- Thank you received: 18
Nice work! Are you planning on using the internal homing routine of the servo amps?
Dan